Impala query failed for -compute incremental stats databsename.table name -


we scooping data netezza hadoop non-partitioned tables , non-partition partitioned insert overwrite method. after running compute incremental stats databasename.tablename on partitioned tables query failed of partitions error

could not execute command: compute incremental stats , no such file or directory file in partitioned directory.

you can run refresh statement before computing stats refresh metadata right away. may necessary wait few seconds before computing stats if refresh statement return code 0 past experience has shown metadata still refreshing after return code given. won't typically won't see issue unless script executing these commands sequentially.

refresh yourtablename compute stats yourtablename 

as of impala 2.3 can use alter table recover partitions instead of refresh metadata or repair table.

alter yourtablename recover partitions compute stats yourtablename 

Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -