OIiveirra commented on code in PR #69032:
URL: https://github.com/apache/doris/pull/69032#discussion_r4691580602
##########
fe/fe-connector/fe-connector-iceberg/src/main/java/org/apache/doris/connector/iceberg/IcebergTypeMapping.java:
##########
@@ -126,6 +127,13 @@ private static ConnectorType
fromPrimitive(Type.PrimitiveType primitive,
case UUID:
// Preserve logical UUID semantics independently of the binary
mapping option.
return ConnectorType.of("UUID");
+ case GEOMETRY:
+ return ConnectorType.of("GEOMETRY").withSpatialMetadata(
+ ((Types.GeometryType) primitive).crs(), null);
+ case GEOGRAPHY:
+ Types.GeographyType geography = (Types.GeographyType)
primitive;
+ return ConnectorType.of("GEOGRAPHY").withSpatialMetadata(
Review Comment:
Fixed in a0d36643a0d. MAP lookup now rejects spatial keys from imported
Iceberg tables. Ordinary keys can still return spatial values. The regression
reads an Iceberg MAP fixture with both WKB byte orders.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]