minni31 commented on code in PR #13171:
URL: https://github.com/apache/gluten/pull/13171#discussion_r4598877782


##########
shims/spark42/src/main/scala/org/apache/gluten/sql/shims/spark42/Spark42Shims.scala:
##########
@@ -60,6 +60,21 @@ class Spark42Shims extends SparkShims {
   override def isKeyGroupedPartitioning(partitioning: Partitioning): Boolean =
     partitioning.isInstanceOf[KeyedPartitioning]
 
+  override def getKeyGroupedShuffleInfo(
+      partitioning: Partitioning): Option[KeyGroupedShuffleInfo] = {
+    partitioning match {
+      case p: KeyedPartitioning =>
+        val grouped = p.toGrouped
+        val partitionValues = grouped.partitionKeys.map(_.row)
+        if (partitionValues.isEmpty) {
+          None
+        } else {
+          Some(KeyGroupedShuffleInfo(grouped, grouped.expressions, 
partitionValues))

Review Comment:
   Addressed in 1fdc733744df2a956f1fff73fef6d548f25758bc. The Spark 4.2 
GLUTEN-10992 regression now expects columnar keyed shuffle on Velox while 
retaining vanilla fallback expectations for unsupported backends. The 
SPARK-53322 checkpoint assertions are updated consistently; its exclusion is 
unchanged. Formatting, license-header, and whitespace checks passed. 
Compilation and Spark runtime tests were not run locally; CI validation is 
still required.



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