vishnuprakaz commented on code in PR #17322:
URL: https://github.com/apache/iceberg/pull/17322#discussion_r3705464172


##########
core/src/main/java/org/apache/iceberg/StatsUtil.java:
##########
@@ -249,12 +252,12 @@ private static Types.StructType geoUpperBound(int baseId) 
{
 
   private static Types.NestedField lowerBoundField(Type type, int baseId) {
     Type boundType = isGeoType(type) ? geoLowerBound(baseId) : type;
-    return optional(baseId + LOWER_BOUND_OFFSET, "lower_bound", boundType);

Review Comment:
   Confirmed ,this does throw UnsupportedOperationException for geometry and 
geography bounds.
   Repro and proposed fix in #17493.



-- 
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]

Reply via email to