ClickHouse/tests/queries/0_stateless/02551_obfuscator_keywords.sh
2023-02-01 11:21:49 +01:00

12 lines
313 B
Bash
Executable File

#!/usr/bin/env bash
CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
# shellcheck source=../shell_config.sh
. "$CUR_DIR"/../shell_config.sh
obf="$CLICKHOUSE_FORMAT --obfuscate"
echo "select 1 order by 1 with fill step 1" | $obf
echo "SELECT id, untuple(id) FROM id" | $obf
echo "SELECT 1 IS NULL" | $obf