jackylee-ch commented on code in PR #8722:
URL: https://github.com/apache/incubator-gluten/pull/8722#discussion_r1955897784


##########
backends-velox/src/test/scala/org/apache/spark/sql/execution/VeloxParquetWriteForHiveSuite.scala:
##########
@@ -330,4 +330,44 @@ class VeloxParquetWriteForHiveSuite
       }
     }
   }
+
+  test(

Review Comment:
   nit: `testWithSpecifiedSparkVersion`?



##########
shims/spark32/src/main/scala/org/apache/spark/sql/hive/execution/HiveFileFormat.scala:
##########
@@ -103,17 +104,17 @@ class HiveFileFormat(fileSinkConf: FileSinkDesc)
     if ("true" == 
sparkSession.sparkContext.getLocalProperty("isNativeApplicable")) {
       val nativeFormat = 
sparkSession.sparkContext.getLocalProperty("nativeFormat")
       val tableOptions = tableDesc.getProperties.asScala.toMap
-      val isParquetFormat = nativeFormat == "parquet"
       val compressionCodec = if (fileSinkConf.compressed) {

Review Comment:
   since we only have parquet format write here, can we remove the ifelse 
check, and use ParquetOptions for all scenarios?



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