hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dhr...@apache.org
Subject svn commit: r696736 [5/7] - in /hadoop/core/trunk: ./ src/contrib/hive/ src/contrib/hive/ql/ src/contrib/hive/ql/src/java/org/apache/hadoop/hive/ql/ src/contrib/hive/ql/src/java/org/apache/hadoop/hive/ql/exec/ src/contrib/hive/ql/src/java/org/apache/ha...
Date Thu, 18 Sep 2008 17:38:04 GMT
Modified: hadoop/core/trunk/src/contrib/hive/ql/src/test/results/compiler/plan/groupby2.q.xml
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/contrib/hive/ql/src/test/results/compiler/plan/groupby2.q.xml?rev=696736&r1=696735&r2=696736&view=diff
==============================================================================
--- hadoop/core/trunk/src/contrib/hive/ql/src/test/results/compiler/plan/groupby2.q.xml (original)
+++ hadoop/core/trunk/src/contrib/hive/ql/src/test/results/compiler/plan/groupby2.q.xml Thu Sep 18 10:37:59 2008
@@ -9,6 +9,9 @@
        <object class="java.util.ArrayList"> 
         <void method="add"> 
          <object class="org.apache.hadoop.hive.ql.exec.MoveTask"> 
+          <void property="id"> 
+           <string>Stage-1</string> 
+          </void> 
           <void property="parentTasks"> 
            <object class="java.util.ArrayList"> 
             <void method="add"> 
@@ -32,7 +35,7 @@
                  <boolean>true</boolean> 
                 </void> 
                 <void property="sourceDir"> 
-                 <string>/tmp/hive-zshao/1790864906.10000.insclause-0</string> 
+                 <string>/tmp/hive-athusoo/568862461.10000.insclause-0</string> 
                 </void> 
                 <void property="table"> 
                  <object id="tableDesc0" class="org.apache.hadoop.hive.ql.plan.tableDesc"> 
@@ -82,7 +85,7 @@
                     </void> 
                     <void method="put"> 
                      <string>location</string> 
-                     <string>file:/home/zshao/projects/hadoop/trunk/VENDOR/hadoop-0.17/build/contrib/hive/ql/test/data/warehouse/dest1</string> 
+                     <string>file:/home/athusoo/apacheprojects/hadoop-core-trunk_ws3/build/contrib/hive/ql/test/data/warehouse/dest1</string> 
                     </void> 
                    </object> 
                   </void> 
@@ -104,6 +107,9 @@
         </void> 
        </object> 
       </void> 
+      <void property="id"> 
+       <string>Stage-3</string> 
+      </void> 
       <void property="parentTasks"> 
        <object class="java.util.ArrayList"> 
         <void method="add"> 
@@ -116,7 +122,7 @@
         <void property="aliasToWork"> 
          <object class="java.util.HashMap"> 
           <void method="put"> 
-           <string>/tmp/hive-zshao/1790864906.10001</string> 
+           <string>/tmp/hive-athusoo/568862461.10001</string> 
            <object class="org.apache.hadoop.hive.ql.exec.ReduceSinkOperator"> 
             <void property="conf"> 
              <object class="org.apache.hadoop.hive.ql.plan.reduceSinkDesc"> 
@@ -211,10 +217,10 @@
         <void property="pathToAliases"> 
          <object class="java.util.LinkedHashMap"> 
           <void method="put"> 
-           <string>/tmp/hive-zshao/1790864906.10001</string> 
+           <string>/tmp/hive-athusoo/568862461.10001</string> 
            <object class="java.util.ArrayList"> 
             <void method="add"> 
-             <string>/tmp/hive-zshao/1790864906.10001</string> 
+             <string>/tmp/hive-athusoo/568862461.10001</string> 
             </void> 
            </object> 
           </void> 
@@ -223,7 +229,7 @@
         <void property="pathToPartitionInfo"> 
          <object class="java.util.LinkedHashMap"> 
           <void method="put"> 
-           <string>/tmp/hive-zshao/1790864906.10001</string> 
+           <string>/tmp/hive-athusoo/568862461.10001</string> 
            <object class="org.apache.hadoop.hive.ql.plan.partitionDesc"> 
             <void property="tableDesc"> 
              <object id="tableDesc1" class="org.apache.hadoop.hive.ql.plan.tableDesc"> 
@@ -267,7 +273,7 @@
                   <void property="conf"> 
                    <object class="org.apache.hadoop.hive.ql.plan.fileSinkDesc"> 
                     <void property="dirName"> 
-                     <string>/tmp/hive-zshao/1790864906.10000.insclause-0</string> 
+                     <string>/tmp/hive-athusoo/568862461.10000.insclause-0</string> 
                     </void> 
                     <void property="tableInfo"> 
                      <object idref="tableDesc0"/> 
@@ -517,6 +523,9 @@
     </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="aliasToWork"> 
@@ -540,16 +549,13 @@
                   <void property="UDFMethod"> 
                    <object class="org.apache.hadoop.hive.ql.udf.UDFSubstr" method="getMethod"> 
                     <string>evaluate</string> 
-                    <array class="java.lang.Class" length="3"> 
+                    <array class="java.lang.Class" length="2"> 
                      <void index="0"> 
                       <class>java.lang.String</class> 
                      </void> 
                      <void index="1"> 
                       <class>int</class> 
                      </void> 
-                     <void index="2"> 
-                      <class>int</class> 
-                     </void> 
                     </array> 
                    </object> 
                   </void> 
@@ -558,7 +564,7 @@
                     <void method="add"> 
                      <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
                       <void property="column"> 
-                       <string>key</string> 
+                       <string>value</string> 
                       </void> 
                       <void property="typeInfo"> 
                        <object id="TypeInfo1" class="org.apache.hadoop.hive.ql.parse.TypeInfo"/> 
@@ -571,17 +577,7 @@
                        <object id="TypeInfo2" class="org.apache.hadoop.hive.ql.parse.TypeInfo"/> 
                       </void> 
                       <void property="value"> 
-                       <int>0</int> 
-                      </void> 
-                     </object> 
-                    </void> 
-                    <void method="add"> 
-                     <object class="org.apache.hadoop.hive.ql.plan.exprNodeConstantDesc"> 
-                      <void property="typeInfo"> 
-                       <object idref="TypeInfo2"/> 
-                      </void> 
-                      <void property="value"> 
-                       <int>1</int> 
+                       <int>4</int> 
                       </void> 
                      </object> 
                     </void> 
@@ -592,6 +588,36 @@
                   </void> 
                  </object> 
                 </void> 
+               </object> 
+              </void> 
+              <void property="numPartitionFields"> 
+               <int>1</int> 
+              </void> 
+              <void property="tag"> 
+               <int>-1</int> 
+              </void> 
+              <void property="valueCols"> 
+               <object class="java.util.ArrayList"> 
+                <void method="add"> 
+                 <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
+                  <void property="column"> 
+                   <string>key</string> 
+                  </void> 
+                  <void property="typeInfo"> 
+                   <object id="TypeInfo3" class="org.apache.hadoop.hive.ql.parse.TypeInfo"/> 
+                  </void> 
+                 </object> 
+                </void> 
+                <void method="add"> 
+                 <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
+                  <void property="column"> 
+                   <string>value</string> 
+                  </void> 
+                  <void property="typeInfo"> 
+                   <object idref="TypeInfo1"/> 
+                  </void> 
+                 </object> 
+                </void> 
                 <void method="add"> 
                  <object class="org.apache.hadoop.hive.ql.plan.exprNodeFuncDesc"> 
                   <void property="UDFClass"> 
@@ -600,13 +626,16 @@
                   <void property="UDFMethod"> 
                    <object class="org.apache.hadoop.hive.ql.udf.UDFSubstr" method="getMethod"> 
                     <string>evaluate</string> 
-                    <array class="java.lang.Class" length="2"> 
+                    <array class="java.lang.Class" length="3"> 
                      <void index="0"> 
                       <class>java.lang.String</class> 
                      </void> 
                      <void index="1"> 
                       <class>int</class> 
                      </void> 
+                     <void index="2"> 
+                      <class>int</class> 
+                     </void> 
                     </array> 
                    </object> 
                   </void> 
@@ -615,10 +644,10 @@
                     <void method="add"> 
                      <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
                       <void property="column"> 
-                       <string>value</string> 
+                       <string>key</string> 
                       </void> 
                       <void property="typeInfo"> 
-                       <object id="TypeInfo3" class="org.apache.hadoop.hive.ql.parse.TypeInfo"/> 
+                       <object idref="TypeInfo3"/> 
                       </void> 
                      </object> 
                     </void> 
@@ -628,7 +657,17 @@
                        <object idref="TypeInfo2"/> 
                       </void> 
                       <void property="value"> 
-                       <int>4</int> 
+                       <int>0</int> 
+                      </void> 
+                     </object> 
+                    </void> 
+                    <void method="add"> 
+                     <object class="org.apache.hadoop.hive.ql.plan.exprNodeConstantDesc"> 
+                      <void property="typeInfo"> 
+                       <object idref="TypeInfo2"/> 
+                      </void> 
+                      <void property="value"> 
+                       <int>1</int> 
                       </void> 
                      </object> 
                     </void> 
@@ -641,21 +680,12 @@
                 </void> 
                </object> 
               </void> 
-              <void property="numPartitionFields"> 
-               <int>2147483647</int> 
-              </void> 
-              <void property="tag"> 
-               <int>-1</int> 
-              </void> 
-              <void property="valueCols"> 
-               <object class="java.util.ArrayList"/> 
-              </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="Vector1" class="java.util.Vector"> 
                 <void method="add"> 
                  <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
                   <void property="internalName"> 
@@ -669,7 +699,27 @@
                 <void method="add"> 
                  <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
                   <void property="internalName"> 
-                   <string>KEY.1</string> 
+                   <string>VALUE.0</string> 
+                  </void> 
+                  <void property="type"> 
+                   <object idref="TypeInfo3"/> 
+                  </void> 
+                 </object> 
+                </void> 
+                <void method="add"> 
+                 <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
+                  <void property="internalName"> 
+                   <string>VALUE.1</string> 
+                  </void> 
+                  <void property="type"> 
+                   <object idref="TypeInfo1"/> 
+                  </void> 
+                 </object> 
+                </void> 
+                <void method="add"> 
+                 <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
+                  <void property="internalName"> 
+                   <string>VALUE.2</string> 
                   </void> 
                   <void property="type"> 
                    <object idref="TypeInfo0"/> 
@@ -694,7 +744,7 @@
                <string>key</string> 
               </void> 
               <void property="type"> 
-               <object idref="TypeInfo1"/> 
+               <object idref="TypeInfo3"/> 
               </void> 
              </object> 
             </void> 
@@ -704,7 +754,7 @@
                <string>value</string> 
               </void> 
               <void property="type"> 
-               <object idref="TypeInfo3"/> 
+               <object idref="TypeInfo1"/> 
               </void> 
              </object> 
             </void> 
@@ -719,7 +769,7 @@
     <void property="pathToAliases"> 
      <object class="java.util.LinkedHashMap"> 
       <void method="put"> 
-       <string>file:/home/zshao/projects/hadoop/trunk/VENDOR/hadoop-0.17/build/contrib/hive/ql/test/data/warehouse/src</string> 
+       <string>file:/home/athusoo/apacheprojects/hadoop-core-trunk_ws3/build/contrib/hive/ql/test/data/warehouse/src</string> 
        <object class="java.util.ArrayList"> 
         <void method="add"> 
          <string>src</string> 
@@ -731,7 +781,7 @@
     <void property="pathToPartitionInfo"> 
      <object class="java.util.LinkedHashMap"> 
       <void method="put"> 
-       <string>file:/home/zshao/projects/hadoop/trunk/VENDOR/hadoop-0.17/build/contrib/hive/ql/test/data/warehouse/src</string> 
+       <string>file:/home/athusoo/apacheprojects/hadoop-core-trunk_ws3/build/contrib/hive/ql/test/data/warehouse/src</string> 
        <object class="org.apache.hadoop.hive.ql.plan.partitionDesc"> 
         <void property="partSpec"> 
          <object class="java.util.LinkedHashMap"/> 
@@ -784,7 +834,7 @@
             </void> 
             <void method="put"> 
              <string>location</string> 
-             <string>file:/home/zshao/projects/hadoop/trunk/VENDOR/hadoop-0.17/build/contrib/hive/ql/test/data/warehouse/src</string> 
+             <string>file:/home/athusoo/apacheprojects/hadoop-core-trunk_ws3/build/contrib/hive/ql/test/data/warehouse/src</string> 
             </void> 
            </object> 
           </void> 
@@ -801,52 +851,60 @@
      </object> 
     </void> 
     <void property="reducer"> 
-     <object class="org.apache.hadoop.hive.ql.exec.GroupByOperator"> 
+     <object class="org.apache.hadoop.hive.ql.exec.ForwardOperator"> 
       <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="dirName"> 
-             <string>/tmp/hive-zshao/1790864906.10001</string> 
-            </void> 
-            <void property="tableInfo"> 
-             <object idref="tableDesc1"/> 
-            </void> 
-           </object> 
-          </void> 
-          <void property="schema"> 
-           <object id="RowSchema0" 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.exec.ColumnInfo"> 
-                <void property="internalName"> 
-                 <string>0</string> 
-                </void> 
-                <void property="type"> 
-                 <object idref="TypeInfo0"/> 
-                </void> 
-               </object> 
-              </void> 
-              <void method="add"> 
-               <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
-                <void property="internalName"> 
-                 <string>1</string> 
+         <object class="org.apache.hadoop.hive.ql.exec.GroupByOperator"> 
+          <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="dirName"> 
+                 <string>/tmp/hive-athusoo/568862461.10001</string> 
                 </void> 
-                <void property="type"> 
-                 <object idref="TypeInfo0"/> 
+                <void property="tableInfo"> 
+                 <object idref="tableDesc1"/> 
                 </void> 
                </object> 
               </void> 
-              <void method="add"> 
-               <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
-                <void property="internalName"> 
-                 <string>2</string> 
-                </void> 
-                <void property="type"> 
-                 <object idref="TypeInfo0"/> 
+              <void property="schema"> 
+               <object id="RowSchema0" 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.exec.ColumnInfo"> 
+                    <void property="internalName"> 
+                     <string>0</string> 
+                    </void> 
+                    <void property="type"> 
+                     <object idref="TypeInfo0"/> 
+                    </void> 
+                   </object> 
+                  </void> 
+                  <void method="add"> 
+                   <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
+                    <void property="internalName"> 
+                     <string>1</string> 
+                    </void> 
+                    <void property="type"> 
+                     <object idref="TypeInfo0"/> 
+                    </void> 
+                   </object> 
+                  </void> 
+                  <void method="add"> 
+                   <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
+                    <void property="internalName"> 
+                     <string>2</string> 
+                    </void> 
+                    <void property="type"> 
+                     <object idref="TypeInfo0"/> 
+                    </void> 
+                   </object> 
+                  </void> 
+                 </object> 
                 </void> 
                </object> 
               </void> 
@@ -854,49 +912,63 @@
             </void> 
            </object> 
           </void> 
-         </object> 
-        </void> 
-       </object> 
-      </void> 
-      <void property="conf"> 
-       <object class="org.apache.hadoop.hive.ql.plan.groupByDesc"> 
-        <void property="aggregators"> 
-         <object class="java.util.ArrayList"> 
-          <void method="add"> 
-           <object class="org.apache.hadoop.hive.ql.plan.aggregationDesc"> 
-            <void property="aggregationClass"> 
-             <class>org.apache.hadoop.hive.ql.udf.UDAFCount</class> 
-            </void> 
-            <void property="distinct"> 
-             <boolean>true</boolean> 
-            </void> 
-            <void property="parameters"> 
+          <void property="conf"> 
+           <object class="org.apache.hadoop.hive.ql.plan.groupByDesc"> 
+            <void property="aggregators"> 
              <object class="java.util.ArrayList"> 
               <void method="add"> 
-               <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
-                <void property="column"> 
-                 <string>KEY.1</string> 
+               <object class="org.apache.hadoop.hive.ql.plan.aggregationDesc"> 
+                <void property="aggregationClass"> 
+                 <class>org.apache.hadoop.hive.ql.udf.UDAFCount</class> 
                 </void> 
-                <void property="typeInfo"> 
-                 <object idref="TypeInfo0"/> 
+                <void property="distinct"> 
+                 <boolean>true</boolean> 
+                </void> 
+                <void property="parameters"> 
+                 <object class="java.util.ArrayList"> 
+                  <void method="add"> 
+                   <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
+                    <void property="column"> 
+                     <string>KEY.0</string> 
+                    </void> 
+                    <void property="typeInfo"> 
+                     <object idref="TypeInfo0"/> 
+                    </void> 
+                   </object> 
+                  </void> 
+                 </object> 
+                </void> 
+               </object> 
+              </void> 
+              <void method="add"> 
+               <object class="org.apache.hadoop.hive.ql.plan.aggregationDesc"> 
+                <void property="aggregationClass"> 
+                 <class>org.apache.hadoop.hive.ql.udf.UDAFSum</class> 
+                </void> 
+                <void property="parameters"> 
+                 <object class="java.util.ArrayList"> 
+                  <void method="add"> 
+                   <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
+                    <void property="column"> 
+                     <string>KEY.0</string> 
+                    </void> 
+                    <void property="typeInfo"> 
+                     <object idref="TypeInfo0"/> 
+                    </void> 
+                   </object> 
+                  </void> 
+                 </object> 
                 </void> 
                </object> 
               </void> 
              </object> 
             </void> 
-           </object> 
-          </void> 
-          <void method="add"> 
-           <object class="org.apache.hadoop.hive.ql.plan.aggregationDesc"> 
-            <void property="aggregationClass"> 
-             <class>org.apache.hadoop.hive.ql.udf.UDAFSum</class> 
-            </void> 
-            <void property="parameters"> 
+            <void property="keys"> 
              <object class="java.util.ArrayList"> 
               <void method="add"> 
                <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
                 <void property="column"> 
-                 <string>KEY.1</string> 
+                 <string>VALUE.2</string> 
                 </void> 
                 <void property="typeInfo"> 
                  <object idref="TypeInfo0"/> 
@@ -905,33 +977,26 @@
               </void> 
              </object> 
             </void> 
-           </object> 
-          </void> 
-         </object> 
-        </void> 
-        <void property="keys"> 
-         <object class="java.util.ArrayList"> 
-          <void method="add"> 
-           <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
-            <void property="column"> 
-             <string>KEY.0</string> 
-            </void> 
-            <void property="typeInfo"> 
-             <object idref="TypeInfo0"/> 
+            <void property="mode"> 
+             <object class="org.apache.hadoop.hive.ql.plan.groupByDesc$Mode" method="valueOf"> 
+              <string>PARTIAL1</string> 
+             </object> 
             </void> 
            </object> 
           </void> 
-         </object> 
-        </void> 
-        <void property="mode"> 
-         <object class="org.apache.hadoop.hive.ql.plan.groupByDesc$Mode" method="valueOf"> 
-          <string>PARTIAL1</string> 
+          <void property="schema"> 
+           <object idref="RowSchema0"/> 
+          </void> 
          </object> 
         </void> 
        </object> 
       </void> 
       <void property="schema"> 
-       <object idref="RowSchema0"/> 
+       <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
+        <void property="signature"> 
+         <object idref="Vector1"/> 
+        </void> 
+       </object> 
       </void> 
      </object> 
     </void> 

Modified: hadoop/core/trunk/src/contrib/hive/ql/src/test/results/compiler/plan/groupby3.q.xml
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/contrib/hive/ql/src/test/results/compiler/plan/groupby3.q.xml?rev=696736&r1=696735&r2=696736&view=diff
==============================================================================
--- hadoop/core/trunk/src/contrib/hive/ql/src/test/results/compiler/plan/groupby3.q.xml (original)
+++ hadoop/core/trunk/src/contrib/hive/ql/src/test/results/compiler/plan/groupby3.q.xml Thu Sep 18 10:37:59 2008
@@ -9,6 +9,9 @@
        <object class="java.util.ArrayList"> 
         <void method="add"> 
          <object class="org.apache.hadoop.hive.ql.exec.MoveTask"> 
+          <void property="id"> 
+           <string>Stage-1</string> 
+          </void> 
           <void property="parentTasks"> 
            <object class="java.util.ArrayList"> 
             <void method="add"> 
@@ -32,7 +35,7 @@
                  <boolean>true</boolean> 
                 </void> 
                 <void property="sourceDir"> 
-                 <string>/tmp/hive-zshao/11239372.10000.insclause-0</string> 
+                 <string>/tmp/hive-athusoo/737889012.10000.insclause-0</string> 
                 </void> 
                 <void property="table"> 
                  <object id="tableDesc0" class="org.apache.hadoop.hive.ql.plan.tableDesc"> 
@@ -82,7 +85,7 @@
                     </void> 
                     <void method="put"> 
                      <string>location</string> 
-                     <string>file:/home/zshao/projects/hadoop/trunk/VENDOR/hadoop-0.17/build/contrib/hive/ql/test/data/warehouse/dest1</string> 
+                     <string>file:/home/athusoo/apacheprojects/hadoop-core-trunk_ws3/build/contrib/hive/ql/test/data/warehouse/dest1</string> 
                     </void> 
                    </object> 
                   </void> 
@@ -104,6 +107,9 @@
         </void> 
        </object> 
       </void> 
+      <void property="id"> 
+       <string>Stage-3</string> 
+      </void> 
       <void property="parentTasks"> 
        <object class="java.util.ArrayList"> 
         <void method="add"> 
@@ -116,7 +122,7 @@
         <void property="aliasToWork"> 
          <object class="java.util.HashMap"> 
           <void method="put"> 
-           <string>/tmp/hive-zshao/11239372.10001</string> 
+           <string>/tmp/hive-athusoo/737889012.10001</string> 
            <object class="org.apache.hadoop.hive.ql.exec.ReduceSinkOperator"> 
             <void property="conf"> 
              <object class="org.apache.hadoop.hive.ql.plan.reduceSinkDesc"> 
@@ -247,10 +253,10 @@
         <void property="pathToAliases"> 
          <object class="java.util.LinkedHashMap"> 
           <void method="put"> 
-           <string>/tmp/hive-zshao/11239372.10001</string> 
+           <string>/tmp/hive-athusoo/737889012.10001</string> 
            <object class="java.util.ArrayList"> 
             <void method="add"> 
-             <string>/tmp/hive-zshao/11239372.10001</string> 
+             <string>/tmp/hive-athusoo/737889012.10001</string> 
             </void> 
            </object> 
           </void> 
@@ -259,7 +265,7 @@
         <void property="pathToPartitionInfo"> 
          <object class="java.util.LinkedHashMap"> 
           <void method="put"> 
-           <string>/tmp/hive-zshao/11239372.10001</string> 
+           <string>/tmp/hive-athusoo/737889012.10001</string> 
            <object class="org.apache.hadoop.hive.ql.plan.partitionDesc"> 
             <void property="tableDesc"> 
              <object id="tableDesc1" class="org.apache.hadoop.hive.ql.plan.tableDesc"> 
@@ -303,7 +309,7 @@
                   <void property="conf"> 
                    <object class="org.apache.hadoop.hive.ql.plan.fileSinkDesc"> 
                     <void property="dirName"> 
-                     <string>/tmp/hive-zshao/11239372.10000.insclause-0</string> 
+                     <string>/tmp/hive-athusoo/737889012.10000.insclause-0</string> 
                     </void> 
                     <void property="tableInfo"> 
                      <object idref="tableDesc0"/> 
@@ -628,6 +634,9 @@
     </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="aliasToWork"> 
@@ -693,20 +702,41 @@
                </object> 
               </void> 
               <void property="numPartitionFields"> 
-               <int>2147483647</int> 
+               <int>1</int> 
               </void> 
               <void property="tag"> 
                <int>-1</int> 
               </void> 
               <void property="valueCols"> 
-               <object class="java.util.ArrayList"/> 
+               <object class="java.util.ArrayList"> 
+                <void method="add"> 
+                 <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
+                  <void property="column"> 
+                   <string>key</string> 
+                  </void> 
+                  <void property="typeInfo"> 
+                   <object id="TypeInfo2" class="org.apache.hadoop.hive.ql.parse.TypeInfo"/> 
+                  </void> 
+                 </object> 
+                </void> 
+                <void method="add"> 
+                 <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
+                  <void property="column"> 
+                   <string>value</string> 
+                  </void> 
+                  <void property="typeInfo"> 
+                   <object idref="TypeInfo1"/> 
+                  </void> 
+                 </object> 
+                </void> 
+               </object> 
               </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="Vector1" class="java.util.Vector"> 
                 <void method="add"> 
                  <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
                   <void property="internalName"> 
@@ -717,6 +747,26 @@
                   </void> 
                  </object> 
                 </void> 
+                <void method="add"> 
+                 <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
+                  <void property="internalName"> 
+                   <string>VALUE.0</string> 
+                  </void> 
+                  <void property="type"> 
+                   <object idref="TypeInfo2"/> 
+                  </void> 
+                 </object> 
+                </void> 
+                <void method="add"> 
+                 <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
+                  <void property="internalName"> 
+                   <string>VALUE.1</string> 
+                  </void> 
+                  <void property="type"> 
+                   <object idref="TypeInfo1"/> 
+                  </void> 
+                 </object> 
+                </void> 
                </object> 
               </void> 
              </object> 
@@ -735,7 +785,7 @@
                <string>key</string> 
               </void> 
               <void property="type"> 
-               <object class="org.apache.hadoop.hive.ql.parse.TypeInfo"/> 
+               <object idref="TypeInfo2"/> 
               </void> 
              </object> 
             </void> 
@@ -760,7 +810,7 @@
     <void property="pathToAliases"> 
      <object class="java.util.LinkedHashMap"> 
       <void method="put"> 
-       <string>file:/home/zshao/projects/hadoop/trunk/VENDOR/hadoop-0.17/build/contrib/hive/ql/test/data/warehouse/src</string> 
+       <string>file:/home/athusoo/apacheprojects/hadoop-core-trunk_ws3/build/contrib/hive/ql/test/data/warehouse/src</string> 
        <object class="java.util.ArrayList"> 
         <void method="add"> 
          <string>src</string> 
@@ -772,7 +822,7 @@
     <void property="pathToPartitionInfo"> 
      <object class="java.util.LinkedHashMap"> 
       <void method="put"> 
-       <string>file:/home/zshao/projects/hadoop/trunk/VENDOR/hadoop-0.17/build/contrib/hive/ql/test/data/warehouse/src</string> 
+       <string>file:/home/athusoo/apacheprojects/hadoop-core-trunk_ws3/build/contrib/hive/ql/test/data/warehouse/src</string> 
        <object class="org.apache.hadoop.hive.ql.plan.partitionDesc"> 
         <void property="partSpec"> 
          <object class="java.util.LinkedHashMap"/> 
@@ -825,7 +875,7 @@
             </void> 
             <void method="put"> 
              <string>location</string> 
-             <string>file:/home/zshao/projects/hadoop/trunk/VENDOR/hadoop-0.17/build/contrib/hive/ql/test/data/warehouse/src</string> 
+             <string>file:/home/athusoo/apacheprojects/hadoop-core-trunk_ws3/build/contrib/hive/ql/test/data/warehouse/src</string> 
             </void> 
            </object> 
           </void> 
@@ -842,72 +892,80 @@
      </object> 
     </void> 
     <void property="reducer"> 
-     <object class="org.apache.hadoop.hive.ql.exec.GroupByOperator"> 
+     <object class="org.apache.hadoop.hive.ql.exec.ForwardOperator"> 
       <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="dirName"> 
-             <string>/tmp/hive-zshao/11239372.10001</string> 
-            </void> 
-            <void property="tableInfo"> 
-             <object idref="tableDesc1"/> 
-            </void> 
-           </object> 
-          </void> 
-          <void property="schema"> 
-           <object id="RowSchema0" 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.exec.ColumnInfo"> 
-                <void property="internalName"> 
-                 <string>0</string> 
-                </void> 
-                <void property="type"> 
-                 <object idref="TypeInfo0"/> 
-                </void> 
-               </object> 
-              </void> 
-              <void method="add"> 
-               <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
-                <void property="internalName"> 
-                 <string>1</string> 
-                </void> 
-                <void property="type"> 
-                 <object idref="TypeInfo0"/> 
-                </void> 
-               </object> 
-              </void> 
-              <void method="add"> 
-               <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
-                <void property="internalName"> 
-                 <string>2</string> 
-                </void> 
-                <void property="type"> 
-                 <object idref="TypeInfo0"/> 
-                </void> 
-               </object> 
-              </void> 
-              <void method="add"> 
-               <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
-                <void property="internalName"> 
-                 <string>3</string> 
+         <object class="org.apache.hadoop.hive.ql.exec.GroupByOperator"> 
+          <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="dirName"> 
+                 <string>/tmp/hive-athusoo/737889012.10001</string> 
                 </void> 
-                <void property="type"> 
-                 <object idref="TypeInfo0"/> 
+                <void property="tableInfo"> 
+                 <object idref="tableDesc1"/> 
                 </void> 
                </object> 
               </void> 
-              <void method="add"> 
-               <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
-                <void property="internalName"> 
-                 <string>4</string> 
-                </void> 
-                <void property="type"> 
-                 <object idref="TypeInfo0"/> 
+              <void property="schema"> 
+               <object id="RowSchema0" 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.exec.ColumnInfo"> 
+                    <void property="internalName"> 
+                     <string>0</string> 
+                    </void> 
+                    <void property="type"> 
+                     <object idref="TypeInfo0"/> 
+                    </void> 
+                   </object> 
+                  </void> 
+                  <void method="add"> 
+                   <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
+                    <void property="internalName"> 
+                     <string>1</string> 
+                    </void> 
+                    <void property="type"> 
+                     <object idref="TypeInfo0"/> 
+                    </void> 
+                   </object> 
+                  </void> 
+                  <void method="add"> 
+                   <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
+                    <void property="internalName"> 
+                     <string>2</string> 
+                    </void> 
+                    <void property="type"> 
+                     <object idref="TypeInfo0"/> 
+                    </void> 
+                   </object> 
+                  </void> 
+                  <void method="add"> 
+                   <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
+                    <void property="internalName"> 
+                     <string>3</string> 
+                    </void> 
+                    <void property="type"> 
+                     <object idref="TypeInfo0"/> 
+                    </void> 
+                   </object> 
+                  </void> 
+                  <void method="add"> 
+                   <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
+                    <void property="internalName"> 
+                     <string>4</string> 
+                    </void> 
+                    <void property="type"> 
+                     <object idref="TypeInfo0"/> 
+                    </void> 
+                   </object> 
+                  </void> 
+                 </object> 
                 </void> 
                </object> 
               </void> 
@@ -915,136 +973,143 @@
             </void> 
            </object> 
           </void> 
-         </object> 
-        </void> 
-       </object> 
-      </void> 
-      <void property="conf"> 
-       <object class="org.apache.hadoop.hive.ql.plan.groupByDesc"> 
-        <void property="aggregators"> 
-         <object class="java.util.ArrayList"> 
-          <void method="add"> 
-           <object class="org.apache.hadoop.hive.ql.plan.aggregationDesc"> 
-            <void property="aggregationClass"> 
-             <class>org.apache.hadoop.hive.ql.udf.UDAFAvg</class> 
-            </void> 
-            <void property="distinct"> 
-             <boolean>true</boolean> 
-            </void> 
-            <void property="parameters"> 
+          <void property="conf"> 
+           <object class="org.apache.hadoop.hive.ql.plan.groupByDesc"> 
+            <void property="aggregators"> 
              <object class="java.util.ArrayList"> 
               <void method="add"> 
-               <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
-                <void property="column"> 
-                 <string>KEY.0</string> 
+               <object class="org.apache.hadoop.hive.ql.plan.aggregationDesc"> 
+                <void property="aggregationClass"> 
+                 <class>org.apache.hadoop.hive.ql.udf.UDAFAvg</class> 
                 </void> 
-                <void property="typeInfo"> 
-                 <object idref="TypeInfo0"/> 
+                <void property="distinct"> 
+                 <boolean>true</boolean> 
+                </void> 
+                <void property="parameters"> 
+                 <object class="java.util.ArrayList"> 
+                  <void method="add"> 
+                   <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
+                    <void property="column"> 
+                     <string>KEY.0</string> 
+                    </void> 
+                    <void property="typeInfo"> 
+                     <object idref="TypeInfo0"/> 
+                    </void> 
+                   </object> 
+                  </void> 
+                 </object> 
                 </void> 
                </object> 
               </void> 
-             </object> 
-            </void> 
-           </object> 
-          </void> 
-          <void method="add"> 
-           <object class="org.apache.hadoop.hive.ql.plan.aggregationDesc"> 
-            <void property="aggregationClass"> 
-             <class>org.apache.hadoop.hive.ql.udf.UDAFSum</class> 
-            </void> 
-            <void property="parameters"> 
-             <object class="java.util.ArrayList"> 
               <void method="add"> 
-               <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
-                <void property="column"> 
-                 <string>KEY.0</string> 
+               <object class="org.apache.hadoop.hive.ql.plan.aggregationDesc"> 
+                <void property="aggregationClass"> 
+                 <class>org.apache.hadoop.hive.ql.udf.UDAFSum</class> 
                 </void> 
-                <void property="typeInfo"> 
-                 <object idref="TypeInfo0"/> 
+                <void property="parameters"> 
+                 <object class="java.util.ArrayList"> 
+                  <void method="add"> 
+                   <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
+                    <void property="column"> 
+                     <string>KEY.0</string> 
+                    </void> 
+                    <void property="typeInfo"> 
+                     <object idref="TypeInfo0"/> 
+                    </void> 
+                   </object> 
+                  </void> 
+                 </object> 
                 </void> 
                </object> 
               </void> 
-             </object> 
-            </void> 
-           </object> 
-          </void> 
-          <void method="add"> 
-           <object class="org.apache.hadoop.hive.ql.plan.aggregationDesc"> 
-            <void property="aggregationClass"> 
-             <class>org.apache.hadoop.hive.ql.udf.UDAFAvg</class> 
-            </void> 
-            <void property="parameters"> 
-             <object class="java.util.ArrayList"> 
               <void method="add"> 
-               <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
-                <void property="column"> 
-                 <string>KEY.0</string> 
+               <object class="org.apache.hadoop.hive.ql.plan.aggregationDesc"> 
+                <void property="aggregationClass"> 
+                 <class>org.apache.hadoop.hive.ql.udf.UDAFAvg</class> 
                 </void> 
-                <void property="typeInfo"> 
-                 <object idref="TypeInfo0"/> 
+                <void property="parameters"> 
+                 <object class="java.util.ArrayList"> 
+                  <void method="add"> 
+                   <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
+                    <void property="column"> 
+                     <string>KEY.0</string> 
+                    </void> 
+                    <void property="typeInfo"> 
+                     <object idref="TypeInfo0"/> 
+                    </void> 
+                   </object> 
+                  </void> 
+                 </object> 
                 </void> 
                </object> 
               </void> 
-             </object> 
-            </void> 
-           </object> 
-          </void> 
-          <void method="add"> 
-           <object class="org.apache.hadoop.hive.ql.plan.aggregationDesc"> 
-            <void property="aggregationClass"> 
-             <class>org.apache.hadoop.hive.ql.udf.UDAFMin</class> 
-            </void> 
-            <void property="parameters"> 
-             <object class="java.util.ArrayList"> 
               <void method="add"> 
-               <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
-                <void property="column"> 
-                 <string>KEY.0</string> 
+               <object class="org.apache.hadoop.hive.ql.plan.aggregationDesc"> 
+                <void property="aggregationClass"> 
+                 <class>org.apache.hadoop.hive.ql.udf.UDAFMin</class> 
                 </void> 
-                <void property="typeInfo"> 
-                 <object idref="TypeInfo0"/> 
+                <void property="parameters"> 
+                 <object class="java.util.ArrayList"> 
+                  <void method="add"> 
+                   <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
+                    <void property="column"> 
+                     <string>KEY.0</string> 
+                    </void> 
+                    <void property="typeInfo"> 
+                     <object idref="TypeInfo0"/> 
+                    </void> 
+                   </object> 
+                  </void> 
+                 </object> 
                 </void> 
                </object> 
               </void> 
-             </object> 
-            </void> 
-           </object> 
-          </void> 
-          <void method="add"> 
-           <object class="org.apache.hadoop.hive.ql.plan.aggregationDesc"> 
-            <void property="aggregationClass"> 
-             <class>org.apache.hadoop.hive.ql.udf.UDAFMax</class> 
-            </void> 
-            <void property="parameters"> 
-             <object class="java.util.ArrayList"> 
               <void method="add"> 
-               <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
-                <void property="column"> 
-                 <string>KEY.0</string> 
+               <object class="org.apache.hadoop.hive.ql.plan.aggregationDesc"> 
+                <void property="aggregationClass"> 
+                 <class>org.apache.hadoop.hive.ql.udf.UDAFMax</class> 
                 </void> 
-                <void property="typeInfo"> 
-                 <object idref="TypeInfo0"/> 
+                <void property="parameters"> 
+                 <object class="java.util.ArrayList"> 
+                  <void method="add"> 
+                   <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
+                    <void property="column"> 
+                     <string>KEY.0</string> 
+                    </void> 
+                    <void property="typeInfo"> 
+                     <object idref="TypeInfo0"/> 
+                    </void> 
+                   </object> 
+                  </void> 
+                 </object> 
                 </void> 
                </object> 
               </void> 
              </object> 
             </void> 
+            <void property="keys"> 
+             <object class="java.util.ArrayList"/> 
+            </void> 
+            <void property="mode"> 
+             <object class="org.apache.hadoop.hive.ql.plan.groupByDesc$Mode" method="valueOf"> 
+              <string>PARTIAL1</string> 
+             </object> 
+            </void> 
            </object> 
           </void> 
-         </object> 
-        </void> 
-        <void property="keys"> 
-         <object class="java.util.ArrayList"/> 
-        </void> 
-        <void property="mode"> 
-         <object class="org.apache.hadoop.hive.ql.plan.groupByDesc$Mode" method="valueOf"> 
-          <string>PARTIAL1</string> 
+          <void property="schema"> 
+           <object idref="RowSchema0"/> 
+          </void> 
          </object> 
         </void> 
        </object> 
       </void> 
       <void property="schema"> 
-       <object idref="RowSchema0"/> 
+       <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
+        <void property="signature"> 
+         <object idref="Vector1"/> 
+        </void> 
+       </object> 
       </void> 
      </object> 
     </void> 

Modified: hadoop/core/trunk/src/contrib/hive/ql/src/test/results/compiler/plan/groupby4.q.xml
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/contrib/hive/ql/src/test/results/compiler/plan/groupby4.q.xml?rev=696736&r1=696735&r2=696736&view=diff
==============================================================================
--- hadoop/core/trunk/src/contrib/hive/ql/src/test/results/compiler/plan/groupby4.q.xml (original)
+++ hadoop/core/trunk/src/contrib/hive/ql/src/test/results/compiler/plan/groupby4.q.xml Thu Sep 18 10:37:59 2008
@@ -9,6 +9,9 @@
        <object class="java.util.ArrayList"> 
         <void method="add"> 
          <object class="org.apache.hadoop.hive.ql.exec.MoveTask"> 
+          <void property="id"> 
+           <string>Stage-1</string> 
+          </void> 
           <void property="parentTasks"> 
            <object class="java.util.ArrayList"> 
             <void method="add"> 
@@ -32,7 +35,7 @@
                  <boolean>true</boolean> 
                 </void> 
                 <void property="sourceDir"> 
-                 <string>/tmp/hive-zshao/267619947.10000.insclause-0</string> 
+                 <string>/tmp/hive-athusoo/103756706.10000.insclause-0</string> 
                 </void> 
                 <void property="table"> 
                  <object id="tableDesc0" class="org.apache.hadoop.hive.ql.plan.tableDesc"> 
@@ -82,7 +85,7 @@
                     </void> 
                     <void method="put"> 
                      <string>location</string> 
-                     <string>file:/home/zshao/projects/hadoop/trunk/VENDOR/hadoop-0.17/build/contrib/hive/ql/test/data/warehouse/dest1</string> 
+                     <string>file:/home/athusoo/apacheprojects/hadoop-core-trunk_ws3/build/contrib/hive/ql/test/data/warehouse/dest1</string> 
                     </void> 
                    </object> 
                   </void> 
@@ -104,6 +107,9 @@
         </void> 
        </object> 
       </void> 
+      <void property="id"> 
+       <string>Stage-3</string> 
+      </void> 
       <void property="parentTasks"> 
        <object class="java.util.ArrayList"> 
         <void method="add"> 
@@ -116,7 +122,7 @@
         <void property="aliasToWork"> 
          <object class="java.util.HashMap"> 
           <void method="put"> 
-           <string>/tmp/hive-zshao/267619947.10001</string> 
+           <string>/tmp/hive-athusoo/103756706.10001</string> 
            <object class="org.apache.hadoop.hive.ql.exec.ReduceSinkOperator"> 
             <void property="conf"> 
              <object class="org.apache.hadoop.hive.ql.plan.reduceSinkDesc"> 
@@ -170,10 +176,10 @@
         <void property="pathToAliases"> 
          <object class="java.util.LinkedHashMap"> 
           <void method="put"> 
-           <string>/tmp/hive-zshao/267619947.10001</string> 
+           <string>/tmp/hive-athusoo/103756706.10001</string> 
            <object class="java.util.ArrayList"> 
             <void method="add"> 
-             <string>/tmp/hive-zshao/267619947.10001</string> 
+             <string>/tmp/hive-athusoo/103756706.10001</string> 
             </void> 
            </object> 
           </void> 
@@ -182,7 +188,7 @@
         <void property="pathToPartitionInfo"> 
          <object class="java.util.LinkedHashMap"> 
           <void method="put"> 
-           <string>/tmp/hive-zshao/267619947.10001</string> 
+           <string>/tmp/hive-athusoo/103756706.10001</string> 
            <object class="org.apache.hadoop.hive.ql.plan.partitionDesc"> 
             <void property="tableDesc"> 
              <object id="tableDesc1" class="org.apache.hadoop.hive.ql.plan.tableDesc"> 
@@ -226,7 +232,7 @@
                   <void property="conf"> 
                    <object class="org.apache.hadoop.hive.ql.plan.fileSinkDesc"> 
                     <void property="dirName"> 
-                     <string>/tmp/hive-zshao/267619947.10000.insclause-0</string> 
+                     <string>/tmp/hive-athusoo/103756706.10000.insclause-0</string> 
                     </void> 
                     <void property="tableInfo"> 
                      <object idref="tableDesc0"/> 
@@ -336,6 +342,9 @@
     </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="aliasToWork"> 
@@ -352,6 +361,39 @@
               <void property="keyCols"> 
                <object class="java.util.ArrayList"> 
                 <void method="add"> 
+                 <object class="org.apache.hadoop.hive.ql.plan.exprNodeNullDesc"/> 
+                </void> 
+               </object> 
+              </void> 
+              <void property="numPartitionFields"> 
+               <int>-1</int> 
+              </void> 
+              <void property="tag"> 
+               <int>-1</int> 
+              </void> 
+              <void property="valueCols"> 
+               <object class="java.util.ArrayList"> 
+                <void method="add"> 
+                 <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
+                  <void property="column"> 
+                   <string>key</string> 
+                  </void> 
+                  <void property="typeInfo"> 
+                   <object id="TypeInfo1" class="org.apache.hadoop.hive.ql.parse.TypeInfo"/> 
+                  </void> 
+                 </object> 
+                </void> 
+                <void method="add"> 
+                 <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
+                  <void property="column"> 
+                   <string>value</string> 
+                  </void> 
+                  <void property="typeInfo"> 
+                   <object id="TypeInfo2" class="org.apache.hadoop.hive.ql.parse.TypeInfo"/> 
+                  </void> 
+                 </object> 
+                </void> 
+                <void method="add"> 
                  <object class="org.apache.hadoop.hive.ql.plan.exprNodeFuncDesc"> 
                   <void property="UDFClass"> 
                    <class>org.apache.hadoop.hive.ql.udf.UDFSubstr</class> 
@@ -380,14 +422,14 @@
                        <string>key</string> 
                       </void> 
                       <void property="typeInfo"> 
-                       <object id="TypeInfo1" class="org.apache.hadoop.hive.ql.parse.TypeInfo"/> 
+                       <object idref="TypeInfo1"/> 
                       </void> 
                      </object> 
                     </void> 
                     <void method="add"> 
                      <object class="org.apache.hadoop.hive.ql.plan.exprNodeConstantDesc"> 
                       <void property="typeInfo"> 
-                       <object id="TypeInfo2" class="org.apache.hadoop.hive.ql.parse.TypeInfo"/> 
+                       <object id="TypeInfo3" class="org.apache.hadoop.hive.ql.parse.TypeInfo"/> 
                       </void> 
                       <void property="value"> 
                        <int>0</int> 
@@ -397,7 +439,7 @@
                     <void method="add"> 
                      <object class="org.apache.hadoop.hive.ql.plan.exprNodeConstantDesc"> 
                       <void property="typeInfo"> 
-                       <object idref="TypeInfo2"/> 
+                       <object idref="TypeInfo3"/> 
                       </void> 
                       <void property="value"> 
                        <int>1</int> 
@@ -413,25 +455,36 @@
                 </void> 
                </object> 
               </void> 
-              <void property="numPartitionFields"> 
-               <int>-1</int> 
-              </void> 
-              <void property="tag"> 
-               <int>-1</int> 
-              </void> 
-              <void property="valueCols"> 
-               <object class="java.util.ArrayList"/> 
-              </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="Vector1" class="java.util.Vector"> 
                 <void method="add"> 
                  <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
                   <void property="internalName"> 
-                   <string>KEY.0</string> 
+                   <string>VALUE.0</string> 
+                  </void> 
+                  <void property="type"> 
+                   <object idref="TypeInfo1"/> 
+                  </void> 
+                 </object> 
+                </void> 
+                <void method="add"> 
+                 <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
+                  <void property="internalName"> 
+                   <string>VALUE.1</string> 
+                  </void> 
+                  <void property="type"> 
+                   <object idref="TypeInfo2"/> 
+                  </void> 
+                 </object> 
+                </void> 
+                <void method="add"> 
+                 <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
+                  <void property="internalName"> 
+                   <string>VALUE.2</string> 
                   </void> 
                   <void property="type"> 
                    <object idref="TypeInfo0"/> 
@@ -466,7 +519,7 @@
                <string>value</string> 
               </void> 
               <void property="type"> 
-               <object class="org.apache.hadoop.hive.ql.parse.TypeInfo"/> 
+               <object idref="TypeInfo2"/> 
               </void> 
              </object> 
             </void> 
@@ -481,7 +534,7 @@
     <void property="pathToAliases"> 
      <object class="java.util.LinkedHashMap"> 
       <void method="put"> 
-       <string>file:/home/zshao/projects/hadoop/trunk/VENDOR/hadoop-0.17/build/contrib/hive/ql/test/data/warehouse/src</string> 
+       <string>file:/home/athusoo/apacheprojects/hadoop-core-trunk_ws3/build/contrib/hive/ql/test/data/warehouse/src</string> 
        <object class="java.util.ArrayList"> 
         <void method="add"> 
          <string>src</string> 
@@ -493,7 +546,7 @@
     <void property="pathToPartitionInfo"> 
      <object class="java.util.LinkedHashMap"> 
       <void method="put"> 
-       <string>file:/home/zshao/projects/hadoop/trunk/VENDOR/hadoop-0.17/build/contrib/hive/ql/test/data/warehouse/src</string> 
+       <string>file:/home/athusoo/apacheprojects/hadoop-core-trunk_ws3/build/contrib/hive/ql/test/data/warehouse/src</string> 
        <object class="org.apache.hadoop.hive.ql.plan.partitionDesc"> 
         <void property="partSpec"> 
          <object class="java.util.LinkedHashMap"/> 
@@ -546,7 +599,7 @@
             </void> 
             <void method="put"> 
              <string>location</string> 
-             <string>file:/home/zshao/projects/hadoop/trunk/VENDOR/hadoop-0.17/build/contrib/hive/ql/test/data/warehouse/src</string> 
+             <string>file:/home/athusoo/apacheprojects/hadoop-core-trunk_ws3/build/contrib/hive/ql/test/data/warehouse/src</string> 
             </void> 
            </object> 
           </void> 
@@ -563,71 +616,86 @@
      </object> 
     </void> 
     <void property="reducer"> 
-     <object class="org.apache.hadoop.hive.ql.exec.GroupByOperator"> 
+     <object class="org.apache.hadoop.hive.ql.exec.ForwardOperator"> 
       <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="dirName"> 
-             <string>/tmp/hive-zshao/267619947.10001</string> 
-            </void> 
-            <void property="tableInfo"> 
-             <object idref="tableDesc1"/> 
+         <object class="org.apache.hadoop.hive.ql.exec.GroupByOperator"> 
+          <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="dirName"> 
+                 <string>/tmp/hive-athusoo/103756706.10001</string> 
+                </void> 
+                <void property="tableInfo"> 
+                 <object idref="tableDesc1"/> 
+                </void> 
+               </object> 
+              </void> 
+              <void property="schema"> 
+               <object id="RowSchema0" 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.exec.ColumnInfo"> 
+                    <void property="internalName"> 
+                     <string>0</string> 
+                    </void> 
+                    <void property="type"> 
+                     <object idref="TypeInfo0"/> 
+                    </void> 
+                   </object> 
+                  </void> 
+                 </object> 
+                </void> 
+               </object> 
+              </void> 
+             </object> 
             </void> 
            </object> 
           </void> 
-          <void property="schema"> 
-           <object id="RowSchema0" class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
-            <void property="signature"> 
-             <object class="java.util.Vector"> 
+          <void property="conf"> 
+           <object class="org.apache.hadoop.hive.ql.plan.groupByDesc"> 
+            <void property="aggregators"> 
+             <object class="java.util.ArrayList"/> 
+            </void> 
+            <void property="keys"> 
+             <object class="java.util.ArrayList"> 
               <void method="add"> 
-               <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
-                <void property="internalName"> 
-                 <string>0</string> 
+               <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
+                <void property="column"> 
+                 <string>VALUE.2</string> 
                 </void> 
-                <void property="type"> 
+                <void property="typeInfo"> 
                  <object idref="TypeInfo0"/> 
                 </void> 
                </object> 
               </void> 
              </object> 
             </void> 
-           </object> 
-          </void> 
-         </object> 
-        </void> 
-       </object> 
-      </void> 
-      <void property="conf"> 
-       <object class="org.apache.hadoop.hive.ql.plan.groupByDesc"> 
-        <void property="aggregators"> 
-         <object class="java.util.ArrayList"/> 
-        </void> 
-        <void property="keys"> 
-         <object class="java.util.ArrayList"> 
-          <void method="add"> 
-           <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
-            <void property="column"> 
-             <string>KEY.0</string> 
-            </void> 
-            <void property="typeInfo"> 
-             <object idref="TypeInfo0"/> 
+            <void property="mode"> 
+             <object class="org.apache.hadoop.hive.ql.plan.groupByDesc$Mode" method="valueOf"> 
+              <string>PARTIAL1</string> 
+             </object> 
             </void> 
            </object> 
           </void> 
-         </object> 
-        </void> 
-        <void property="mode"> 
-         <object class="org.apache.hadoop.hive.ql.plan.groupByDesc$Mode" method="valueOf"> 
-          <string>PARTIAL1</string> 
+          <void property="schema"> 
+           <object idref="RowSchema0"/> 
+          </void> 
          </object> 
         </void> 
        </object> 
       </void> 
       <void property="schema"> 
-       <object idref="RowSchema0"/> 
+       <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
+        <void property="signature"> 
+         <object idref="Vector1"/> 
+        </void> 
+       </object> 
       </void> 
      </object> 
     </void> 

Modified: hadoop/core/trunk/src/contrib/hive/ql/src/test/results/compiler/plan/groupby5.q.xml
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/contrib/hive/ql/src/test/results/compiler/plan/groupby5.q.xml?rev=696736&r1=696735&r2=696736&view=diff
==============================================================================
--- hadoop/core/trunk/src/contrib/hive/ql/src/test/results/compiler/plan/groupby5.q.xml (original)
+++ hadoop/core/trunk/src/contrib/hive/ql/src/test/results/compiler/plan/groupby5.q.xml Thu Sep 18 10:37:59 2008
@@ -9,6 +9,9 @@
        <object class="java.util.ArrayList"> 
         <void method="add"> 
          <object class="org.apache.hadoop.hive.ql.exec.MoveTask"> 
+          <void property="id"> 
+           <string>Stage-1</string> 
+          </void> 
           <void property="parentTasks"> 
            <object class="java.util.ArrayList"> 
             <void method="add"> 
@@ -32,7 +35,7 @@
                  <boolean>true</boolean> 
                 </void> 
                 <void property="sourceDir"> 
-                 <string>/tmp/hive-zshao/299412902.10000.insclause-0</string> 
+                 <string>/tmp/hive-athusoo/794462528.10000.insclause-0</string> 
                 </void> 
                 <void property="table"> 
                  <object id="tableDesc0" class="org.apache.hadoop.hive.ql.plan.tableDesc"> 
@@ -82,7 +85,7 @@
                     </void> 
                     <void method="put"> 
                      <string>location</string> 
-                     <string>file:/home/zshao/projects/hadoop/trunk/VENDOR/hadoop-0.17/build/contrib/hive/ql/test/data/warehouse/dest1</string> 
+                     <string>file:/home/athusoo/apacheprojects/hadoop-core-trunk_ws3/build/contrib/hive/ql/test/data/warehouse/dest1</string> 
                     </void> 
                    </object> 
                   </void> 
@@ -104,6 +107,9 @@
         </void> 
        </object> 
       </void> 
+      <void property="id"> 
+       <string>Stage-3</string> 
+      </void> 
       <void property="parentTasks"> 
        <object class="java.util.ArrayList"> 
         <void method="add"> 
@@ -116,7 +122,7 @@
         <void property="aliasToWork"> 
          <object class="java.util.HashMap"> 
           <void method="put"> 
-           <string>/tmp/hive-zshao/299412902.10001</string> 
+           <string>/tmp/hive-athusoo/794462528.10001</string> 
            <object class="org.apache.hadoop.hive.ql.exec.ReduceSinkOperator"> 
             <void property="conf"> 
              <object class="org.apache.hadoop.hive.ql.plan.reduceSinkDesc"> 
@@ -191,10 +197,10 @@
         <void property="pathToAliases"> 
          <object class="java.util.LinkedHashMap"> 
           <void method="put"> 
-           <string>/tmp/hive-zshao/299412902.10001</string> 
+           <string>/tmp/hive-athusoo/794462528.10001</string> 
            <object class="java.util.ArrayList"> 
             <void method="add"> 
-             <string>/tmp/hive-zshao/299412902.10001</string> 
+             <string>/tmp/hive-athusoo/794462528.10001</string> 
             </void> 
            </object> 
           </void> 
@@ -203,7 +209,7 @@
         <void property="pathToPartitionInfo"> 
          <object class="java.util.LinkedHashMap"> 
           <void method="put"> 
-           <string>/tmp/hive-zshao/299412902.10001</string> 
+           <string>/tmp/hive-athusoo/794462528.10001</string> 
            <object class="org.apache.hadoop.hive.ql.plan.partitionDesc"> 
             <void property="tableDesc"> 
              <object id="tableDesc1" class="org.apache.hadoop.hive.ql.plan.tableDesc"> 
@@ -247,7 +253,7 @@
                   <void property="conf"> 
                    <object class="org.apache.hadoop.hive.ql.plan.fileSinkDesc"> 
                     <void property="dirName"> 
-                     <string>/tmp/hive-zshao/299412902.10000.insclause-0</string> 
+                     <string>/tmp/hive-athusoo/794462528.10000.insclause-0</string> 
                     </void> 
                     <void property="tableInfo"> 
                      <object idref="tableDesc0"/> 
@@ -409,6 +415,9 @@
     </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="aliasToWork"> 
@@ -425,14 +434,7 @@
               <void property="keyCols"> 
                <object class="java.util.ArrayList"> 
                 <void method="add"> 
-                 <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
-                  <void property="column"> 
-                   <string>key</string> 
-                  </void> 
-                  <void property="typeInfo"> 
-                   <object id="TypeInfo1" class="org.apache.hadoop.hive.ql.parse.TypeInfo"/> 
-                  </void> 
-                 </object> 
+                 <object class="org.apache.hadoop.hive.ql.plan.exprNodeNullDesc"/> 
                 </void> 
                </object> 
               </void> 
@@ -445,6 +447,36 @@
               <void property="valueCols"> 
                <object class="java.util.ArrayList"> 
                 <void method="add"> 
+                 <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
+                  <void property="column"> 
+                   <string>key</string> 
+                  </void> 
+                  <void property="typeInfo"> 
+                   <object id="TypeInfo1" class="org.apache.hadoop.hive.ql.parse.TypeInfo"/> 
+                  </void> 
+                 </object> 
+                </void> 
+                <void method="add"> 
+                 <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
+                  <void property="column"> 
+                   <string>value</string> 
+                  </void> 
+                  <void property="typeInfo"> 
+                   <object id="TypeInfo2" class="org.apache.hadoop.hive.ql.parse.TypeInfo"/> 
+                  </void> 
+                 </object> 
+                </void> 
+                <void method="add"> 
+                 <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
+                  <void property="column"> 
+                   <string>key</string> 
+                  </void> 
+                  <void property="typeInfo"> 
+                   <object idref="TypeInfo1"/> 
+                  </void> 
+                 </object> 
+                </void> 
+                <void method="add"> 
                  <object class="org.apache.hadoop.hive.ql.plan.exprNodeFuncDesc"> 
                   <void property="UDFClass"> 
                    <class>org.apache.hadoop.hive.ql.udf.UDFSubstr</class> 
@@ -470,7 +502,7 @@
                        <string>value</string> 
                       </void> 
                       <void property="typeInfo"> 
-                       <object id="TypeInfo2" class="org.apache.hadoop.hive.ql.parse.TypeInfo"/> 
+                       <object idref="TypeInfo2"/> 
                       </void> 
                      </object> 
                     </void> 
@@ -498,21 +530,41 @@
             <void property="schema"> 
              <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
               <void property="signature"> 
-               <object class="java.util.Vector"> 
+               <object id="Vector1" class="java.util.Vector"> 
                 <void method="add"> 
                  <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
                   <void property="internalName"> 
-                   <string>KEY.0</string> 
+                   <string>VALUE.0</string> 
                   </void> 
                   <void property="type"> 
-                   <object idref="TypeInfo0"/> 
+                   <object idref="TypeInfo1"/> 
                   </void> 
                  </object> 
                 </void> 
                 <void method="add"> 
                  <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
                   <void property="internalName"> 
-                   <string>VALUE.0</string> 
+                   <string>VALUE.1</string> 
+                  </void> 
+                  <void property="type"> 
+                   <object idref="TypeInfo2"/> 
+                  </void> 
+                 </object> 
+                </void> 
+                <void method="add"> 
+                 <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
+                  <void property="internalName"> 
+                   <string>VALUE.2</string> 
+                  </void> 
+                  <void property="type"> 
+                   <object idref="TypeInfo1"/> 
+                  </void> 
+                 </object> 
+                </void> 
+                <void method="add"> 
+                 <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
+                  <void property="internalName"> 
+                   <string>VALUE.3</string> 
                   </void> 
                   <void property="type"> 
                    <object idref="TypeInfo0"/> 
@@ -562,7 +614,7 @@
     <void property="pathToAliases"> 
      <object class="java.util.LinkedHashMap"> 
       <void method="put"> 
-       <string>file:/home/zshao/projects/hadoop/trunk/VENDOR/hadoop-0.17/build/contrib/hive/ql/test/data/warehouse/src</string> 
+       <string>file:/home/athusoo/apacheprojects/hadoop-core-trunk_ws3/build/contrib/hive/ql/test/data/warehouse/src</string> 
        <object class="java.util.ArrayList"> 
         <void method="add"> 
          <string>src</string> 
@@ -574,7 +626,7 @@
     <void property="pathToPartitionInfo"> 
      <object class="java.util.LinkedHashMap"> 
       <void method="put"> 
-       <string>file:/home/zshao/projects/hadoop/trunk/VENDOR/hadoop-0.17/build/contrib/hive/ql/test/data/warehouse/src</string> 
+       <string>file:/home/athusoo/apacheprojects/hadoop-core-trunk_ws3/build/contrib/hive/ql/test/data/warehouse/src</string> 
        <object class="org.apache.hadoop.hive.ql.plan.partitionDesc"> 
         <void property="partSpec"> 
          <object class="java.util.LinkedHashMap"/> 
@@ -627,7 +679,7 @@
             </void> 
             <void method="put"> 
              <string>location</string> 
-             <string>file:/home/zshao/projects/hadoop/trunk/VENDOR/hadoop-0.17/build/contrib/hive/ql/test/data/warehouse/src</string> 
+             <string>file:/home/athusoo/apacheprojects/hadoop-core-trunk_ws3/build/contrib/hive/ql/test/data/warehouse/src</string> 
             </void> 
            </object> 
           </void> 
@@ -644,42 +696,50 @@
      </object> 
     </void> 
     <void property="reducer"> 
-     <object class="org.apache.hadoop.hive.ql.exec.GroupByOperator"> 
+     <object class="org.apache.hadoop.hive.ql.exec.ForwardOperator"> 
       <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="dirName"> 
-             <string>/tmp/hive-zshao/299412902.10001</string> 
-            </void> 
-            <void property="tableInfo"> 
-             <object idref="tableDesc1"/> 
-            </void> 
-           </object> 
-          </void> 
-          <void property="schema"> 
-           <object id="RowSchema0" 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.exec.ColumnInfo"> 
-                <void property="internalName"> 
-                 <string>0</string> 
+         <object class="org.apache.hadoop.hive.ql.exec.GroupByOperator"> 
+          <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="dirName"> 
+                 <string>/tmp/hive-athusoo/794462528.10001</string> 
                 </void> 
-                <void property="type"> 
-                 <object idref="TypeInfo0"/> 
+                <void property="tableInfo"> 
+                 <object idref="tableDesc1"/> 
                 </void> 
                </object> 
               </void> 
-              <void method="add"> 
-               <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
-                <void property="internalName"> 
-                 <string>1</string> 
-                </void> 
-                <void property="type"> 
-                 <object idref="TypeInfo0"/> 
+              <void property="schema"> 
+               <object id="RowSchema0" 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.exec.ColumnInfo"> 
+                    <void property="internalName"> 
+                     <string>0</string> 
+                    </void> 
+                    <void property="type"> 
+                     <object idref="TypeInfo1"/> 
+                    </void> 
+                   </object> 
+                  </void> 
+                  <void method="add"> 
+                   <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
+                    <void property="internalName"> 
+                     <string>1</string> 
+                    </void> 
+                    <void property="type"> 
+                     <object idref="TypeInfo0"/> 
+                    </void> 
+                   </object> 
+                  </void> 
+                 </object> 
                 </void> 
                </object> 
               </void> 
@@ -687,60 +747,67 @@
             </void> 
            </object> 
           </void> 
-         </object> 
-        </void> 
-       </object> 
-      </void> 
-      <void property="conf"> 
-       <object class="org.apache.hadoop.hive.ql.plan.groupByDesc"> 
-        <void property="aggregators"> 
-         <object class="java.util.ArrayList"> 
-          <void method="add"> 
-           <object class="org.apache.hadoop.hive.ql.plan.aggregationDesc"> 
-            <void property="aggregationClass"> 
-             <class>org.apache.hadoop.hive.ql.udf.UDAFSum</class> 
+          <void property="conf"> 
+           <object class="org.apache.hadoop.hive.ql.plan.groupByDesc"> 
+            <void property="aggregators"> 
+             <object class="java.util.ArrayList"> 
+              <void method="add"> 
+               <object class="org.apache.hadoop.hive.ql.plan.aggregationDesc"> 
+                <void property="aggregationClass"> 
+                 <class>org.apache.hadoop.hive.ql.udf.UDAFSum</class> 
+                </void> 
+                <void property="parameters"> 
+                 <object class="java.util.ArrayList"> 
+                  <void method="add"> 
+                   <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
+                    <void property="column"> 
+                     <string>VALUE.3</string> 
+                    </void> 
+                    <void property="typeInfo"> 
+                     <object idref="TypeInfo0"/> 
+                    </void> 
+                   </object> 
+                  </void> 
+                 </object> 
+                </void> 
+               </object> 
+              </void> 
+             </object> 
             </void> 
-            <void property="parameters"> 
+            <void property="keys"> 
              <object class="java.util.ArrayList"> 
               <void method="add"> 
                <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
                 <void property="column"> 
-                 <string>VALUE.0</string> 
+                 <string>VALUE.2</string> 
                 </void> 
                 <void property="typeInfo"> 
-                 <object idref="TypeInfo0"/> 
+                 <object idref="TypeInfo1"/> 
                 </void> 
                </object> 
               </void> 
              </object> 
             </void> 
-           </object> 
-          </void> 
-         </object> 
-        </void> 
-        <void property="keys"> 
-         <object class="java.util.ArrayList"> 
-          <void method="add"> 
-           <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
-            <void property="column"> 
-             <string>KEY.0</string> 
-            </void> 
-            <void property="typeInfo"> 
-             <object idref="TypeInfo0"/> 
+            <void property="mode"> 
+             <object class="org.apache.hadoop.hive.ql.plan.groupByDesc$Mode" method="valueOf"> 
+              <string>PARTIAL1</string> 
+             </object> 
             </void> 
            </object> 
           </void> 
-         </object> 
-        </void> 
-        <void property="mode"> 
-         <object class="org.apache.hadoop.hive.ql.plan.groupByDesc$Mode" method="valueOf"> 
-          <string>PARTIAL1</string> 
+          <void property="schema"> 
+           <object idref="RowSchema0"/> 
+          </void> 
          </object> 
         </void> 
        </object> 
       </void> 
       <void property="schema"> 
-       <object idref="RowSchema0"/> 
+       <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
+        <void property="signature"> 
+         <object idref="Vector1"/> 
+        </void> 
+       </object> 
       </void> 
      </object> 
     </void> 



Mime
View raw message