[hive] branch master updated (36ad119 -> c066d5d)

2021-08-31 Thread rbalamohan
This is an automated email from the ASF dual-hosted git repository.

rbalamohan pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git.


from 36ad119  Disable flaky test
 add c066d5d  HIVE-25482: Add option to enable connectionLeak detection for 
Hikari … (#2610)

No new revisions were added by this update.

Summary of changes:
 .../metastore/datasource/HikariCPDataSourceProvider.java  |  3 +++
 .../datasource/TestDataSourceProviderFactory.java | 15 +++
 2 files changed, 18 insertions(+)


[hive] branch master updated: Disable flaky test

2021-08-31 Thread pvary
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 36ad119  Disable flaky test
36ad119 is described below

commit 36ad119234cf6336cb2563cbe6da60309bfb169b
Author: Peter Vary 
AuthorDate: Tue Aug 31 13:50:21 2021 +0200

Disable flaky test
---
 .../hive/ql/parse/TestReplicationScenariosIncrementalLoadAcidTables.java | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationScenariosIncrementalLoadAcidTables.java
 
b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationScenariosIncrementalLoadAcidTables.java
index 3de64bf..575ffc1 100644
--- 
a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationScenariosIncrementalLoadAcidTables.java
+++ 
b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationScenariosIncrementalLoadAcidTables.java
@@ -130,6 +130,7 @@ public class 
TestReplicationScenariosIncrementalLoadAcidTables {
   }
 
   @Test
+  @org.junit.Ignore("HIVE-25491")
   public void testAcidTableIncrementalReplication() throws Throwable {
 WarehouseInstance.Tuple bootStrapDump = primary.dump(primaryDbName);
 replica.load(replicatedDbName, primaryDbName)


[hive] branch master updated: HIVE-25480: Fix Time Travel with CBO (#2602) (Peter Vary reviewed by Adam Szita)

2021-08-31 Thread pvary
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 5b30cd8  HIVE-25480: Fix Time Travel with CBO (#2602) (Peter Vary 
reviewed by Adam Szita)
5b30cd8 is described below

commit 5b30cd879b8ef5a4aecbfcaf4366cb8608222909
Author: pvary 
AuthorDate: Tue Aug 31 10:42:36 2021 +0200

HIVE-25480: Fix Time Travel with CBO (#2602) (Peter Vary reviewed by Adam 
Szita)
---
 .../mr/hive/TestHiveIcebergSchemaEvolution.java|  7 +++---
 .../org/apache/iceberg/mr/hive/TestHiveShell.java  |  2 +-
 .../apache/hadoop/hive/ql/io/HiveInputFormat.java  | 16 +---
 .../org/apache/hadoop/hive/ql/metadata/Table.java  | 22 ++--
 .../optimizer/calcite/translator/ASTBuilder.java   | 13 ++
 .../hadoop/hive/ql/parse/CalcitePlanner.java   |  3 ++-
 .../hadoop/hive/ql/parse/SemanticAnalyzer.java | 11 ++--
 .../apache/hadoop/hive/ql/plan/TableScanDesc.java  | 29 +-
 8 files changed, 55 insertions(+), 48 deletions(-)

diff --git 
a/iceberg/iceberg-handler/src/test/java/org/apache/iceberg/mr/hive/TestHiveIcebergSchemaEvolution.java
 
b/iceberg/iceberg-handler/src/test/java/org/apache/iceberg/mr/hive/TestHiveIcebergSchemaEvolution.java
index 96d7850..9b3c941 100644
--- 
a/iceberg/iceberg-handler/src/test/java/org/apache/iceberg/mr/hive/TestHiveIcebergSchemaEvolution.java
+++ 
b/iceberg/iceberg-handler/src/test/java/org/apache/iceberg/mr/hive/TestHiveIcebergSchemaEvolution.java
@@ -127,7 +127,7 @@ public class TestHiveIcebergSchemaEvolution extends 
HiveIcebergStorageHandlerWit
 shell.executeStatement("ALTER TABLE orders CHANGE COLUMN " +
 "item fruit string");
 List result = shell.executeStatement("SELECT 
customer_first_name, customer_last_name, SUM(quantity) " +
-"FROM orders where price >= 3 group by customer_first_name, 
customer_last_name");
+"FROM orders where price >= 3 group by customer_first_name, 
customer_last_name order by customer_first_name");
 
 assertQueryResult(result, 4,
 "Doctor", "Strange", 900L,
@@ -140,7 +140,8 @@ public class TestHiveIcebergSchemaEvolution extends 
HiveIcebergStorageHandlerWit
 shell.executeStatement("ALTER TABLE orders ADD COLUMNS (nickname string)");
 shell.executeStatement("INSERT INTO orders VALUES (7, 'Romanoff', 
'Natasha', 3, 250, 'apple', 'Black Widow')");
 result = shell.executeStatement("SELECT customer_first_name, 
customer_last_name, nickname, SUM(quantity) " +
-" FROM orders where price >= 3 group by customer_first_name, 
customer_last_name, nickname");
+" FROM orders where price >= 3 group by customer_first_name, 
customer_last_name, nickname " +
+" order by customer_first_name");
 assertQueryResult(result, 5,
 "Doctor", "Strange", null, 900L,
 "Natasha", "Romanoff", "Black Widow", 250L,
@@ -152,7 +153,7 @@ public class TestHiveIcebergSchemaEvolution extends 
HiveIcebergStorageHandlerWit
 shell.executeStatement("ALTER TABLE orders CHANGE COLUMN fruit fruit 
string AFTER nickname");
 result = shell.executeStatement("SELECT customer_first_name, 
customer_last_name, nickname, fruit, SUM(quantity) " +
 " FROM orders where price >= 3 and fruit < 'o' group by 
customer_first_name, customer_last_name, nickname, " +
-"fruit");
+"fruit order by customer_first_name");
 assertQueryResult(result, 4,
 "Doctor", "Strange", null, "apple", 100L,
 "Natasha", "Romanoff", "Black Widow", "apple", 250L,
diff --git 
a/iceberg/iceberg-handler/src/test/java/org/apache/iceberg/mr/hive/TestHiveShell.java
 
b/iceberg/iceberg-handler/src/test/java/org/apache/iceberg/mr/hive/TestHiveShell.java
index b3c9440..3d39889 100644
--- 
a/iceberg/iceberg-handler/src/test/java/org/apache/iceberg/mr/hive/TestHiveShell.java
+++ 
b/iceberg/iceberg-handler/src/test/java/org/apache/iceberg/mr/hive/TestHiveShell.java
@@ -185,7 +185,7 @@ public class TestHiveShell {
 hiveConf.setIntVar(HiveConf.ConfVars.HIVE_SERVER2_WEBUI_PORT, -1);
 
 // Switch off optimizers in order to contain the map reduction within this 
JVM
-hiveConf.setBoolVar(HiveConf.ConfVars.HIVE_CBO_ENABLED, false);
+hiveConf.setBoolVar(HiveConf.ConfVars.HIVE_CBO_ENABLED, true);
 hiveConf.setBoolVar(HiveConf.ConfVars.HIVE_INFER_BUCKET_SORT, false);
 hiveConf.setBoolVar(HiveConf.ConfVars.HIVEMETADATAONLYQUERIES, false);
 hiveConf.setBoolVar(HiveConf.ConfVars.HIVEOPTINDEXFILTER, false);
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/io/HiveInputFormat.java 
b/ql/src/java/org/apache/hadoop/hive/ql/io/HiveInputFormat.java
index f48f65d..372f9af 100755
--- a/ql/src/java/org/apache/hadoop/hive/ql/io/HiveInputFormat.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/io/HiveInputFormat.java
@@ -28,6 +28,8 @@ import org.apache.hadoop.hive.common

[hive] branch master updated (5e2fe2f -> 595f3bc)

2021-08-31 Thread abstractdog
This is an automated email from the ASF dual-hosted git repository.

abstractdog pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git.


from 5e2fe2f  HIVE-25454: Invalid request to metadata catalog for a WITH 
clause table (Soumyakanti Das, reviewed by Krisztian Kasa)
 add 595f3bc  HIVE-23688: fix Vectorization IndexArrayOutOfBoundsException 
when read null values in map (#2479) (Laszlo Bodor reviewed by Mahesh Kumar 
Behera)

No new revisions were added by this update.

Summary of changes:
 .../parquet/vector/VectorizedListColumnReader.java | 218 --
 .../io/parquet/TestVectorizedListColumnReader.java |   2 +-
 .../parquet_map_null_vectorization.q   |  89 ++
 .../llap/parquet_map_null_vectorization.q.out  | 318 +
 .../hive/ql/exec/vector/BytesColumnVector.java |   4 +
 5 files changed, 535 insertions(+), 96 deletions(-)
 create mode 100644 
ql/src/test/queries/clientpositive/parquet_map_null_vectorization.q
 create mode 100644 
ql/src/test/results/clientpositive/llap/parquet_map_null_vectorization.q.out