Adapt test

This commit is contained in:
Alexey Milovidov 2021-12-23 01:30:48 +03:00
parent 3e50217501
commit 5bceffaaef

View File

@ -1,10 +1,11 @@
#!/usr/bin/env bash
# Tags: no-fasttest
set -e
CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
# shellcheck source=../shell_config.sh
. "$CUR_DIR"/../shell_config.sh
DATA_DIR=$CUR_DIR/data_avro
cat "$DATA_DIR"/nested_complex_incorrect_data.avro | ${CLICKHOUSE_LOCAL} --input-format Avro --output-format CSV -S "\"b.b2_null_str\" Nullable(String)" -q 'select * from table;' 2>&1 | grep -i 'index out of boundary' -o