This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.0 by this push:
new f2652ac056e branch-40: [bug](iceberg) mapping iceberg varint type to
unsupported type #64331 (#64990)
f2652ac056e is described below
commit f2652ac056ec818fd062dbaa2c1bd0d1b1eb2522
Author: zhangstar333 <[email protected]>
AuthorDate: Tue Jun 30 14:35:54 2026 +0800
branch-40: [bug](iceberg) mapping iceberg varint type to unsupported type
#64331 (#64990)
### What problem does this PR solve?
cherry-pick from master #64331
---
.../src/main/java/org/apache/doris/datasource/iceberg/IcebergUtils.java | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/datasource/iceberg/IcebergUtils.java
b/fe/fe-core/src/main/java/org/apache/doris/datasource/iceberg/IcebergUtils.java
index ed63e9d30ba..2c72121c9c3 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/datasource/iceberg/IcebergUtils.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/datasource/iceberg/IcebergUtils.java
@@ -622,6 +622,8 @@ public class IcebergUtils {
icebergTypeToDorisType(x.type(),
enableMappingVarbinary, enableMappingTimestampTz)))
.collect(Collectors.toCollection(ArrayList::new));
return new StructType(nestedTypes);
+ case VARIANT:
+ return Type.UNSUPPORTED;
default:
throw new IllegalArgumentException("Cannot transform unknown
type: " + type);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]