-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Update SQL Server JDBC driver to 10.2.0 #10898
Conversation
Waiting for results from CI run to see how it goes.. |
Giving this a WIP for now to wait and see what CI results are |
sigh ... looks like there are test failures with this driver. We will have to investigate some more.. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Specifying encrypt=false
would resolve the test failure.
The driver has breaking changes for TLS handling. encryption is enabled by default, and certificate verification is also enabled by default. We should point users to the JDBC driver release notes to check them and adjust accordingly.
|
Do you know where? I have to dig into this still. I assume in the connection URL in the test or so .. right? |
@mosabua You can add |
plugin/trino-sqlserver/src/test/java/io/trino/plugin/sqlserver/TestingSqlServer.java
Outdated
Show resolved
Hide resolved
ebbcd27
to
7474057
Compare
URL needs to be changed in
|
Thanks for letting me know @hashhar . I haven't looked yet .. but have now fix this as well. Fingers crossed we get a passing build including tests. |
From what I can tell the CI failures are not related to sqlserver anymore. Do I need to rebase or what can I do to get a green build overall @hashhar ? Or even a merge? Anything else I can do? |
CI hit #11203 |
Description
Update the JDBC driver to the new major release version. Using the Java 11 version. A Java 17 one is also available if desired. This enables a simpler upgrade to the Java 17 version in the future when we update Trino to use 17.
See release notes for the new version for details. https://docs.microsoft.com/en-us/sql/connect/jdbc/release-notes-for-the-jdbc-driver?view=sql-server-ver15#94
General information
Is this change a fix, improvement, new feature, refactoring, or other?
Improvement
Is this a change to the core query engine, a connector, client library, or the SPI interfaces (be specific)?
SQL Server connector only
How would you describe this change to a non-technical end user or system administrator?
Using the new JDBC driver enables us to switch to the Java 17 version soon. The old version does not have Java 17 support.
Related issues and pull requests
Documentation
( ) No documentation is needed.
(✅ ) Sufficient documentation is included in this PR.
( ) Documentation PR is available with #prnumber.
( ) Documentation issue #issuenumber is filed, and can be handled later.
Release notes
( ) No release notes entries required.
(✅ ) Release notes entries required with the following suggested text:
Release notes should link to the updated section in the docs about the
Connection security
.