Skip to content

Commit cba6067

Browse files
committed
WIP
1 parent 1eb3094 commit cba6067

File tree

3 files changed

+43
-5
lines changed

3 files changed

+43
-5
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"version": "1",
3+
"enabled-engines": ["vertx", "iceberg", "duckdb", "flink"],
4+
"script": {
5+
"main": "perftest.sqrl",
6+
"config": {
7+
"rowsPerSec": 10,
8+
"numRows": 80000
9+
}
10+
},
11+
"engines": {
12+
"flink": {
13+
"config": {
14+
"execution.checkpointing.interval": "10 sec"
15+
}
16+
},
17+
"duckdb": {
18+
"url": "jdbc:duckdb:",
19+
"use-disk-cache": false,
20+
"use-version-guessing": true
21+
}
22+
},
23+
"connectors": {
24+
"iceberg": {
25+
"connector": "iceberg",
26+
"warehouse": "s3://ferenc-iceberg-glue-test",
27+
"catalog-impl": "org.apache.iceberg.aws.glue.GlueCatalog",
28+
"io-impl": "org.apache.iceberg.aws.s3.S3FileIO",
29+
"catalog-name": "mycatalog",
30+
"catalog-database": "mydatabase",
31+
"write.upsert.enabled": "true"
32+
}
33+
},
34+
"test-runner": {
35+
"delay-sec": -1,
36+
"required-checkpoints": 2
37+
}
38+
}

performance-examples/duckdb-query/package_test.json renamed to performance-examples/duckdb-query/package_test_s3_hadoop.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@
44
"script": {
55
"main": "perftest.sqrl",
66
"config": {
7-
"rowsPerSec": 200,
8-
"numRows": 800
7+
"rowsPerSec": 10,
8+
"numRows": 80000
99
}
1010
},
1111
"engines": {
1212
"flink": {
1313
"config": {
14-
"execution.checkpointing.interval": "10 sec"
14+
"execution.checkpointing.interval": "5 sec"
1515
}
1616
}
1717
},
1818
"connectors": {
1919
"iceberg": {
20-
"warehouse": "iceberg-data",
20+
"warehouse": "s3a://ferenc-iceberg-hadoop-test",
2121
"catalog-type": "hadoop",
2222
"catalog-name": "mydata"
2323
}

performance-examples/duckdb-query/perftest.sqrl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ MetricsByTime(machineid BIGINT NOT NULL, fromTime TIMESTAMP NOT NULL) :=
2323

2424
/*+test*/
2525
MetricsTest := SELECT AVG(metric) AS avg_metric, COUNT(metric) AS total_count
26-
FROM Metrics WHERE machineid = 5;
26+
FROM Metrics WHERE machineid = 5;

0 commit comments

Comments
 (0)