rahil-c commented on code in PR #8082:
URL: https://github.com/apache/hudi/pull/8082#discussion_r1171678174


##########
hudi-spark-datasource/hudi-spark3.3.x/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/Spark332PlusHoodieParquetFileFormat.scala:
##########
@@ -0,0 +1,41 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.spark.sql.execution.datasources.parquet
+
+import org.apache.hadoop.conf.Configuration
+import org.apache.spark.sql.SparkSession
+import org.apache.spark.sql.catalyst.InternalRow
+import org.apache.spark.sql.execution.datasources.PartitionedFile
+import org.apache.spark.sql.internal.SQLConf
+import org.apache.spark.sql.sources.Filter
+import org.apache.spark.sql.types.StructType
+
+class Spark332PlusHoodieParquetFileFormat(override protected val 
shouldAppendPartitionValues: Boolean) extends 
Spark32PlusHoodieParquetFileFormat(shouldAppendPartitionValues) {

Review Comment:
   Yes this is true since, but my understanding is currently that hudi supports 
only minor version of spark. 
https://github.com/apache/hudi/blob/master/pom.xml#L159 im not sure if users 
should be changing the version in the poms and trying to compile with a 
different version. cc @yihua 
   
   Currently when im taking the open source jars from Hudi which are compiled 
via spark 3.3.1 and try running them on spark 3.3.2 they hit failures due to 
the new config causing issues, so we eventually I think have to support this. 
   
   However I think the main thing we need to check is runtime support meaning 
if this change of upgrading to spark 3.3.2 atleast can run on a Spark 3.3.1 
runtime so we dont break users.
   
   



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