ClickHouse/tests/queries/0_stateless/02181_format_describe_query.sh

11 lines
302 B
Bash
Raw Normal View History

2022-01-21 12:08:53 +00:00
#!/usr/bin/env bash
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
# shellcheck source=../shell_config.sh
. "$CURDIR"/../shell_config.sh
$CLICKHOUSE_FORMAT --query="DESCRIBE file('data.csv')"
$CLICKHOUSE_FORMAT --query="DESCRIBE TABLE table"
$CLICKHOUSE_FORMAT --query="DESC file('data.csv')"