Grokbase Groups Hive commits May 2013
FAQ
Author: omalley
Date: Wed May 22 21:00:56 2013
New Revision: 1485420

URL: http://svn.apache.org/r1485420
Log:
HIVE-4537 select * fails on orc table when vectorization is enabled (Sarvesh
Sakalangaga via omalley)

Modified:
     hive/branches/vectorization/ql/src/java/org/apache/hadoop/hive/ql/exec/FetchOperator.java

Modified: hive/branches/vectorization/ql/src/java/org/apache/hadoop/hive/ql/exec/FetchOperator.java
URL: http://svn.apache.org/viewvc/hive/branches/vectorization/ql/src/java/org/apache/hadoop/hive/ql/exec/FetchOperator.java?rev=1485420&r1=1485419&r2=1485420&view=diff
==============================================================================
--- hive/branches/vectorization/ql/src/java/org/apache/hadoop/hive/ql/exec/FetchOperator.java (original)
+++ hive/branches/vectorization/ql/src/java/org/apache/hadoop/hive/ql/exec/FetchOperator.java Wed May 22 21:00:56 2013
@@ -367,6 +367,12 @@ public class FetchOperator implements Se
        job.set("mapred.input.dir", org.apache.hadoop.util.StringUtils.escapeString(currPath
            .toString()));

+ // Fetch operator is not vectorized and as such turn vectorization flag off so that
+ // non-vectorized record reader is created below.
+ if (HiveConf.getBoolVar(job, HiveConf.ConfVars.HIVE_VECTORIZATION_ENABLED)) {
+ HiveConf.setBoolVar(job, HiveConf.ConfVars.HIVE_VECTORIZATION_ENABLED, false);
+ }
+
        PartitionDesc partDesc;
        if (currTbl == null) {
          partDesc = currPart;

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommits @
categorieshive, hadoop
postedMay 22, '13 at 9:01p
activeMay 22, '13 at 9:01p
posts1
users1
websitehive.apache.org

1 user in discussion

Omalley: 1 post

People

Translate

site design / logo © 2021 Grokbase