mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-01 03:52:15 +00:00
14 lines
310 B
Bash
Executable File
14 lines
310 B
Bash
Executable File
#!/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 1 UNION SELECT 1" | $format
|
|
echo "SELECT 2 EXCEPT SELECT 2" | $format
|
|
echo "SELECT 3 INTERSECT SELECT 3" | $format
|