Merge pull request #25874 from Avogar/fix-arrow-test

Fix typo in the test 00900_orc_arrow_parquet_maps
This commit is contained in:
Kruglov Pavel 2021-07-01 12:25:31 +03:00 committed by GitHub
commit 0b032e852d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,9 +19,9 @@ formats="Arrow Parquet ORC";
for format in ${formats}; do
echo $format
${CLICKHOUSE_CLIENT} --query="SELECT * FROM maps FORMAT Parquet" > "${CLICKHOUSE_TMP}"/maps
${CLICKHOUSE_CLIENT} --query="SELECT * FROM maps FORMAT $format" > "${CLICKHOUSE_TMP}"/maps
${CLICKHOUSE_CLIENT} --query="TRUNCATE TABLE maps"
cat "${CLICKHOUSE_TMP}"/maps | ${CLICKHOUSE_CLIENT} -q "INSERT INTO maps FORMAT Parquet"
cat "${CLICKHOUSE_TMP}"/maps | ${CLICKHOUSE_CLIENT} -q "INSERT INTO maps FORMAT $format"
${CLICKHOUSE_CLIENT} --query="SELECT * FROM maps"
done