jorisvandenbossche opened a new pull request, #367: URL: https://github.com/apache/arrow-nanoarrow/pull/367
Very draft PR, just putting here publicly what I experimented. This is currently a minimal addition that just allows to inspect an array / type: ``` In [1]: builder = pa.lib.StringViewBuilder() ...: builder.append("test") ...: builder.append("very long string that is not inlined") ...: builder.append(None) ...: builder.append("test") ...: arr = builder.finish() In [2]: import nanoarrow as na In [3]: na.c_schema(arr.type) Out[3]: <nanoarrow.c_lib.CSchema string_view> - format: 'vu' - name: '' - flags: 2 - metadata: NULL - dictionary: NULL - children[0]: In [4]: na.c_schema_view(arr.type) Out[4]: <nanoarrow.c_lib.CSchemaView> - type: 'string_view' - storage_type: 'string_view' In [5]: na.c_array(arr) Out[5]: <nanoarrow.c_lib.CArray string_view> - length: 4 - offset: 0 - null_count: 1 - buffers: (140250311598080, 140250311598144, 140250311598208, 94079215855408) - dictionary: NULL - children[0]: In [4]: na.c_array_view(arr) Out[4]: <nanoarrow.c_lib.CArrayView> - storage_type: 'string_view' - length: 4 - offset: 0 - null_count: 1 - buffers[2]: - <bool validity[1 b] 11010000> - <string_view data[0 b] b''> - dictionary: NULL - children[0]: ``` -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org