Github user dujunling commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22232#discussion_r212793866
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/FileScanRDD.scala
 ---
    @@ -208,7 +199,6 @@ class FileScanRDD(
     
           override def close(): Unit = {
             updateBytesRead()
    -        updateBytesReadWithFileSize()
    --- End diff --
    
    Yes, before SPARK-19464,  there  will only one works between 
updateBytesRead and updateBytesReadWithFileSize.  If the hadoop version is 2.5 
or  earlier, updateBytesReadWithFileSize works, If the hadoop version is 2.6 or 
later, updateBytesRead works.



---

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

Reply via email to