From ffc2a30b9bd93ffe133a22ee05fb8cb2e5fe01a4 Mon Sep 17 00:00:00 2001 From: Sreekanth Vadigi Date: Tue, 14 Apr 2026 17:28:13 +0530 Subject: [PATCH 1/3] Strip META-INF/maven/** from uber JAR Signed-off-by: Sreekanth Vadigi Co-authored-by: Isaac Signed-off-by: Sreekanth Vadigi --- NEXT_CHANGELOG.md | 1 + assembly-uber/pom.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/NEXT_CHANGELOG.md b/NEXT_CHANGELOG.md index 3593a94c1..beddeec62 100644 --- a/NEXT_CHANGELOG.md +++ b/NEXT_CHANGELOG.md @@ -9,6 +9,7 @@ ### Updated ### Fixed +- Stripped `META-INF/maven/**` (`pom.properties`, `pom.xml`) from the uber JAR. - Fixed `IntervalConverter` crash (`IllegalArgumentException: Invalid interval metadata`) when INTERVAL columns are returned via CloudFetch. Arrow metadata from CloudFetch uses underscored format (`INTERVAL_YEAR_MONTH`, `INTERVAL_DAY_TIME`) which the driver's regex did not accept. - Fixed primitive types within complex types (ARRAY, MAP, STRUCT) not being correctly parsed when Arrow serialization uses alternate formats: TIMESTAMP/TIMESTAMP_NTZ as epoch microseconds or component arrays, and BINARY as base64-encoded strings. - Fixed `PARSE_SYNTAX_ERROR` for column names containing special characters (e.g., dots) when `EnableBatchedInserts` is enabled, by re-quoting column names with backticks in reconstructed multi-row INSERT statements. diff --git a/assembly-uber/pom.xml b/assembly-uber/pom.xml index ce9c30486..f6536a0bd 100644 --- a/assembly-uber/pom.xml +++ b/assembly-uber/pom.xml @@ -204,6 +204,7 @@ META-INF/DEPENDENCIES META-INF/LICENSE.txt META-INF/versions/** + META-INF/maven/** From a550873049440b5bff1dccfd4219fdec66842462 Mon Sep 17 00:00:00 2001 From: Sreekanth Vadigi Date: Wed, 15 Apr 2026 15:13:45 +0530 Subject: [PATCH 2/3] Strip META-INF/maven/** from thin JAR as well MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Same exclusion as the uber JAR. Arrow is the only shaded dependency in the thin JAR, but its Maven metadata is equally redundant — dependency info is in the published POM on Maven Central. Signed-off-by: Sreekanth Vadigi Co-authored-by: Isaac Signed-off-by: Sreekanth Vadigi --- assembly-thin/pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/assembly-thin/pom.xml b/assembly-thin/pom.xml index 5c084cce6..ed8117eba 100644 --- a/assembly-thin/pom.xml +++ b/assembly-thin/pom.xml @@ -142,6 +142,7 @@ META-INF/DEPENDENCIES META-INF/LICENSE.txt META-INF/versions/** + META-INF/maven/** From 54f87843953f87eda2393b2349f66138fab4bacd Mon Sep 17 00:00:00 2001 From: Sreekanth Vadigi Date: Fri, 17 Apr 2026 15:49:25 +0530 Subject: [PATCH 3/3] Update changelog to mention both uber and thin JARs Signed-off-by: Sreekanth Vadigi Co-authored-by: Isaac Signed-off-by: Sreekanth Vadigi --- NEXT_CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NEXT_CHANGELOG.md b/NEXT_CHANGELOG.md index beddeec62..81b5fa8c7 100644 --- a/NEXT_CHANGELOG.md +++ b/NEXT_CHANGELOG.md @@ -9,7 +9,7 @@ ### Updated ### Fixed -- Stripped `META-INF/maven/**` (`pom.properties`, `pom.xml`) from the uber JAR. +- Stripped `META-INF/maven/**` (`pom.properties`, `pom.xml`) from the uber and thin JARs. - Fixed `IntervalConverter` crash (`IllegalArgumentException: Invalid interval metadata`) when INTERVAL columns are returned via CloudFetch. Arrow metadata from CloudFetch uses underscored format (`INTERVAL_YEAR_MONTH`, `INTERVAL_DAY_TIME`) which the driver's regex did not accept. - Fixed primitive types within complex types (ARRAY, MAP, STRUCT) not being correctly parsed when Arrow serialization uses alternate formats: TIMESTAMP/TIMESTAMP_NTZ as epoch microseconds or component arrays, and BINARY as base64-encoded strings. - Fixed `PARSE_SYNTAX_ERROR` for column names containing special characters (e.g., dots) when `EnableBatchedInserts` is enabled, by re-quoting column names with backticks in reconstructed multi-row INSERT statements.