Skip to content

GH-46974: [Integration][Archery] Add support for ARROW_JS_ROOT #46975

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

Merged
merged 2 commits into from
Jul 3, 2025

Conversation

kou
Copy link
Member

@kou kou commented Jul 2, 2025

Rationale for this change

If we can specify the JS implementation directory by an environment variable, it's useful. Because developers don't need to copy the JS implementation to apache/arrow/js.

What changes are included in this PR?

Refer ARROW_JS_ROOT before using the default JS implementation directory.

Are these changes tested?

Yes.

Are there any user-facing changes?

No.

Copy link

github-actions bot commented Jul 2, 2025

⚠️ GitHub issue #46974 has been automatically assigned in GitHub to PR creator.

@github-actions github-actions bot added the awaiting committer review Awaiting committer review label Jul 2, 2025
@kou kou marked this pull request as ready for review July 2, 2025 06:02
ARROW_JS_ROOT = os.path.join(ARROW_BUILD_ROOT, 'js')
ARROW_JS_ROOT = os.environ.get(
'ARROW_JS_ROOT',
os.path.join(ARROW_BUILD_ROOT, 'js')
Copy link
Member

Choose a reason for hiding this comment

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

Do we even need the ARROW_BUILD_ROOT fallback?

Copy link
Member Author

Choose a reason for hiding this comment

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

We can remove it.

@kou kou force-pushed the archery-integration-js-root branch from cc0056e to 4130e21 Compare July 3, 2025 06:17
@github-actions github-actions bot added awaiting changes Awaiting changes awaiting change review Awaiting change review and removed awaiting committer review Awaiting committer review awaiting changes Awaiting changes labels Jul 3, 2025
@kou kou force-pushed the archery-integration-js-root branch from 4130e21 to 788fd97 Compare July 3, 2025 06:52
Copy link
Member

@raulcd raulcd left a comment

Choose a reason for hiding this comment

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

I've validated that ARROW_BUILD_ROOT is still required for the tester_java.py

@github-actions github-actions bot added awaiting merge Awaiting merge and removed awaiting change review Awaiting change review labels Jul 3, 2025
@kou kou merged commit 2de43af into apache:main Jul 3, 2025
15 of 16 checks passed
@kou kou removed the awaiting merge Awaiting merge label Jul 3, 2025
@kou kou deleted the archery-integration-js-root branch July 3, 2025 21:38
Copy link

After merging your PR, Conbench analyzed the 3 benchmarking runs that have been run so far on merge-commit 2de43af.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details.

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

Successfully merging this pull request may close these issues.

3 participants