Skip to content

Commit dce6a1f

Browse files
authored
Merge pull request #794 from ClickHouse/fix-ch-datalake
Work around ClickHouse/ClickHouse#97325
2 parents a3f38f9 + 5b1e1c0 commit dce6a1f

File tree

4 files changed

+2
-28
lines changed

4 files changed

+2
-28
lines changed

clickhouse-datalake-partitioned/benchmark.sh

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
11
#!/bin/bash
22

3-
# Install
4-
53
curl https://clickhouse.com/ | sh
64

7-
# Configure
8-
9-
> clickhouse-local.yaml echo "
10-
filesystem_caches:
11-
cache:
12-
path: '/dev/shm/clickhouse/'
13-
max_size_ratio_to_total_space: 0.9
14-
"
15-
16-
# Run the queries
17-
185
./run.sh
196

207
echo "Load time: 0"

clickhouse-datalake-partitioned/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ cat queries.sql | while read -r query; do
99

1010
echo -n "["
1111
for i in $(seq 1 $TRIES); do
12-
RES=$(./clickhouse local --path . --time --format Null --filesystem_cache_name cache --query="$query" 2>&1) # (*)
12+
RES=$(./clickhouse local --path . --time --format Null --query="$query" 2>&1) # (*)
1313
[[ "$?" == "0" ]] && echo -n "${RES}" || echo -n "null"
1414
[[ "$i" != $TRIES ]] && echo -n ", "
1515

clickhouse-datalake/benchmark.sh

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
11
#!/bin/bash
22

3-
# Install
4-
53
curl https://clickhouse.com/ | sh
64

7-
# Configure
8-
9-
> clickhouse-local.yaml echo "
10-
filesystem_caches:
11-
cache:
12-
path: '/dev/shm/clickhouse/'
13-
max_size_ratio_to_total_space: 0.9
14-
"
15-
16-
# Run the queries
17-
185
./run.sh
196

207
echo "Load time: 0"

clickhouse-datalake/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ cat queries.sql | while read -r query; do
99

1010
echo -n "["
1111
for i in $(seq 1 $TRIES); do
12-
RES=$(./clickhouse local --path . --time --format Null --filesystem_cache_name cache --query="$query" 2>&1) # (*)
12+
RES=$(./clickhouse local --path . --time --format Null --query="$query" 2>&1) # (*)
1313
[[ "$?" == "0" ]] && echo -n "${RES}" || echo -n "null"
1414
[[ "$i" != $TRIES ]] && echo -n ", "
1515

0 commit comments

Comments
 (0)