shahidki31 commented on issue #22502: [SPARK-25474][SQL]When the "fallBackToHdfsForStats= true", Size in bytes is coming as default size in bytes ( 8.0 EB) URL: https://github.com/apache/spark/pull/22502#issuecomment-506452255 @wangyum The issue seems happening only with the catalogFileIndex datasource tables. For InMemoryFileIndex case, sizeInBytes is already estimating from the hdfs. That is why in the PR I have put the condition for only catalogFileIndex. https://github.com/apache/spark/blob/a7e16199f3e9f8a3f7823faccf70e9ffdefe469b/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/PartitioningAwareFileIndex.scala#L103
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
