run_sql
Query geospatial data using DuckDB spatial SQL, returning preview rows or materializing full results as GeoParquet with provenance.
Instructions
Run spatial SQL (DuckDB dialect, ST_* functions, read_parquet/ST_Read for files).
Without output_path: returns up to 50 preview rows. With output_path (.parquet): materializes the full result as GeoParquet with a provenance manifest.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||