blob: cac4cd3bea2435939952578f17d2f2494cb7feab [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
<!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
<concept id="refresh_authorization">
<title>REFRESH AUTHORIZATION Statement</title>
<titlealts audience="PDF">
<navtitle>REFRESH AUTHORIZATION</navtitle>
<data name="Category" value="Impala"/>
<data name="Category" value="SQL"/>
<data name="Category" value="DDL"/>
<data name="Category" value="Security"/>
The <codeph>REFRESH AUTHORIZATION</codeph> 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 <codeph>INVALIDATE
Once issued, the <codeph>REFRESH AUTHORIZATION</codeph> statement cannot be cancelled.
See <xref href="impala_authorization.xml#authorization">Impala Authorization</xref> for
information on enabling and using authorization in Impala.
<codeblock>REFRESH AUTHORIZATION</codeblock>
<b>Usage notes:</b> If authorization is not enabled, Impala returns an error.
<b>Added in:</b> Impala 3.2