Skip to content

test(java/driver/jni): add tests with drivers besides SQLite#4235

Merged
lidavidm merged 1 commit intoapache:mainfrom
lidavidm:gh-4230
Apr 22, 2026
Merged

test(java/driver/jni): add tests with drivers besides SQLite#4235
lidavidm merged 1 commit intoapache:mainfrom
lidavidm:gh-4230

Conversation

@lidavidm
Copy link
Copy Markdown
Member

Closes #4230.

@lidavidm lidavidm force-pushed the gh-4230 branch 7 times, most recently from 014ec6e to f3144b5 Compare April 20, 2026 08:22
@lidavidm lidavidm requested a review from amoeba April 20, 2026 14:08
@lidavidm lidavidm marked this pull request as ready for review April 20, 2026 14:08
@lidavidm lidavidm requested a review from zeroshade as a code owner April 20, 2026 14:08
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.

Nothing particularly stands out to me other than one nitpick question. Looks good!

Comment on lines +242 to +252
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

tar xvf mssql_linux_amd64_v1.3.1.tar.gz
mkdir -p ~/.config/adbc/drivers/
mv libadbc_driver_mssql.so ~/.config/adbc/drivers/
echo "manifest_version = 1" > ~/.config/adbc/drivers/mssql.toml
echo "[Driver]" >> ~/.config/adbc/drivers/mssql.toml
echo "shared = '$HOME/.config/adbc/drivers/libadbc_driver_mssql.so'" >> ~/.config/adbc/drivers/mssql.toml
cat ~/.config/adbc/drivers/mssql.toml
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.

use setup-dbc and use dbc?

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.

Nah, I'm trying to minimize external dependencies here. Also I want to pin a particular hash since it's an external binary.

@lidavidm lidavidm merged commit 6c80fa3 into apache:main Apr 22, 2026
58 checks passed
@lidavidm lidavidm deleted the gh-4230 branch April 22, 2026 22:47
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: integration test against common drivers

2 participants