kimmolinna / DuckDB.jl

MIT License
29 stars 5 forks source link

Use Appender API to append DataFrame to table #9

Closed lars-dammann closed 2 years ago

lars-dammann commented 2 years ago

I used the appender API to create a function to append the contents of a dataframe to an existing table for some common data types. Maybe we should integrate it into the package? I'll make a Pull request. If not we should at least cherry-pick the first commit fa38bfce3449bbc1b98a62780308a87ebdd427a6. It dereferences the appender object in some API ccalls. Using the wrapped API as is leads to segmentation faults which seems like a bug to me.

kimmolinna commented 2 years ago

Thank you very much.