Data Import
Parquet Metadata
The `parquet_metadata` function can be used to query the metadata contained within a Parquet file, which reveals various internal details of the Parquet file such as the statistics of the different columns. This can be useful for figuring out what kind of skipping is possible in Parquet files, or even to obtain a quick overview of what the different columns contain:  
```sql
SELECT *
FROM parquet_metadata('test.parquet');
```  
Below is a table of the columns returned by `parquet_metadata`.  
<div class="narrow_table monospace_table"></div>  
| Field                   | Type            |
| ----------------------- | --------------- |
| file_name               | VARCHAR         |
| row_group_id            | BIGINT          |
| row_group_num_rows      | BIGINT          |
| row_group_num_columns   | BIGINT          |
| row_group_bytes         | BIGINT          |
| column_id               | BIGINT          |
| file_offset             | BIGINT          |
| num_values              | BIGINT          |
| path_in_schema          | VARCHAR         |
| type                    | VARCHAR         |
| stats_min               | VARCHAR         |
| stats_max               | VARCHAR         |
| stats_null_count        | BIGINT          |
| stats_distinct_count    | BIGINT          |
| stats_min_value         | VARCHAR         |
| stats_max_value         | VARCHAR         |
| compression             | VARCHAR         |
| encodings               | VARCHAR         |
| index_page_offset       | BIGINT          |
| dictionary_page_offset  | BIGINT          |
| data_page_offset        | BIGINT          |
| total_compressed_size   | BIGINT          |
| total_uncompressed_size | BIGINT          |
| key_value_metadata      | MAP(BLOB, BLOB) |