Skip to content

Commit

Permalink
Merge pull request #401 from ador/fix_example_file_loc
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxxen authored Sep 19, 2024
2 parents 47bbcea + 172399f commit 61731f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/example.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ LOAD spatial;
LOAD parquet;

CREATE TABLE rides AS SELECT *
FROM './spatial/test/data/nyc_taxi/yellow_tripdata_2010-01-limit1mil.parquet';
FROM './test/data/nyc_taxi/yellow_tripdata_2010-01-limit1mil.parquet';

-- Load the NYC taxi zone data from a shapefile using the gdal-based st_read function
CREATE TABLE zones AS SELECT zone, LocationId, borough, ST_GeomFromWKB(wkb_geometry) AS geom
FROM st_read('./spatial/test/data/nyc_taxi/taxi_zones/taxi_zones.shx');
CREATE TABLE zones AS SELECT zone, LocationId, borough, geom
FROM st_read('./test/data/nyc_taxi/taxi_zones/taxi_zones.shp');
```
<details>
<summary>
Expand Down

0 comments on commit 61731f5

Please sign in to comment.