mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
31 lines
1.2 KiB
XML
31 lines
1.2 KiB
XML
|
<test>
|
||
|
<fill_query>
|
||
|
INSERT INTO FUNCTION file('test_pq', Parquet) SELECT * FROM generateRandom('int64_column Nullable(Int64), tuple_column Tuple(a Nullable(String), b Nullable(Float64), c Tuple(i UInt32, j UInt32)),array_tuple_column Array(Tuple(a Nullable(String), b Nullable(Float64), c Nullable(Int64))), map_tuple_column Map(String, Tuple(a Nullable(String), b Nullable(Float64), c Nullable(Int64)))') limit 1000000
|
||
|
</fill_query>
|
||
|
|
||
|
<query>
|
||
|
SELECT * FROM file('test_pq', Parquet, 'tuple_column Tuple(a Nullable(String))') Format Null
|
||
|
</query>
|
||
|
|
||
|
<query>
|
||
|
SELECT tuple_column.a FROM file('test_pq', Parquet) Format Null
|
||
|
</query>
|
||
|
|
||
|
<query>
|
||
|
SELECT tuple_column.a FROM file('test_pq', Parquet, 'tuple_column Tuple(a Nullable(String))') Format Null
|
||
|
</query>
|
||
|
|
||
|
<query>
|
||
|
SELECT tuple_column.c.i FROM file('test_pq', Parquet) Format Null
|
||
|
</query>
|
||
|
|
||
|
<query>
|
||
|
SELECT * FROM file('test_pq', Parquet, 'array_tuple_column Array (Tuple(a Nullable(String)))') Format Null
|
||
|
</query>
|
||
|
|
||
|
<query>
|
||
|
SELECT * FROM file('test_pq', Parquet, 'map_tuple_column Map(String, Tuple(a Nullable(String)))') Format Null
|
||
|
</query>
|
||
|
|
||
|
</test>
|