REFRESH AUTHORIZATION Statement

The REFRESH AUTHORIZATION statement explicitly refreshes authorization data, including privileges and principals. When there is an external update to authorization metadata, use this statement to force Impala to refresh its authorization data without having to wait for the Sentry polling or run INVALIDATE METADATA.

Once issued, the REFRESH AUTHORIZATION statement cannot be cancelled.

See Impala Authorization for information on enabling and using authorization in Impala.

Syntax:

REFRESH AUTHORIZATION

Usage notes: If authorization is not enabled, Impala returns an error.

Added in: Impala 3.2