geoparquet_preview_rows
Preview sample records from a remote GeoParquet dataset to see actual values, categories, and nulls before writing filters or queries.
Instructions
Return the first few rows of a dataset, so you can see what the values actually look like.
WHEN TO USE IT. After geoparquet_describe_source tells you a column exists and before you filter on it, to learn how it is populated: what a category string looks like in practice, whether a field is mostly null, how an address is spelled. Guessing a filter value and getting zero features back costs more than one preview.
This is NOT a spatial question. The rows are whatever the file stores first, in no geographic order and in no ranking — do not read them as "the most important places" or "places near anywhere". To ask where things are, use geoparquet_filter_spatial or geoparquet_find_nearest.
PARAMETERS. source: dataset name. columns: column expressions to return, for example ["id", "names.primary", "confidence"]. Omit for the dataset's default projection. limit: how many rows, 1 to 100. Ten is usually enough to see the shape.
WHAT COMES BACK. rows as plain records, columns_returned naming the keys, and the scan block. The read stops at the first row group of the first part file, so the cost does not grow with the dataset.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| source | No | overture_places | |
| columns | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||