mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 02:21:59 +00:00
14 lines
366 B
Bash
14 lines
366 B
Bash
|
#!/usr/bin/env bash
|
||
|
# Tags: no-parallel, no-fasttest
|
||
|
|
||
|
set -e
|
||
|
|
||
|
CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||
|
# shellcheck source=../shell_config.sh
|
||
|
. "$CUR_DIR"/../shell_config.sh
|
||
|
|
||
|
DATA_DIR=$CUR_DIR/data_avro
|
||
|
|
||
|
$CLICKHOUSE_LOCAL -q "desc file('$DATA_DIR/complicated_schema.avro')"
|
||
|
$CLICKHOUSE_LOCAL -q "select * from file('$DATA_DIR/complicated_schema.avro')"
|