Skip to content

Commit

Permalink
Merge pull request #9116 from rouault/arrow_15
Browse files Browse the repository at this point in the history
Arrow/Parquet: add (minimum) support for libarrow 15.0
  • Loading branch information
rouault authored Jan 21, 2024
2 parents 92c4c7a + 16439ec commit 4b9771a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions ogr/ogrsf_frmts/arrow_common/ograrrowlayer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,12 @@ inline bool OGRArrowLayer::MapArrowTypeToOGR(
case arrow::Type::INTERVAL_MONTH_DAY_NANO:
#if ARROW_VERSION_MAJOR >= 12
case arrow::Type::RUN_END_ENCODED:
#endif
#if ARROW_VERSION_MAJOR >= 15
case arrow::Type::STRING_VIEW:
case arrow::Type::BINARY_VIEW:
case arrow::Type::LIST_VIEW:
case arrow::Type::LARGE_LIST_VIEW:
#endif
case arrow::Type::MAX_ID:
{
Expand Down Expand Up @@ -2136,6 +2142,12 @@ inline OGRFeature *OGRArrowLayer::ReadFeature(
case arrow::Type::INTERVAL_MONTH_DAY_NANO:
#if ARROW_VERSION_MAJOR >= 12
case arrow::Type::RUN_END_ENCODED:
#endif
#if ARROW_VERSION_MAJOR >= 15
case arrow::Type::STRING_VIEW:
case arrow::Type::BINARY_VIEW:
case arrow::Type::LIST_VIEW:
case arrow::Type::LARGE_LIST_VIEW:
#endif
case arrow::Type::MAX_ID:
{
Expand Down

0 comments on commit 4b9771a

Please sign in to comment.