This is an automated email from the ASF dual-hosted git repository.
pvillard pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/main by this push:
new feab2a4704 NIFI-15038 Upgraded Snowflake JDBC to Thin version 3.27.0
feab2a4704 is described below
commit feab2a47049a311cd83fc2c11f38c57a945eae83
Author: exceptionfactory <[email protected]>
AuthorDate: Wed Oct 15 21:17:05 2025 -0500
NIFI-15038 Upgraded Snowflake JDBC to Thin version 3.27.0
- Upgraded Snowflake Ingest SDK to 4.3.0 unshaded
- Added version overrides for transitive dependencies from Snowflake Ingest
SDK
Signed-off-by: Pierre Villard <[email protected]>
This closes #10425.
---
.../nifi-snowflake-processors/pom.xml | 2 +-
.../nifi-snowflake-services-api/pom.xml | 2 +-
.../nifi-snowflake-services/pom.xml | 2 +-
.../nifi-snowflake-bundle/pom.xml | 86 +++++++++++++++++++++-
4 files changed, 85 insertions(+), 7 deletions(-)
diff --git
a/nifi-extension-bundles/nifi-snowflake-bundle/nifi-snowflake-processors/pom.xml
b/nifi-extension-bundles/nifi-snowflake-bundle/nifi-snowflake-processors/pom.xml
index 947273e03f..8d96939d26 100644
---
a/nifi-extension-bundles/nifi-snowflake-bundle/nifi-snowflake-processors/pom.xml
+++
b/nifi-extension-bundles/nifi-snowflake-bundle/nifi-snowflake-processors/pom.xml
@@ -52,7 +52,7 @@
</dependency>
<dependency>
<groupId>net.snowflake</groupId>
- <artifactId>snowflake-jdbc</artifactId>
+ <artifactId>snowflake-jdbc-thin</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git
a/nifi-extension-bundles/nifi-snowflake-bundle/nifi-snowflake-services-api/pom.xml
b/nifi-extension-bundles/nifi-snowflake-bundle/nifi-snowflake-services-api/pom.xml
index 7fa2bfb6bc..a910d3aff6 100644
---
a/nifi-extension-bundles/nifi-snowflake-bundle/nifi-snowflake-services-api/pom.xml
+++
b/nifi-extension-bundles/nifi-snowflake-bundle/nifi-snowflake-services-api/pom.xml
@@ -32,7 +32,7 @@
</dependency>
<dependency>
<groupId>net.snowflake</groupId>
- <artifactId>snowflake-jdbc</artifactId>
+ <artifactId>snowflake-jdbc-thin</artifactId>
</dependency>
<dependency>
diff --git
a/nifi-extension-bundles/nifi-snowflake-bundle/nifi-snowflake-services/pom.xml
b/nifi-extension-bundles/nifi-snowflake-bundle/nifi-snowflake-services/pom.xml
index a0ef5738c6..e4b2b9111c 100644
---
a/nifi-extension-bundles/nifi-snowflake-bundle/nifi-snowflake-services/pom.xml
+++
b/nifi-extension-bundles/nifi-snowflake-bundle/nifi-snowflake-services/pom.xml
@@ -58,7 +58,7 @@
</dependency>
<dependency>
<groupId>net.snowflake</groupId>
- <artifactId>snowflake-jdbc</artifactId>
+ <artifactId>snowflake-jdbc-thin</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/nifi-extension-bundles/nifi-snowflake-bundle/pom.xml
b/nifi-extension-bundles/nifi-snowflake-bundle/pom.xml
index f97618f9c1..18aec8553a 100644
--- a/nifi-extension-bundles/nifi-snowflake-bundle/pom.xml
+++ b/nifi-extension-bundles/nifi-snowflake-bundle/pom.xml
@@ -20,6 +20,16 @@
<artifactId>nifi-snowflake-bundle</artifactId>
<packaging>pom</packaging>
+ <properties>
+ <parquet.version>1.16.0</parquet.version>
+ <guava.version>33.5.0-jre</guava.version>
+ <protobuf.version>4.33.0</protobuf.version>
+ <grpc.version>1.76.0</grpc.version>
+ <!-- Check Ingest SDK and JDBC compatibility when upgrading -->
+
<snowflake-ingest-sdk.version>4.3.0-unshaded</snowflake-ingest-sdk.version>
+ <snowflake-jdbc-thin.version>3.27.0</snowflake-jdbc-thin.version>
+ </properties>
+
<modules>
<module>nifi-snowflake-services</module>
<module>nifi-snowflake-services-nar</module>
@@ -31,16 +41,84 @@
<dependencyManagement>
<dependencies>
+ <dependency>
+ <groupId>io.grpc</groupId>
+ <artifactId>grpc-bom</artifactId>
+ <version>${grpc.version}</version>
+ <scope>import</scope>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.parquet</groupId>
+ <artifactId>parquet-column</artifactId>
+ <version>${parquet.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.parquet</groupId>
+ <artifactId>parquet-common</artifactId>
+ <version>${parquet.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.parquet</groupId>
+ <artifactId>parquet-hadoop</artifactId>
+ <version>${parquet.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>com.google.guava</groupId>
+ <artifactId>guava</artifactId>
+ <version>${guava.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>com.google.protobuf</groupId>
+ <artifactId>protobuf-java</artifactId>
+ <version>${protobuf.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>com.google.protobuf</groupId>
+ <artifactId>protobuf-java-util</artifactId>
+ <version>${protobuf.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>com.nimbusds</groupId>
+ <artifactId>nimbus-jose-jwt</artifactId>
+ <version>${nimbus-jose-jwt.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>com.nimbusds</groupId>
+ <artifactId>oauth2-oidc-sdk</artifactId>
+ <version>${nimbus-oauth2-oidc.version}</version>
+ </dependency>
<dependency>
<groupId>net.snowflake</groupId>
<artifactId>snowflake-ingest-sdk</artifactId>
- <version>4.3.0</version>
+ <version>${snowflake-ingest-sdk.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>com.google.code.findbugs</groupId>
+ <artifactId>jsr305</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>net.snowflake</groupId>
- <artifactId>snowflake-jdbc</artifactId>
- <!-- please check snowflake-ingest-sdk compatibility before
upgrade -->
- <version>3.25.1</version>
+ <artifactId>snowflake-jdbc-thin</artifactId>
+ <version>${snowflake-jdbc-thin.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ </exclusion>
+ <!-- Servlet API not used -->
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ </exclusion>
+ <!-- FindBugs annotations not required when running -->
+ <exclusion>
+ <groupId>com.google.code.findbugs</groupId>
+ <artifactId>jsr305</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
</dependencies>
</dependencyManagement>