Skip to content

[Feature] Upgrade to Arrow 26.0.1 with C++20 builds and a C++17-compatible public API #596

In review

Description

@SteNicholas

Search before asking

  • I searched in the issues and found nothing similar.

Motivation

Paimon C++ currently pins Arrow 17.0.0. During the review of #580, reviewers proposed upgrading Arrow and adopting C++20 before adding Parquet support for the GEOMETRY and GEOGRAPHY types tracked in #578. Apache Arrow 26.0.1 is the latest stable release, and Arrow C++ has required C++20 since version 23.0. Upgrading first gives #580 access to upstream Parquet geospatial support and a path to drop its proposed arrow_geospatial.diff.

Arrow upgrade and performance discussion · C++20 discussion · Arrow 26.0.1 release

Solution

  • Build the Paimon implementation with C++20 and bump the bundled Apache Arrow and Parquet dependency to 26.0.1. Update the dependency checksum, build documentation, and CI compiler coverage.
  • Keep the installed public API usable by C++17 consumers. Keep Arrow C++ headers and C++20 compile requirements out of the public interface, and use the Arrow C Data Interface at the boundary. Extend the installed-package smoke test to compile and link a C++17 consumer against the public headers, including paimon/schema/schema.h.
  • Use upstream Arrow geospatial APIs in feat(types): support GEOMETRY and GEOGRAPHY in Parquet tables #580 so it can drop arrow_geospatial.diff. Verify the schema mapping, CRS and edge algorithms, and null-count statistics identified in review. Keep any required Paimon-specific behavior in Paimon and retain the geospatial round-trip and Java interoperability coverage in feat(types): support GEOMETRY and GEOGRAPHY in Parquet tables #580. Review the existing arrow.diff for hunks still needed with Arrow 26.0.1. Patch review
  • Compare representative Parquet read and write benchmarks against the current Arrow 17.0.0 baseline under the same conditions. Report the results and confirm there is no material regression before merging. Run the existing Parquet tests and the C++17 installed-package smoke test.

Activity

  1. added
    enhancement
    on Nov 24, 2026
  2. self-assigned this
    on Nov 24, 2026
  3. changed the title [-][Feature] Upgrade the build to C++20 and Arrow 26.0.1 while keeping the public API C++17-compatible[/-] [+][Feature] Adopt C++20 and Arrow 26.0.1 with a C++17 public API[/+] on Nov 25, 2026
  4. changed the title [-][Feature] Adopt C++20 and Arrow 26.0.1 with a C++17 public API[/-] [+][Feature] Upgrade to Arrow 26.0.1 with C++20 builds and a C++17-compatible public API[/+] on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions