Skip to content

Latest commit

 

History

History
81 lines (64 loc) · 2.86 KB

File metadata and controls

81 lines (64 loc) · 2.86 KB
warning title excerpt extension repo docs extension_star_count extension_star_count_pretty extension_download_count extension_download_count_pretty image layout
DO NOT CHANGE THIS MANUALLY, THIS IS GENERATED BY https://github/duckdb/community-extensions repository, check README there
nanoarrow
DuckDB Community Extensions Allows the consumption and production of the Apache Arrow interprocess communication (IPC) format, both from files and directly from stream buffers.
name description version language build license maintainers
nanoarrow
Allows the consumption and production of the Apache Arrow interprocess communication (IPC) format, both from files and directly from stream buffers.
1.2.1
C++
cmake
MIT
paleolimbot
pdet
github ref
paleolimbot/duckdb-nanoarrow
24a28a3484ec514757278ae121dce507550dd4a2
hello_world extended_description
-- Read from a file in Arrow IPC format FROM 'arrow_file.arrow'; FROM 'arrow_file.arrows'; FROM read_arrow('arrow_file.arrow'); -- Write a file in Arrow IPC stream format CREATE TABLE arrow_libraries AS SELECT 'nanoarrow' as name, '0.6' as version; COPY arrow_libraries TO 'test.arrows' (FORMAT ARROWS, BATCH_SIZE 100); -- Write to buffers: This returns IPC message BLOBs and indicates which one is the header. FROM to_arrow_ipc((FROM arrow_libraries));
The Arrow IPC library allows users to read and write data in the Arrow IPC stream format. This can be done by either reading and producing `.arrow` files or by directly reading buffers using their pointers and sizes. It is important to note that reading buffers is dangerous, as an incorrect pointer can crash the database system. This process is temporary and will be deprecated in the future, as clients (e.g., the Python DuckDB client) will have a function that internally extracts these buffers from an Arrow stream.
13
13
472
472
/images/community_extensions/social_preview/preview_community_extension_nanoarrow.png
community_extension_doc

Installing and Loading

INSTALL {{ page.extension.name }} FROM community;
LOAD {{ page.extension.name }};

{% if page.docs.hello_world %}

Example

{{ page.docs.hello_world }}```
{% endif %}

{% if page.docs.extended_description %}
### About {{ page.extension.name }}
{{ page.docs.extended_description }}
{% endif %}

### Added Functions

<div class="extension_functions_table"></div>

|   function_name   | function_type | description | comment | examples |
|-------------------|---------------|-------------|---------|----------|
| nanoarrow_version | scalar        | NULL        | NULL    | []       |
| read_arrow        | table         | NULL        | NULL    | []       |
| scan_arrow_ipc    | table         | NULL        | NULL    | []       |
| to_arrow_ipc      | table         | NULL        | NULL    | []       |