Skip to content

Bring Java bindings up to C API parity#4

Merged
adsharma merged 1 commit into
mainfrom
java-api-parity-arrow-ci
May 30, 2026
Merged

Bring Java bindings up to C API parity#4
adsharma merged 1 commit into
mainfrom
java-api-parity-arrow-ci

Conversation

@adsharma
Copy link
Copy Markdown
Contributor

Summary

Bring the Java bindings closer to the current C API and Go cgo binding surface:

  • add extended database system configuration fields
  • add read-only prepared statement inspection
  • add recursive relationship list accessors
  • add Arrow table registration, CSR relationship registration, drop-table, and query-result chunk export APIs through Apache Arrow Java C Data Interface
  • add CI that fetches published Java native-library artifacts before running Gradle checks

Notes

lbugDatabaseInitExtended is intentionally temporary so this Java checkout can run against currently published native artifacts while new main-repo artifacts catch up. A TODO is included next to the native declaration to fold it back into lbugDatabaseInit after artifacts are rebuilt.

Validation

  • SKIP_CMAKE_BUILD=true ./gradlew compileJava compileTestJava
  • clang++ -std=c++20 -fsyntax-only ... src/jni/lbug_java.cpp
  • verified download-native-libs.sh against upstream run 26604242869 on macOS arm64

@adsharma adsharma force-pushed the java-api-parity-arrow-ci branch 3 times, most recently from 3397253 to ad5dcb4 Compare May 30, 2026 17:21
@adsharma adsharma force-pushed the java-api-parity-arrow-ci branch from ad5dcb4 to 9c934f3 Compare May 30, 2026 17:22
@adsharma adsharma marked this pull request as ready for review May 30, 2026 17:22
@adsharma adsharma mentioned this pull request May 30, 2026
@adsharma adsharma merged commit 3b9721c into main May 30, 2026
3 checks passed
@adsharma adsharma deleted the java-api-parity-arrow-ci branch May 30, 2026 17:24
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.

1 participant