You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Alexander Behm (JIRA)" <ji...@apache.org> on 2017/06/19 23:13:00 UTC
[jira] [Resolved] (IMPALA-872) Insert overwrite into a table does
not erase previously computed stats.
[ https://issues.apache.org/jira/browse/IMPALA-872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Behm resolved IMPALA-872.
-----------------------------------
Resolution: Won't Fix
> Insert overwrite into a table does not erase previously computed stats.
> -----------------------------------------------------------------------
>
> Key: IMPALA-872
> URL: https://issues.apache.org/jira/browse/IMPALA-872
> Project: IMPALA
> Issue Type: Bug
> Components: Catalog
> Affects Versions: Impala 1.3
> Reporter: Ishaan Joshi
> Assignee: Henry Robinson
> Priority: Minor
> Labels: compute-stats
>
> This can be reproduced with the following sequence of queries:
> {noformat}
> # Assume bar exists and is populated.
> create table foo like bar;
> insert overwrite foo select * from bar;
> compute stats foo;
> insert overwrite foo select * from bar
> show table/column stats foo;
> {noformat}
> The last query, instead of informing the user that stats are missing, shows the previously generated stats.
> This is potentially very dangerous if a user neglects to recompute stats after overwriting a table for which stats had been computed prior to the overwrite.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)