freevryheid / duckdb

fortran bindings to duckdb c api
MIT License
9 stars 2 forks source link

add new duckdb_string_t [do not merge] #51

Open ludnic opened 1 year ago

ludnic commented 1 year ago

This work is a bit stuck. duckdb 0.8 introduced this new type for the representation of blob and varchar data https://github.com/duckdb/duckdb/blob/master/src/include/duckdb.h#L193-L208.

There is a test for that involves this type https://github.com/duckdb/duckdb/blob/master/test/api/capi/test_capi_data_chunk.cpp#L196 which I have started to work on in this PR. However I didn't get too far and it doesn't make sense to merge this in the current state.

I will park it for now, as I don't have a clear idea on how to fix it.