mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
Add tests.
This commit is contained in:
parent
3c4491b706
commit
9a35921d00
@ -1,5 +1,9 @@
|
||||
performing test: select
|
||||
1 2 3
|
||||
performing test: select_with_append
|
||||
1 2 3
|
||||
performing test: select_with_truncate
|
||||
1 2 3
|
||||
performing test: union_all
|
||||
1 2
|
||||
3 4
|
||||
|
@ -21,6 +21,10 @@ function perform()
|
||||
|
||||
perform "select" "SELECT 1, 2, 3 INTO OUTFILE '${CLICKHOUSE_TMP}/test_into_outfile_select.out'"
|
||||
|
||||
perform "select_with_append" "SELECT 1, 2, 3 INTO OUTFILE '${CLICKHOUSE_TMP}/test_into_outfile_select_with_append.out' APPEND"
|
||||
|
||||
perform "select_with_truncate" "SELECT 1, 2, 3 INTO OUTFILE '${CLICKHOUSE_TMP}/test_into_outfile_select_with_truncate.out' TRUNCATE"
|
||||
|
||||
perform "union_all" "SELECT 1, 2 UNION ALL SELECT 3, 4 INTO OUTFILE '${CLICKHOUSE_TMP}/test_into_outfile_union_all.out' FORMAT TSV" | sort --numeric-sort
|
||||
|
||||
perform "bad_union_all" "SELECT 1, 2 INTO OUTFILE '${CLICKHOUSE_TMP}/test_into_outfile_bad_union_all.out' UNION ALL SELECT 3, 4"
|
||||
|
Loading…
Reference in New Issue
Block a user