Skip to content

GH-46375: [C++] Add adapters/orc directory to Meson #46906

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

WillAyd
Copy link
Contributor

@WillAyd WillAyd commented Jun 25, 2025

Rationale for this change

Apache ORC now has native support for Meson, so we can rather easily add support now in Arrow

What changes are included in this PR?

This integrates the adapters/orc directory into the Meson configuration

Are these changes tested?

Yes

Are there any user-facing changes?

No

@WillAyd WillAyd requested a review from wgtmac as a code owner June 25, 2025 13:38
@WillAyd WillAyd added the CI: Extra Run extra CI label Jun 25, 2025
# under the License.

[wrap-file]
directory = orc-45b4014b61912dcd22eae69a0528a8b8888377d6
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This currently points to a development version of Apache ORC. The next full version to support Meson natively will be 2.2, which may be released in a few months (?). At that point in time, we should be able to switch over to an official Meson wrap release

@github-actions github-actions bot added awaiting committer review Awaiting committer review and removed awaiting review Awaiting review labels Jun 25, 2025
@WillAyd
Copy link
Contributor Author

WillAyd commented Jun 25, 2025

I don't believe the AppVeyor failure is related

@wgtmac
Copy link
Member

wgtmac commented Jun 26, 2025

I'm not familiar with Meson internals but it looks reasonable to me. cc @kou


[wrap-file]
directory = orc-15d86dfcad6fc80ee24cf785419a820a55db103b
source_url = https://github.com/apache/orc/archive/15d86dfcad6fc80ee24cf785419a820a55db103b.tar.gz
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use a released version instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not yet - a release with the Meson configuration hasn't happened (it's brand new)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we merge this PR after the new ORC release?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure we can wait. I know originally the next release for Orc was planned far out, but there have been discussions for it happening sooner (next month or so).

Will keep tabs on that discussion

Copy link
Contributor Author

@WillAyd WillAyd Jun 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm actually it would be good if we reconsider for now. The orc implementation here is a dependency for the dataset work, which in turn can unlock substrait work, which is the last component needed before we can more seriously look at the Python build system again.

There are of course ways to work around that, but I think going in a linear fashion is the easiest way to avoid missing anything compared against CMake

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK. But can we do this after 21.0.0 feature freeze?
We should not release a version that depends on non "official" Apache product releases.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely!

@github-actions github-actions bot added awaiting changes Awaiting changes and removed awaiting committer review Awaiting committer review labels Jun 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants