-
Notifications
You must be signed in to change notification settings - Fork 170
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
SNOW-917458 Snowflake JDBC drivers fails on JDK 21 with Arrow #1529
Conversation
Reviewing failures. I also need to amend the pom.xml for the FIPS version of the JDBC driver. |
7472793
to
a8b0d4f
Compare
Ready for review. |
@sfc-gh-wfateem did you build the ARROW libs or downloaded from Apache site? We couldn't use directly from Apache site as it spill some logs when Arrow libs initialized and we had a regression in the past. So we have arrow repo in monorepo and build over there. Please check. |
@sfc-gh-skumbham please review it as you worked on revert arrow libs last month. |
@sfc-gh-igarish I built the Arrow dependencies, but I just used the OSS GitHub repository. I'm not actually familiar with the issue you're referring to so I would need to sync up with someone about that. In any case, this looks like it will break support for JDK 8. In order to make this work I had to upgrade the Netty library version which seemed to introduce a crashing issue on a JDK 8 runtime environment: We'll either need to hold off until there's a fix, or this would have to be a breaking change release. There has been a conversation about JDK 8 support since that's reached the end of public updates. |
It looks like it's a problem on just some JDK 8 versions, but also in my case removing the following JVM argument addressed the issue:
So it's still a breaking change. I think it's important that we support JDK 21, but we would have to make it abundantly clear that a new release may break JDK 8 runtime environments. Unless we want to wait for a fix. I'm looking to see if there's a way around this somehow. |
SonarQube Quality Gate |
Any news? |
Any updates? |
There was a discussion around some security issues with other libraries and it was decided to upgrade Jackson separately in PR #1545 (SNOW-924672). This PR will just include the Arrow library upgrade. |
@sfc-gh-wfateem any progress? :) 21.0.1 is out |
Any updates? Is there anything to community can do to help this progress? |
We are also impacted by this issue. Any quick updates? |
@sfc-gh-wfateem |
@Komdosh @tpoll sorry for the delay. I've been out for a while and I had an unfortunate mishap with my laptop, so I only got a replacement recently. The original PR I created included the open source Apache Arrow dependency while I should be building that using our version instead. I don't have access to that particular repository which is why I haven't been able to complete this PR as of yet. I'm working on either getting access to that repository or have someone else with access assist with building the required dependency. I appreciate your patience here. |
Thanks @sfc-gh-wfateem. |
Cherry picked Arrow fix GH-35053 into Arrow v10.0.1
a8b0d4f
to
9f0cdf1
Compare
@sfc-gh-wfateem do you plan to merge and release this change anytime soon? |
SonarQube Quality Gate |
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.
LGTM
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.
LGTM
@wendigo thanks for your patience. |
Cherry picking fix for GH-35053 into Arrow v10.0.
Overview
SNOW-917458
Fixes #1512