Skip to content

Commit bea15f2

Browse files
dfa1claude
andcommitted
fix(parquet): add zstd-jni to enable ZSTD-compressed Parquet import
hardwood-core declares zstd-jni as optional, so ZSTD-compressed Parquet files failed at runtime with "required library not found". Declaring it explicitly in vortex-parquet pulls it in; vortex-cli also lists it so the shade plugin bundles the native classes into the uber-jar. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent ccbc8a0 commit bea15f2

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

cli/pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@
3737
<groupId>io.airlift</groupId>
3838
<artifactId>aircompressor-v3</artifactId>
3939
</dependency>
40+
<dependency>
41+
<!-- Required by hardwood-core (via vortex-parquet) for ZSTD-compressed
42+
Parquet files; listed here explicitly so the shade plugin bundles
43+
the native classes into the uber-jar. -->
44+
<groupId>com.github.luben</groupId>
45+
<artifactId>zstd-jni</artifactId>
46+
</dependency>
4047
<dependency>
4148
<!-- ImportCommand calls {@code options.writeOptions().allowedCascading()} via the
4249
csv / parquet importers' API surface; that transitively reaches

parquet/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@
2222
<groupId>dev.hardwood</groupId>
2323
<artifactId>hardwood-core</artifactId>
2424
</dependency>
25+
<dependency>
26+
<!-- Required by hardwood-core for ZSTD-compressed Parquet files;
27+
declared as optional upstream so we must pull it in explicitly. -->
28+
<groupId>com.github.luben</groupId>
29+
<artifactId>zstd-jni</artifactId>
30+
</dependency>
2531
<!-- testing -->
2632
<dependency>
2733
<groupId>org.junit.jupiter</groupId>

0 commit comments

Comments
 (0)