Skip to content

Commit faa0815

Browse files
authored
[iceberg] Upgrade iceberg version to 1.9.1 (#1520)
1 parent eb19eea commit faa0815

File tree

7 files changed

+60
-11
lines changed

7 files changed

+60
-11
lines changed

fluss-lake/fluss-lake-iceberg/pom.xml

Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,56 @@
227227

228228
<build>
229229
<plugins>
230+
<plugin>
231+
<groupId>org.apache.maven.plugins</groupId>
232+
<artifactId>maven-compiler-plugin</artifactId>
233+
<configuration>
234+
<!-- compilation of main sources -->
235+
<skipMain>${skip.on.java8}</skipMain>
236+
<!-- compilation of test sources -->
237+
<skip>${skip.on.java8}</skip>
238+
</configuration>
239+
</plugin>
240+
241+
<plugin>
242+
<groupId>org.apache.maven.plugins</groupId>
243+
<artifactId>maven-surefire-plugin</artifactId>
244+
<executions>
245+
<!-- Test end with ITCase is e2e test in this module -->
246+
<execution>
247+
<id>integration-tests</id>
248+
<phase>integration-test</phase>
249+
<inherited>false</inherited>
250+
<goals>
251+
<goal>test</goal>
252+
</goals>
253+
<configuration>
254+
<skip>${skip.on.java8}</skip>
255+
<includes>
256+
<include>**/*ITCase.*</include>
257+
</includes>
258+
<!-- e2e test with flink/zookeeper cluster, we set forkCount=1 -->
259+
<forkCount>1</forkCount>
260+
</configuration>
261+
</execution>
262+
<!-- others unit tests -->
263+
<execution>
264+
<id>default-test</id>
265+
<phase>test</phase>
266+
<inherited>false</inherited>
267+
<goals>
268+
<goal>test</goal>
269+
</goals>
270+
<configuration>
271+
<skip>${skip.on.java8}</skip>
272+
<excludes>
273+
<exclude>**/*ITCase.*</exclude>
274+
</excludes>
275+
</configuration>
276+
</execution>
277+
</executions>
278+
</plugin>
279+
230280
<plugin>
231281
<groupId>org.apache.maven.plugins</groupId>
232282
<artifactId>maven-shade-plugin</artifactId>
@@ -265,5 +315,4 @@
265315
</plugins>
266316
</build>
267317

268-
269318
</project>

fluss-lake/fluss-lake-iceberg/src/main/resources/META-INF/NOTICE

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ The Apache Software Foundation (http://www.apache.org/).
66

77
This project bundles the following dependencies under the Apache Software License 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)
88

9-
- org.apache.iceberg:iceberg-core:1.4.3
10-
- org.apache.iceberg:iceberg-api:1.4.3
11-
- org.apache.iceberg:iceberg-bundled-guava:1.4.3
12-
- org.apache.iceberg:iceberg-common:1.4.3
13-
- org.apache.iceberg:iceberg-data:1.4.3
14-
- org.apache.iceberg:iceberg-orc:1.4.3
15-
- org.apache.iceberg:iceberg-parquet:1.4.3
9+
- org.apache.iceberg:iceberg-core:1.9.1
10+
- org.apache.iceberg:iceberg-api:1.9.1
11+
- org.apache.iceberg:iceberg-bundled-guava:1.9.1
12+
- org.apache.iceberg:iceberg-common:1.9.1
13+
- org.apache.iceberg:iceberg-data:1.9.1
14+
- org.apache.iceberg:iceberg-orc:1.9.1
15+
- org.apache.iceberg:iceberg-parquet:1.9.1

fluss-common/src/test/java/org/apache/fluss/bucketing/IcebergBucketingFunctionTest.java renamed to fluss-lake/fluss-lake-iceberg/src/test/java/org/apache/fluss/bucketing/IcebergBucketingFunctionTest.java

File renamed without changes.

fluss-common/src/test/java/org/apache/fluss/row/encode/iceberg/IcebergBinaryRowWriterTest.java renamed to fluss-lake/fluss-lake-iceberg/src/test/java/org/apache/fluss/row/encode/iceberg/IcebergBinaryRowWriterTest.java

File renamed without changes.

fluss-common/src/test/java/org/apache/fluss/row/encode/iceberg/IcebergKeyEncoderTest.java renamed to fluss-lake/fluss-lake-iceberg/src/test/java/org/apache/fluss/row/encode/iceberg/IcebergKeyEncoderTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ void testLongEncoding() throws IOException {
9494
// Encode with Iceberg's implementation
9595
ByteBuffer icebergBuffer = Conversions.toByteBuffer(Types.LongType.get(), testValue);
9696
byte[] icebergEncoded = toByteArray(icebergBuffer);
97-
9897
assertThat(ourEncoded).isEqualTo(icebergEncoded);
9998
}
10099

fluss-test-coverage/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,8 @@
386386
<exclude>org.apache.fluss.lake.lance.*</exclude>
387387
<!-- temporarily exclude iceberg -->
388388
<exclude>org.apache.fluss.lake.iceberg.*</exclude>
389+
<exclude>org.apache.fluss.row.encode.iceberg.*</exclude>
390+
<exclude>org.apache.fluss.bucketing.IcebergBucketingFunction</exclude>
389391
<!-- start exclude for flink tiering service -->
390392
<exclude>org.apache.fluss.flink.tiering.source.TieringSourceOptions</exclude>
391393
<exclude>org.apache.fluss.flink.tiering.source.TieringSource.Builder</exclude>

pom.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,7 @@
100100
<netty.version>4.1.104.Final</netty.version>
101101
<arrow.version>15.0.0</arrow.version>
102102
<paimon.version>1.2.0</paimon.version>
103-
<!-- todo: Revisit to add support as per Iceberg 1.9.1 post #1195 merge for Java 11 support-->
104-
<iceberg.version>1.4.3</iceberg.version>
103+
<iceberg.version>1.9.1</iceberg.version>
105104

106105
<fluss.hadoop.version>2.10.2</fluss.hadoop.version>
107106
<frocksdb.version>6.20.3-ververica-2.0</frocksdb.version>

0 commit comments

Comments
 (0)