Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[C++] Add Fixed-Size List Support in Apache Arrow STL Conversion Traits #45005

Closed
mroz45 opened this issue Dec 12, 2024 · 1 comment
Closed

Comments

@mroz45
Copy link
Contributor

mroz45 commented Dec 12, 2024

Describe the enhancement requested

Conversion of a range of std::tuple objects can be converted into Arrow Tables. However, while Arrow supports several standard C++ data types for this conversion, it lacks direct support for fixed-size lists. At present, Arrow supports Lists via std::vector, but there is no implementation for fixed-size lists(std::array), which are often used in scenarios where size is predetermined for performance or structural reasons.

Component(s)

C++

@mroz45 mroz45 changed the title Add Fixed-Size List Support in Apache Arrow STL Conversion Traits [C++]Add Fixed-Size List Support in Apache Arrow STL Conversion Traits Dec 12, 2024
@kou kou changed the title [C++]Add Fixed-Size List Support in Apache Arrow STL Conversion Traits [C++] Add Fixed-Size List Support in Apache Arrow STL Conversion Traits Dec 13, 2024
zanmato1984 added a commit that referenced this issue Dec 18, 2024
…le (#45008)

### What changes are included in this PR?
This PR introduces support for fixed-size lists in Apache Arrow's STL conversion.  Added specializations for arrow::stl::ConversionTraits<T> and arrow::CTypeTraits<T> to handle std::array as a fixed-size list and also Unit Test.

### Are these changes tested?
Yes, new type is tested.

### Are there any user-facing changes?

* GitHub Issue: #45005

Lead-authored-by: kamilt <[email protected]>
Co-authored-by: Rossi Sun <[email protected]>
Signed-off-by: Rossi Sun <[email protected]>
@zanmato1984 zanmato1984 added this to the 19.0.0 milestone Dec 18, 2024
@zanmato1984
Copy link
Contributor

Issue resolved by pull request 45008
#45008

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants