Skip to content

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

@dmariamgeorge

Description

@dmariamgeorge

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions