Zouxxyy opened a new pull request, #6375:
URL: https://github.com/apache/paimon/pull/6375
<!-- Please specify the module before the PR name: [core] ... or [flink] ...
-->
### Purpose
Fix group by partial partition of a multi partition table
```
java.lang.Integer cannot be cast to org.apache.paimon.data.BinaryString
java.lang.ClassCastException: java.lang.Integer cannot be cast to
org.apache.paimon.data.BinaryString
at org.apache.paimon.data.GenericRow.getString(GenericRow.java:172)
at
org.apache.paimon.spark.AbstractSparkInternalRow.getUTF8String(AbstractSparkInternalRow.java:155)
at
org.apache.spark.sql.catalyst.expressions.JoinedRow.getUTF8String(JoinedRow.scala:112)
at
org.apache.spark.sql.catalyst.expressions.GeneratedClass$SpecificUnsafeProjection.apply(Unknown
Source)
at
org.apache.spark.sql.execution.LocalTableScanExec.$anonfun$unsafeRows$1(LocalTableScanExec.scala:44)
at
scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:286)
at
scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:62)
at
scala.collection.mutable.ResizableArray.foreach$(ResizableArray.scala:55)
```
### Tests
<!-- List UT and IT cases to verify this change -->
### API and Format
<!-- Does this change affect API or storage format -->
### Documentation
<!-- Does this change introduce a new feature -->
--
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]