Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
Impala 2.9.0, Impala 2.10.0, Impala 2.11.0
-
ghx-label-2
Description
COMPUTE STATS execute SELECT child queries. However in the COMPUTE STATS analysis phase, we only register for ALTER privilege. In other words, having only ALTER privilege on the target will pass the COMPUTE STATS analysis phase, but will fail later in the child queries due to insufficient SELECT privilege on the target table. It will be good to fail early at COMPUTE STATS analysis phase by registering both ALTER and SELECT privileges in the COMPUTE STATS analysis phase.