You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by na...@apache.org on 2009/08/14 09:48:09 UTC
svn commit: r804106 [10/24] - in /hadoop/hive/trunk: ./
contrib/src/java/org/apache/hadoop/hive/contrib/udaf/
contrib/src/java/org/apache/hadoop/hive/contrib/udaf/example/
contrib/src/java/org/apache/hadoop/hive/contrib/udf/
contrib/src/java/org/apache...
Modified: hadoop/hive/trunk/ql/src/test/results/compiler/plan/input2.q.xml
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/test/results/compiler/plan/input2.q.xml?rev=804106&r1=804105&r2=804106&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/test/results/compiler/plan/input2.q.xml (original)
+++ hadoop/hive/trunk/ql/src/test/results/compiler/plan/input2.q.xml Fri Aug 14 07:48:02 2009
@@ -30,7 +30,7 @@
<boolean>true</boolean>
</void>
<void property="sourceDir">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/1901996899/10000</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/223366159/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/athusoo/commits/hive_trunk_ws1/build/ql/test/data/warehouse/dest1</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/test/data/warehouse/dest1</string>
</void>
</object>
</void>
@@ -93,7 +93,7 @@
</object>
</void>
<void property="tmpDir">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/1901996899/10001</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/223366159/10001</string>
</void>
</object>
</void>
@@ -121,10 +121,10 @@
<boolean>true</boolean>
</void>
<void property="sourceDir">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/184329433/10006</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/551756419/10006</string>
</void>
<void property="targetDir">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/1901996899/10000</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/223366159/10000</string>
</void>
</object>
</void>
@@ -142,7 +142,7 @@
<void property="aliasToWork">
<object class="java.util.LinkedHashMap">
<void method="put">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/184329433/10006</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/551756419/10006</string>
<object id="TableScanOperator0" class="org.apache.hadoop.hive.ql.exec.TableScanOperator">
<void property="childOperators">
<object class="java.util.ArrayList">
@@ -201,21 +201,19 @@
<void property="partitionCols">
<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.UDFRand</class>
- </void>
- <void property="UDFMethod">
- <object class="org.apache.hadoop.hive.ql.udf.UDFRand" method="getMethod">
- <string>evaluate</string>
- <array class="java.lang.Class" length="0"/>
- </object>
- </void>
+ <object class="org.apache.hadoop.hive.ql.plan.exprNodeGenericFuncDesc">
<void property="childExprs">
<object class="java.util.ArrayList"/>
</void>
- <void property="methodName">
- <string>rand</string>
+ <void property="genericUDF">
+ <object class="org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge">
+ <void property="udfClass">
+ <class>org.apache.hadoop.hive.ql.udf.UDFRand</class>
+ </void>
+ <void property="udfName">
+ <string>rand</string>
+ </void>
+ </object>
</void>
<void property="typeInfo">
<object id="PrimitiveTypeInfo0" class="org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo">
@@ -351,10 +349,10 @@
<void property="pathToAliases">
<object class="java.util.LinkedHashMap">
<void method="put">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/184329433/10006</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/551756419/10006</string>
<object class="java.util.ArrayList">
<void method="add">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/184329433/10006</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/551756419/10006</string>
</void>
</object>
</void>
@@ -363,7 +361,7 @@
<void property="pathToPartitionInfo">
<object class="java.util.LinkedHashMap">
<void method="put">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/184329433/10006</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/551756419/10006</string>
<object class="org.apache.hadoop.hive.ql.plan.partitionDesc">
<void property="tableDesc">
<object idref="tableDesc0"/>
@@ -381,7 +379,7 @@
<void property="conf">
<object class="org.apache.hadoop.hive.ql.plan.fileSinkDesc">
<void property="dirName">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/1901996899/10000</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/223366159/10000</string>
</void>
<void property="tableInfo">
<object class="org.apache.hadoop.hive.ql.plan.tableDesc">
@@ -430,7 +428,7 @@
</void>
<void method="put">
<string>location</string>
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/test/data/warehouse/dest1</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/test/data/warehouse/dest1</string>
</void>
<void method="put">
<string>file.outputformat</string>
@@ -532,7 +530,7 @@
<void property="resolverCtx">
<object class="org.apache.hadoop.hive.ql.plan.ConditionalResolverMergeFiles$ConditionalResolverMergeFilesCtx">
<void property="dir">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/184329433/10006</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/551756419/10006</string>
</void>
<void property="listTasks">
<object idref="ArrayList0"/>
@@ -582,7 +580,7 @@
<boolean>true</boolean>
</void>
<void property="sourceDir">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/1901996899/10002</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/223366159/10002</string>
</void>
<void property="table">
<object id="tableDesc3" class="org.apache.hadoop.hive.ql.plan.tableDesc">
@@ -635,7 +633,7 @@
</void>
<void method="put">
<string>location</string>
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/test/data/warehouse/dest2</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/test/data/warehouse/dest2</string>
</void>
</object>
</void>
@@ -645,7 +643,7 @@
</object>
</void>
<void property="tmpDir">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/1901996899/10003</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/223366159/10003</string>
</void>
</object>
</void>
@@ -673,10 +671,10 @@
<boolean>true</boolean>
</void>
<void property="sourceDir">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/184329433/10007</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/551756419/10007</string>
</void>
<void property="targetDir">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/1901996899/10002</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/223366159/10002</string>
</void>
</object>
</void>
@@ -694,7 +692,7 @@
<void property="aliasToWork">
<object class="java.util.LinkedHashMap">
<void method="put">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/184329433/10007</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/551756419/10007</string>
<object id="TableScanOperator1" class="org.apache.hadoop.hive.ql.exec.TableScanOperator">
<void property="childOperators">
<object class="java.util.ArrayList">
@@ -753,21 +751,19 @@
<void property="partitionCols">
<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.UDFRand</class>
- </void>
- <void property="UDFMethod">
- <object class="org.apache.hadoop.hive.ql.udf.UDFRand" method="getMethod">
- <string>evaluate</string>
- <array class="java.lang.Class" length="0"/>
- </object>
- </void>
+ <object class="org.apache.hadoop.hive.ql.plan.exprNodeGenericFuncDesc">
<void property="childExprs">
<object class="java.util.ArrayList"/>
</void>
- <void property="methodName">
- <string>rand</string>
+ <void property="genericUDF">
+ <object class="org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge">
+ <void property="udfClass">
+ <class>org.apache.hadoop.hive.ql.udf.UDFRand</class>
+ </void>
+ <void property="udfName">
+ <string>rand</string>
+ </void>
+ </object>
</void>
<void property="typeInfo">
<object idref="PrimitiveTypeInfo0"/>
@@ -895,10 +891,10 @@
<void property="pathToAliases">
<object class="java.util.LinkedHashMap">
<void method="put">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/184329433/10007</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/551756419/10007</string>
<object class="java.util.ArrayList">
<void method="add">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/184329433/10007</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/551756419/10007</string>
</void>
</object>
</void>
@@ -907,7 +903,7 @@
<void property="pathToPartitionInfo">
<object class="java.util.LinkedHashMap">
<void method="put">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/184329433/10007</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/551756419/10007</string>
<object class="org.apache.hadoop.hive.ql.plan.partitionDesc">
<void property="tableDesc">
<object idref="tableDesc3"/>
@@ -925,7 +921,7 @@
<void property="conf">
<object class="org.apache.hadoop.hive.ql.plan.fileSinkDesc">
<void property="dirName">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/1901996899/10002</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/223366159/10002</string>
</void>
<void property="tableInfo">
<object class="org.apache.hadoop.hive.ql.plan.tableDesc">
@@ -974,7 +970,7 @@
</void>
<void method="put">
<string>location</string>
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/test/data/warehouse/dest2</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/test/data/warehouse/dest2</string>
</void>
<void method="put">
<string>file.outputformat</string>
@@ -1076,7 +1072,7 @@
<void property="resolverCtx">
<object class="org.apache.hadoop.hive.ql.plan.ConditionalResolverMergeFiles$ConditionalResolverMergeFilesCtx">
<void property="dir">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/184329433/10007</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/551756419/10007</string>
</void>
<void property="listTasks">
<object idref="ArrayList1"/>
@@ -1135,7 +1131,7 @@
<boolean>true</boolean>
</void>
<void property="sourceDir">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/1901996899/10004</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/223366159/10004</string>
</void>
<void property="table">
<object id="tableDesc6" class="org.apache.hadoop.hive.ql.plan.tableDesc">
@@ -1188,7 +1184,7 @@
</void>
<void method="put">
<string>location</string>
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/test/data/warehouse/dest3</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/test/data/warehouse/dest3</string>
</void>
</object>
</void>
@@ -1198,7 +1194,7 @@
</object>
</void>
<void property="tmpDir">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/1901996899/10005</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/223366159/10005</string>
</void>
</object>
</void>
@@ -1226,10 +1222,10 @@
<boolean>true</boolean>
</void>
<void property="sourceDir">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/184329433/10008</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/551756419/10008</string>
</void>
<void property="targetDir">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/1901996899/10004</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/223366159/10004</string>
</void>
</object>
</void>
@@ -1247,7 +1243,7 @@
<void property="aliasToWork">
<object class="java.util.LinkedHashMap">
<void method="put">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/184329433/10008</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/551756419/10008</string>
<object id="TableScanOperator2" class="org.apache.hadoop.hive.ql.exec.TableScanOperator">
<void property="childOperators">
<object class="java.util.ArrayList">
@@ -1306,21 +1302,19 @@
<void property="partitionCols">
<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.UDFRand</class>
- </void>
- <void property="UDFMethod">
- <object class="org.apache.hadoop.hive.ql.udf.UDFRand" method="getMethod">
- <string>evaluate</string>
- <array class="java.lang.Class" length="0"/>
- </object>
- </void>
+ <object class="org.apache.hadoop.hive.ql.plan.exprNodeGenericFuncDesc">
<void property="childExprs">
<object class="java.util.ArrayList"/>
</void>
- <void property="methodName">
- <string>rand</string>
+ <void property="genericUDF">
+ <object class="org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge">
+ <void property="udfClass">
+ <class>org.apache.hadoop.hive.ql.udf.UDFRand</class>
+ </void>
+ <void property="udfName">
+ <string>rand</string>
+ </void>
+ </object>
</void>
<void property="typeInfo">
<object idref="PrimitiveTypeInfo0"/>
@@ -1448,10 +1442,10 @@
<void property="pathToAliases">
<object class="java.util.LinkedHashMap">
<void method="put">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/184329433/10008</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/551756419/10008</string>
<object class="java.util.ArrayList">
<void method="add">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/184329433/10008</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/551756419/10008</string>
</void>
</object>
</void>
@@ -1460,7 +1454,7 @@
<void property="pathToPartitionInfo">
<object class="java.util.LinkedHashMap">
<void method="put">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/184329433/10008</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/551756419/10008</string>
<object class="org.apache.hadoop.hive.ql.plan.partitionDesc">
<void property="tableDesc">
<object idref="tableDesc6"/>
@@ -1478,7 +1472,7 @@
<void property="conf">
<object class="org.apache.hadoop.hive.ql.plan.fileSinkDesc">
<void property="dirName">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/1901996899/10004</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/223366159/10004</string>
</void>
<void property="tableInfo">
<object class="org.apache.hadoop.hive.ql.plan.tableDesc">
@@ -1531,7 +1525,7 @@
</void>
<void method="put">
<string>location</string>
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/test/data/warehouse/dest3</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/test/data/warehouse/dest3</string>
</void>
<void method="put">
<string>file.outputformat</string>
@@ -1637,7 +1631,7 @@
<void property="resolverCtx">
<object class="org.apache.hadoop.hive.ql.plan.ConditionalResolverMergeFiles$ConditionalResolverMergeFilesCtx">
<void property="dir">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/184329433/10008</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/551756419/10008</string>
</void>
<void property="listTasks">
<object idref="ArrayList2"/>
@@ -1725,7 +1719,7 @@
</void>
<void method="put">
<string>location</string>
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/test/data/warehouse/src</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/test/data/warehouse/src</string>
</void>
</object>
</void>
@@ -1760,7 +1754,7 @@
<int>1</int>
</void>
<void property="dirName">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/184329433/10006</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/551756419/10006</string>
</void>
<void property="tableInfo">
<object idref="tableDesc0"/>
@@ -1882,106 +1876,46 @@
<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>
- </void>
- <void property="UDFMethod">
- <object 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 class="org.apache.hadoop.hive.ql.plan.exprNodeGenericFuncDesc">
<void property="childExprs">
<object class="java.util.ArrayList">
<void method="add">
- <object class="org.apache.hadoop.hive.ql.plan.exprNodeFuncDesc">
- <void property="UDFClass">
- <class>org.apache.hadoop.hive.ql.udf.UDFToDouble</class>
- </void>
- <void property="UDFMethod">
- <object 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="tabAlias">
- <string>src</string>
- </void>
- <void property="typeInfo">
- <object idref="PrimitiveTypeInfo1"/>
- </void>
- </object>
- </void>
- </object>
+ <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc">
+ <void property="column">
+ <string>key</string>
</void>
- <void property="methodName">
- <string>double</string>
+ <void property="tabAlias">
+ <string>src</string>
</void>
<void property="typeInfo">
- <object idref="PrimitiveTypeInfo0"/>
+ <object idref="PrimitiveTypeInfo1"/>
</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 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 idref="PrimitiveTypeInfo2"/>
- </void>
- <void property="value">
- <int>100</int>
- </void>
- </object>
- </void>
- </object>
- </void>
- <void property="methodName">
- <string>double</string>
- </void>
+ <object class="org.apache.hadoop.hive.ql.plan.exprNodeConstantDesc">
<void property="typeInfo">
- <object idref="PrimitiveTypeInfo0"/>
+ <object idref="PrimitiveTypeInfo2"/>
+ </void>
+ <void property="value">
+ <int>100</int>
</void>
</object>
</void>
</object>
</void>
- <void property="methodName">
- <string><</string>
+ <void property="genericUDF">
+ <object class="org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge">
+ <void property="operator">
+ <boolean>true</boolean>
+ </void>
+ <void property="udfClass">
+ <class>org.apache.hadoop.hive.ql.udf.UDFOPLessThan</class>
+ </void>
+ <void property="udfName">
+ <string><</string>
+ </void>
+ </object>
</void>
<void property="typeInfo">
<object id="PrimitiveTypeInfo3" class="org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo">
@@ -2047,7 +1981,7 @@
<int>2</int>
</void>
<void property="dirName">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/184329433/10007</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/551756419/10007</string>
</void>
<void property="tableInfo">
<object idref="tableDesc3"/>
@@ -2166,126 +2100,50 @@
<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.UDFOPAnd</class>
- </void>
- <void property="UDFMethod">
- <object class="org.apache.hadoop.hive.ql.udf.UDFOPAnd" method="getMethod">
- <string>evaluate</string>
- <array class="java.lang.Class" length="2">
- <void index="0">
- <class>org.apache.hadoop.io.BooleanWritable</class>
- </void>
- <void index="1">
- <class>org.apache.hadoop.io.BooleanWritable</class>
- </void>
- </array>
- </object>
- </void>
+ <object class="org.apache.hadoop.hive.ql.plan.exprNodeGenericFuncDesc">
<void property="childExprs">
<object class="java.util.ArrayList">
<void method="add">
- <object class="org.apache.hadoop.hive.ql.plan.exprNodeFuncDesc">
- <void property="UDFClass">
- <class>org.apache.hadoop.hive.ql.udf.UDFOPEqualOrGreaterThan</class>
- </void>
- <void property="UDFMethod">
- <object class="org.apache.hadoop.hive.ql.udf.UDFOPEqualOrGreaterThan" 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 class="org.apache.hadoop.hive.ql.plan.exprNodeGenericFuncDesc">
<void property="childExprs">
<object class="java.util.ArrayList">
<void method="add">
- <object class="org.apache.hadoop.hive.ql.plan.exprNodeFuncDesc">
- <void property="UDFClass">
- <class>org.apache.hadoop.hive.ql.udf.UDFToDouble</class>
- </void>
- <void property="UDFMethod">
- <object 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="tabAlias">
- <string>src</string>
- </void>
- <void property="typeInfo">
- <object idref="PrimitiveTypeInfo1"/>
- </void>
- </object>
- </void>
- </object>
+ <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc">
+ <void property="column">
+ <string>key</string>
</void>
- <void property="methodName">
- <string>double</string>
+ <void property="tabAlias">
+ <string>src</string>
</void>
<void property="typeInfo">
- <object idref="PrimitiveTypeInfo0"/>
+ <object idref="PrimitiveTypeInfo1"/>
</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 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 idref="PrimitiveTypeInfo2"/>
- </void>
- <void property="value">
- <int>100</int>
- </void>
- </object>
- </void>
- </object>
- </void>
- <void property="methodName">
- <string>double</string>
- </void>
+ <object class="org.apache.hadoop.hive.ql.plan.exprNodeConstantDesc">
<void property="typeInfo">
- <object idref="PrimitiveTypeInfo0"/>
+ <object idref="PrimitiveTypeInfo2"/>
+ </void>
+ <void property="value">
+ <int>100</int>
</void>
</object>
</void>
</object>
</void>
- <void property="methodName">
- <string>>=</string>
+ <void property="genericUDF">
+ <object class="org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge">
+ <void property="operator">
+ <boolean>true</boolean>
+ </void>
+ <void property="udfClass">
+ <class>org.apache.hadoop.hive.ql.udf.UDFOPEqualOrGreaterThan</class>
+ </void>
+ <void property="udfName">
+ <string>>=</string>
+ </void>
+ </object>
</void>
<void property="typeInfo">
<object idref="PrimitiveTypeInfo3"/>
@@ -2293,106 +2151,46 @@
</object>
</void>
<void method="add">
- <object class="org.apache.hadoop.hive.ql.plan.exprNodeFuncDesc">
- <void property="UDFClass">
- <class>org.apache.hadoop.hive.ql.udf.UDFOPLessThan</class>
- </void>
- <void property="UDFMethod">
- <object 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 class="org.apache.hadoop.hive.ql.plan.exprNodeGenericFuncDesc">
<void property="childExprs">
<object class="java.util.ArrayList">
<void method="add">
- <object class="org.apache.hadoop.hive.ql.plan.exprNodeFuncDesc">
- <void property="UDFClass">
- <class>org.apache.hadoop.hive.ql.udf.UDFToDouble</class>
- </void>
- <void property="UDFMethod">
- <object 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="tabAlias">
- <string>src</string>
- </void>
- <void property="typeInfo">
- <object idref="PrimitiveTypeInfo1"/>
- </void>
- </object>
- </void>
- </object>
+ <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc">
+ <void property="column">
+ <string>key</string>
</void>
- <void property="methodName">
- <string>double</string>
+ <void property="tabAlias">
+ <string>src</string>
</void>
<void property="typeInfo">
- <object idref="PrimitiveTypeInfo0"/>
+ <object idref="PrimitiveTypeInfo1"/>
</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 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 idref="PrimitiveTypeInfo2"/>
- </void>
- <void property="value">
- <int>200</int>
- </void>
- </object>
- </void>
- </object>
- </void>
- <void property="methodName">
- <string>double</string>
- </void>
+ <object class="org.apache.hadoop.hive.ql.plan.exprNodeConstantDesc">
<void property="typeInfo">
- <object idref="PrimitiveTypeInfo0"/>
+ <object idref="PrimitiveTypeInfo2"/>
+ </void>
+ <void property="value">
+ <int>200</int>
</void>
</object>
</void>
</object>
</void>
- <void property="methodName">
- <string><</string>
+ <void property="genericUDF">
+ <object class="org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge">
+ <void property="operator">
+ <boolean>true</boolean>
+ </void>
+ <void property="udfClass">
+ <class>org.apache.hadoop.hive.ql.udf.UDFOPLessThan</class>
+ </void>
+ <void property="udfName">
+ <string><</string>
+ </void>
+ </object>
</void>
<void property="typeInfo">
<object idref="PrimitiveTypeInfo3"/>
@@ -2401,8 +2199,18 @@
</void>
</object>
</void>
- <void property="methodName">
- <string>and</string>
+ <void property="genericUDF">
+ <object class="org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge">
+ <void property="operator">
+ <boolean>true</boolean>
+ </void>
+ <void property="udfClass">
+ <class>org.apache.hadoop.hive.ql.udf.UDFOPAnd</class>
+ </void>
+ <void property="udfName">
+ <string>and</string>
+ </void>
+ </object>
</void>
<void property="typeInfo">
<object idref="PrimitiveTypeInfo3"/>
@@ -2443,7 +2251,7 @@
<int>3</int>
</void>
<void property="dirName">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/184329433/10008</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/551756419/10008</string>
</void>
<void property="tableInfo">
<object idref="tableDesc6"/>
@@ -2559,106 +2367,46 @@
<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.UDFOPEqualOrGreaterThan</class>
- </void>
- <void property="UDFMethod">
- <object class="org.apache.hadoop.hive.ql.udf.UDFOPEqualOrGreaterThan" 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 class="org.apache.hadoop.hive.ql.plan.exprNodeGenericFuncDesc">
<void property="childExprs">
<object class="java.util.ArrayList">
<void method="add">
- <object class="org.apache.hadoop.hive.ql.plan.exprNodeFuncDesc">
- <void property="UDFClass">
- <class>org.apache.hadoop.hive.ql.udf.UDFToDouble</class>
- </void>
- <void property="UDFMethod">
- <object 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="tabAlias">
- <string>src</string>
- </void>
- <void property="typeInfo">
- <object idref="PrimitiveTypeInfo1"/>
- </void>
- </object>
- </void>
- </object>
+ <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc">
+ <void property="column">
+ <string>key</string>
</void>
- <void property="methodName">
- <string>double</string>
+ <void property="tabAlias">
+ <string>src</string>
</void>
<void property="typeInfo">
- <object idref="PrimitiveTypeInfo0"/>
+ <object idref="PrimitiveTypeInfo1"/>
</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 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 idref="PrimitiveTypeInfo2"/>
- </void>
- <void property="value">
- <int>200</int>
- </void>
- </object>
- </void>
- </object>
- </void>
- <void property="methodName">
- <string>double</string>
- </void>
+ <object class="org.apache.hadoop.hive.ql.plan.exprNodeConstantDesc">
<void property="typeInfo">
- <object idref="PrimitiveTypeInfo0"/>
+ <object idref="PrimitiveTypeInfo2"/>
+ </void>
+ <void property="value">
+ <int>200</int>
</void>
</object>
</void>
</object>
</void>
- <void property="methodName">
- <string>>=</string>
+ <void property="genericUDF">
+ <object class="org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge">
+ <void property="operator">
+ <boolean>true</boolean>
+ </void>
+ <void property="udfClass">
+ <class>org.apache.hadoop.hive.ql.udf.UDFOPEqualOrGreaterThan</class>
+ </void>
+ <void property="udfName">
+ <string>>=</string>
+ </void>
+ </object>
</void>
<void property="typeInfo">
<object idref="PrimitiveTypeInfo3"/>
@@ -2716,7 +2464,7 @@
<void property="pathToAliases">
<object class="java.util.LinkedHashMap">
<void method="put">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/test/data/warehouse/src</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/test/data/warehouse/src</string>
<object class="java.util.ArrayList">
<void method="add">
<string>src</string>
@@ -2728,7 +2476,7 @@
<void property="pathToPartitionInfo">
<object class="java.util.LinkedHashMap">
<void method="put">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/test/data/warehouse/src</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/test/data/warehouse/src</string>
<object class="org.apache.hadoop.hive.ql.plan.partitionDesc">
<void property="partSpec">
<object idref="LinkedHashMap0"/>
Modified: hadoop/hive/trunk/ql/src/test/results/compiler/plan/input20.q.xml
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/test/results/compiler/plan/input20.q.xml?rev=804106&r1=804105&r2=804106&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/test/results/compiler/plan/input20.q.xml (original)
+++ hadoop/hive/trunk/ql/src/test/results/compiler/plan/input20.q.xml Fri Aug 14 07:48:02 2009
@@ -64,7 +64,7 @@
</void>
<void method="put">
<string>location</string>
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/test/data/warehouse/src</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/test/data/warehouse/src</string>
</void>
</object>
</void>
@@ -368,225 +368,105 @@
<object class="java.util.HashMap">
<void method="put">
<string>_col1</string>
- <object id="exprNodeFuncDesc0" class="org.apache.hadoop.hive.ql.plan.exprNodeFuncDesc">
- <void property="UDFClass">
- <class>org.apache.hadoop.hive.ql.udf.UDFOPMod</class>
- </void>
- <void property="UDFMethod">
- <object class="org.apache.hadoop.hive.ql.udf.UDFOPMod" 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 id="exprNodeGenericFuncDesc0" class="org.apache.hadoop.hive.ql.plan.exprNodeGenericFuncDesc">
<void property="childExprs">
<object class="java.util.ArrayList">
<void method="add">
- <object class="org.apache.hadoop.hive.ql.plan.exprNodeFuncDesc">
- <void property="UDFClass">
- <class>org.apache.hadoop.hive.ql.udf.UDFToDouble</class>
- </void>
- <void property="UDFMethod">
- <object 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="tabAlias">
- <string>src</string>
- </void>
- <void property="typeInfo">
- <object idref="PrimitiveTypeInfo0"/>
- </void>
- </object>
- </void>
- </object>
+ <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc">
+ <void property="column">
+ <string>key</string>
</void>
- <void property="methodName">
- <string>double</string>
+ <void property="tabAlias">
+ <string>src</string>
</void>
<void property="typeInfo">
- <object id="PrimitiveTypeInfo1" class="org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo">
- <void property="typeName">
- <string>double</string>
- </void>
- </object>
+ <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 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>5</int>
- </void>
- </object>
+ <object class="org.apache.hadoop.hive.ql.plan.exprNodeConstantDesc">
+ <void property="typeInfo">
+ <object id="PrimitiveTypeInfo1" class="org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo">
+ <void property="typeName">
+ <string>int</string>
</void>
</object>
</void>
- <void property="methodName">
- <string>double</string>
- </void>
- <void property="typeInfo">
- <object idref="PrimitiveTypeInfo1"/>
+ <void property="value">
+ <int>5</int>
</void>
</object>
</void>
</object>
</void>
- <void property="methodName">
- <string>%</string>
+ <void property="genericUDF">
+ <object class="org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge">
+ <void property="operator">
+ <boolean>true</boolean>
+ </void>
+ <void property="udfClass">
+ <class>org.apache.hadoop.hive.ql.udf.UDFOPMod</class>
+ </void>
+ <void property="udfName">
+ <string>%</string>
+ </void>
+ </object>
</void>
<void property="typeInfo">
- <object idref="PrimitiveTypeInfo1"/>
+ <object id="PrimitiveTypeInfo2" class="org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo">
+ <void property="typeName">
+ <string>double</string>
+ </void>
+ </object>
</void>
</object>
</void>
<void method="put">
<string>_col0</string>
- <object id="exprNodeFuncDesc1" class="org.apache.hadoop.hive.ql.plan.exprNodeFuncDesc">
- <void property="UDFClass">
- <class>org.apache.hadoop.hive.ql.udf.UDFOPMod</class>
- </void>
- <void property="UDFMethod">
- <object class="org.apache.hadoop.hive.ql.udf.UDFOPMod" 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 id="exprNodeGenericFuncDesc1" class="org.apache.hadoop.hive.ql.plan.exprNodeGenericFuncDesc">
<void property="childExprs">
<object class="java.util.ArrayList">
<void method="add">
- <object class="org.apache.hadoop.hive.ql.plan.exprNodeFuncDesc">
- <void property="UDFClass">
- <class>org.apache.hadoop.hive.ql.udf.UDFToDouble</class>
- </void>
- <void property="UDFMethod">
- <object 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="tabAlias">
- <string>src</string>
- </void>
- <void property="typeInfo">
- <object idref="PrimitiveTypeInfo0"/>
- </void>
- </object>
- </void>
- </object>
+ <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc">
+ <void property="column">
+ <string>key</string>
</void>
- <void property="methodName">
- <string>double</string>
+ <void property="tabAlias">
+ <string>src</string>
</void>
<void property="typeInfo">
- <object idref="PrimitiveTypeInfo1"/>
+ <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 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 idref="PrimitiveTypeInfo2"/>
- </void>
- <void property="value">
- <int>2</int>
- </void>
- </object>
- </void>
- </object>
- </void>
- <void property="methodName">
- <string>double</string>
- </void>
+ <object class="org.apache.hadoop.hive.ql.plan.exprNodeConstantDesc">
<void property="typeInfo">
<object idref="PrimitiveTypeInfo1"/>
</void>
+ <void property="value">
+ <int>2</int>
+ </void>
</object>
</void>
</object>
</void>
- <void property="methodName">
- <string>%</string>
+ <void property="genericUDF">
+ <object class="org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge">
+ <void property="operator">
+ <boolean>true</boolean>
+ </void>
+ <void property="udfClass">
+ <class>org.apache.hadoop.hive.ql.udf.UDFOPMod</class>
+ </void>
+ <void property="udfName">
+ <string>%</string>
+ </void>
+ </object>
</void>
<void property="typeInfo">
- <object idref="PrimitiveTypeInfo1"/>
+ <object idref="PrimitiveTypeInfo2"/>
</void>
</object>
</void>
@@ -597,10 +477,10 @@
<void property="colList">
<object class="java.util.ArrayList">
<void method="add">
- <object idref="exprNodeFuncDesc1"/>
+ <object idref="exprNodeGenericFuncDesc1"/>
</void>
<void method="add">
- <object idref="exprNodeFuncDesc0"/>
+ <object idref="exprNodeGenericFuncDesc0"/>
</void>
</object>
</void>
@@ -633,7 +513,7 @@
<string>_col0</string>
</void>
<void property="type">
- <object idref="PrimitiveTypeInfo1"/>
+ <object idref="PrimitiveTypeInfo2"/>
</void>
</object>
</void>
@@ -643,7 +523,7 @@
<string>_col1</string>
</void>
<void property="type">
- <object idref="PrimitiveTypeInfo1"/>
+ <object idref="PrimitiveTypeInfo2"/>
</void>
</object>
</void>
@@ -710,7 +590,7 @@
<void property="pathToAliases">
<object class="java.util.LinkedHashMap">
<void method="put">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/test/data/warehouse/src</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/test/data/warehouse/src</string>
<object class="java.util.ArrayList">
<void method="add">
<string>tmap:src</string>
@@ -722,7 +602,7 @@
<void property="pathToPartitionInfo">
<object class="java.util.LinkedHashMap">
<void method="put">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/test/data/warehouse/src</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/test/data/warehouse/src</string>
<object class="org.apache.hadoop.hive.ql.plan.partitionDesc">
<void property="partSpec">
<object idref="LinkedHashMap0"/>
@@ -767,7 +647,7 @@
<void property="conf">
<object class="org.apache.hadoop.hive.ql.plan.fileSinkDesc">
<void property="dirName">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/1928492642/10001</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/445123603/10001</string>
</void>
<void property="tableInfo">
<object class="org.apache.hadoop.hive.ql.plan.tableDesc">