From 4772840a9493fa63dbac971fa9e073d40fbb4066 Mon Sep 17 00:00:00 2001 From: BoloniniD <54375878+BoloniniD@users.noreply.github.com> Date: Tue, 13 Jul 2021 14:08:51 +0300 Subject: [PATCH] File format parameter fix Co-authored-by: Azat Khuzhin --- tests/queries/0_stateless/01941_multiple_pipe_read.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/queries/0_stateless/01941_multiple_pipe_read.sh b/tests/queries/0_stateless/01941_multiple_pipe_read.sh index d16ebe02d46..faf1486a697 100644 --- a/tests/queries/0_stateless/01941_multiple_pipe_read.sh +++ b/tests/queries/0_stateless/01941_multiple_pipe_read.sh @@ -7,7 +7,7 @@ SAMPLE_FILE="$CURDIR/01941_sample_data.csv" STD_ERROR_CAPTURED="$CURDIR/01941_std_error_captured.log" echo 'File generated:' -${CLICKHOUSE_LOCAL} -q "SELECT number, if(number in (4,6), 'AAA', 'BBB') from numbers(7) FORMAT TSV" | tr '\t' ',' >"$SAMPLE_FILE" +${CLICKHOUSE_LOCAL} -q "SELECT number, if(number in (4,6), 'AAA', 'BBB') from numbers(7) FORMAT CSV" --format_csv_delimiter=, >"$SAMPLE_FILE" cat "$SAMPLE_FILE" echo '******************' @@ -49,4 +49,3 @@ fi rm "$STD_ERROR_CAPTURED" "$SAMPLE_FILE" -