[
https://issues.apache.org/jira/browse/HIVE-25808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HIVE-25808:
----------------------------------
Labels: pull-request-available (was: )
> 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
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)