Skip to content
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

IngestExternalFileOptions update Java API to include several recently added option, in parity with C++ #12999

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

alanpaxton
Copy link
Contributor

The C++ API IngestExternalFileOptions has options that are not present in the Java API. We have added Java version of these C++ options:

verify_checksums_before_ingest
verify_checksums_readahead_size
verify_file_checksum
fail_if_not_bottommost_level
link_files

The Java options are named in camelCase per Java standards.
The fail_if_not_bottommost_level has been named failIfNotLastLevel per the discussion in the code comments.

@alanpaxton alanpaxton marked this pull request as draft September 6, 2024 13:10
@alanpaxton alanpaxton force-pushed the eb/missing-options-file-ingest branch 3 times, most recently from f6c2578 to 9ffac54 Compare September 7, 2024 11:13
* Method: verifyChecksumsBeforeIngest
* Signature: (J)Z
*/
JNIEXPORT jboolean JNICALL
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we remove JNIEXPORT and JNICALL

The C++ API IngestExternalFileOptions has options that are not present in the Java API. We have added these:
verify_checksums_before_ingest
verify_checksums_readahead_size
verify_file_checksum
fail_if_not_bottommost_level
New option literally appeared when I rebased to PR previous updates. Add linkFiles option now.
Convert true/false to JNI_TRUE/JNI_FALSE correctly
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.

3 participants