ClickHouse/tests/queries/0_stateless/02455_default_union_except_intersect.sh
Nikolay Degterinsky 6bc8aa3341 Add test
2022-09-28 01:09:00 +00:00

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