-
Notifications
You must be signed in to change notification settings - Fork 303
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
Upgrade to JDK17. #2342
Upgrade to JDK17. #2342
Conversation
41ac014
to
829112e
Compare
829112e
to
b349377
Compare
Thanks @VenkatasivareddyTR; can you check on the build error, please:
|
@macohen The build process appears to be running on JDK 11. To align with the codebase, we need to update the build environment to use JDK 17. |
fb69b22
to
f99d706
Compare
1e45563
to
33975a3
Compare
the code looks fine, but the GH actions are breaking and won't work until we're building with JDK 17 it seems. Is that right? are you able to update the actions (I know this build still won't pass until those are merged)... |
Yes correct, we would need to update the GH actions with JDK 17 to build this PR successfully. We have tested this in our local environments with JDK 17 setup. To update the GH actions to take JDK 17, we are updating the respective YAML files (in .github/workflows/). We will be testing it in a fork before raising the PR for the same. |
095feec
to
975ff59
Compare
PR for GitHub Actions update for java 17. |
@mschoeni1 can we merge this into a new branch and then merge master on top of that? I think we need to work on producing JDK 11 AND JDK 17 builds in GH actions before that gets merged back to master. What do you think? cc: @aimethed |
975ff59
to
30568ce
Compare
2f98290
to
882bc2f
Compare
d150592
to
c4d7c73
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2342 +/- ##
============================================
- Coverage 61.21% 60.68% -0.54%
- Complexity 3756 3870 +114
============================================
Files 577 593 +16
Lines 21435 22130 +695
Branches 2659 2732 +73
============================================
+ Hits 13122 13429 +307
- Misses 7042 7398 +356
- Partials 1271 1303 +32 ☔ View full report in Codecov by Sentry. |
Thanks @Jithendar12, this looks great. Could you please just also update the README to include the command for users to be able to build with JDK17? |
Hi @mschoeni1 , Thank you for reviewing the PR! I believe it would be better to create a separate wiki page for this and provide a reference to it in the main README. Please find below sample wiki page that i have created in my fork and documentation for the content. Let us know your thoughts on this.Thank you! |
few questions;
|
Hi @AbdulR3hman ,
Please refer to my wiki page on how we are building and deploying the connector using JDK 17. Thank you! |
Can't we remove this plugin from all children and reference it from the parent pom? |
I did further reading; I found this answer to a stackoverflow that we are attempting to replicate; https://stackoverflow.com/a/53666166 The link above is to the answer not the main post; and explains how we could achieve children all inherting the plugin without having to be repetitive and add profiles or anything of that sort in the children pom. I wouldn't mind having this change as a separate PR; but could you at least experiment with it? |
last question I have; don't we need to make change to our github actions or is the intention to continue to use JDK11 by default? (question to the team as well as the PR's Author) |
4c77c1e
to
86efefd
Compare
86efefd
to
eb8606b
Compare
eb8606b
to
70871a6
Compare
Hi @AbdulR3hman , this plugin has been removed from child pom's. |
Thanks for the reference @AbdulR3hman. I have incorporated the changes in this PR only. |
@AbdulR3hman - in case it's decided to move to JDK17 as default then for GH actions PR #2377 can be referred. |
- Handle Oracle NUMBER correctly by letting JdbcArrowTypeConverter hand… (#2573) - Update aws-cdk cli version to match aws-cdk-lib 2.177.0 (#2570) - Fixed Timestamp truncation (#2559) - build(deps): bump aws-sdk-v2.version from 2.30.6 to 2.30.11 (#2562) - build(deps): bump aws-sdk-v2.version from 2.30.6 to 2.30.11 - build(deps): bump org.eclipse.rdf4j:rdf4j-repository-sparql from 5.1.0 to 5.1.1 (#2565) - build(deps): bump org.eclipse.rdf4j:rdf4j-repository-sparql - build(deps): bump software.amazon.awssdk:cloudwatchlogs from 2.30.6 to 2.30.11 (#2567) - build(deps): bump software.amazon.awssdk:cloudwatchlogs - build(deps): bump org.jetbrains.kotlin:kotlin-stdlib from 2.1.0 to 2.1.10 (#2564) - build(deps): bump org.jetbrains.kotlin:kotlin-stdlib - build(deps): bump org.jetbrains.kotlin:kotlin-reflect from 2.1.0 to 2.1.10 (#2568) - build(deps): bump org.jetbrains.kotlin:kotlin-reflect - build(deps): bump com.google.cloud:google-cloud-storage from 2.47.0 to 2.48.0 (#2563) - build(deps): bump com.google.cloud:google-cloud-storage - build(deps): bump org.jetbrains.kotlin:kotlin-stdlib-jdk8 from 2.1.0 to 2.1.10 (#2566) - build(deps): bump org.jetbrains.kotlin:kotlin-stdlib-jdk8 - build(deps): bump io.lettuce:lettuce-core from 6.5.2.RELEASE to 6.5.3.RELEASE (#2561) - build(deps): bump io.lettuce:lettuce-core - build(deps-dev): bump nl.jqno.equalsverifier:equalsverifier from 3.18.1 to 3.18.2 (#2560) - build(deps-dev): bump nl.jqno.equalsverifier:equalsverifier - add dynamodb package-based template back (#2558) - build(deps): bump aws-cdk-lib from 2.130.0 to 2.177.0 in /validation_testing/cdk_federation_infra_provisioning/app (#2557) - build(deps): bump aws-cdk-lib - Upgrade to JDK17. (#2342) - build(deps): bump net.snowflake:snowflake-jdbc from 3.20.0 to 3.22.0 in /athena-snowflake (#2556) - build(deps): bump net.snowflake:snowflake-jdbc in /athena-snowflake - Addressing CVE-2021-42392,CVE-2022-23221,CVE-2022-23305,CVE-2019-17571 (#2555) - athena-synapse: Fix Partition Number and Table name for Glue Table API compatibility (#2529) - SQLServer glue get table api issue fix (#2524) - CLOUDERA-IMPALA Connection String Fix (#2546) - CLOUDERA-HIVE Connection String Fix (#2548) - build(deps): bump com.sap.cloud.db.jdbc:ngdbc from 2.22.12 to 2.23.8 (#2551) - build(deps): bump com.sap.cloud.db.jdbc:ngdbc from 2.22.12 to 2.23.8 - build(deps): bump com.clickhouse:clickhouse-jdbc from 0.7.2 to 0.8.0 (#2552) - build(deps): bump com.clickhouse:clickhouse-jdbc from 0.7.2 to 0.8.0 - build(deps): bump software.amazon.awssdk:cloudwatchlogs from 2.30.2 to 2.30.6 (#2550) - build(deps): bump software.amazon.awssdk:cloudwatchlogs - build(deps): bump aws-sdk-v2.version from 2.30.2 to 2.30.6 (#2549) - build(deps): bump aws-sdk-v2.version from 2.30.2 to 2.30.6 - Upgraded RDS Postgresql Version Used In Integ Tests (#2547) - Clean up ECR Repo per Connector if exits (#2545)
Issue #, if available:
#2295
Description of changes:
Upgrade to JDK 17.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.