ruby-duckdb icon indicating copy to clipboard operation
ruby-duckdb copied to clipboard

unimplemented duckdb CAPI

Open suketa opened this issue 1 year ago • 2 comments

The following duckdb CAPI fucntions are not used in ruby-duckdb. Think about the followings and decide to implement method (or class) in ruby-duckdb.

  • [ ] Think about duckdb_create_varchar
  • [ ] Think about duckdb_create_varchar_length
  • [ ] Think about duckdb_create_int64
  • [ ] Think about duckdb_create_struct_value
  • [ ] Think about duckdb_create_list_value
  • [ ] Think about duckdb_create_array_value
  • [ ] Think about duckdb_get_varchar
  • [ ] Think about duckdb_get_int64
  • [ ] Think about duckdb_create_logical_type
  • [ ] Think about duckdb_logical_type_get_alias
  • [ ] Think about duckdb_create_list_type
  • [ ] Think about duckdb_create_array_type
  • [ ] Think about duckdb_create_map_type
  • [ ] Think about duckdb_create_union_type
  • [ ] Think about duckdb_create_struct_type
  • [ ] Think about duckdb_create_enum_type
  • [ ] Think about duckdb_create_decimal_type
  • [ ] Think about duckdb_list_type_child_type
  • [ ] Think about duckdb_array_type_child_type
  • [ ] Think about duckdb_map_type_key_type
  • [ ] Think about duckdb_map_type_value_type
  • [ ] Think about duckdb_struct_type_child_name
  • [ ] Think about duckdb_struct_type_child_type
  • [ ] Think about duckdb_union_type_member_name
  • [ ] Think about dcukdb_union_type_member_type
  • [ ] Think about duckdb_create_data_chunk
  • [ ] Think about duckdb_append_data_chunk

suketa avatar Jun 25 '24 21:06 suketa

Looks like this is blocking inserting array types, anything contributors can do to help get it implemented?

rlancer avatar Oct 21 '24 21:10 rlancer

@rlancer

I have not figure out the detail about these items.

  • Ruby array should be converted duckdb array type or duckdb list type, which is better?
  • How to convert ruby array to duckdb array type (or duckdb list type).
  • How to implement it.
  • etc...

suketa avatar Nov 01 '24 22:11 suketa