Skip to content

Commit

Permalink
fixed read_parquet function name
Browse files Browse the repository at this point in the history
  • Loading branch information
javier committed Aug 8, 2024
1 parent 0750115 commit b9f0db5
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions reference/function/parquet.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,22 @@ Either:

:::

## parquet_read
## read_parquet

Reads a parquet file as a table.

`parquet_read(parquet_file_path)`
`read_parquet(parquet_file_path)`

### Usage

With this function, query a Parquet file located at the QuestDB copy root directory. Both relative and absolute file paths are supported.
With this function, query a Parquet file located at the QuestDB copy root directory. Both relative and absolute file
paths are supported.

```questdb-sql title="parquet_read example"
```questdb-sql title="read_parquet example"
SELECT
*
FROM
parquet_read('trades.parquet')
read_parquet('trades.parquet')
WHERE
exchange == 'NASDAQ'
```
Expand All @@ -60,7 +61,8 @@ For security reason, reading is only allowed if copy root directory is configure

### Limitations

Parquet format support rich set of data types, including structural types. QuestDB only can read data types that match QuestDB data types:
Parquet format support rich set of data types, including structural types. QuestDB only can read data types that match
QuestDB data types:

- Varchar
- Int
Expand Down

0 comments on commit b9f0db5

Please sign in to comment.