ClickHouse/tests/queries/0_stateless/02560_tuple_format.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
381 B
Bash
Raw Normal View History

#!/usr/bin/env bash
CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
# shellcheck source=../shell_config.sh
. "$CUR_DIR"/../shell_config.sh
echo "select (tuple(1, 2, 3));" | "$CLICKHOUSE_FORMAT"
echo "select (tuple(1, 2, 3) as x);" | "$CLICKHOUSE_FORMAT"
echo "select (tuple(1, 2, 3)).1;" | "$CLICKHOUSE_FORMAT"
echo "select (tuple(1, 2, 3) as x).1;" | "$CLICKHOUSE_FORMAT"