You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by ar...@apache.org on 2019/05/02 20:27:22 UTC

[impala] 01/02: IMPALA-8448: [DOCS] ALTER DATABASE event supported in metadata sync

This is an automated email from the ASF dual-hosted git repository.

arodoni pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git

commit fd622a47c8ce5fc35b967f027c86ac0695ba489a
Author: Alex Rodoni <ar...@cloudera.com>
AuthorDate: Tue Apr 30 14:19:14 2019 -0700

    IMPALA-8448: [DOCS] ALTER DATABASE event supported in metadata sync
    
    - The alter_database event is supported in the notification-based
      metadata sync.
    - Updated the version to 3.3
    
    Change-Id: I1016c27d3f12cef71a09a895ab42fd15a54aeee1
    Reviewed-on: http://gerrit.cloudera.org:8080/13199
    Tested-by: Impala Public Jenkins <im...@cloudera.com>
    Reviewed-by: Vihang Karajgaonkar <vi...@cloudera.com>
    Reviewed-by: Alex Rodoni <ar...@cloudera.com>
---
 docs/impala_keydefs.ditamap     |  2 ++
 docs/shared/ImpalaVariables.xml | 11 ++++++-----
 docs/topics/impala_metadata.xml | 38 ++++++++++++++++++++++++++++++++------
 3 files changed, 40 insertions(+), 11 deletions(-)

diff --git a/docs/impala_keydefs.ditamap b/docs/impala_keydefs.ditamap
index 267df8e..6af3aa9 100644
--- a/docs/impala_keydefs.ditamap
+++ b/docs/impala_keydefs.ditamap
@@ -10521,6 +10521,7 @@ under the License.
   <keydef href="https://issues.apache.org/jira/browse/IMPALA-9999" scope="external" format="html" keys="IMPALA-9999"/>
 
 <!-- Short form of mapping from Impala release to vendor-specific releases, for use in headings. -->
+  <keydef keys="impala33"><topicmeta><keywords><keyword>Impala 3.3</keyword></keywords></topicmeta></keydef>
   <keydef keys="impala32"><topicmeta><keywords><keyword>Impala 3.2</keyword></keywords></topicmeta></keydef>
   <keydef keys="impala31"><topicmeta><keywords><keyword>Impala 3.1</keyword></keywords></topicmeta></keydef>
   <keydef keys="impala30"><topicmeta><keywords><keyword>Impala 3.0</keyword></keywords></topicmeta></keydef>
@@ -10584,6 +10585,7 @@ under the License.
   <keydef keys="impala132"><topicmeta><keywords><keyword>Impala 1.3.2</keyword></keywords></topicmeta></keydef>
   <keydef keys="impala130"><topicmeta><keywords><keyword>Impala 1.3.0</keyword></keywords></topicmeta></keydef>
 
+  <keydef keys="impala33_full"><topicmeta><keywords><keyword>Impala 3.3</keyword></keywords></topicmeta></keydef>
   <keydef keys="impala32_full"><topicmeta><keywords><keyword>Impala 3.2</keyword></keywords></topicmeta></keydef>
   <keydef keys="impala31_full"><topicmeta><keywords><keyword>Impala 3.1</keyword></keywords></topicmeta></keydef>
   <keydef keys="impala30_full"><topicmeta><keywords><keyword>Impala 3.0</keyword></keywords></topicmeta></keydef>
diff --git a/docs/shared/ImpalaVariables.xml b/docs/shared/ImpalaVariables.xml
index 9e5bc6a..21c9ae1 100644
--- a/docs/shared/ImpalaVariables.xml
+++ b/docs/shared/ImpalaVariables.xml
@@ -25,13 +25,13 @@ under the License.
       <prodinfo audience="PDF" id="prodinfo_for_html">
         <prodname>Impala</prodname>
         <vrmlist>
-          <vrm version="Impala 3.2.x"/>
+          <vrm version="Impala 3.3.x"/>
         </vrmlist>
       </prodinfo>
       <prodinfo audience="HTML" id="prodinfo_for_pdf">
         <prodname></prodname>
         <vrmlist>
-          <vrm version="Impala 3.2.x"/>
+          <vrm version="Impala 3.3.x"/>
         </vrmlist>
       </prodinfo>
     </metadata>
@@ -42,6 +42,7 @@ under the License.
        The docs included with a distro can refer to the distro release number by
        editing the values here.
        <ul>
+        <li><ph id="impala33">Impala 3.3</ph></li>
         <li><ph id="impala32">Impala 3.2</ph></li>
         <li><ph id="impala31">Impala 3.1</ph></li>
         <li><ph id="impala30">Impala 3.0</ph></li>
@@ -58,11 +59,11 @@ under the License.
         <li><ph id="impala13">Impala 1.3</ph></li>
       </ul>
     </p>
-    <p>Release Version Variable - <ph id="ReleaseVersion">Impala 3.2.x</ph></p>
+    <p>Release Version Variable - <ph id="ReleaseVersion">Impala 3.3.x</ph></p>
     <p>Banner for examples showing shell version -<ph id="ShellBanner">(Shell
-      build version: Impala Shell v3.2.x (<varname>hash</varname>) built on
+      build version: Impala Shell v3.3.x (<varname>hash</varname>) built on
       <varname>date</varname>)</ph></p>
-    <p>Banner for examples showing impalad version -<ph id="ImpaladBanner">Server version: impalad version 3.2.x (build
+    <p>Banner for examples showing impalad version -<ph id="ImpaladBanner">Server version: impalad version 3.3.x (build
       x.y.z)</ph></p>
     <data name="version-message" id="version-message">
       <foreign>
diff --git a/docs/topics/impala_metadata.xml b/docs/topics/impala_metadata.xml
index f35a2f0..78a7d8e 100644
--- a/docs/topics/impala_metadata.xml
+++ b/docs/topics/impala_metadata.xml
@@ -136,7 +136,7 @@ under the License.
       </p>
 
       <note>
-        This is a preview feature in <keyword keyref="impala32_full"/> and not generally
+        This is a preview feature in <keyword keyref="impala33_full"/> and not generally
         available.
       </note>
 
@@ -156,6 +156,35 @@ under the License.
           Removes the tables from <codeph>catalogd</codeph> when it receives the <codeph>DROP
           TABLE</codeph> or <codeph>DROP DATABASE</codeph> events.
         </li>
+
+        <li>
+          Changes the database and updates <codeph>catalogd</codeph> when it receives the
+          <codeph>ALTER DATABASE</codeph> events. The following changes are supported. This
+          event does not invalidate the tables in the database.
+          <ul>
+            <li>
+              Change the database properties
+            </li>
+
+            <li>
+              Change the comment on the database
+            </li>
+
+            <li>
+              Change the owner of the database
+            </li>
+
+            <li>
+              Change the default location of the database
+              <p>
+                Changing the default location of the database does not move the tables of that
+                database to the new location. Only the new tables which are created subsequently
+                use the default location of the database in case it is not provided in the
+                create table statement.
+              </p>
+            </li>
+          </ul>
+        </li>
       </ul>
 
       <p>
@@ -183,10 +212,6 @@ under the License.
             Only new tables and partitions are synced.
           </p>
         </li>
-
-        <li>
-          The <codeph>ALTER DATABASE</codeph> events are not supported and currently ignored.
-        </li>
       </ul>
 
       <p>
@@ -298,7 +323,8 @@ under the License.
     <concept id="event_processor_metrics">
 
       <title>Metrics for Event Based Automatic Metadata Sync</title>
-      <!--AR 3/29/2019 Incorporate this section to the web UI doc when this feature goes GA.-->
+
+<!--AR 3/29/2019 Incorporate this section to the web UI doc when this feature goes GA.-->
 
       <conbody>