isaacbrodsky / h3-duckdb

Bindings for H3 to DuckDB
Apache License 2.0
159 stars 8 forks source link

Add Parquet test & fix string vector issue #34

Closed isaacbrodsky closed 1 year ago

isaacbrodsky commented 1 year ago

This may fix #17. I am not entirely sure how the function sort-of worked before, but I am guessing there was a use-after-free on the resulting string vector (or in any case the resulting string vector was invalid.) This changes the function to match the string concat function from duckdb, and adds a test to confirm it works as intended. There is some risk that this doesn't fully fix the issue, my intuition would be if it fails it would be on a larger file.