You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Karuppayya (Jira)" <ji...@apache.org> on 2020/06/05 05:28:00 UTC

[jira] [Resolved] (SPARK-31877) Stats computed for HiveTable not used

     [ https://issues.apache.org/jira/browse/SPARK-31877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karuppayya resolved SPARK-31877.
--------------------------------
    Resolution: Not A Problem

> Stats computed for HiveTable not used
> -------------------------------------
>
>                 Key: SPARK-31877
>                 URL: https://issues.apache.org/jira/browse/SPARK-31877
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Karuppayya
>            Priority: Major
>
> When fixing SPAK-31850, I made the following observation
> As part of DetermineTableStats rule, we compute the stats for a HiveTableRelation.
> In most case(the flag for converting Parquet and Orc table is enabled by default), RelationConversion rule converts the HiveTableRelation to LogicalRelation.
> The stats computed as part of Hive Table relation does not get used.
> The stats compute should be avoided if the Hive Tbale is going to be converted to data source table
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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