mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Fixed path
This commit is contained in:
parent
a4b570a2f6
commit
75047dec20
@ -7,7 +7,7 @@ TMP_DIR="/tmp"
|
||||
|
||||
declare -a SearchTypes=("POLYGON_INDEX_EACH" "POLYGON_INDEX_CELL")
|
||||
|
||||
tar -xf 01037_test_data_perf.tar.gz
|
||||
tar -xf ${CURDIR}/01037_test_data_perf.tar.gz
|
||||
|
||||
$CLICKHOUSE_CLIENT --query="DROP DATABASE IF EXISTS test_01037;"
|
||||
|
||||
@ -17,9 +17,9 @@ $CLICKHOUSE_CLIENT --query="DROP TABLE IF EXISTS test_01037.points;"
|
||||
|
||||
$CLICKHOUSE_CLIENT --query="CREATE TABLE test_01037.points (x Float64, y Float64) ENGINE = Memory;"
|
||||
|
||||
$CLICKHOUSE_CLIENT --query="INSERT INTO test_01037.points FORMAT TSV" --max_insert_block_size=100000 < "./01037_point_data"
|
||||
$CLICKHOUSE_CLIENT --query="INSERT INTO test_01037.points FORMAT TSV" --max_insert_block_size=100000 < "${CURDIR}/01037_point_data"
|
||||
|
||||
rm 01037_point_data
|
||||
rm ${CURDIR}/01037_point_data
|
||||
|
||||
$CLICKHOUSE_CLIENT --query="DROP TABLE IF EXISTS test_01037.polygons_array;"
|
||||
|
||||
@ -33,9 +33,9 @@ CREATE TABLE test_01037.polygons_array
|
||||
ENGINE = Memory;
|
||||
"
|
||||
|
||||
$CLICKHOUSE_CLIENT --query="INSERT INTO test_01037.polygons_array FORMAT JSONEachRow" --max_insert_block_size=100000 < "./01037_polygon_data"
|
||||
$CLICKHOUSE_CLIENT --query="INSERT INTO test_01037.polygons_array FORMAT JSONEachRow" --max_insert_block_size=100000 < "${CURDIR}/01037_polygon_data"
|
||||
|
||||
rm 01037_polygon_data
|
||||
rm ${CURDIR}/01037_polygon_data
|
||||
|
||||
$CLICKHOUSE_CLIENT --query="DROP DICTIONARY IF EXISTS test_01037.dict_array;"
|
||||
|
||||
@ -60,7 +60,7 @@ do
|
||||
dictGet(dict_name, 'value', key) from test_01037.points order by x, y;
|
||||
" > $outputFile
|
||||
|
||||
diff -q "./01037_polygon_perf_test.ans" "$outputFile"
|
||||
diff -q "${CURDIR}/01037_polygon_perf_test.ans" "$outputFile"
|
||||
|
||||
$CLICKHOUSE_CLIENT --query="DROP DICTIONARY test_01037.dict_array;"
|
||||
done
|
||||
|
@ -7,7 +7,7 @@ TMP_DIR="/tmp"
|
||||
|
||||
declare -a SearchTypes=("POLYGON" "POLYGON_INDEX_EACH" "POLYGON_INDEX_CELL")
|
||||
|
||||
tar -xf 01037_test_data_search.tar.gz
|
||||
tar -xf ${CURDIR}/01037_test_data_search.tar.gz
|
||||
|
||||
$CLICKHOUSE_CLIENT --query="DROP DATABASE IF EXISTS test_01037;"
|
||||
|
||||
@ -17,9 +17,9 @@ $CLICKHOUSE_CLIENT --query="DROP TABLE IF EXISTS test_01037.points;"
|
||||
|
||||
$CLICKHOUSE_CLIENT --query="CREATE TABLE test_01037.points (x Float64, y Float64) ENGINE = Memory;"
|
||||
|
||||
$CLICKHOUSE_CLIENT --query="INSERT INTO test_01037.points FORMAT TSV" --max_insert_block_size=100000 < "./01037_point_data"
|
||||
$CLICKHOUSE_CLIENT --query="INSERT INTO test_01037.points FORMAT TSV" --max_insert_block_size=100000 < "${CURDIR}/01037_point_data"
|
||||
|
||||
rm 01037_point_data
|
||||
rm ${CURDIR}/01037_point_data
|
||||
|
||||
$CLICKHOUSE_CLIENT --query="DROP TABLE IF EXISTS test_01037.polygons_array;"
|
||||
|
||||
@ -33,9 +33,9 @@ CREATE TABLE test_01037.polygons_array
|
||||
ENGINE = Memory;
|
||||
"
|
||||
|
||||
$CLICKHOUSE_CLIENT --query="INSERT INTO test_01037.polygons_array FORMAT JSONEachRow" --max_insert_block_size=100000 < "./01037_polygon_data"
|
||||
$CLICKHOUSE_CLIENT --query="INSERT INTO test_01037.polygons_array FORMAT JSONEachRow" --max_insert_block_size=100000 < "${CURDIR}/01037_polygon_data"
|
||||
|
||||
rm 01037_polygon_data
|
||||
rm ${CURDIR}/01037_polygon_data
|
||||
|
||||
$CLICKHOUSE_CLIENT --query="DROP DICTIONARY IF EXISTS test_01037.dict_array;"
|
||||
|
||||
@ -60,7 +60,7 @@ do
|
||||
dictGet(dict_name, 'value', key) from test_01037.points order by x, y;
|
||||
" > $outputFile
|
||||
|
||||
diff -q "./01037_polygon_search_test.ans" "$outputFile"
|
||||
diff -q "${CURDIR}/01037_polygon_search_test.ans" "$outputFile"
|
||||
|
||||
$CLICKHOUSE_CLIENT --query="DROP DICTIONARY test_01037.dict_array;"
|
||||
done
|
||||
|
@ -124,7 +124,7 @@ do
|
||||
dictHas(dict_name, key) from test_01037.points order by x, y;
|
||||
" >> $outputFile
|
||||
|
||||
diff -q "./01037_polygon_simple_test.ans" "$outputFile"
|
||||
diff -q "${CURDIR}/01037_polygon_simple_test.ans" "$outputFile"
|
||||
done
|
||||
|
||||
$CLICKHOUSE_CLIENT --query="DROP DICTIONARY test_01037.dict_array;"
|
||||
|
Loading…
Reference in New Issue
Block a user