pan3793 commented on code in PR #52384:
URL: https://github.com/apache/spark/pull/52384#discussion_r2361512432


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetFileFormat.scala:
##########
@@ -202,145 +203,156 @@ class ParquetFileFormat
     (file: PartitionedFile) => {
       assert(file.partitionValues.numFields == partitionSchema.size)
 
-      val filePath = file.toPath
-      val split = new FileSplit(filePath, file.start, file.length, 
Array.empty[String])
-
+      val split = new FileSplit(file.toPath, file.start, file.length, 
Array.empty[String])
       val sharedConf = broadcastedHadoopConf.value.value
 
-      val fileFooter = if (enableVectorizedReader) {

Review Comment:
   the actual change is relatively small if you enable the "Hide whitespace"
   <img width="243" height="264" alt="image" 
src="https://github.com/user-attachments/assets/5a8ebda9-b356-4b5f-93d2-2fa2cc4cf4bd";
 />
   



-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to