You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by sh...@apache.org on 2016/09/08 20:56:04 UTC

[2/4] incubator-hawq git commit: HAWQ-931. CR Fixes

HAWQ-931. CR Fixes


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/a086d4cc
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/a086d4cc
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/a086d4cc

Branch: refs/heads/HAWQ-931
Commit: a086d4cc60fde21b494cf996f4a8620d0d2d237c
Parents: 98a302d
Author: Shivram Mani <sh...@gmail.com>
Authored: Thu Jul 28 13:57:18 2016 -0700
Committer: Shivram Mani <sh...@gmail.com>
Committed: Tue Aug 2 15:12:58 2016 -0700

----------------------------------------------------------------------
 .../apache/hawq/pxf/plugins/hive/HiveORCAccessor.java   | 12 ------------
 1 file changed, 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a086d4cc/pxf/pxf-hive/src/main/java/org/apache/hawq/pxf/plugins/hive/HiveORCAccessor.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-hive/src/main/java/org/apache/hawq/pxf/plugins/hive/HiveORCAccessor.java b/pxf/pxf-hive/src/main/java/org/apache/hawq/pxf/plugins/hive/HiveORCAccessor.java
index 43c48b2..a3a0f5a 100644
--- a/pxf/pxf-hive/src/main/java/org/apache/hawq/pxf/plugins/hive/HiveORCAccessor.java
+++ b/pxf/pxf-hive/src/main/java/org/apache/hawq/pxf/plugins/hive/HiveORCAccessor.java
@@ -20,23 +20,15 @@ package org.apache.hawq.pxf.plugins.hive;
  */
 
 
-import org.apache.hadoop.hive.ql.exec.vector.BytesColumnVector;
-import org.apache.hadoop.hive.ql.exec.vector.ColumnVector;
-import org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch;
 import org.apache.hadoop.hive.ql.io.orc.OrcInputFormat;
 import org.apache.hadoop.hive.ql.io.sarg.SearchArgument;
 import org.apache.hadoop.hive.ql.io.sarg.SearchArgumentFactory;
-import org.apache.hadoop.mapred.FileSplit;
 import org.apache.hadoop.mapred.InputSplit;
 import org.apache.hadoop.mapred.JobConf;
 import org.apache.hadoop.mapred.Reporter;
 import org.apache.hawq.pxf.api.FilterParser;
-import org.apache.hawq.pxf.api.OneRow;
 import org.apache.hawq.pxf.api.utilities.ColumnDescriptor;
 import org.apache.hawq.pxf.api.utilities.InputData;
-import org.apache.orc.Reader;
-import org.apache.orc.RecordReader;
-import org.apache.orc.TypeDescription;
 import org.apache.commons.lang.StringUtils;
 import java.io.IOException;
 import java.util.ArrayList;
@@ -51,10 +43,6 @@ import static org.apache.hawq.pxf.plugins.hive.HiveInputFormatFragmenter.PXF_HIV
  */
 public class HiveORCAccessor extends HiveAccessor {
 
-    private RecordReader batchReader = null;
-    private Reader reader = null;
-    private VectorizedRowBatch batch = null;
-
     private final String READ_COLUMN_IDS_CONF_STR = "hive.io.file.readcolumn.ids";
     private final String READ_ALL_COLUMNS = "hive.io.file.read.all.columns";
     private final String READ_COLUMN_NAMES_CONF_STR = "hive.io.file.readcolumn.names";