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 [2/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
Modified: hadoop/hive/trunk/ql/src/test/results/compiler/plan/input1.q.xml
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/test/results/compiler/plan/input1.q.xml?rev=793738&r1=793737&r2=793738&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/test/results/compiler/plan/input1.q.xml (original)
+++ hadoop/hive/trunk/ql/src/test/results/compiler/plan/input1.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/1710651254/10000</string> 
+               <string>file:/data/users/njain/hive3/hive3/build/ql/tmp/310172006/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/1710651254/10001</string> 
+               <string>file:/data/users/njain/hive3/hive3/build/ql/tmp/310172006/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/1460273186/10002</string> 
+               <string>file:/data/users/njain/hive3/hive3/build/ql/tmp/272093383/10002</string> 
               </void> 
               <void property="targetDir"> 
-               <string>file:/data/users/zshao/tools/553-trunk-apache-hive/build/ql/tmp/1710651254/10000</string> 
+               <string>file:/data/users/njain/hive3/hive3/build/ql/tmp/310172006/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/1460273186/10002</string> 
+               <string>file:/data/users/njain/hive3/hive3/build/ql/tmp/272093383/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/1460273186/10002</string> 
+               <string>file:/data/users/njain/hive3/hive3/build/ql/tmp/272093383/10002</string> 
                <object class="java.util.ArrayList"> 
                 <void method="add"> 
-                 <string>file:/data/users/zshao/tools/553-trunk-apache-hive/build/ql/tmp/1460273186/10002</string> 
+                 <string>file:/data/users/njain/hive3/hive3/build/ql/tmp/272093383/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/1460273186/10002</string> 
+               <string>file:/data/users/njain/hive3/hive3/build/ql/tmp/272093383/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/1710651254/10000</string> 
+                     <string>file:/data/users/njain/hive3/hive3/build/ql/tmp/310172006/10000</string> 
                     </void> 
                     <void property="tableInfo"> 
                      <object idref="tableDesc0"/> 
@@ -456,192 +456,259 @@
       <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</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</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.lazy.LazySimpleSerDe</class> 
-         </void> 
-         <void property="inputFileFormatClass"> 
-          <class>org.apache.hadoop.mapred.TextInputFormat</class> 
-         </void> 
-         <void property="outputFileFormatClass"> 
-          <class>org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat</class> 
-         </void> 
-         <void property="properties"> 
-          <object id="Properties0" class="java.util.Properties"> 
-           <void method="put"> 
-            <string>name</string> 
-            <string>src</string> 
-           </void> 
-           <void method="put"> 
-            <string>columns.types</string> 
-            <string>string:string</string> 
-           </void> 
-           <void method="put"> 
-            <string>serialization.ddl</string> 
-            <string>struct src { string key, string value}</string> 
-           </void> 
-           <void method="put"> 
-            <string>serialization.format</string> 
-            <string>1</string> 
-           </void> 
-           <void method="put"> 
-            <string>columns</string> 
-            <string>key,value</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.lazy.LazySimpleSerDe</string> 
-           </void> 
-           <void method="put"> 
-            <string>file.inputformat</string> 
-            <string>org.apache.hadoop.mapred.TextInputFormat</string> 
-           </void> 
-           <void method="put"> 
-            <string>file.outputformat</string> 
-            <string>org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat</string> 
-           </void> 
-           <void method="put"> 
-            <string>location</string> 
-            <string>file:/data/users/zshao/tools/553-trunk-apache-hive/build/ql/test/data/warehouse/src</string> 
-           </void> 
-          </object> 
-         </void> 
-         <void property="serdeClassName"> 
-          <string>org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe</string> 
-         </void> 
-        </object> 
-       </void> 
-      </object> 
-     </void> 
-    </void> 
-    <void property="aliasToWork"> 
-     <object class="java.util.LinkedHashMap"> 
-      <void method="put"> 
-       <string>src</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/272093383/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="exprNodeColumnDesc0" class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
+                            <void property="column"> 
+                             <string>value</string> 
+                            </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/1460273186/10002</string> 
+                          <void method="put"> 
+                           <string>_col0</string> 
+                           <object id="exprNodeColumnDesc1" class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
+                            <void property="column"> 
+                             <string>key</string> 
+                            </void> 
+                            <void property="typeInfo"> 
+                             <object idref="PrimitiveTypeInfo1"/> 
+                            </void> 
+                           </object> 
                           </void> 
-                          <void property="tableInfo"> 
-                           <object idref="tableDesc0"/> 
+                         </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="exprNodeColumnDesc1"/> 
+                            </void> 
+                            <void method="add"> 
+                             <object idref="exprNodeColumnDesc0"/> 
+                            </void> 
+                           </object> 
+                          </void> 
+                          <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="exprNodeColumnDesc0" class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
-                        <void property="column"> 
-                         <string>value</string> 
-                        </void> 
-                        <void property="typeInfo"> 
-                         <object idref="PrimitiveTypeInfo1"/> 
-                        </void> 
-                       </object> 
-                      </void> 
-                      <void method="put"> 
-                       <string>_col0</string> 
-                       <object id="exprNodeColumnDesc1" class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc"> 
-                        <void property="column"> 
-                         <string>key</string> 
-                        </void> 
-                        <void property="typeInfo"> 
-                         <object idref="PrimitiveTypeInfo1"/> 
+                         <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.exec.ColumnInfo"> 
+                              <void property="internalName"> 
+                               <string>_col0</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>_col1</string> 
+                              </void> 
+                              <void property="type"> 
+                               <object idref="PrimitiveTypeInfo1"/> 
+                              </void> 
+                             </object> 
+                            </void> 
+                           </object> 
+                          </void> 
+                         </object> 
                         </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="exprNodeColumnDesc1"/> 
+                     <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.UDFOPLessThan</class> 
                         </void> 
-                        <void method="add"> 
-                         <object idref="exprNodeColumnDesc0"/> 
+                        <void property="UDFMethod"> 
+                         <object id="Method0" class="org.apache.hadoop.hive.ql.udf.UDFOPLessThan" method="getMethod"> 
+                          <string>evaluate</string> 
+                          <array class="java.lang.Class" length="2"> 
+                           <void index="0"> 
+                            <class>org.apache.hadoop.hive.serde2.io.DoubleWritable</class> 
+                           </void> 
+                           <void index="1"> 
+                            <class>org.apache.hadoop.hive.serde2.io.DoubleWritable</class> 
+                           </void> 
+                          </array> 
+                         </object> 
                         </void> 
-                       </object> 
-                      </void> 
-                      <void property="outputColumnNames"> 
-                       <object class="java.util.ArrayList"> 
-                        <void method="add"> 
-                         <string>_col0</string> 
+                        <void property="childExprs"> 
+                         <object class="java.util.ArrayList"> 
+                          <void method="add"> 
+                           <object class="org.apache.hadoop.hive.ql.plan.exprNodeFuncDesc"> 
+                            <void property="UDFClass"> 
+                             <class>org.apache.hadoop.hive.ql.udf.UDFToDouble</class> 
+                            </void> 
+                            <void property="UDFMethod"> 
+                             <object id="Method1" class="org.apache.hadoop.hive.ql.udf.UDFToDouble" method="getMethod"> 
+                              <string>evaluate</string> 
+                              <array class="java.lang.Class" length="1"> 
+                               <void index="0"> 
+                                <class>org.apache.hadoop.io.Text</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>key</string> 
+                                </void> 
+                                <void property="typeInfo"> 
+                                 <object idref="PrimitiveTypeInfo1"/> 
+                                </void> 
+                               </object> 
+                              </void> 
+                             </object> 
+                            </void> 
+                            <void property="typeInfo"> 
+                             <object idref="PrimitiveTypeInfo0"/> 
+                            </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.UDFToDouble</class> 
+                            </void> 
+                            <void property="UDFMethod"> 
+                             <object id="Method2" class="org.apache.hadoop.hive.ql.udf.UDFToDouble" method="getMethod"> 
+                              <string>evaluate</string> 
+                              <array class="java.lang.Class" length="1"> 
+                               <void index="0"> 
+                                <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.exprNodeConstantDesc"> 
+                                <void property="typeInfo"> 
+                                 <object id="PrimitiveTypeInfo2" class="org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo"> 
+                                  <void property="typeName"> 
+                                   <string>int</string> 
+                                  </void> 
+                                 </object> 
+                                </void> 
+                                <void property="value"> 
+                                 <int>100</int> 
+                                </void> 
+                               </object> 
+                              </void> 
+                             </object> 
+                            </void> 
+                            <void property="typeInfo"> 
+                             <object idref="PrimitiveTypeInfo0"/> 
+                            </void> 
+                           </object> 
+                          </void> 
+                         </object> 
                         </void> 
-                        <void method="add"> 
-                         <string>_col1</string> 
+                        <void property="typeInfo"> 
+                         <object id="PrimitiveTypeInfo3" class="org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo"> 
+                          <void property="typeName"> 
+                           <string>boolean</string> 
+                          </void> 
+                         </object> 
                         </void> 
                        </object> 
                       </void> 
@@ -650,18 +717,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>key</string> 
                           </void> 
                           <void property="type"> 
                            <object idref="PrimitiveTypeInfo1"/> 
@@ -671,7 +738,7 @@
                         <void method="add"> 
                          <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo"> 
                           <void property="internalName"> 
-                           <string>_col1</string> 
+                           <string>value</string> 
                           </void> 
                           <void property="type"> 
                            <object idref="PrimitiveTypeInfo1"/> 
@@ -694,17 +761,7 @@
                      <class>org.apache.hadoop.hive.ql.udf.UDFOPLessThan</class> 
                     </void> 
                     <void property="UDFMethod"> 
-                     <object id="Method0" class="org.apache.hadoop.hive.ql.udf.UDFOPLessThan" method="getMethod"> 
-                      <string>evaluate</string> 
-                      <array class="java.lang.Class" length="2"> 
-                       <void index="0"> 
-                        <class>org.apache.hadoop.hive.serde2.io.DoubleWritable</class> 
-                       </void> 
-                       <void index="1"> 
-                        <class>org.apache.hadoop.hive.serde2.io.DoubleWritable</class> 
-                       </void> 
-                      </array> 
-                     </object> 
+                     <object idref="Method0"/> 
                     </void> 
                     <void property="childExprs"> 
                      <object class="java.util.ArrayList"> 
@@ -714,14 +771,7 @@
                          <class>org.apache.hadoop.hive.ql.udf.UDFToDouble</class> 
                         </void> 
                         <void property="UDFMethod"> 
-                         <object id="Method1" class="org.apache.hadoop.hive.ql.udf.UDFToDouble" method="getMethod"> 
-                          <string>evaluate</string> 
-                          <array class="java.lang.Class" length="1"> 
-                           <void index="0"> 
-                            <class>org.apache.hadoop.io.Text</class> 
-                           </void> 
-                          </array> 
-                         </object> 
+                         <object idref="Method1"/> 
                         </void> 
                         <void property="childExprs"> 
                          <object class="java.util.ArrayList"> 
@@ -748,25 +798,14 @@
                          <class>org.apache.hadoop.hive.ql.udf.UDFToDouble</class> 
                         </void> 
                         <void property="UDFMethod"> 
-                         <object id="Method2" class="org.apache.hadoop.hive.ql.udf.UDFToDouble" method="getMethod"> 
-                          <string>evaluate</string> 
-                          <array class="java.lang.Class" length="1"> 
-                           <void index="0"> 
-                            <class>org.apache.hadoop.io.IntWritable</class> 
-                           </void> 
-                          </array> 
-                         </object> 
+                         <object idref="Method2"/> 
                         </void> 
                         <void property="childExprs"> 
                          <object class="java.util.ArrayList"> 
                           <void method="add"> 
                            <object class="org.apache.hadoop.hive.ql.plan.exprNodeConstantDesc"> 
                             <void property="typeInfo"> 
-                             <object id="PrimitiveTypeInfo2" class="org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo"> 
-                              <void property="typeName"> 
-                               <string>int</string> 
-                              </void> 
-                             </object> 
+                             <object idref="PrimitiveTypeInfo2"/> 
                             </void> 
                             <void property="value"> 
                              <int>100</int> 
@@ -783,11 +822,7 @@
                      </object> 
                     </void> 
                     <void property="typeInfo"> 
-                     <object id="PrimitiveTypeInfo3" class="org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo"> 
-                      <void property="typeName"> 
-                       <string>boolean</string> 
-                      </void> 
-                     </object> 
+                     <object idref="PrimitiveTypeInfo3"/> 
                     </void> 
                    </object> 
                   </void> 
@@ -796,35 +831,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>key</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>value</string> 
-                      </void> 
-                      <void property="type"> 
-                       <object idref="PrimitiveTypeInfo1"/> 
-                      </void> 
-                     </object> 
-                    </void> 
-                   </object> 
+                   <object idref="Vector0"/> 
                   </void> 
                  </object> 
                 </void> 
@@ -832,113 +846,226 @@
               </void> 
              </object> 
             </void> 
+            <void property="neededColumnIDs"> 
+             <object class="java.util.ArrayList"> 
+              <void method="add"> 
+               <int>0</int> 
+              </void> 
+              <void method="add"> 
+               <int>1</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</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.UDFOPLessThan</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.exprNodeFuncDesc"> 
-                    <void property="UDFClass"> 
-                     <class>org.apache.hadoop.hive.ql.udf.UDFToDouble</class> 
-                    </void> 
-                    <void property="UDFMethod"> 
-                     <object idref="Method1"/> 
-                    </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>key</string> 
-                        </void> 
-                        <void property="typeInfo"> 
-                         <object idref="PrimitiveTypeInfo1"/> 
-                        </void> 
-                       </object> 
-                      </void> 
-                     </object> 
-                    </void> 
-                    <void property="typeInfo"> 
-                     <object idref="PrimitiveTypeInfo0"/> 
-                    </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.UDFToDouble</class> 
-                    </void> 
-                    <void property="UDFMethod"> 
-                     <object idref="Method2"/> 
-                    </void> 
-                    <void property="childExprs"> 
-                     <object class="java.util.ArrayList"> 
-                      <void method="add"> 
-                       <object class="org.apache.hadoop.hive.ql.plan.exprNodeConstantDesc"> 
-                        <void property="typeInfo"> 
-                         <object idref="PrimitiveTypeInfo2"/> 
-                        </void> 
-                        <void property="value"> 
-                         <int>100</int> 
-                        </void> 
-                       </object> 
-                      </void> 
-                     </object> 
-                    </void> 
-                    <void property="typeInfo"> 
-                     <object idref="PrimitiveTypeInfo0"/> 
-                    </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="PrimitiveTypeInfo3"/> 
+               </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>31</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</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/272093383/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>0</int> 
+           <object idref="moveWork0"/> 
           </void> 
           <void method="add"> 
-           <int>1</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> 
@@ -946,10 +1073,95 @@
       </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</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.lazy.LazySimpleSerDe</class> 
+         </void> 
+         <void property="inputFileFormatClass"> 
+          <class>org.apache.hadoop.mapred.TextInputFormat</class> 
+         </void> 
+         <void property="outputFileFormatClass"> 
+          <class>org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat</class> 
+         </void> 
+         <void property="properties"> 
+          <object id="Properties0" class="java.util.Properties"> 
+           <void method="put"> 
+            <string>name</string> 
+            <string>src</string> 
+           </void> 
+           <void method="put"> 
+            <string>columns.types</string> 
+            <string>string:string</string> 
+           </void> 
+           <void method="put"> 
+            <string>serialization.ddl</string> 
+            <string>struct src { string key, string value}</string> 
+           </void> 
+           <void method="put"> 
+            <string>serialization.format</string> 
+            <string>1</string> 
+           </void> 
+           <void method="put"> 
+            <string>columns</string> 
+            <string>key,value</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.lazy.LazySimpleSerDe</string> 
+           </void> 
+           <void method="put"> 
+            <string>file.inputformat</string> 
+            <string>org.apache.hadoop.mapred.TextInputFormat</string> 
+           </void> 
+           <void method="put"> 
+            <string>file.outputformat</string> 
+            <string>org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat</string> 
+           </void> 
+           <void method="put"> 
+            <string>location</string> 
+            <string>file:/data/users/njain/hive3/hive3/build/ql/test/data/warehouse/src</string> 
+           </void> 
+          </object> 
+         </void> 
+         <void property="serdeClassName"> 
+          <string>org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe</string> 
+         </void> 
+        </object> 
+       </void> 
+      </object> 
+     </void> 
+    </void> 
+    <void property="aliasToWork"> 
+     <object class="java.util.LinkedHashMap"> 
+      <void method="put"> 
+       <string>src</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</string> 
+       <string>file:/data/users/njain/hive3/hive3/build/ql/test/data/warehouse/src</string> 
        <object class="java.util.ArrayList"> 
         <void method="add"> 
          <string>src</string> 
@@ -961,7 +1173,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</string> 
+       <string>file:/data/users/njain/hive3/hive3/build/ql/test/data/warehouse/src</string> 
        <object class="org.apache.hadoop.hive.ql.plan.partitionDesc"> 
         <void property="partSpec"> 
          <object idref="LinkedHashMap0"/> 



Mime
View raw message