Skip to content

feat(java/driver/jni): wire up ingest into temporary/namespace#4250

Draft
lidavidm wants to merge 4 commits intoapache:mainfrom
lidavidm:gh-4240
Draft

feat(java/driver/jni): wire up ingest into temporary/namespace#4250
lidavidm wants to merge 4 commits intoapache:mainfrom
lidavidm:gh-4240

Conversation

@lidavidm
Copy link
Copy Markdown
Member

Closes #4240.

Copy link
Copy Markdown
Member

@zeroshade zeroshade left a comment

Choose a reason for hiding this comment

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

looks good to me, just some nitpicks

Comment on lines +242 to +244
wget https://dbc-cdn.columnar.tech/mssql/v1.3.1/mssql_linux_amd64_v1.3.1.tar.gz
echo "e6723cf417403f313fb75c1ac03aea9b9ff857d4a947608c8ae44eacc1aa22b3 mssql_linux_amd64_v1.3.1.tar.gz" > mssql_linux_amd64_v1.3.1.tar.gz.sha256
sha256sum -c mssql_linux_amd64_v1.3.1.tar.gz.sha256
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.

is this why we're limiting this to only running on linux? Can we use the setup-dbc action to pull the appropriate driver for the current platform and let us run this on multiple platforms rather than only running this on linux?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

No; we can't run Docker containers on other platforms. So there's no reason to test elsewhere.

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.

drop this since it's unused?

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.

drop this since it's unused?

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: extend bulk ingest API

2 participants