-
Notifications
You must be signed in to change notification settings - Fork 174
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-1042432: Do not use com.amazonaws classes in core SF classes #1626
Comments
Thank you @jtjeferreira for the PR. I left one comment there. The PR is a step in the right direction, but it won't solve all the problems. We are still using the |
Should I make a copy of that class (keeping the copyright header)? |
We should think about backward compatibility of our public classes - checkout my comments in PR for |
Thank you @jtjeferreira for the contribution, the change will be included in the next release of snowflake-jdbc |
I tried 3.15.0 and it works like a charm... Thanks. |
What is the current behavior?
I was giving a try to the snowflake-jdbc-thin jar and it works fine. Thanks for that. Although I wanted to exclude some unnecessary dependencies for my application like:
com.amazonaws
com.google.cloud
com.microsoft.azure
I could exclude all those except
com.amazonaws:aws-java-sdk-core
becausenet.snowflake.client.core.HttpClientSettingsKey
referencescom.amazonaws.Protocol
and I got the exceptionjava.lang.NoClassDefFoundError: com/amazonaws/Protocol
What is the desired behavior?
I would like my application to work even if I exclude all the above dependencies. I think this could be achieved by avoiding the use of
com.amazonaws
in core classes likenet.snowflake.client.core.HttpClientSettingsKey
How would this improve
snowflake-jdbc
?This would benefit users trying to create smaller apps, but also allow future modularization of
snowflake-jdbc
libraryThe text was updated successfully, but these errors were encountered: