You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/08/22 07:09:27 UTC

[GitHub] [spark] shahidki31 removed a comment on issue #24715: [SPARK-25474][SQL] Data source tables support fallback to HDFS for size estimation

shahidki31 removed a comment on issue #24715: [SPARK-25474][SQL] Data source tables support fallback to HDFS for size estimation
URL: https://github.com/apache/spark/pull/24715#issuecomment-523773058
 
 
   ```
   scala> // enable fallBackToHdfs
   
   scala> spark.sql("set spark.sql.statistics.fallBackToHdfs=true")
   res4: org.apache.spark.sql.DataFrame = [key: string, value: string]
   
   scala> spark.sql("EXPLAIN COST SELECT * FROM t3").show(false)
   +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
   |plan                                                                                                                                                                                                                                                                                                                                                                                |
   +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
   |== Optimized Logical Plan ==
   Relation[c2#1,id#2] parquet, Statistics(sizeInBytes=8.0 EiB)
   
   ```
   
   Why is sizeInBytes still 8 EiB, even after enabling the fallback configuration?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

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