blob: d95d9f852ea0679de047824e24a456f8a7e5df8c [file] [log] [blame]
set hive.vectorized.execution.enabled=false;
-- this test creates a Parquet table with an array of single-field structs
-- as written by parquet-avro
CREATE TABLE parquet_avro_array_of_single_field_structs (
single_element_groups ARRAY<STRUCT<count: BIGINT>>
) STORED AS PARQUET;
LOAD DATA LOCAL INPATH '../../data/files/AvroSingleFieldGroupInList.parquet'
OVERWRITE INTO TABLE parquet_avro_array_of_single_field_structs;
SELECT * FROM parquet_avro_array_of_single_field_structs;
DROP TABLE parquet_avro_array_of_single_field_structs;