homar opened a new issue, #5064:
URL: https://github.com/apache/iceberg/issues/5064

   I ran into a situation when I had to check if two StructLikeWrapper are 
equal.  
   Those were results of some operations on partition schema (details here 
https://github.com/trinodb/trino/issues/12874)
   Their structs fields were different:
   1. `struct<1000: event_time_day: optional date, 1001: level: optional 
string>` 
   2. `struct<1001: level: optional string, 1002: event_time_hour: optional 
int>` 
   Different types of fields resulted in `IllegalArgumentException` thrown from 
https://github.com/apache/iceberg/blob/a38e66323a99b65f433cb6e96007674a741a2f5a/core/src/main/java/org/apache/iceberg/util/StructLikeWrapper.java#L76
   
   I think it should just return false instead of throwing an exception 
   


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