yutannihilation opened a new issue, #1169: URL: https://github.com/apache/sedona-db/issues/1169
I tried to reproduce this DuckDB SQL on Overture Maps with the sdplyr package. https://docs.overturemaps.org/getting-data/duckdb/ The below code works without errors, however, it seems `categories$primary == "pizza_restaurant"` doesn't work as expected (I hope this is translated as `categories.primary = 'pizza_restaurant'`); the result is 0-rows. I think this should at least raise an error if the expression is not supported. ```r library(sedonadb) library(sdplyr) Sys.setenv( AWS_SKIP_SIGNATURE = "true", AWS_DEFAULT_REGION = "us-west-2" ) places_url <- "s3://overturemaps-us-west-2/release/2026-07-22.0/theme=places/type=place/" target_wkt <- wk::rct( xmin = -75, ymin = 40, xmax = -73, ymax = 41, wk::wk_crs_longlat() ) places_df <- sd_read_parquet(places_url) res <- places_df |> filter( categories$primary == "pizza_restaurant", sd_intersects( geometry, target_wkt ) ) |> select(id, geometry, version) |> collect() ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
