diff --git a/test/files/Int_Map.json b/test/files/Int_Map.json deleted file mode 100644 index c9c37aa..0000000 --- a/test/files/Int_Map.json +++ /dev/null @@ -1,9 +0,0 @@ -[ - [{ "k1": 1, "k2": 100 }], - [{ "k1": 2, "k2": null }], - [{ }], - [{ }], - [{ }], - [null], - [{ "k1": null, "k3": null }] -] diff --git a/test/files/Int_Map.metadata.json b/test/files/Int_Map.metadata.json deleted file mode 100644 index 7bcbaa6..0000000 --- a/test/files/Int_Map.metadata.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "version": 1, - "created_by": "DuckDB", - "metadata_length": 243, - "num_rows": 7, - "row_groups": [ - { - "columns": [ - { - "file_offset": 0, - "meta_data": { - "codec": "SNAPPY", - "data_page_offset": 4, - "encodings": ["PLAIN"], - "num_values": 10, - "path_in_schema": ["int_map", "key_value", "key"], - "statistics": { - "max": "k3", - "min": "k1", - "max_value": "k3", - "min_value": "k1" - }, - "total_compressed_size": 64, - "total_uncompressed_size": 82, - "type": "BYTE_ARRAY" - } - }, - { - "file_offset": 0, - "meta_data": { - "codec": "SNAPPY", - "data_page_offset": 68, - "encodings": ["PLAIN"], - "num_values": 10, - "path_in_schema": ["int_map", "key_value", "value"], - "statistics": { - "max": 100, - "min": 1, - "max_value": 100, - "min_value": 1 - }, - "total_compressed_size": 60, - "total_uncompressed_size": 59, - "type": "INT32" - } - } - ], - "file_offset": 4, - "num_rows": 7, - "total_byte_size": 74752 - } - ], - "schema": [ - { - "name": "duckdb_schema", - "num_children": 1, - "repetition_type": "REQUIRED" - }, - { - "converted_type": "MAP", - "name": "int_map", - "num_children": 1, - "repetition_type": "OPTIONAL" - }, - { - "name": "key_value", - "num_children": 2, - "repetition_type": "REPEATED" - }, - { - "converted_type": "UTF8", - "name": "key", - "repetition_type": "REQUIRED", - "type": "BYTE_ARRAY" - }, - { - "converted_type": "INT_32", - "name": "value", - "repetition_type": "OPTIONAL", - "type": "INT32" - } - ] -} diff --git a/test/files/Int_Map.parquet b/test/files/Int_Map.parquet deleted file mode 100644 index 93d1fe9..0000000 Binary files a/test/files/Int_Map.parquet and /dev/null differ diff --git a/test/read.test.js b/test/read.test.js index ab07e4b..3a749e5 100644 --- a/test/read.test.js +++ b/test/read.test.js @@ -79,7 +79,7 @@ describe('parquetRead', () => { }) it('read a map-like column', async () => { - const file = fileToAsyncBuffer('test/files/Int_Map.parquet') + const file = fileToAsyncBuffer('test/files/nullable.impala.parquet') await parquetRead({ file, columns: ['int_map'],