lyy-pineapple opened a new pull request, #8199:
URL: https://github.com/apache/incubator-gluten/pull/8199

   ## What changes were proposed in this pull request?
   When parsing Iceberg partition column fields, you should build the index 
first and then apply the filter. Otherwise, the field cannot correspond 
correctly when retrieving data using `partition.get`
   for error
   
   ```
   Error operating EXECUTE_STATEMENT: Wrong class, expected java.lang.Integer, 
but was java.lang.String, for object: xxx
   java.lang.IllegalArgumentException: Wrong class, expected java.lang.Integer, 
but was java.lang.String, for object: xxxx
        at org.apache.iceberg.PartitionData.get(PartitionData.java:119)
        at 
org.apache.iceberg.spark.source.GlutenIcebergSourceUtil$.$anonfun$getPartitionColumns$3(GlutenIcebergSourceUtil.scala:180)
        at 
scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:62)
   ```
   
   ## How was this patch tested?
   
   (Please explain how this patch was tested. E.g. unit tests, integration 
tests, manual tests)
   
   
   (If this patch involves UI changes, please attach a screenshot; otherwise, 
remove this)
   
   


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