diff --git a/tests/queries/0_stateless/01597_columns_list_ignored.reference b/tests/queries/0_stateless/01597_columns_list_ignored.reference new file mode 100644 index 00000000000..d00491fd7e5 --- /dev/null +++ b/tests/queries/0_stateless/01597_columns_list_ignored.reference @@ -0,0 +1 @@ +1 diff --git a/tests/queries/0_stateless/01597_columns_list_ignored.sh b/tests/queries/0_stateless/01597_columns_list_ignored.sh new file mode 100755 index 00000000000..3098eb5161a --- /dev/null +++ b/tests/queries/0_stateless/01597_columns_list_ignored.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) +. "$CURDIR"/../shell_config.sh + +${CLICKHOUSE_LOCAL} --query "describe table file('', TSV, 'a int, b.c int')" 2>&1 | grep -F -c 'Syntax error'