You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Jesus Camacho Rodriguez (JIRA)" <ji...@apache.org> on 2017/09/05 22:17:00 UTC

[jira] [Commented] (HIVE-17419) ANALYZE TABLE...COMPUTE STATISTICS FOR COLUMNS command shows computed stats for masked tables

    [ https://issues.apache.org/jira/browse/HIVE-17419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16154460#comment-16154460 ] 

Jesus Camacho Rodriguez commented on HIVE-17419:
------------------------------------------------

[~ashutoshc], could you take a look? Thanks

> ANALYZE TABLE...COMPUTE STATISTICS FOR COLUMNS command shows computed stats for masked tables
> ---------------------------------------------------------------------------------------------
>
>                 Key: HIVE-17419
>                 URL: https://issues.apache.org/jira/browse/HIVE-17419
>             Project: Hive
>          Issue Type: Bug
>          Components: Authorization
>    Affects Versions: 3.0.0
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>         Attachments: HIVE-17419.patch
>
>
> As {{ANALYZE TABLE...COMPUTE STATISTICS FOR COLUMNS}} is rewritten internally as a {{SELECT}} query, there is an interaction between the rewriting to mask the columns/rows interacts and the ColumnStatsSemanticAnalyzer rewriting that leads to showing the computed stats after running the command.



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