hadoop-hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zs...@apache.org
Subject svn commit: r793738 [1/12] - in /hadoop/hive/trunk: ./ ql/src/java/org/apache/hadoop/hive/ql/ ql/src/java/org/apache/hadoop/hive/ql/optimizer/ ql/src/java/org/apache/hadoop/hive/ql/parse/ ql/src/java/org/apache/hadoop/hive/ql/plan/ ql/src/test/results/...
Date Mon, 13 Jul 2009 22:46:58 GMT
Author: zshao
Date: Mon Jul 13 22:46:57 2009
New Revision: 793738

URL: http://svn.apache.org/viewvc?rev=793738&view=rev
Log:
HIVE-631. Fix TestParse. (Namit Jain via zshao)

Modified:
    hadoop/hive/trunk/CHANGES.txt
    hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/Context.java
    hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/optimizer/GenMRProcContext.java
    hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/ASTNode.java
    hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/OpParseContext.java
    hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/ParseContext.java
    hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/PartitionPruner.java
    hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/QB.java
    hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
    hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/ConditionalResolverMergeFiles.java
    hadoop/hive/trunk/ql/src/test/results/compiler/plan/case_sensitivity.q.xml
    hadoop/hive/trunk/ql/src/test/results/compiler/plan/input1.q.xml
    hadoop/hive/trunk/ql/src/test/results/compiler/plan/input2.q.xml
    hadoop/hive/trunk/ql/src/test/results/compiler/plan/input3.q.xml
    hadoop/hive/trunk/ql/src/test/results/compiler/plan/input6.q.xml
    hadoop/hive/trunk/ql/src/test/results/compiler/plan/input7.q.xml
    hadoop/hive/trunk/ql/src/test/results/compiler/plan/input9.q.xml
    hadoop/hive/trunk/ql/src/test/results/compiler/plan/input_testsequencefile.q.xml
    hadoop/hive/trunk/ql/src/test/results/compiler/plan/sample2.q.xml
    hadoop/hive/trunk/ql/src/test/results/compiler/plan/sample3.q.xml
    hadoop/hive/trunk/ql/src/test/results/compiler/plan/sample4.q.xml
    hadoop/hive/trunk/ql/src/test/results/compiler/plan/sample5.q.xml
    hadoop/hive/trunk/ql/src/test/results/compiler/plan/sample6.q.xml
    hadoop/hive/trunk/ql/src/test/results/compiler/plan/sample7.q.xml
    hadoop/hive/trunk/ql/src/test/results/compiler/plan/subq.q.xml
    hadoop/hive/trunk/ql/src/test/results/compiler/plan/union.q.xml

Modified: hadoop/hive/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/CHANGES.txt?rev=793738&r1=793737&r2=793738&view=diff
==============================================================================
--- hadoop/hive/trunk/CHANGES.txt (original)
+++ hadoop/hive/trunk/CHANGES.txt Mon Jul 13 22:46:57 2009
@@ -331,12 +331,14 @@
     HIVE-473. Clean up after tests.
     (Johan Oskarsson via namit)
 
-    HIVE-616. Bug in TypeConvertor
+    HIVE-624. Bug in TypeConvertor
     (Zheng Shao via namit)
 
     HIVE-555. Support create temporary function for udaf and generic udf
     (Min Zhou via namit)
 
+    HIVE-631. Fix TestParse. (Namit Jain via zshao)
+
 Release 0.3.1 - Unreleased
 
   INCOMPATIBLE CHANGES

Modified: hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/Context.java
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/Context.java?rev=793738&r1=793737&r2=793738&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/Context.java (original)
+++ hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/Context.java Mon Jul 13 22:46:57 2009
@@ -61,6 +61,9 @@
   protected int pathid = 10000;
   protected boolean explain = false;
 
+  public Context() {  
+  }
+  
   public Context(HiveConf conf) {
     this.conf = conf;
     Path tmpPath = new Path(conf.getVar(HiveConf.ConfVars.SCRATCHDIR));

Modified: hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/optimizer/GenMRProcContext.java
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/optimizer/GenMRProcContext.java?rev=793738&r1=793737&r2=793738&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/optimizer/GenMRProcContext.java (original)
+++ hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/optimizer/GenMRProcContext.java Mon Jul 13 22:46:57 2009
@@ -18,6 +18,7 @@
 
 package org.apache.hadoop.hive.ql.optimizer;
 
+import java.util.LinkedHashMap;
 import java.util.List;
 import java.util.ArrayList;
 import java.util.Map;
@@ -52,6 +53,9 @@
     Operator<? extends Serializable>     currTopOp;
     String                               currAliasId;
     
+    public GenMapRedCtx() {  
+    }
+    
     /**
      * @param currTask    the current task
      * @param currTopOp   the current top operator being traversed
@@ -206,7 +210,7 @@
   private List<Task<? extends Serializable>>    mvTask;
   private List<Task<? extends Serializable>>    rootTasks;
 
-  private Map<Operator<? extends Serializable>, GenMapRedCtx> mapCurrCtx; 
+  private LinkedHashMap<Operator<? extends Serializable>, GenMapRedCtx> mapCurrCtx; 
   private Task<? extends Serializable>         currTask;
   private Operator<? extends Serializable>     currTopOp;
   private UnionOperator                        currUnionOp;
@@ -225,6 +229,9 @@
    */
   private Set<WriteEntity>                    outputs;
   
+  public GenMRProcContext() {  
+  }
+  
   /**
    * @param conf       hive configuration
    * @param opTaskMap  reducer to task mapping
@@ -243,7 +250,7 @@
     ParseContext                           parseCtx,
     List<Task<? extends Serializable>>     mvTask,
     List<Task<? extends Serializable>>     rootTasks,
-    Map<Operator<? extends Serializable>, GenMapRedCtx> mapCurrCtx,
+    LinkedHashMap<Operator<? extends Serializable>, GenMapRedCtx> mapCurrCtx,
     Set<ReadEntity> inputs,
     Set<WriteEntity> outputs) 
   {
@@ -368,14 +375,14 @@
   /**
    * @return operator to task mappings
    */
-  public Map<Operator<? extends Serializable>, GenMapRedCtx> getMapCurrCtx() {
+  public LinkedHashMap<Operator<? extends Serializable>, GenMapRedCtx> getMapCurrCtx() {
     return mapCurrCtx;
   }
 
   /**
    * @param mapCurrCtx operator to task mappings
    */
-  public void setMapCurrCtx(Map<Operator<? extends Serializable>, GenMapRedCtx> mapCurrCtx) {
+  public void setMapCurrCtx(LinkedHashMap<Operator<? extends Serializable>, GenMapRedCtx> mapCurrCtx) {
     this.mapCurrCtx = mapCurrCtx;
   }
 

Modified: hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/ASTNode.java
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/ASTNode.java?rev=793738&r1=793737&r2=793738&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/ASTNode.java (original)
+++ hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/ASTNode.java Mon Jul 13 22:46:57 2009
@@ -29,6 +29,9 @@
  */
 public class ASTNode extends CommonTree implements Node {
 
+  public ASTNode() {  
+  }
+  
   /**
    * Constructor
    * @param t Token for the CommonTree Node

Modified: hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/OpParseContext.java
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/OpParseContext.java?rev=793738&r1=793737&r2=793738&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/OpParseContext.java (original)
+++ hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/OpParseContext.java Mon Jul 13 22:46:57 2009
@@ -28,6 +28,9 @@
 public class OpParseContext {
   private RowResolver rr;  // row resolver for the operator
 
+  public OpParseContext() {  
+  }
+  
   /**
    * @param rr row resolver
    */

Modified: hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/ParseContext.java
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/ParseContext.java?rev=793738&r1=793737&r2=793738&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/ParseContext.java (original)
+++ hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/ParseContext.java Mon Jul 13 22:46:57 2009
@@ -20,6 +20,7 @@
 
 import java.io.Serializable;
 import java.util.HashMap;
+import java.util.LinkedHashMap;
 import java.util.List;
 import java.util.Map;
 
@@ -49,7 +50,7 @@
   private HashMap<String, SamplePruner> aliasToSamplePruner;
   private HashMap<String, Operator<? extends Serializable>> topOps;
   private HashMap<String, Operator<? extends Serializable>> topSelOps;
-  private HashMap<Operator<? extends Serializable>, OpParseContext> opParseCtx;
+  private LinkedHashMap<Operator<? extends Serializable>, OpParseContext> opParseCtx;
   private Map<JoinOperator, QBJoinTree> joinContext;
   private List<loadTableDesc> loadTableWork;
   private List<loadFileDesc> loadFileWork;
@@ -60,6 +61,9 @@
   private UnionProcContext uCtx;
   private List<MapJoinOperator> listMapJoinOpsNoReducer;  // list of map join operators with no reducer
   
+  public ParseContext() {  
+  }
+  
   /**
    * @param qb
    *          current QB
@@ -88,7 +92,7 @@
       HashMap<String, SamplePruner> aliasToSamplePruner,
       HashMap<String, Operator<? extends Serializable>> topOps,
       HashMap<String, Operator<? extends Serializable>> topSelOps,
-      HashMap<Operator<? extends Serializable>, OpParseContext> opParseCtx,
+      LinkedHashMap<Operator<? extends Serializable>, OpParseContext> opParseCtx,
       Map<JoinOperator, QBJoinTree> joinContext,
       List<loadTableDesc> loadTableWork, List<loadFileDesc> loadFileWork,
       Context ctx, HashMap<String, String> idToTableNameMap, int destTableId, UnionProcContext uCtx,
@@ -236,7 +240,7 @@
   /**
    * @return the opParseCtx
    */
-  public HashMap<Operator<? extends Serializable>, OpParseContext> getOpParseCtx() {
+  public LinkedHashMap<Operator<? extends Serializable>, OpParseContext> getOpParseCtx() {
     return opParseCtx;
   }
 
@@ -245,7 +249,7 @@
    *          the opParseCtx to set
    */
   public void setOpParseCtx(
-      HashMap<Operator<? extends Serializable>, OpParseContext> opParseCtx) {
+      LinkedHashMap<Operator<? extends Serializable>, OpParseContext> opParseCtx) {
     this.opParseCtx = opParseCtx;
   }
 

Modified: hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/PartitionPruner.java
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/PartitionPruner.java?rev=793738&r1=793737&r2=793738&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/PartitionPruner.java (original)
+++ hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/PartitionPruner.java Mon Jul 13 22:46:57 2009
@@ -76,6 +76,9 @@
   // a map-reduce job
   private boolean onlyContainsPartCols;
 
+  public PartitionPruner() {  
+  }
+  
   /** Creates a new instance of PartitionPruner */
   public PartitionPruner(String tableAlias, QBMetaData metaData) {
     this.tableAlias = tableAlias;

Modified: hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/QB.java
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/QB.java?rev=793738&r1=793737&r2=793738&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/QB.java (original)
+++ hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/QB.java Mon Jul 13 22:46:57 2009
@@ -57,6 +57,9 @@
     }
   }
 
+  public QB() {  
+  }
+  
   public QB(String outer_id, String alias, boolean isSubQ) {
     aliasToTabs = new HashMap<String, String>();
     aliasToSubq = new HashMap<String, QBExpr>();

Modified: hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java?rev=793738&r1=793737&r2=793738&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java (original)
+++ hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java Mon Jul 13 22:46:57 2009
@@ -137,7 +137,7 @@
   private HashMap<String, SamplePruner> aliasToSamplePruner;
   private HashMap<String, Operator<? extends Serializable>> topOps;
   private HashMap<String, Operator<? extends Serializable>> topSelOps;
-  private HashMap<Operator<? extends Serializable>, OpParseContext> opParseCtx;
+  private LinkedHashMap<Operator<? extends Serializable>, OpParseContext> opParseCtx;
   private List<loadTableDesc> loadTableWork;
   private List<loadFileDesc> loadFileWork;
   private Map<JoinOperator, QBJoinTree> joinContext;
@@ -171,7 +171,7 @@
     this.topSelOps = new HashMap<String, Operator<? extends Serializable>>();
     this.loadTableWork = new ArrayList<loadTableDesc>();
     this.loadFileWork = new ArrayList<loadFileDesc>();
-    opParseCtx = new HashMap<Operator<? extends Serializable>, OpParseContext>();
+    opParseCtx = new LinkedHashMap<Operator<? extends Serializable>, OpParseContext>();
     joinContext = new HashMap<JoinOperator, QBJoinTree>();
     this.destTableId = 1;
     this.uCtx = null;
@@ -3758,7 +3758,7 @@
         conf, new HashMap<Operator<? extends Serializable>, Task<? extends Serializable>>(),
         new ArrayList<Operator<? extends Serializable>>(),
         getParseContext(), mvTask, this.rootTasks,
-        new HashMap<Operator<? extends Serializable>, GenMapRedCtx>(),
+        new LinkedHashMap<Operator<? extends Serializable>, GenMapRedCtx>(),
         inputs, outputs);
 
     // create a walker which walks the tree in a DFS manner while maintaining the operator stack. 

Modified: hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/ConditionalResolverMergeFiles.java
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/ConditionalResolverMergeFiles.java?rev=793738&r1=793737&r2=793738&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/ConditionalResolverMergeFiles.java (original)
+++ hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/ConditionalResolverMergeFiles.java Mon Jul 13 22:46:57 2009
@@ -41,6 +41,9 @@
     List<Task<? extends Serializable>> listTasks;
     private String dir;
 
+    public ConditionalResolverMergeFilesCtx() {  
+    }
+    
     /**
      * @param dir
      */

Modified: hadoop/hive/trunk/ql/src/test/results/compiler/plan/case_sensitivity.q.xml
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/test/results/compiler/plan/case_sensitivity.q.xml?rev=793738&r1=793737&r2=793738&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/test/results/compiler/plan/case_sensitivity.q.xml (original)
+++ hadoop/hive/trunk/ql/src/test/results/compiler/plan/case_sensitivity.q.xml Mon Jul 13 22:46:57 2009
@@ -8,7 +8,7 @@
       <void property="childTasks"> 
        <object class="java.util.ArrayList"> 
         <void method="add"> 
-         <object class="org.apache.hadoop.hive.ql.exec.MoveTask"> 
+         <object id="MoveTask0" class="org.apache.hadoop.hive.ql.exec.MoveTask"> 
           <void property="id"> 
            <string>Stage-1</string> 
           </void> 
@@ -22,7 +22,7 @@
           <void property="work"> 
            <object class="org.apache.hadoop.hive.ql.plan.moveWork"> 
             <void property="loadTableWork"> 
-             <object class="org.apache.hadoop.hive.ql.plan.loadTableDesc"> 
+             <object id="loadTableDesc0" class="org.apache.hadoop.hive.ql.plan.loadTableDesc"> 
               <void property="partitionSpec"> 
                <object class="java.util.HashMap"/> 
               </void> 
@@ -30,7 +30,7 @@
                <boolean>true</boolean> 
               </void> 
               <void property="sourceDir"> 
-               <string>file:/data/users/zshao/tools/553-trunk-apache-hive/build/ql/tmp/1946113618/10000</string> 
+               <string>file:/data/users/njain/hive3/hive3/build/ql/tmp/1323052942/10000</string> 
               </void> 
               <void property="table"> 
                <object id="tableDesc0" class="org.apache.hadoop.hive.ql.plan.tableDesc"> 
@@ -83,7 +83,7 @@
                   </void> 
                   <void method="put"> 
                    <string>location</string> 
-                   <string>file:/data/users/zshao/tools/553-trunk-apache-hive/build/ql/test/data/warehouse/dest1</string> 
+                   <string>file:/data/users/njain/hive3/hive3/build/ql/test/data/warehouse/dest1</string> 
                   </void> 
                  </object> 
                 </void> 
@@ -93,7 +93,7 @@
                </object> 
               </void> 
               <void property="tmpDir"> 
-               <string>file:/data/users/zshao/tools/553-trunk-apache-hive/build/ql/tmp/1946113618/10001</string> 
+               <string>file:/data/users/njain/hive3/hive3/build/ql/tmp/1323052942/10001</string> 
               </void> 
              </object> 
             </void> 
@@ -107,7 +107,7 @@
        <string>Stage-5</string> 
       </void> 
       <void property="listTasks"> 
-       <object class="java.util.ArrayList"> 
+       <object id="ArrayList0" class="java.util.ArrayList"> 
         <void method="add"> 
          <object class="org.apache.hadoop.hive.ql.exec.MoveTask"> 
           <void property="id"> 
@@ -121,10 +121,10 @@
                <boolean>true</boolean> 
               </void> 
               <void property="sourceDir"> 
-               <string>file:/data/users/zshao/tools/553-trunk-apache-hive/build/ql/tmp/1848163181/10002</string> 
+               <string>file:/data/users/njain/hive3/hive3/build/ql/tmp/1243751271/10002</string> 
               </void> 
               <void property="targetDir"> 
-               <string>file:/data/users/zshao/tools/553-trunk-apache-hive/build/ql/tmp/1946113618/10000</string> 
+               <string>file:/data/users/njain/hive3/hive3/build/ql/tmp/1323052942/10000</string> 
               </void> 
              </object> 
             </void> 
@@ -142,7 +142,7 @@
             <void property="aliasToWork"> 
              <object class="java.util.LinkedHashMap"> 
               <void method="put"> 
-               <string>file:/data/users/zshao/tools/553-trunk-apache-hive/build/ql/tmp/1848163181/10002</string> 
+               <string>file:/data/users/njain/hive3/hive3/build/ql/tmp/1243751271/10002</string> 
                <object id="TableScanOperator0" class="org.apache.hadoop.hive.ql.exec.TableScanOperator"> 
                 <void property="childOperators"> 
                  <object class="java.util.ArrayList"> 
@@ -338,10 +338,10 @@
             <void property="pathToAliases"> 
              <object class="java.util.LinkedHashMap"> 
               <void method="put"> 
-               <string>file:/data/users/zshao/tools/553-trunk-apache-hive/build/ql/tmp/1848163181/10002</string> 
+               <string>file:/data/users/njain/hive3/hive3/build/ql/tmp/1243751271/10002</string> 
                <object class="java.util.ArrayList"> 
                 <void method="add"> 
-                 <string>file:/data/users/zshao/tools/553-trunk-apache-hive/build/ql/tmp/1848163181/10002</string> 
+                 <string>file:/data/users/njain/hive3/hive3/build/ql/tmp/1243751271/10002</string> 
                 </void> 
                </object> 
               </void> 
@@ -350,7 +350,7 @@
             <void property="pathToPartitionInfo"> 
              <object class="java.util.LinkedHashMap"> 
               <void method="put"> 
-               <string>file:/data/users/zshao/tools/553-trunk-apache-hive/build/ql/tmp/1848163181/10002</string> 
+               <string>file:/data/users/njain/hive3/hive3/build/ql/tmp/1243751271/10002</string> 
                <object class="org.apache.hadoop.hive.ql.plan.partitionDesc"> 
                 <void property="tableDesc"> 
                  <object idref="tableDesc0"/> 
@@ -368,7 +368,7 @@
                   <void property="conf"> 
                    <object class="org.apache.hadoop.hive.ql.plan.fileSinkDesc"> 
                     <void property="dirName"> 
-                     <string>file:/data/users/zshao/tools/553-trunk-apache-hive/build/ql/tmp/1946113618/10000</string> 
+                     <string>file:/data/users/njain/hive3/hive3/build/ql/tmp/1323052942/10000</string> 
                     </void> 
                     <void property="tableInfo"> 
                      <object idref="tableDesc0"/> 
@@ -460,222 +460,280 @@
       <void property="resolver"> 
        <object class="org.apache.hadoop.hive.ql.plan.ConditionalResolverMergeFiles"/> 
       </void> 
-      <void property="work"> 
-       <object class="org.apache.hadoop.hive.ql.plan.ConditionalWork"> 
-        <void property="listWorks"> 
-         <object class="java.util.ArrayList"> 
-          <void method="add"> 
-           <object idref="moveWork0"/> 
+      <void property="resolverCtx"> 
+       <object class="org.apache.hadoop.hive.ql.plan.ConditionalResolverMergeFiles$ConditionalResolverMergeFilesCtx"> 
+        <void property="ctx"> 
+         <object class="org.apache.hadoop.hive.ql.optimizer.GenMRProcContext"> 
+          <void property="conf"> 
+           <object id="HiveConf0" class="org.apache.hadoop.hive.conf.HiveConf"> 
+            <void property="auxJars"> 
+             <string>file:///data/users/njain/hive3/hive3/build/ql/test/test-udfs.jar</string> 
+            </void> 
+           </object> 
           </void> 
-          <void method="add"> 
-           <object idref="mapredWork0"/> 
+          <void property="currAliasId"> 
+           <string>src_thrift</string> 
           </void> 
-         </object> 
-        </void> 
-       </object> 
-      </void> 
-     </object> 
-    </void> 
-   </object> 
-  </void> 
-  <void property="id"> 
-   <string>Stage-2</string> 
-  </void> 
-  <void property="work"> 
-   <object class="org.apache.hadoop.hive.ql.plan.mapredWork"> 
-    <void property="aliasToPartnInfo"> 
-     <void method="put"> 
-      <string>src_thrift</string> 
-      <object class="org.apache.hadoop.hive.ql.plan.partitionDesc"> 
-       <void property="partSpec"> 
-        <object id="LinkedHashMap0" class="java.util.LinkedHashMap"/> 
-       </void> 
-       <void property="tableDesc"> 
-        <object class="org.apache.hadoop.hive.ql.plan.tableDesc"> 
-         <void property="deserializerClass"> 
-          <class>org.apache.hadoop.hive.serde2.ThriftDeserializer</class> 
-         </void> 
-         <void property="inputFileFormatClass"> 
-          <class>org.apache.hadoop.mapred.SequenceFileInputFormat</class> 
-         </void> 
-         <void property="outputFileFormatClass"> 
-          <class>org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat</class> 
-         </void> 
-         <void property="properties"> 
-          <object id="Properties0" class="java.util.Properties"> 
-           <void method="put"> 
-            <string>name</string> 
-            <string>src_thrift</string> 
-           </void> 
-           <void method="put"> 
-            <string>columns.types</string> 
-            <string></string> 
-           </void> 
-           <void method="put"> 
-            <string>serialization.ddl</string> 
-            <string>struct src_thrift { }</string> 
-           </void> 
-           <void method="put"> 
-            <string>columns</string> 
-            <string></string> 
-           </void> 
-           <void method="put"> 
-            <string>serialization.format</string> 
-            <string>com.facebook.thrift.protocol.TBinaryProtocol</string> 
-           </void> 
-           <void method="put"> 
-            <string>serialization.class</string> 
-            <string>org.apache.hadoop.hive.serde2.thrift.test.Complex</string> 
-           </void> 
-           <void method="put"> 
-            <string>bucket_count</string> 
-            <string>-1</string> 
-           </void> 
-           <void method="put"> 
-            <string>serialization.lib</string> 
-            <string>org.apache.hadoop.hive.serde2.ThriftDeserializer</string> 
-           </void> 
-           <void method="put"> 
-            <string>file.inputformat</string> 
-            <string>org.apache.hadoop.mapred.SequenceFileInputFormat</string> 
-           </void> 
-           <void method="put"> 
-            <string>file.outputformat</string> 
-            <string>org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat</string> 
-           </void> 
-           <void method="put"> 
-            <string>location</string> 
-            <string>file:/data/users/zshao/tools/553-trunk-apache-hive/build/ql/test/data/warehouse/src_thrift</string> 
-           </void> 
-          </object> 
-         </void> 
-         <void property="serdeClassName"> 
-          <string>org.apache.hadoop.hive.serde2.ThriftDeserializer</string> 
-         </void> 
-        </object> 
-       </void> 
-      </object> 
-     </void> 
-    </void> 
-    <void property="aliasToWork"> 
-     <object class="java.util.LinkedHashMap"> 
-      <void method="put"> 
-       <string>src_thrift</string> 
-       <object id="TableScanOperator1" class="org.apache.hadoop.hive.ql.exec.TableScanOperator"> 
-        <void property="childOperators"> 
-         <object class="java.util.ArrayList"> 
-          <void method="add"> 
-           <object id="FilterOperator0" class="org.apache.hadoop.hive.ql.exec.FilterOperator"> 
+          <void property="currTask"> 
+           <object idref="MapRedTask0"/> 
+          </void> 
+          <void property="currTopOp"> 
+           <object id="TableScanOperator1" class="org.apache.hadoop.hive.ql.exec.TableScanOperator"> 
             <void property="childOperators"> 
              <object class="java.util.ArrayList"> 
               <void method="add"> 
-               <object id="FilterOperator1" class="org.apache.hadoop.hive.ql.exec.FilterOperator"> 
+               <object id="FilterOperator0" class="org.apache.hadoop.hive.ql.exec.FilterOperator"> 
                 <void property="childOperators"> 
                  <object class="java.util.ArrayList"> 
                   <void method="add"> 
-                   <object id="SelectOperator0" class="org.apache.hadoop.hive.ql.exec.SelectOperator"> 
+                   <object id="FilterOperator1" class="org.apache.hadoop.hive.ql.exec.FilterOperator"> 
                     <void property="childOperators"> 
                      <object class="java.util.ArrayList"> 
                       <void method="add"> 
-                       <object class="org.apache.hadoop.hive.ql.exec.FileSinkOperator"> 
-                        <void property="conf"> 
-                         <object class="org.apache.hadoop.hive.ql.plan.fileSinkDesc"> 
-                          <void property="destTableId"> 
-                           <int>1</int> 
+                       <object id="SelectOperator0" class="org.apache.hadoop.hive.ql.exec.SelectOperator"> 
+                        <void property="childOperators"> 
+                         <object class="java.util.ArrayList"> 
+                          <void method="add"> 
+                           <object id="FileSinkOperator0" class="org.apache.hadoop.hive.ql.exec.FileSinkOperator"> 
+                            <void property="conf"> 
+                             <object class="org.apache.hadoop.hive.ql.plan.fileSinkDesc"> 
+                              <void property="destTableId"> 
+                               <int>1</int> 
+                              </void> 
+                              <void property="dirName"> 
+                               <string>file:/data/users/njain/hive3/hive3/build/ql/tmp/1243751271/10002</string> 
+                              </void> 
+                              <void property="tableInfo"> 
+                               <object idref="tableDesc0"/> 
+                              </void> 
+                             </object> 
+                            </void> 
+                            <void property="parentOperators"> 
+                             <object class="java.util.ArrayList"> 
+                              <void method="add"> 
+                               <object idref="SelectOperator0"/> 
+                              </void> 
+                             </object> 
+                            </void> 
+                            <void property="schema"> 
+                             <object idref="RowSchema0"/> 
+                            </void> 
+                           </object> 
+                          </void> 
+                         </object> 
+                        </void> 
+                        <void property="columnExprMap"> 
+                         <object class="java.util.HashMap"> 
+                          <void method="put"> 
+                           <string>_col1</string> 
+                           <object id="exprNodeFieldDesc0" class="org.apache.hadoop.hive.ql.plan.exprNodeFieldDesc"> 
+                            <void property="desc"> 
+                             <object class="org.apache.hadoop.hive.ql.plan.exprNodeGenericFuncDesc"> 
+                              <void property="childExprs"> 
+                               <object class="java.util.ArrayList"> 
+                                <void method="add"> 
+                                 <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
+                                  <void property="column"> 
+                                   <string>lintstring</string> 
+                                  </void> 
+                                  <void property="typeInfo"> 
+                                   <object id="ListTypeInfo0" class="org.apache.hadoop.hive.serde2.typeinfo.ListTypeInfo"> 
+                                    <void property="listElementTypeInfo"> 
+                                     <object id="StructTypeInfo0" class="org.apache.hadoop.hive.serde2.typeinfo.StructTypeInfo"/> 
+                                    </void> 
+                                   </object> 
+                                  </void> 
+                                 </object> 
+                                </void> 
+                                <void method="add"> 
+                                 <object class="org.apache.hadoop.hive.ql.plan.exprNodeConstantDesc"> 
+                                  <void property="typeInfo"> 
+                                   <object idref="PrimitiveTypeInfo1"/> 
+                                  </void> 
+                                  <void property="value"> 
+                                   <int>0</int> 
+                                  </void> 
+                                 </object> 
+                                </void> 
+                               </object> 
+                              </void> 
+                              <void property="genericUDFClass"> 
+                               <class>org.apache.hadoop.hive.ql.udf.generic.GenericUDFIndex</class> 
+                              </void> 
+                              <void property="typeInfo"> 
+                               <object idref="StructTypeInfo0"/> 
+                              </void> 
+                             </object> 
+                            </void> 
+                            <void property="fieldName"> 
+                             <string>MYSTRING</string> 
+                            </void> 
+                            <void property="isList"> 
+                             <boolean>false</boolean> 
+                            </void> 
+                            <void property="typeInfo"> 
+                             <object idref="PrimitiveTypeInfo0"/> 
+                            </void> 
+                           </object> 
+                          </void> 
+                          <void method="put"> 
+                           <string>_col0</string> 
+                           <object id="exprNodeGenericFuncDesc0" class="org.apache.hadoop.hive.ql.plan.exprNodeGenericFuncDesc"> 
+                            <void property="childExprs"> 
+                             <object class="java.util.ArrayList"> 
+                              <void method="add"> 
+                               <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
+                                <void property="column"> 
+                                 <string>lint</string> 
+                                </void> 
+                                <void property="typeInfo"> 
+                                 <object id="ListTypeInfo1" class="org.apache.hadoop.hive.serde2.typeinfo.ListTypeInfo"> 
+                                  <void property="listElementTypeInfo"> 
+                                   <object idref="PrimitiveTypeInfo1"/> 
+                                  </void> 
+                                 </object> 
+                                </void> 
+                               </object> 
+                              </void> 
+                              <void method="add"> 
+                               <object class="org.apache.hadoop.hive.ql.plan.exprNodeConstantDesc"> 
+                                <void property="typeInfo"> 
+                                 <object idref="PrimitiveTypeInfo1"/> 
+                                </void> 
+                                <void property="value"> 
+                                 <int>1</int> 
+                                </void> 
+                               </object> 
+                              </void> 
+                             </object> 
+                            </void> 
+                            <void property="genericUDFClass"> 
+                             <class>org.apache.hadoop.hive.ql.udf.generic.GenericUDFIndex</class> 
+                            </void> 
+                            <void property="typeInfo"> 
+                             <object idref="PrimitiveTypeInfo1"/> 
+                            </void> 
+                           </object> 
                           </void> 
-                          <void property="dirName"> 
-                           <string>file:/data/users/zshao/tools/553-trunk-apache-hive/build/ql/tmp/1848163181/10002</string> 
+                         </object> 
+                        </void> 
+                        <void property="conf"> 
+                         <object class="org.apache.hadoop.hive.ql.plan.selectDesc"> 
+                          <void property="colList"> 
+                           <object class="java.util.ArrayList"> 
+                            <void method="add"> 
+                             <object idref="exprNodeGenericFuncDesc0"/> 
+                            </void> 
+                            <void method="add"> 
+                             <object idref="exprNodeFieldDesc0"/> 
+                            </void> 
+                           </object> 
                           </void> 
-                          <void property="tableInfo"> 
-                           <object idref="tableDesc0"/> 
+                          <void property="outputColumnNames"> 
+                           <object class="java.util.ArrayList"> 
+                            <void method="add"> 
+                             <string>_col0</string> 
+                            </void> 
+                            <void method="add"> 
+                             <string>_col1</string> 
+                            </void> 
+                           </object> 
                           </void> 
                          </object> 
                         </void> 
                         <void property="parentOperators"> 
                          <object class="java.util.ArrayList"> 
                           <void method="add"> 
-                           <object idref="SelectOperator0"/> 
+                           <object idref="FilterOperator1"/> 
                           </void> 
                          </object> 
                         </void> 
                         <void property="schema"> 
-                         <object idref="RowSchema0"/> 
-                        </void> 
-                       </object> 
-                      </void> 
-                     </object> 
-                    </void> 
-                    <void property="columnExprMap"> 
-                     <object class="java.util.HashMap"> 
-                      <void method="put"> 
-                       <string>_col1</string> 
-                       <object id="exprNodeFieldDesc0" class="org.apache.hadoop.hive.ql.plan.exprNodeFieldDesc"> 
-                        <void property="desc"> 
-                         <object class="org.apache.hadoop.hive.ql.plan.exprNodeGenericFuncDesc"> 
-                          <void property="childExprs"> 
-                           <object class="java.util.ArrayList"> 
+                         <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
+                          <void property="signature"> 
+                           <object class="java.util.Vector"> 
                             <void method="add"> 
-                             <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
-                              <void property="column"> 
-                               <string>lintstring</string> 
+                             <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
+                              <void property="internalName"> 
+                               <string>_col0</string> 
                               </void> 
-                              <void property="typeInfo"> 
-                               <object id="ListTypeInfo0" class="org.apache.hadoop.hive.serde2.typeinfo.ListTypeInfo"> 
-                                <void property="listElementTypeInfo"> 
-                                 <object id="StructTypeInfo0" class="org.apache.hadoop.hive.serde2.typeinfo.StructTypeInfo"/> 
-                                </void> 
-                               </object> 
+                              <void property="type"> 
+                               <object idref="PrimitiveTypeInfo1"/> 
                               </void> 
                              </object> 
                             </void> 
                             <void method="add"> 
-                             <object class="org.apache.hadoop.hive.ql.plan.exprNodeConstantDesc"> 
-                              <void property="typeInfo"> 
-                               <object idref="PrimitiveTypeInfo1"/> 
+                             <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
+                              <void property="internalName"> 
+                               <string>_col1</string> 
                               </void> 
-                              <void property="value"> 
-                               <int>0</int> 
+                              <void property="type"> 
+                               <object idref="PrimitiveTypeInfo0"/> 
                               </void> 
                              </object> 
                             </void> 
                            </object> 
                           </void> 
-                          <void property="genericUDFClass"> 
-                           <class>org.apache.hadoop.hive.ql.udf.generic.GenericUDFIndex</class> 
-                          </void> 
-                          <void property="typeInfo"> 
-                           <object idref="StructTypeInfo0"/> 
-                          </void> 
                          </object> 
                         </void> 
-                        <void property="fieldName"> 
-                         <string>MYSTRING</string> 
-                        </void> 
-                        <void property="isList"> 
-                         <boolean>false</boolean> 
-                        </void> 
-                        <void property="typeInfo"> 
-                         <object idref="PrimitiveTypeInfo0"/> 
-                        </void> 
                        </object> 
                       </void> 
-                      <void method="put"> 
-                       <string>_col0</string> 
-                       <object id="exprNodeGenericFuncDesc0" class="org.apache.hadoop.hive.ql.plan.exprNodeGenericFuncDesc"> 
+                     </object> 
+                    </void> 
+                    <void property="conf"> 
+                     <object class="org.apache.hadoop.hive.ql.plan.filterDesc"> 
+                      <void property="predicate"> 
+                       <object class="org.apache.hadoop.hive.ql.plan.exprNodeFuncDesc"> 
+                        <void property="UDFClass"> 
+                         <class>org.apache.hadoop.hive.ql.udf.UDFOPGreaterThan</class> 
+                        </void> 
+                        <void property="UDFMethod"> 
+                         <object id="Method0" class="org.apache.hadoop.hive.ql.udf.UDFOPGreaterThan" method="getMethod"> 
+                          <string>evaluate</string> 
+                          <array class="java.lang.Class" length="2"> 
+                           <void index="0"> 
+                            <class>org.apache.hadoop.io.IntWritable</class> 
+                           </void> 
+                           <void index="1"> 
+                            <class>org.apache.hadoop.io.IntWritable</class> 
+                           </void> 
+                          </array> 
+                         </object> 
+                        </void> 
                         <void property="childExprs"> 
                          <object class="java.util.ArrayList"> 
                           <void method="add"> 
-                           <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
-                            <void property="column"> 
-                             <string>lint</string> 
-                            </void> 
-                            <void property="typeInfo"> 
-                             <object id="ListTypeInfo1" class="org.apache.hadoop.hive.serde2.typeinfo.ListTypeInfo"> 
-                              <void property="listElementTypeInfo"> 
-                               <object idref="PrimitiveTypeInfo1"/> 
+                           <object class="org.apache.hadoop.hive.ql.plan.exprNodeGenericFuncDesc"> 
+                            <void property="childExprs"> 
+                             <object class="java.util.ArrayList"> 
+                              <void method="add"> 
+                               <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
+                                <void property="column"> 
+                                 <string>lint</string> 
+                                </void> 
+                                <void property="typeInfo"> 
+                                 <object idref="ListTypeInfo1"/> 
+                                </void> 
+                               </object> 
+                              </void> 
+                              <void method="add"> 
+                               <object class="org.apache.hadoop.hive.ql.plan.exprNodeConstantDesc"> 
+                                <void property="typeInfo"> 
+                                 <object idref="PrimitiveTypeInfo1"/> 
+                                </void> 
+                                <void property="value"> 
+                                 <int>0</int> 
+                                </void> 
+                               </object> 
                               </void> 
                              </object> 
                             </void> 
+                            <void property="genericUDFClass"> 
+                             <class>org.apache.hadoop.hive.ql.udf.generic.GenericUDFIndex</class> 
+                            </void> 
+                            <void property="typeInfo"> 
+                             <object idref="PrimitiveTypeInfo1"/> 
+                            </void> 
                            </object> 
                           </void> 
                           <void method="add"> 
@@ -684,41 +742,18 @@
                              <object idref="PrimitiveTypeInfo1"/> 
                             </void> 
                             <void property="value"> 
-                             <int>1</int> 
+                             <int>0</int> 
                             </void> 
                            </object> 
                           </void> 
                          </object> 
                         </void> 
-                        <void property="genericUDFClass"> 
-                         <class>org.apache.hadoop.hive.ql.udf.generic.GenericUDFIndex</class> 
-                        </void> 
                         <void property="typeInfo"> 
-                         <object idref="PrimitiveTypeInfo1"/> 
-                        </void> 
-                       </object> 
-                      </void> 
-                     </object> 
-                    </void> 
-                    <void property="conf"> 
-                     <object class="org.apache.hadoop.hive.ql.plan.selectDesc"> 
-                      <void property="colList"> 
-                       <object class="java.util.ArrayList"> 
-                        <void method="add"> 
-                         <object idref="exprNodeGenericFuncDesc0"/> 
-                        </void> 
-                        <void method="add"> 
-                         <object idref="exprNodeFieldDesc0"/> 
-                        </void> 
-                       </object> 
-                      </void> 
-                      <void property="outputColumnNames"> 
-                       <object class="java.util.ArrayList"> 
-                        <void method="add"> 
-                         <string>_col0</string> 
-                        </void> 
-                        <void method="add"> 
-                         <string>_col1</string> 
+                         <object id="PrimitiveTypeInfo2" class="org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo"> 
+                          <void property="typeName"> 
+                           <string>boolean</string> 
+                          </void> 
+                         </object> 
                         </void> 
                        </object> 
                       </void> 
@@ -727,18 +762,18 @@
                     <void property="parentOperators"> 
                      <object class="java.util.ArrayList"> 
                       <void method="add"> 
-                       <object idref="FilterOperator1"/> 
+                       <object idref="FilterOperator0"/> 
                       </void> 
                      </object> 
                     </void> 
                     <void property="schema"> 
                      <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
                       <void property="signature"> 
-                       <object class="java.util.Vector"> 
+                       <object id="Vector0" class="java.util.Vector"> 
                         <void method="add"> 
                          <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
                           <void property="internalName"> 
-                           <string>_col0</string> 
+                           <string>aint</string> 
                           </void> 
                           <void property="type"> 
                            <object idref="PrimitiveTypeInfo1"/> 
@@ -748,41 +783,82 @@
                         <void method="add"> 
                          <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
                           <void property="internalName"> 
-                           <string>_col1</string> 
+                           <string>astring</string> 
                           </void> 
                           <void property="type"> 
                            <object idref="PrimitiveTypeInfo0"/> 
                           </void> 
                          </object> 
                         </void> 
-                       </object> 
-                      </void> 
-                     </object> 
-                    </void> 
-                   </object> 
-                  </void> 
-                 </object> 
-                </void> 
-                <void property="conf"> 
-                 <object class="org.apache.hadoop.hive.ql.plan.filterDesc"> 
-                  <void property="predicate"> 
-                   <object class="org.apache.hadoop.hive.ql.plan.exprNodeFuncDesc"> 
-                    <void property="UDFClass"> 
-                     <class>org.apache.hadoop.hive.ql.udf.UDFOPGreaterThan</class> 
-                    </void> 
-                    <void property="UDFMethod"> 
-                     <object id="Method0" class="org.apache.hadoop.hive.ql.udf.UDFOPGreaterThan" method="getMethod"> 
-                      <string>evaluate</string> 
-                      <array class="java.lang.Class" length="2"> 
-                       <void index="0"> 
-                        <class>org.apache.hadoop.io.IntWritable</class> 
-                       </void> 
-                       <void index="1"> 
-                        <class>org.apache.hadoop.io.IntWritable</class> 
-                       </void> 
-                      </array> 
+                        <void method="add"> 
+                         <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
+                          <void property="internalName"> 
+                           <string>lint</string> 
+                          </void> 
+                          <void property="type"> 
+                           <object idref="ListTypeInfo1"/> 
+                          </void> 
+                         </object> 
+                        </void> 
+                        <void method="add"> 
+                         <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
+                          <void property="internalName"> 
+                           <string>lstring</string> 
+                          </void> 
+                          <void property="type"> 
+                           <object class="org.apache.hadoop.hive.serde2.typeinfo.ListTypeInfo"> 
+                            <void property="listElementTypeInfo"> 
+                             <object idref="PrimitiveTypeInfo0"/> 
+                            </void> 
+                           </object> 
+                          </void> 
+                         </object> 
+                        </void> 
+                        <void method="add"> 
+                         <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
+                          <void property="internalName"> 
+                           <string>lintstring</string> 
+                          </void> 
+                          <void property="type"> 
+                           <object idref="ListTypeInfo0"/> 
+                          </void> 
+                         </object> 
+                        </void> 
+                        <void method="add"> 
+                         <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
+                          <void property="internalName"> 
+                           <string>mstringstring</string> 
+                          </void> 
+                          <void property="type"> 
+                           <object class="org.apache.hadoop.hive.serde2.typeinfo.MapTypeInfo"> 
+                            <void property="mapKeyTypeInfo"> 
+                             <object idref="PrimitiveTypeInfo0"/> 
+                            </void> 
+                            <void property="mapValueTypeInfo"> 
+                             <object idref="PrimitiveTypeInfo0"/> 
+                            </void> 
+                           </object> 
+                          </void> 
+                         </object> 
+                        </void> 
+                       </object> 
+                      </void> 
                      </object> 
                     </void> 
+                   </object> 
+                  </void> 
+                 </object> 
+                </void> 
+                <void property="conf"> 
+                 <object class="org.apache.hadoop.hive.ql.plan.filterDesc"> 
+                  <void property="predicate"> 
+                   <object class="org.apache.hadoop.hive.ql.plan.exprNodeFuncDesc"> 
+                    <void property="UDFClass"> 
+                     <class>org.apache.hadoop.hive.ql.udf.UDFOPGreaterThan</class> 
+                    </void> 
+                    <void property="UDFMethod"> 
+                     <object idref="Method0"/> 
+                    </void> 
                     <void property="childExprs"> 
                      <object class="java.util.ArrayList"> 
                       <void method="add"> 
@@ -832,11 +908,7 @@
                      </object> 
                     </void> 
                     <void property="typeInfo"> 
-                     <object id="PrimitiveTypeInfo2" class="org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo"> 
-                      <void property="typeName"> 
-                       <string>boolean</string> 
-                      </void> 
-                     </object> 
+                     <object idref="PrimitiveTypeInfo2"/> 
                     </void> 
                    </object> 
                   </void> 
@@ -845,86 +917,14 @@
                 <void property="parentOperators"> 
                  <object class="java.util.ArrayList"> 
                   <void method="add"> 
-                   <object idref="FilterOperator0"/> 
+                   <object idref="TableScanOperator1"/> 
                   </void> 
                  </object> 
                 </void> 
                 <void property="schema"> 
                  <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
                   <void property="signature"> 
-                   <object id="Vector0" class="java.util.Vector"> 
-                    <void method="add"> 
-                     <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
-                      <void property="internalName"> 
-                       <string>aint</string> 
-                      </void> 
-                      <void property="type"> 
-                       <object idref="PrimitiveTypeInfo1"/> 
-                      </void> 
-                     </object> 
-                    </void> 
-                    <void method="add"> 
-                     <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
-                      <void property="internalName"> 
-                       <string>astring</string> 
-                      </void> 
-                      <void property="type"> 
-                       <object idref="PrimitiveTypeInfo0"/> 
-                      </void> 
-                     </object> 
-                    </void> 
-                    <void method="add"> 
-                     <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
-                      <void property="internalName"> 
-                       <string>lint</string> 
-                      </void> 
-                      <void property="type"> 
-                       <object idref="ListTypeInfo1"/> 
-                      </void> 
-                     </object> 
-                    </void> 
-                    <void method="add"> 
-                     <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
-                      <void property="internalName"> 
-                       <string>lstring</string> 
-                      </void> 
-                      <void property="type"> 
-                       <object class="org.apache.hadoop.hive.serde2.typeinfo.ListTypeInfo"> 
-                        <void property="listElementTypeInfo"> 
-                         <object idref="PrimitiveTypeInfo0"/> 
-                        </void> 
-                       </object> 
-                      </void> 
-                     </object> 
-                    </void> 
-                    <void method="add"> 
-                     <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
-                      <void property="internalName"> 
-                       <string>lintstring</string> 
-                      </void> 
-                      <void property="type"> 
-                       <object idref="ListTypeInfo0"/> 
-                      </void> 
-                     </object> 
-                    </void> 
-                    <void method="add"> 
-                     <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
-                      <void property="internalName"> 
-                       <string>mstringstring</string> 
-                      </void> 
-                      <void property="type"> 
-                       <object class="org.apache.hadoop.hive.serde2.typeinfo.MapTypeInfo"> 
-                        <void property="mapKeyTypeInfo"> 
-                         <object idref="PrimitiveTypeInfo0"/> 
-                        </void> 
-                        <void property="mapValueTypeInfo"> 
-                         <object idref="PrimitiveTypeInfo0"/> 
-                        </void> 
-                       </object> 
-                      </void> 
-                     </object> 
-                    </void> 
-                   </object> 
+                   <object idref="Vector0"/> 
                   </void> 
                  </object> 
                 </void> 
@@ -932,103 +932,226 @@
               </void> 
              </object> 
             </void> 
+            <void property="neededColumnIDs"> 
+             <object class="java.util.ArrayList"> 
+              <void method="add"> 
+               <int>2</int> 
+              </void> 
+              <void method="add"> 
+               <int>4</int> 
+              </void> 
+             </object> 
+            </void> 
+            <void property="schema"> 
+             <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
+              <void property="signature"> 
+               <object idref="Vector0"/> 
+              </void> 
+             </object> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="mapCurrCtx"> 
+           <object class="java.util.LinkedHashMap"> 
+            <void method="put"> 
+             <object idref="TableScanOperator1"/> 
+             <object class="org.apache.hadoop.hive.ql.optimizer.GenMRProcContext$GenMapRedCtx"/> 
+            </void> 
+            <void method="put"> 
+             <object idref="FilterOperator0"/> 
+             <object class="org.apache.hadoop.hive.ql.optimizer.GenMRProcContext$GenMapRedCtx"/> 
+            </void> 
+            <void method="put"> 
+             <object idref="FilterOperator1"/> 
+             <object class="org.apache.hadoop.hive.ql.optimizer.GenMRProcContext$GenMapRedCtx"/> 
+            </void> 
+            <void method="put"> 
+             <object idref="SelectOperator0"/> 
+             <object class="org.apache.hadoop.hive.ql.optimizer.GenMRProcContext$GenMapRedCtx"/> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="mvTask"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <object idref="MoveTask0"/> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="opTaskMap"> 
+           <object class="java.util.HashMap"> 
+            <void method="put"> 
+             <null/> 
+             <object idref="MapRedTask0"/> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="parseCtx"> 
+           <object class="org.apache.hadoop.hive.ql.parse.ParseContext"> 
+            <void property="QB"> 
+             <object class="org.apache.hadoop.hive.ql.parse.QB"/> 
+            </void> 
+            <void property="UCtx"> 
+             <object class="org.apache.hadoop.hive.ql.optimizer.unionproc.UnionProcContext"/> 
+            </void> 
+            <void property="aliasToPruner"> 
+             <object class="java.util.HashMap"> 
+              <void method="put"> 
+               <string>src_thrift</string> 
+               <object class="org.apache.hadoop.hive.ql.parse.PartitionPruner"/> 
+              </void> 
+             </object> 
+            </void> 
+            <void property="aliasToSamplePruner"> 
+             <object class="java.util.HashMap"/> 
+            </void> 
             <void property="conf"> 
-             <object class="org.apache.hadoop.hive.ql.plan.filterDesc"> 
-              <void property="predicate"> 
-               <object class="org.apache.hadoop.hive.ql.plan.exprNodeFuncDesc"> 
-                <void property="UDFClass"> 
-                 <class>org.apache.hadoop.hive.ql.udf.UDFOPGreaterThan</class> 
+             <object idref="HiveConf0"/> 
+            </void> 
+            <void property="context"> 
+             <object class="org.apache.hadoop.hive.ql.Context"/> 
+            </void> 
+            <void property="destTableId"> 
+             <int>2</int> 
+            </void> 
+            <void property="idToTableNameMap"> 
+             <object class="java.util.HashMap"> 
+              <void method="put"> 
+               <string>1</string> 
+               <string>dest1</string> 
+              </void> 
+             </object> 
+            </void> 
+            <void property="joinContext"> 
+             <object class="java.util.HashMap"/> 
+            </void> 
+            <void property="listMapJoinOpsNoReducer"> 
+             <object class="java.util.ArrayList"/> 
+            </void> 
+            <void property="loadFileWork"> 
+             <object class="java.util.ArrayList"/> 
+            </void> 
+            <void property="loadTableWork"> 
+             <object class="java.util.ArrayList"> 
+              <void method="add"> 
+               <object idref="loadTableDesc0"/> 
+              </void> 
+             </object> 
+            </void> 
+            <void property="opParseCtx"> 
+             <object class="java.util.LinkedHashMap"> 
+              <void method="put"> 
+               <object idref="TableScanOperator1"/> 
+               <object class="org.apache.hadoop.hive.ql.parse.OpParseContext"> 
+                <void property="RR"> 
+                 <object id="RowResolver0" class="org.apache.hadoop.hive.ql.parse.RowResolver"/> 
                 </void> 
-                <void property="UDFMethod"> 
-                 <object idref="Method0"/> 
+               </object> 
+              </void> 
+              <void method="put"> 
+               <object idref="FilterOperator1"/> 
+               <object class="org.apache.hadoop.hive.ql.parse.OpParseContext"> 
+                <void property="RR"> 
+                 <object idref="RowResolver0"/> 
                 </void> 
-                <void property="childExprs"> 
-                 <object class="java.util.ArrayList"> 
-                  <void method="add"> 
-                   <object class="org.apache.hadoop.hive.ql.plan.exprNodeGenericFuncDesc"> 
-                    <void property="childExprs"> 
-                     <object class="java.util.ArrayList"> 
-                      <void method="add"> 
-                       <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
-                        <void property="column"> 
-                         <string>lint</string> 
-                        </void> 
-                        <void property="typeInfo"> 
-                         <object idref="ListTypeInfo1"/> 
-                        </void> 
-                       </object> 
-                      </void> 
-                      <void method="add"> 
-                       <object class="org.apache.hadoop.hive.ql.plan.exprNodeConstantDesc"> 
-                        <void property="typeInfo"> 
-                         <object idref="PrimitiveTypeInfo1"/> 
-                        </void> 
-                        <void property="value"> 
-                         <int>0</int> 
-                        </void> 
-                       </object> 
-                      </void> 
-                     </object> 
-                    </void> 
-                    <void property="genericUDFClass"> 
-                     <class>org.apache.hadoop.hive.ql.udf.generic.GenericUDFIndex</class> 
-                    </void> 
-                    <void property="typeInfo"> 
-                     <object idref="PrimitiveTypeInfo1"/> 
-                    </void> 
-                   </object> 
-                  </void> 
-                  <void method="add"> 
-                   <object class="org.apache.hadoop.hive.ql.plan.exprNodeConstantDesc"> 
-                    <void property="typeInfo"> 
-                     <object idref="PrimitiveTypeInfo1"/> 
-                    </void> 
-                    <void property="value"> 
-                     <int>0</int> 
-                    </void> 
-                   </object> 
-                  </void> 
-                 </object> 
+               </object> 
+              </void> 
+              <void method="put"> 
+               <object idref="SelectOperator0"/> 
+               <object class="org.apache.hadoop.hive.ql.parse.OpParseContext"> 
+                <void property="RR"> 
+                 <object id="RowResolver1" class="org.apache.hadoop.hive.ql.parse.RowResolver"/> 
                 </void> 
-                <void property="typeInfo"> 
-                 <object idref="PrimitiveTypeInfo2"/> 
+               </object> 
+              </void> 
+              <void method="put"> 
+               <object idref="FileSinkOperator0"/> 
+               <object class="org.apache.hadoop.hive.ql.parse.OpParseContext"> 
+                <void property="RR"> 
+                 <object idref="RowResolver1"/> 
+                </void> 
+               </object> 
+              </void> 
+              <void method="put"> 
+               <object idref="FilterOperator0"/> 
+               <object class="org.apache.hadoop.hive.ql.parse.OpParseContext"> 
+                <void property="RR"> 
+                 <object idref="RowResolver0"/> 
                 </void> 
                </object> 
               </void> 
              </object> 
             </void> 
-            <void property="parentOperators"> 
-             <object class="java.util.ArrayList"> 
-              <void method="add"> 
-               <object idref="TableScanOperator1"/> 
+            <void property="parseTree"> 
+             <object class="org.apache.hadoop.hive.ql.parse.ASTNode"> 
+              <void property="tokenStartIndex"> 
+               <int>0</int> 
+              </void> 
+              <void property="tokenStopIndex"> 
+               <int>42</int> 
               </void> 
              </object> 
             </void> 
-            <void property="schema"> 
-             <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
-              <void property="signature"> 
-               <object idref="Vector0"/> 
+            <void property="topOps"> 
+             <object class="java.util.HashMap"> 
+              <void method="put"> 
+               <string>src_thrift</string> 
+               <object idref="TableScanOperator1"/> 
               </void> 
              </object> 
             </void> 
+            <void property="topSelOps"> 
+             <object class="java.util.HashMap"/> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="rootOps"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <object idref="TableScanOperator1"/> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="rootTasks"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <object idref="MapRedTask0"/> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="seenFileSinkOps"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <object idref="FileSinkOperator0"/> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="seenOps"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <object idref="TableScanOperator1"/> 
+            </void> 
            </object> 
           </void> 
          </object> 
         </void> 
-        <void property="neededColumnIDs"> 
+        <void property="dir"> 
+         <string>file:/data/users/njain/hive3/hive3/build/ql/tmp/1243751271/10002</string> 
+        </void> 
+        <void property="listTasks"> 
+         <object idref="ArrayList0"/> 
+        </void> 
+       </object> 
+      </void> 
+      <void property="work"> 
+       <object class="org.apache.hadoop.hive.ql.plan.ConditionalWork"> 
+        <void property="listWorks"> 
          <object class="java.util.ArrayList"> 
           <void method="add"> 
-           <int>2</int> 
+           <object idref="moveWork0"/> 
           </void> 
           <void method="add"> 
-           <int>4</int> 
-          </void> 
-         </object> 
-        </void> 
-        <void property="schema"> 
-         <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
-          <void property="signature"> 
-           <object idref="Vector0"/> 
+           <object idref="mapredWork0"/> 
           </void> 
          </object> 
         </void> 
@@ -1036,10 +1159,99 @@
       </void> 
      </object> 
     </void> 
+   </object> 
+  </void> 
+  <void property="id"> 
+   <string>Stage-2</string> 
+  </void> 
+  <void property="work"> 
+   <object class="org.apache.hadoop.hive.ql.plan.mapredWork"> 
+    <void property="aliasToPartnInfo"> 
+     <void method="put"> 
+      <string>src_thrift</string> 
+      <object class="org.apache.hadoop.hive.ql.plan.partitionDesc"> 
+       <void property="partSpec"> 
+        <object id="LinkedHashMap0" class="java.util.LinkedHashMap"/> 
+       </void> 
+       <void property="tableDesc"> 
+        <object class="org.apache.hadoop.hive.ql.plan.tableDesc"> 
+         <void property="deserializerClass"> 
+          <class>org.apache.hadoop.hive.serde2.ThriftDeserializer</class> 
+         </void> 
+         <void property="inputFileFormatClass"> 
+          <class>org.apache.hadoop.mapred.SequenceFileInputFormat</class> 
+         </void> 
+         <void property="outputFileFormatClass"> 
+          <class>org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat</class> 
+         </void> 
+         <void property="properties"> 
+          <object id="Properties0" class="java.util.Properties"> 
+           <void method="put"> 
+            <string>name</string> 
+            <string>src_thrift</string> 
+           </void> 
+           <void method="put"> 
+            <string>columns.types</string> 
+            <string></string> 
+           </void> 
+           <void method="put"> 
+            <string>serialization.ddl</string> 
+            <string>struct src_thrift { }</string> 
+           </void> 
+           <void method="put"> 
+            <string>columns</string> 
+            <string></string> 
+           </void> 
+           <void method="put"> 
+            <string>serialization.format</string> 
+            <string>com.facebook.thrift.protocol.TBinaryProtocol</string> 
+           </void> 
+           <void method="put"> 
+            <string>serialization.class</string> 
+            <string>org.apache.hadoop.hive.serde2.thrift.test.Complex</string> 
+           </void> 
+           <void method="put"> 
+            <string>bucket_count</string> 
+            <string>-1</string> 
+           </void> 
+           <void method="put"> 
+            <string>serialization.lib</string> 
+            <string>org.apache.hadoop.hive.serde2.ThriftDeserializer</string> 
+           </void> 
+           <void method="put"> 
+            <string>file.inputformat</string> 
+            <string>org.apache.hadoop.mapred.SequenceFileInputFormat</string> 
+           </void> 
+           <void method="put"> 
+            <string>file.outputformat</string> 
+            <string>org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat</string> 
+           </void> 
+           <void method="put"> 
+            <string>location</string> 
+            <string>file:/data/users/njain/hive3/hive3/build/ql/test/data/warehouse/src_thrift</string> 
+           </void> 
+          </object> 
+         </void> 
+         <void property="serdeClassName"> 
+          <string>org.apache.hadoop.hive.serde2.ThriftDeserializer</string> 
+         </void> 
+        </object> 
+       </void> 
+      </object> 
+     </void> 
+    </void> 
+    <void property="aliasToWork"> 
+     <object class="java.util.LinkedHashMap"> 
+      <void method="put"> 
+       <string>src_thrift</string> 
+       <object idref="TableScanOperator1"/> 
+      </void> 
+     </object> 
+    </void> 
     <void property="pathToAliases"> 
      <object class="java.util.LinkedHashMap"> 
       <void method="put"> 
-       <string>file:/data/users/zshao/tools/553-trunk-apache-hive/build/ql/test/data/warehouse/src_thrift</string> 
+       <string>file:/data/users/njain/hive3/hive3/build/ql/test/data/warehouse/src_thrift</string> 
        <object class="java.util.ArrayList"> 
         <void method="add"> 
          <string>src_thrift</string> 
@@ -1051,7 +1263,7 @@
     <void property="pathToPartitionInfo"> 
      <object class="java.util.LinkedHashMap"> 
       <void method="put"> 
-       <string>file:/data/users/zshao/tools/553-trunk-apache-hive/build/ql/test/data/warehouse/src_thrift</string> 
+       <string>file:/data/users/njain/hive3/hive3/build/ql/test/data/warehouse/src_thrift</string> 
        <object class="org.apache.hadoop.hive.ql.plan.partitionDesc"> 
         <void property="partSpec"> 
          <object idref="LinkedHashMap0"/> 



Mime
View raw message