You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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++
The text was updated successfully, but these errors were encountered:
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
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
…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]>
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++
The text was updated successfully, but these errors were encountered: