Github user wangyum commented on a diff in the pull request: https://github.com/apache/spark/pull/22502#discussion_r230734089 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/HadoopFsRelation.scala --- @@ -86,10 +89,28 @@ case class HadoopFsRelation( } override def sizeInBytes: Long = { --- End diff -- May be you need to implement a rule similar to `DetermineTableStats` for the datasource table?
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org