[ https://issues.apache.org/jira/browse/HIVE-25808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
mahesh kumar behera reassigned HIVE-25808: ------------------------------------------ Assignee: mahesh kumar behera > Analyse table does not fail for non existing partitions > ------------------------------------------------------- > > Key: HIVE-25808 > URL: https://issues.apache.org/jira/browse/HIVE-25808 > Project: Hive > Issue Type: Bug > Reporter: mahesh kumar behera > Assignee: mahesh kumar behera > Priority: Major > > If all the column names are given in the analyse command , then the query > fails. But if all the partition column values are not given then its not > failing. > analyze table tbl partition *(fld1 = 2, fld2 = 3)* COMPUTE STATISTICS FOR > COLUMNS – This will fail with SemanticException, if partition corresponds to > fld1 = 2, fld2 = 3 does not exists. But analyze table tbl partition *(fld1 = > 2)* COMPUTE STATISTICS FOR COLUMNS, this will not fail and it will compute > stats for whole table. > -- This message was sent by Atlassian Jira (v8.20.1#820001)