mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 13:02:00 +00:00
Fix test number and some fixes in reference
This commit is contained in:
parent
f27e69a31f
commit
bab7681bc1
@ -28,4 +28,4 @@ Attempt to read twice from a regular file
|
|||||||
6,"AAA"
|
6,"AAA"
|
||||||
******************
|
******************
|
||||||
Attempt to read twice from a pipe
|
Attempt to read twice from a pipe
|
||||||
OK: stderr contains a message
|
OK: stderr contains a message 'Cannot read from a pipeline twice'
|
@ -3,8 +3,8 @@ CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
|||||||
# shellcheck source=../shell_config.sh
|
# shellcheck source=../shell_config.sh
|
||||||
. "$CURDIR"/../shell_config.sh
|
. "$CURDIR"/../shell_config.sh
|
||||||
|
|
||||||
SAMPLE_FILE="$CURDIR/01941_sample_data.csv"
|
SAMPLE_FILE="$CURDIR/01947_sample_data.csv"
|
||||||
STD_ERROR_CAPTURED="$CURDIR/01941_std_error_captured.log"
|
STD_ERROR_CAPTURED="$CURDIR/01947_std_error_captured.log"
|
||||||
|
|
||||||
echo 'File generated:'
|
echo 'File generated:'
|
||||||
${CLICKHOUSE_LOCAL} -q "SELECT number, if(number in (4,6), 'AAA', 'BBB') from numbers(7) FORMAT CSV" --format_csv_delimiter=, >"$SAMPLE_FILE"
|
${CLICKHOUSE_LOCAL} -q "SELECT number, if(number in (4,6), 'AAA', 'BBB') from numbers(7) FORMAT CSV" --format_csv_delimiter=, >"$SAMPLE_FILE"
|
Loading…
Reference in New Issue
Block a user