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

jcamacho pushed a commit to branch branch-3
in repository https://gitbox.apache.org/repos/asf/hive.git


The following commit(s) were added to refs/heads/branch-3 by this push:
     new 31a417e  HIVE-21794: Add materialized view parameters to 
sqlStdAuthSafeVarNameRegexes (Jesus Camacho Rodriguez, reviewed by Vineet Garg)
31a417e is described below

commit 31a417e5e9735b9e52017b0155dc2225d9e9c9c2
Author: Jesus Camacho Rodriguez <[email protected]>
AuthorDate: Fri May 24 16:58:43 2019 -0700

    HIVE-21794: Add materialized view parameters to 
sqlStdAuthSafeVarNameRegexes (Jesus Camacho Rodriguez, reviewed by Vineet Garg)
---
 common/src/java/org/apache/hadoop/hive/conf/HiveConf.java               | 1 +
 .../authorization/plugin/sqlstd/TestSQLStdHiveAccessControllerHS2.java  | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java 
b/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
index a5f8231..eef089c 100644
--- a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
+++ b/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
@@ -5438,6 +5438,7 @@ public class HiveConf extends Configuration {
     "hive\\.mapjoin\\..*",
     "hive\\.merge\\..*",
     "hive\\.optimize\\..*",
+    "hive\\.materializedview\\..*",
     "hive\\.orc\\..*",
     "hive\\.outerjoin\\..*",
     "hive\\.parquet\\..*",
diff --git 
a/ql/src/test/org/apache/hadoop/hive/ql/security/authorization/plugin/sqlstd/TestSQLStdHiveAccessControllerHS2.java
 
b/ql/src/test/org/apache/hadoop/hive/ql/security/authorization/plugin/sqlstd/TestSQLStdHiveAccessControllerHS2.java
index 95fadc4..59a52a9 100644
--- 
a/ql/src/test/org/apache/hadoop/hive/ql/security/authorization/plugin/sqlstd/TestSQLStdHiveAccessControllerHS2.java
+++ 
b/ql/src/test/org/apache/hadoop/hive/ql/security/authorization/plugin/sqlstd/TestSQLStdHiveAccessControllerHS2.java
@@ -91,7 +91,7 @@ public class TestSQLStdHiveAccessControllerHS2 {
         "hive.exec.dynamic.partition", "hive.exec.dynamic.partition.mode",
         "hive.exec.max.dynamic.partitions", 
"hive.exec.max.dynamic.partitions.pernode",
         "oozie.HadoopAccessorService.created", 
"tez.queue.name","hive.druid.select.distribute",
-        "distcp.options.px");
+        "distcp.options.px", "hive.materializedview.rewriting");
 
     // combine two lists
     List<String> varList = new ArrayList<String>();

Reply via email to