ClickHouse/tests/queries/0_stateless/02833_local_with_dialect.sh

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

11 lines
385 B
Bash
Raw Normal View History

2023-07-26 13:18:09 +00:00
#!/usr/bin/env bash
# Tags: no-fasttest, no-random-settings
2023-07-26 13:18:09 +00:00
CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
# shellcheck source=../shell_config.sh
. "$CUR_DIR"/../shell_config.sh
2023-12-19 17:03:57 +00:00
# Remove last line since the good bye message changes depending on the date
echo "exit" | ${CLICKHOUSE_LOCAL} --query "from s\"SELECT * FROM numbers(1)\"" --dialect prql --interactive | head -n -1