wombatu-kun commented on code in PR #12772:
URL: https://github.com/apache/hudi/pull/12772#discussion_r2097592389


##########
hudi-spark-datasource/hudi-spark/src/main/scala/org/apache/spark/sql/hudi/analysis/HoodieAnalysis.scala:
##########
@@ -130,8 +149,9 @@ object HoodieAnalysis extends SparkAdapterSupport {
       // Default rules
     )
 
-    val nestedSchemaPruningClass =
-      if (HoodieSparkUtils.gteqSpark3_5) {
+    val nestedSchemaPruningClass = if (HoodieSparkUtils.gteqSpark4_0) {
+        "org.apache.spark.sql.execution.datasources.Spark40NestedSchemaPruning"

Review Comment:
   Extracted common code for all modules to `SparkBaseNestedSchemaPruning` 
abstract class



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