Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] fixed read_parquet function name #37

Merged
merged 3 commits into from
Aug 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading