Data Import
Parquet Schema
The `parquet_schema` function can be used to query the internal schema contained within a Parquet file. Note that this is the schema as it is contained within the metadata of the Parquet file. If you want to figure out the column names and types contained within a Parquet file it is easier to use `DESCRIBE`.  
Fetch the column names and column types:  
```sql
DESCRIBE SELECT * FROM 'test.parquet';
```  
Fetch the internal schema of a Parquet file:  
```sql
SELECT *
FROM parquet_schema('test.parquet');
```  
Below is a table of the columns returned by `parquet_schema`.  
<div class="narrow_table monospace_table"></div>  
| Field           | Type    |
| --------------- | ------- |
| file_name       | VARCHAR |
| name            | VARCHAR |
| type            | VARCHAR |
| type_length     | VARCHAR |
| repetition_type | VARCHAR |
| num_children    | BIGINT  |
| converted_type  | VARCHAR |
| scale           | BIGINT  |
| precision       | BIGINT  |
| field_id        | BIGINT  |
| logical_type    | VARCHAR |