mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 07:01:59 +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"
|
||||
******************
|
||||
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
|
||||
. "$CURDIR"/../shell_config.sh
|
||||
|
||||
SAMPLE_FILE="$CURDIR/01941_sample_data.csv"
|
||||
STD_ERROR_CAPTURED="$CURDIR/01941_std_error_captured.log"
|
||||
SAMPLE_FILE="$CURDIR/01947_sample_data.csv"
|
||||
STD_ERROR_CAPTURED="$CURDIR/01947_std_error_captured.log"
|
||||
|
||||
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"
|
Loading…
Reference in New Issue
Block a user