hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergio Peña (JIRA) <j...@apache.org>
Subject [jira] [Commented] (HIVE-8648) numRows cannot be set by user
Date Fri, 17 Apr 2015 22:10:58 GMT

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

Sergio Peña commented on HIVE-8648:
-----------------------------------

Hi [~ashutoshc] Could you help me know what kind of ALTER operations can cause to invalidate
these stats?

I tried running alter drop partitions while debugging, but the {{updateUnpartitionedTableStatsFast}}
is not called. 

> numRows cannot be set by user
> -----------------------------
>
>                 Key: HIVE-8648
>                 URL: https://issues.apache.org/jira/browse/HIVE-8648
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.13.0, 0.14.0, 0.13.1
>            Reporter: Brock Noland
>            Assignee: Brock Noland
>         Attachments: HIVE-8648.1.patch, HIVE-8648.patch
>
>
> Since HIVE-3777 users who want to set the number of rows for a table, must do as follows:
> {noformat}
> alter table ... set tblproperties ('numRows' = '12345', 'STATS_GENERATED_VIA_STATS_TASK'
= 'true');
> {noformat}
> Which is strange because (1) users can know the numbers of rows and (2) the stat is not
generated by a stats task.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message