Skip to content
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

Refactored dependencies and imports for snowflake-jdbc-thin #923

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

sfc-gh-dseweryn
Copy link

@sfc-gh-dseweryn sfc-gh-dseweryn commented Dec 13, 2024

This PR is an update from datavolo-io/snowflake-jdbc-thin-1 branch and resolve merge conflicts. Originally based on #733.

The aim is to thin the SDK and make it more shippable.

Unshaded:

  • Replaced shaded Apache HTTP Client with standard packages
  • Replaced shaded Google Guava with standard packages
  • Replaced shaded Apache commons-io with standard packages
  • Replaced shaded Jackson JSON with standard packages
  • Replaced shaded Gson with Jackson ObjectMapper in OAuthClient class
  • Replaced shaded HttpStatusCodes with HttpURLConnection status codes

Minor changes:

  • Added UnmodifiableMap class to remove commons-collections dependency from Hadoop
  • Added Google HTTP Client 1.43.3
  • Added JCL over SLF4J to replace Commons Logging
  • Removed unused direct dependency on Jettison
  • Removed usage of netty-common PlatformDependent memory value from Netty property
  • Removed unused direct dependency on Commons Configuration 2
  • Removed unused direct dependency on Commons Compress
  • Excluded unused dependencies from Hadoop Common
  • Excluded several libraries from Dependency Convergence checking
  • Updated allowed license formats

Dependency updates:

  • Updated Apache Avro from 1.11.3 to 1.11.4
  • Updated Apache Commons Codec from 1.15 to 1.17.1
  • Updated Apache Commons Compress from 1.26.0 to 1.27.1
  • Updated Apache Commons Lang3 from 3.14.0 to 3.17.0
  • Updated Guava from 32.0.1 to 32.1.1
  • Updated Snowflake JDBC from 3.18.0 to 3.19.0
  • Updated ThreeTenBP from 1.6.8 to 1.6.9
  • Updated Netty from 4.1.113 to 4.1.115
  • Updated Nimbus from 9.37.1 to 9.47

- Replaced shaded Apache HTTP Client with standard packages
- Replaced shaded Google Guava with standard packages
- Replaced shaded Apache commons-io with standard packages
- Replaced shaded Jackson JSON with standard packages
- Replaced shaded Gson with Jackson ObjectMapper in OAuthClient class
- Replaced shaded HttpStatusCodes with HttpURLConnection status codes

- Added UnmodifiableMap class to remove commons-collections dependency from Hadoop
- Added Google HTTP Client 1.43.3
- Added JCL over SLF4J to replace Commons Logging
- Removed unused direct dependency on Jettison
- Removed usage of netty-common PlatformDependent memory value from Netty property
- Removed unused direct dependency on Commons Configuration 2
- Removed unused direct dependency on Commons Compress
- Excluded unused dependencies from Hadoop Common
- Excluded several libraries from Dependency Convergence checking
- Updated allowed license formats

- Updated Apache Avro from 1.11.3 to 1.11.4
- Updated Apache Commons Codec from 1.15 to 1.17.1
- Updated Apache Commons Compress from 1.26.0 to 1.27.1
- Updated Apache Commons Lang3 from 3.14.0 to 3.17.0
- Updated Guava from 32.0.1 to 32.1.1
- Updated Snowflake JDBC from 3.18.0 to 3.19.0
- Updated ThreeTenBP from 1.6.8 to 1.6.9
- Updated Netty from 4.1.113 to 4.1.115
- Updated Nimbus from 9.37.1 to 9.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.

2 participants