mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 13:42:02 +00:00
15 lines
348 B
Bash
15 lines
348 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||
|
# shellcheck source=../shell_config.sh
|
||
|
. "$CURDIR"/../shell_config.sh
|
||
|
|
||
|
set -e
|
||
|
|
||
|
format="$CLICKHOUSE_FORMAT"
|
||
|
|
||
|
echo "SELECT f((x, tuple(y)) -> z)" | $format
|
||
|
echo "select f(x, tuple(y) -> z)" | $format
|
||
|
echo "select f(x, y -> z)" | $format
|
||
|
echo "select f((x, y) -> z)" | $format
|