2023-08-01 12:42:36 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
|
|
|
# shellcheck source=../shell_config.sh
|
|
|
|
. "$CUR_DIR"/../shell_config.sh
|
|
|
|
|
|
|
|
echo "create table test (x UInt64) engine=Memory;
|
2024-08-07 10:55:16 +00:00
|
|
|
insert into test from infile 'data'; -- {clientError BAD_ARGUMENTS}" | $CLICKHOUSE_LOCAL -m
|
2023-08-01 12:42:36 +00:00
|
|
|
|
|
|
|
echo "create table test (x UInt64) engine=Memory;
|
2024-08-07 10:55:16 +00:00
|
|
|
insert into test from infile 'data';" | $CLICKHOUSE_LOCAL -m --ignore-error
|
2023-08-01 12:42:36 +00:00
|
|
|
|
|
|
|
echo "create table test (x UInt64) engine=Memory;
|
|
|
|
insert into test from infile 'data'; -- {clientError BAD_ARGUMENTS}
|
2024-08-07 10:55:16 +00:00
|
|
|
select 1" | $CLICKHOUSE_LOCAL -m
|
2023-08-01 12:42:36 +00:00
|
|
|
|