kadai0308 opened a new pull request, #13087: URL: https://github.com/apache/iceberg/pull/13087
Spark expects all StringType fields to be castable to CharSequence, but Iceberg's readable_metrics lower_bound/upper_bound may decode to java.util.UUID for UUID-typed columns. This causes a runtime ClassCastException when Spark tries to read those metrics as UTF8String. This commit fixes the issue by converting UUID values to string when generating readable metric values for Spark metadata tables. Only applies to human-readable metrics projection (not affecting actual data values or partition filters). Closes: https://github.com/apache/iceberg/issues/13077#issuecomment-2886403713 -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org