codope commented on code in PR #12416:
URL: https://github.com/apache/hudi/pull/12416#discussion_r1868669891


##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/ExpressionIndexSupport.scala:
##########
@@ -78,8 +93,241 @@ class ExpressionIndexSupport(spark: SparkSession,
     }
   }
 
+  /**
+   * Loads view of the Column Stats Index in a transposed format where single 
row coalesces every columns'
+   * statistics for a single file, returning it as [[DataFrame]]
+   *
+   * Please check out scala-doc of the [[transpose]] method explaining this 
view in more details
+   */
+  def loadTransposed[T](targetColumns: Seq[String],

Review Comment:
   Some of the code here is copied directly from `ColumnStatsIndexSupport` with 
modifications to handle binary expressions, and we need to refactor in a 
followup



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

Reply via email to