Skip to content

Conversation

@davisusanibar
Copy link
Contributor

No description provided.

@github-actions
Copy link

# arrow_jni
#
if(ARROW_ORC)
add_subdirectory(orc)
Copy link
Member

Choose a reason for hiding this comment

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

I think we'll want to keep the if(ARROW_ORC) (and move it to the other file)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

At the end all cpp/src/jni directory will be deleted

Copy link
Member

Choose a reason for hiding this comment

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

That's not relevant, right? We only want to build ORC support if ORC is actually enabled.

Though, what is the intended new structure? Larry's PR in #13481 shows that we need to update CI/docs as well?

Copy link
Member

Choose a reason for hiding this comment

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

What I mean is: how are we ensuring we only build ORC when ORC is actually enabled in the new structure?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh ok clear, let me add that logic on java/adapter/orc/src/main/cpp not in cpp/src/jni/CMakeLists.txt

Related to the intended: For the ticket related to “Consolidate JNI compilation ORC ARROW-16930 / Dataset ARROW-16941”. Currently: ORC JNI / Dataset JNI are inside of ./cpp directory

Changes to Consolidate JNI compilation ORC / Dataset:

1st Phase:

  1. Move ORC JNI / Dataset JNI from ./cpp to ./java directory
  2. Delete ORC JNI / Dataset JNI from ./cpp
  3. Continue building ORC / Dataset from ./cpp as you see at https://github.com/apache/arrow/blob/6bd03d409a687011b8d4b66e491015128f1ae27e/ci/scripts/java_jni_macos_build.sh#L52:L87 with the aggregation that this is using now ./java directory instead of cpp/src/jni directory

2nd Phase:

  1. Building ORC / Dataset directly from ./java directory as a maven project “mvn clean install ...”
    This phase involve lots of changes Java code + CMakeList + CI CD changes

Phase 1 will be implemented by this PR: Dataset (#13481) / ORC (#13458)

Phase 2: We are going to create ticket and maintain that on the backlog

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added ARROW_ORC parameter

@davisusanibar
Copy link
Contributor Author

@github-actions crossbow submit java-jars

@github-actions
Copy link

Revision: 5378076

Submitted crossbow builds: ursacomputing/crossbow @ actions-c6ba712f3e

Task Status
java-jars Github Actions

@lidavidm
Copy link
Member

lidavidm commented Jul 1, 2022

@github-actions crossbow submit java-jars

@github-actions
Copy link

github-actions bot commented Jul 1, 2022

Revision: 499f0bb

Submitted crossbow builds: ursacomputing/crossbow @ actions-4a99bf50b5

Task Status
java-jars Github Actions

@lidavidm
Copy link
Member

lidavidm commented Jul 1, 2022

This needs to be rebased since I merged Larry's PR first

Copy link
Member

@lidavidm lidavidm left a comment

Choose a reason for hiding this comment

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

LGTM, let's just check CI

@lidavidm lidavidm merged commit 3d6240c into apache:master Jul 5, 2022
drin pushed a commit to drin/arrow that referenced this pull request Jul 5, 2022
…#13458)

Authored-by: david dali susanibar arce <davi.sarces@gmail.com>
Signed-off-by: David Li <li.davidm96@gmail.com>
pribor pushed a commit to GlobalWebIndex/arrow that referenced this pull request Oct 24, 2025
…#13458)

Authored-by: david dali susanibar arce <davi.sarces@gmail.com>
Signed-off-by: David Li <li.davidm96@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants