Maria created SPARK-21079:
-----------------------------

             Summary: ANALYZE TABLE fails to calculate totalSize for a 
partitioned table
                 Key: SPARK-21079
                 URL: https://issues.apache.org/jira/browse/SPARK-21079
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 2.1.1
            Reporter: Maria


ANALYZE TABLE table COMPUTE STATISTICS invoked for a partition table produces 
totalSize = 0.

AnalyzeTableCommand fetches table-level storage URI and calculated total size 
of files in the corresponding directory recursively. However, for partitioned 
tables, each partition has its own storage URI which may not be a subdirectory 
of the table-level storage URI.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to