-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed as not planned
Labels
Description
I found that we did not put uuid type in org.apache.iceberg.data.DataTest, and after added it in the SUPPORTED_PRIMITIVES (using the following patch), it would break many unit tests.
diff --git a/data/src/test/java/org/apache/iceberg/data/DataTest.java b/data/src/test/java/org/apache/iceberg/data/DataTest.java
index 5566a753..03f848a9 100644
--- a/data/src/test/java/org/apache/iceberg/data/DataTest.java
+++ b/data/src/test/java/org/apache/iceberg/data/DataTest.java
@@ -56,7 +56,8 @@ public abstract class DataTest {
required(114, "dec_9_0", Types.DecimalType.of(9, 0)),
required(115, "dec_11_2", Types.DecimalType.of(11, 2)),
required(116, "dec_38_10", Types.DecimalType.of(38, 10)), // maximum precision
- required(117, "time", Types.TimeType.get())
+ required(117, "time", Types.TimeType.get()),
+ required(118, "uuid", Types.UUIDType.get())
);
@RuleThe broken unit tests:
We should add the uuid type in the tests and fix those broken cases.
Reactions are currently unavailable
