ClickHouse/tests/queries/0_stateless/02455_default_union_except_intersect.sh

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

14 lines
310 B
Bash
Raw Normal View History

2022-09-28 01:09:00 +00:00
#!/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