Fix test number and some fixes in reference

This commit is contained in:
BoloniniD 2021-07-15 17:47:03 +03:00
parent f27e69a31f
commit bab7681bc1
2 changed files with 3 additions and 3 deletions

View File

@ -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'

View File

@ -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"