ClickHouse/tests/queries/0_stateless/02181_format_describe_query.sh
2022-01-21 15:12:42 +03:00

11 lines
302 B
Bash
Executable File

#!/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')"