Skip to content

feat(java/driver/jni): wire up cancel, getParameterSchema#4249

Merged
lidavidm merged 3 commits intoapache:mainfrom
lidavidm:gh-4239
Apr 27, 2026
Merged

feat(java/driver/jni): wire up cancel, getParameterSchema#4249
lidavidm merged 3 commits intoapache:mainfrom
lidavidm:gh-4239

Conversation

@lidavidm
Copy link
Copy Markdown
Member

Closes #4239.

@lidavidm lidavidm marked this pull request as ready for review April 22, 2026 23:24
@lidavidm lidavidm requested review from amoeba and zeroshade April 22, 2026 23:24
JNIEnv* env, [[maybe_unused]] jclass self, jlong handle) {
struct AdbcError error = ADBC_ERROR_INIT;
auto* ptr = reinterpret_cast<struct AdbcStatement*>(static_cast<uintptr_t>(handle));
struct ArrowSchema schema = {};
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This doesn't appear to get used at all?

JNIEnv* env, [[maybe_unused]] jclass self, jlong handle) {
struct AdbcError error = ADBC_ERROR_INIT;
auto* ptr = reinterpret_cast<struct AdbcConnection*>(static_cast<uintptr_t>(handle));
struct ArrowSchema schema = {};
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

same as above, this doesn't appear to be used at all

@lidavidm lidavidm merged commit 6f5b5fc into apache:main Apr 27, 2026
14 checks passed
@lidavidm lidavidm deleted the gh-4239 branch April 27, 2026 00:50
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.

java/driver/jni: bind getParameterSchema

2 participants