[
https://issues.apache.org/jira/browse/IMPALA-2426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16905305#comment-16905305
]
Tamas Mate commented on IMPALA-2426:
------------------------------------
The {{loadTableMetadata}} is parameterized with {{null}} where the partitions
that should be reloaded can be specified. The previous partition list can be
obtained from {{tbl}}, this should do the trick.
{code:java}
loadTableMetadata(tbl, newCatalogVersion, reloadFileMetadata,
reloadTableSchema, null, "ALTER TABLE " + params.getAlter_type().name());
{code}
> COMPUTE INCREMENTAL STATS doesn't compute stats for newly discovered
> partitions
> -------------------------------------------------------------------------------
>
> Key: IMPALA-2426
> URL: https://issues.apache.org/jira/browse/IMPALA-2426
> Project: IMPALA
> Issue Type: Bug
> Components: Catalog
> Affects Versions: Impala 2.2.4, Impala 2.3.0
> Reporter: Jim Apple
> Assignee: Tamas Mate
> Priority: Minor
> Labels: catalog-server, ramp-up
>
> In the following sequence, I expect the stats for partition 333 to be
> computed, but they are not:
> # In Impala: create table T (x int) paritioned by (y int)
> # In Impala: insert into table T partition (y=42) values (2)
> # In Hive: alter table T add partition (y=333)
> # In Impala: compute incremental stats T
> # In Impala: show table stats T
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]