You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by mm...@apache.org on 2018/04/29 19:20:56 UTC
hive git commit: HIVE-19352: Vectorization: Disable vectorization for
org.apache.hive.jdbc.TestJdbcDriver2.testResultSetMetaData (Matt McCline,
reviewed by Vineet Garg)
Repository: hive
Updated Branches:
refs/heads/master bfa8e38b8 -> a095c3d93
HIVE-19352: Vectorization: Disable vectorization for org.apache.hive.jdbc.TestJdbcDriver2.testResultSetMetaData (Matt McCline, reviewed by Vineet Garg)
Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/a095c3d9
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/a095c3d9
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/a095c3d9
Branch: refs/heads/master
Commit: a095c3d93b54bded8d129bc7dad915c68f3dde08
Parents: bfa8e38
Author: Matt McCline <mm...@hortonworks.com>
Authored: Sun Apr 29 14:20:39 2018 -0500
Committer: Matt McCline <mm...@hortonworks.com>
Committed: Sun Apr 29 14:20:39 2018 -0500
----------------------------------------------------------------------
.../src/test/java/org/apache/hive/jdbc/TestJdbcDriver2.java | 2 ++
.../src/test/java/org/apache/hive/jdbc/cbo_rp_TestJdbcDriver2.java | 2 ++
2 files changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hive/blob/a095c3d9/itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestJdbcDriver2.java
----------------------------------------------------------------------
diff --git a/itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestJdbcDriver2.java b/itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestJdbcDriver2.java
index 4e8c5bf..b217259 100644
--- a/itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestJdbcDriver2.java
+++ b/itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestJdbcDriver2.java
@@ -1580,6 +1580,8 @@ public class TestJdbcDriver2 {
public void testResultSetMetaData() throws SQLException {
Statement stmt = con.createStatement();
+ stmt.execute("set " + HiveConf.ConfVars.HIVE_VECTORIZATION_ENABLED.varname + "=false");
+
ResultSet res =
stmt.executeQuery("select c1, c2, c3, c4, c5 as a, c6, c7, c8, c9, c10, c11, c12, "
+ "c1*2, sentences(null, null, null) as b, c17, c18, c20, c21, c22, c23, null as null_val from "
http://git-wip-us.apache.org/repos/asf/hive/blob/a095c3d9/itests/hive-unit/src/test/java/org/apache/hive/jdbc/cbo_rp_TestJdbcDriver2.java
----------------------------------------------------------------------
diff --git a/itests/hive-unit/src/test/java/org/apache/hive/jdbc/cbo_rp_TestJdbcDriver2.java b/itests/hive-unit/src/test/java/org/apache/hive/jdbc/cbo_rp_TestJdbcDriver2.java
index 4cdb730..386560f 100644
--- a/itests/hive-unit/src/test/java/org/apache/hive/jdbc/cbo_rp_TestJdbcDriver2.java
+++ b/itests/hive-unit/src/test/java/org/apache/hive/jdbc/cbo_rp_TestJdbcDriver2.java
@@ -1456,6 +1456,8 @@ public class cbo_rp_TestJdbcDriver2 {
public void testResultSetMetaData() throws SQLException {
Statement stmt = con.createStatement();
+ stmt.execute("set " + HiveConf.ConfVars.HIVE_VECTORIZATION_ENABLED.varname + "=false");
+
ResultSet res = stmt.executeQuery(
"select c1, c2, c3, c4, c5 as a, c6, c7, c8, c9, c10, c11, c12, " +
"c1*2, sentences(null, null, null) as b, c17, c18, c20, c21, c22, c23 from " + dataTypeTableName +