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

Snowflake connector: Fix required to enable air.check.skip-enforcer (set air.check.skip-enforcer to false) #5

Open
dmariamgeorge opened this issue Jun 5, 2024 · 0 comments

Comments

@dmariamgeorge
Copy link
Contributor

As per the comment #4 (comment):

In connectors/presto/presto-snowflake/pom.xml, setting air.check.skip-enforcer to false, is throwing the following errors:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M2:enforce (default) on project presto-snowflake: Execution default of goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M2:enforce failed.: NullPointerException.

[DEBUG] isBadArtifact() a:net.snowflake:snowflake-jdbc:jar:3.13.29:compile Artifact getFile():/Users/deepamariamgeorge/.m2/repository/net/snowflake/snowflake-jdbc/3.13.29/snowflake-jdbc-3.13.29.jar
[DEBUG] snowflake-jdbc-3.13.29.jar => /Users/deepamariamgeorge/.m2/repository/net/snowflake/snowflake-jdbc/3.13.29/snowflake-jdbc-3.13.29.jar

When downgrading the Snowflake JDBC Driver jar version, the error is resolved. But the particular version is having a vulnerability. Hence this approach can't be adopted, and need to analyse further to address the issue.

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

No branches or pull requests

1 participant