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 [8/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/clientpositive/union.q.out
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/test/results/clientpositive/union.q.out?rev=804106&r1=804105&r2=804106&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/test/results/clientpositive/union.q.out (original)
+++ hadoop/hive/trunk/ql/src/test/results/clientpositive/union.q.out Fri Aug 14 07:48:02 2009
@@ -24,11 +24,11 @@
alias: src
Filter Operator
predicate:
- expr: (UDFToDouble(key) < UDFToDouble(100))
+ expr: (key < 100)
type: boolean
Filter Operator
predicate:
- expr: (UDFToDouble(key) < UDFToDouble(100))
+ expr: (key < 100)
type: boolean
Select Operator
expressions:
@@ -56,11 +56,11 @@
alias: src
Filter Operator
predicate:
- expr: (UDFToDouble(key) > UDFToDouble(100))
+ expr: (key > 100)
type: boolean
Filter Operator
predicate:
- expr: (UDFToDouble(key) > UDFToDouble(100))
+ expr: (key > 100)
type: boolean
Select Operator
expressions:
@@ -90,10 +90,10 @@
Move Operator
files:
hdfs directory: true
- destination: file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/1350073844/10000
+ destination: file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_2/build/ql/tmp/1824192644/10000
Map Reduce
Alias -> Map Operator Tree:
- file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/1473634574/10001
+ file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_2/build/ql/tmp/24944303/10001
Reduce Output Operator
sort order:
Map-reduce partition columns:
Modified: hadoop/hive/trunk/ql/src/test/results/clientpositive/union20.q.out
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/test/results/clientpositive/union20.q.out?rev=804106&r1=804105&r2=804106&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/test/results/clientpositive/union20.q.out (original)
+++ hadoop/hive/trunk/ql/src/test/results/clientpositive/union20.q.out Fri Aug 14 07:48:02 2009
@@ -68,7 +68,7 @@
Stage: Stage-2
Map Reduce
Alias -> Map Operator Tree:
- file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/2007188536/10002
+ file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_0/build/ql/tmp/1249232145/10002
Union
Reduce Output Operator
key expressions:
@@ -84,7 +84,7 @@
type: string
expr: _col1
type: string
- file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/2007188536/10003
+ file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_0/build/ql/tmp/1249232145/10003
Union
Reduce Output Operator
key expressions:
@@ -149,11 +149,11 @@
alias: s4
Filter Operator
predicate:
- expr: (UDFToDouble(key) < UDFToDouble(10))
+ expr: (key < 10)
type: boolean
Filter Operator
predicate:
- expr: (UDFToDouble(key) < UDFToDouble(10))
+ expr: (key < 10)
type: boolean
Select Operator
expressions:
@@ -177,11 +177,11 @@
alias: s2
Filter Operator
predicate:
- expr: (UDFToDouble(key) < UDFToDouble(10))
+ expr: (key < 10)
type: boolean
Filter Operator
predicate:
- expr: (UDFToDouble(key) < UDFToDouble(10))
+ expr: (key < 10)
type: boolean
Select Operator
expressions:
@@ -200,7 +200,7 @@
Stage: Stage-5
Map Reduce
Alias -> Map Operator Tree:
- file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/2007188536/10004
+ file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_0/build/ql/tmp/1249232145/10004
Union
File Output Operator
compressed: false
@@ -208,7 +208,7 @@
table:
input format: org.apache.hadoop.mapred.SequenceFileInputFormat
output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
- file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/2007188536/10006
+ file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_0/build/ql/tmp/1249232145/10006
Union
File Output Operator
compressed: false
@@ -270,7 +270,7 @@
select s4.key as key, s4.value as value from src s4 where s4.key < 10) unionsrc2
ON (unionsrc1.key = unionsrc2.key)
Input: default/src
-Output: file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/1517739489/10000
+Output: file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_0/build/ql/tmp/406100119/10000
0 val_0 0 val_0
0 val_0 0 val_0
0 val_0 0 val_0
Modified: hadoop/hive/trunk/ql/src/test/results/clientpositive/union_ppr.q.out
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/test/results/clientpositive/union_ppr.q.out?rev=804106&r1=804105&r2=804106&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/test/results/clientpositive/union_ppr.q.out (original)
+++ hadoop/hive/trunk/ql/src/test/results/clientpositive/union_ppr.q.out Fri Aug 14 07:48:02 2009
@@ -23,12 +23,12 @@
Filter Operator
isSamplingPred: false
predicate:
- expr: ((UDFToDouble(key) < UDFToDouble(100)) and (ds = '2008-04-08'))
+ expr: ((key < 100) and (ds = '2008-04-08'))
type: boolean
Filter Operator
isSamplingPred: false
predicate:
- expr: (UDFToDouble(key) < UDFToDouble(100))
+ expr: (key < 100)
type: boolean
Select Operator
expressions:
@@ -79,12 +79,12 @@
Filter Operator
isSamplingPred: false
predicate:
- expr: ((UDFToDouble(key) < UDFToDouble(100)) and (ds = '2008-04-08'))
+ expr: ((key < 100) and (ds = '2008-04-08'))
type: boolean
Filter Operator
isSamplingPred: false
predicate:
- expr: (UDFToDouble(key) < UDFToDouble(100))
+ expr: (key < 100)
type: boolean
Select Operator
expressions:
@@ -131,10 +131,10 @@
type: string
Needs Tagging: false
Path -> Alias:
- file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/test/data/warehouse/srcpart/ds=2008-04-08/hr=11
- file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/test/data/warehouse/srcpart/ds=2008-04-08/hr=12
+ file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_1/build/ql/test/data/warehouse/srcpart/ds=2008-04-08/hr=11 [null-subquery1:a-subquery1:x, null-subquery2:a-subquery2:y]
+ file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_1/build/ql/test/data/warehouse/srcpart/ds=2008-04-08/hr=12 [null-subquery1:a-subquery1:x, null-subquery2:a-subquery2:y]
Path -> Partition:
- file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/test/data/warehouse/srcpart/ds=2008-04-08/hr=11
+ file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_1/build/ql/test/data/warehouse/srcpart/ds=2008-04-08/hr=11
Partition
partition values:
ds 2008-04-08
@@ -153,10 +153,10 @@
serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
file.inputformat org.apache.hadoop.mapred.TextInputFormat
file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
- location file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/test/data/warehouse/srcpart
+ location file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_1/build/ql/test/data/warehouse/srcpart
serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
name: srcpart
- file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/test/data/warehouse/srcpart/ds=2008-04-08/hr=12
+ file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_1/build/ql/test/data/warehouse/srcpart/ds=2008-04-08/hr=12
Partition
partition values:
ds 2008-04-08
@@ -175,7 +175,7 @@
serialization.lib org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
file.inputformat org.apache.hadoop.mapred.TextInputFormat
file.outputformat org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
- location file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/test/data/warehouse/srcpart
+ location file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_1/build/ql/test/data/warehouse/srcpart
serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
name: srcpart
Reduce Operator Tree:
@@ -183,7 +183,7 @@
File Output Operator
compressed: false
GlobalTableId: 0
- directory: file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/572148807/10001
+ directory: file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_1/build/ql/tmp/488223267/10001
table:
input format: org.apache.hadoop.mapred.TextInputFormat
output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
@@ -206,7 +206,7 @@
SORT BY A.key
Input: default/srcpart/ds=2008-04-08/hr=11
Input: default/srcpart/ds=2008-04-08/hr=12
-Output: file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/548110584/10000
+Output: file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_1/build/ql/tmp/49836267/10000
0 val_0 2008-04-08 11
0 val_0 2008-04-08 11
0 val_0 2008-04-08 11
Modified: hadoop/hive/trunk/ql/src/test/results/compiler/plan/case_sensitivity.q.xml
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/test/results/compiler/plan/case_sensitivity.q.xml?rev=804106&r1=804105&r2=804106&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/test/results/compiler/plan/case_sensitivity.q.xml (original)
+++ hadoop/hive/trunk/ql/src/test/results/compiler/plan/case_sensitivity.q.xml 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/473117287/10000</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/1862206014/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/473117287/10001</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/1862206014/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/1404753300/10002</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/168401550/10002</string>
</void>
<void property="targetDir">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/473117287/10000</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/1862206014/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/1404753300/10002</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/168401550/10002</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 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/1404753300/10002</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/168401550/10002</string>
<object class="java.util.ArrayList">
<void method="add">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/1404753300/10002</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/168401550/10002</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/1404753300/10002</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/168401550/10002</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/473117287/10000</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/1862206014/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>
@@ -536,7 +534,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/1404753300/10002</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/168401550/10002</string>
</void>
<void property="listTasks">
<object idref="ArrayList0"/>
@@ -628,7 +626,7 @@
</void>
<void method="put">
<string>location</string>
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/test/data/warehouse/src_thrift</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/test/data/warehouse/src_thrift</string>
</void>
</object>
</void>
@@ -667,7 +665,7 @@
<int>1</int>
</void>
<void property="dirName">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/1404753300/10002</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/168401550/10002</string>
</void>
<void property="tableInfo">
<object idref="tableDesc0"/>
@@ -726,8 +724,8 @@
</void>
</object>
</void>
- <void property="genericUDFClass">
- <class>org.apache.hadoop.hive.ql.udf.generic.GenericUDFIndex</class>
+ <void property="genericUDF">
+ <object class="org.apache.hadoop.hive.ql.udf.generic.GenericUDFIndex"/>
</void>
<void property="typeInfo">
<object idref="StructTypeInfo0"/>
@@ -779,8 +777,8 @@
</void>
</object>
</void>
- <void property="genericUDFClass">
- <class>org.apache.hadoop.hive.ql.udf.generic.GenericUDFIndex</class>
+ <void property="genericUDF">
+ <object class="org.apache.hadoop.hive.ql.udf.generic.GenericUDFIndex"/>
</void>
<void property="typeInfo">
<object idref="PrimitiveTypeInfo1"/>
@@ -855,23 +853,7 @@
<void property="conf">
<object class="org.apache.hadoop.hive.ql.plan.filterDesc">
<void property="predicate">
- <object class="org.apache.hadoop.hive.ql.plan.exprNodeFuncDesc">
- <void property="UDFClass">
- <class>org.apache.hadoop.hive.ql.udf.UDFOPGreaterThan</class>
- </void>
- <void property="UDFMethod">
- <object id="Method0" class="org.apache.hadoop.hive.ql.udf.UDFOPGreaterThan" method="getMethod">
- <string>evaluate</string>
- <array class="java.lang.Class" length="2">
- <void index="0">
- <class>org.apache.hadoop.io.IntWritable</class>
- </void>
- <void index="1">
- <class>org.apache.hadoop.io.IntWritable</class>
- </void>
- </array>
- </object>
- </void>
+ <object class="org.apache.hadoop.hive.ql.plan.exprNodeGenericFuncDesc">
<void property="childExprs">
<object class="java.util.ArrayList">
<void method="add">
@@ -903,8 +885,8 @@
</void>
</object>
</void>
- <void property="genericUDFClass">
- <class>org.apache.hadoop.hive.ql.udf.generic.GenericUDFIndex</class>
+ <void property="genericUDF">
+ <object class="org.apache.hadoop.hive.ql.udf.generic.GenericUDFIndex"/>
</void>
<void property="typeInfo">
<object idref="PrimitiveTypeInfo1"/>
@@ -923,8 +905,18 @@
</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.UDFOPGreaterThan</class>
+ </void>
+ <void property="udfName">
+ <string>></string>
+ </void>
+ </object>
</void>
<void property="typeInfo">
<object id="PrimitiveTypeInfo2" class="org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo">
@@ -1030,13 +1022,7 @@
<void property="conf">
<object class="org.apache.hadoop.hive.ql.plan.filterDesc">
<void property="predicate">
- <object class="org.apache.hadoop.hive.ql.plan.exprNodeFuncDesc">
- <void property="UDFClass">
- <class>org.apache.hadoop.hive.ql.udf.UDFOPGreaterThan</class>
- </void>
- <void property="UDFMethod">
- <object idref="Method0"/>
- </void>
+ <object class="org.apache.hadoop.hive.ql.plan.exprNodeGenericFuncDesc">
<void property="childExprs">
<object class="java.util.ArrayList">
<void method="add">
@@ -1068,8 +1054,8 @@
</void>
</object>
</void>
- <void property="genericUDFClass">
- <class>org.apache.hadoop.hive.ql.udf.generic.GenericUDFIndex</class>
+ <void property="genericUDF">
+ <object class="org.apache.hadoop.hive.ql.udf.generic.GenericUDFIndex"/>
</void>
<void property="typeInfo">
<object idref="PrimitiveTypeInfo1"/>
@@ -1088,8 +1074,18 @@
</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.UDFOPGreaterThan</class>
+ </void>
+ <void property="udfName">
+ <string>></string>
+ </void>
+ </object>
</void>
<void property="typeInfo">
<object idref="PrimitiveTypeInfo2"/>
@@ -1147,7 +1143,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_thrift</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/test/data/warehouse/src_thrift</string>
<object class="java.util.ArrayList">
<void method="add">
<string>src_thrift</string>
@@ -1159,7 +1155,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_thrift</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/test/data/warehouse/src_thrift</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/cast1.q.xml
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/test/results/compiler/plan/cast1.q.xml?rev=804106&r1=804105&r2=804106&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/test/results/compiler/plan/cast1.q.xml (original)
+++ hadoop/hive/trunk/ql/src/test/results/compiler/plan/cast1.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>
@@ -100,7 +100,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/1706769894/10001</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/836386347/10001</string>
</void>
<void property="tableInfo">
<object class="org.apache.hadoop.hive.ql.plan.tableDesc">
@@ -238,20 +238,7 @@
<object class="java.util.HashMap">
<void method="put">
<string>_col6</string>
- <object id="exprNodeFuncDesc0" class="org.apache.hadoop.hive.ql.plan.exprNodeFuncDesc">
- <void property="UDFClass">
- <class>org.apache.hadoop.hive.ql.udf.UDFToInteger</class>
- </void>
- <void property="UDFMethod">
- <object class="org.apache.hadoop.hive.ql.udf.UDFToInteger" method="getMethod">
- <string>evaluate</string>
- <array class="java.lang.Class" length="1">
- <void index="0">
- <class>org.apache.hadoop.io.BooleanWritable</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">
@@ -266,8 +253,15 @@
</void>
</object>
</void>
- <void property="methodName">
- <string>int</string>
+ <void property="genericUDF">
+ <object class="org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge">
+ <void property="udfClass">
+ <class>org.apache.hadoop.hive.ql.udf.UDFToInteger</class>
+ </void>
+ <void property="udfName">
+ <string>UDFToInteger</string>
+ </void>
+ </object>
</void>
<void property="typeInfo">
<object idref="PrimitiveTypeInfo0"/>
@@ -276,20 +270,7 @@
</void>
<void method="put">
<string>_col5</string>
- <object id="exprNodeFuncDesc1" class="org.apache.hadoop.hive.ql.plan.exprNodeFuncDesc">
- <void property="UDFClass">
- <class>org.apache.hadoop.hive.ql.udf.UDFToBoolean</class>
- </void>
- <void property="UDFMethod">
- <object class="org.apache.hadoop.hive.ql.udf.UDFToBoolean" 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>
+ <object id="exprNodeGenericFuncDesc1" class="org.apache.hadoop.hive.ql.plan.exprNodeGenericFuncDesc">
<void property="childExprs">
<object class="java.util.ArrayList">
<void method="add">
@@ -304,8 +285,15 @@
</void>
</object>
</void>
- <void property="methodName">
- <string>boolean</string>
+ <void property="genericUDF">
+ <object class="org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge">
+ <void property="udfClass">
+ <class>org.apache.hadoop.hive.ql.udf.UDFToBoolean</class>
+ </void>
+ <void property="udfName">
+ <string>UDFToBoolean</string>
+ </void>
+ </object>
</void>
<void property="typeInfo">
<object idref="PrimitiveTypeInfo2"/>
@@ -314,23 +302,7 @@
</void>
<void method="put">
<string>_col4</string>
- <object id="exprNodeFuncDesc2" class="org.apache.hadoop.hive.ql.plan.exprNodeFuncDesc">
- <void property="UDFClass">
- <class>org.apache.hadoop.hive.ql.udf.UDFOPPlus</class>
- </void>
- <void property="UDFMethod">
- <object class="org.apache.hadoop.hive.ql.udf.UDFOPPlus" method="getMethod">
- <string>evaluate</string>
- <array class="java.lang.Class" length="2">
- <void index="0">
- <class>org.apache.hadoop.io.IntWritable</class>
- </void>
- <void index="1">
- <class>org.apache.hadoop.io.IntWritable</class>
- </void>
- </array>
- </object>
- </void>
+ <object id="exprNodeGenericFuncDesc2" class="org.apache.hadoop.hive.ql.plan.exprNodeGenericFuncDesc">
<void property="childExprs">
<object class="java.util.ArrayList">
<void method="add">
@@ -344,20 +316,7 @@
</object>
</void>
<void method="add">
- <object class="org.apache.hadoop.hive.ql.plan.exprNodeFuncDesc">
- <void property="UDFClass">
- <class>org.apache.hadoop.hive.ql.udf.UDFToInteger</class>
- </void>
- <void property="UDFMethod">
- <object class="org.apache.hadoop.hive.ql.udf.UDFToInteger" method="getMethod">
- <string>evaluate</string>
- <array class="java.lang.Class" length="1">
- <void index="0">
- <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">
@@ -372,8 +331,15 @@
</void>
</object>
</void>
- <void property="methodName">
- <string>int</string>
+ <void property="genericUDF">
+ <object class="org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge">
+ <void property="udfClass">
+ <class>org.apache.hadoop.hive.ql.udf.UDFToInteger</class>
+ </void>
+ <void property="udfName">
+ <string>UDFToInteger</string>
+ </void>
+ </object>
</void>
<void property="typeInfo">
<object idref="PrimitiveTypeInfo0"/>
@@ -382,8 +348,18 @@
</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.UDFOPPlus</class>
+ </void>
+ <void property="udfName">
+ <string>+</string>
+ </void>
+ </object>
</void>
<void property="typeInfo">
<object idref="PrimitiveTypeInfo0"/>
@@ -392,23 +368,7 @@
</void>
<void method="put">
<string>_col3</string>
- <object id="exprNodeFuncDesc3" class="org.apache.hadoop.hive.ql.plan.exprNodeFuncDesc">
- <void property="UDFClass">
- <class>org.apache.hadoop.hive.ql.udf.UDFOPPlus</class>
- </void>
- <void property="UDFMethod">
- <object class="org.apache.hadoop.hive.ql.udf.UDFOPPlus" 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="exprNodeGenericFuncDesc3" class="org.apache.hadoop.hive.ql.plan.exprNodeGenericFuncDesc">
<void property="childExprs">
<object class="java.util.ArrayList">
<void method="add">
@@ -433,8 +393,18 @@
</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.UDFOPPlus</class>
+ </void>
+ <void property="udfName">
+ <string>+</string>
+ </void>
+ </object>
</void>
<void property="typeInfo">
<object idref="PrimitiveTypeInfo1"/>
@@ -443,59 +413,16 @@
</void>
<void method="put">
<string>_col2</string>
- <object id="exprNodeFuncDesc4" class="org.apache.hadoop.hive.ql.plan.exprNodeFuncDesc">
- <void property="UDFClass">
- <class>org.apache.hadoop.hive.ql.udf.UDFOPPlus</class>
- </void>
- <void property="UDFMethod">
- <object class="org.apache.hadoop.hive.ql.udf.UDFOPPlus" 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="exprNodeGenericFuncDesc4" 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.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="PrimitiveTypeInfo0"/>
- </void>
- <void property="value">
- <int>3</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"/>
+ <object idref="PrimitiveTypeInfo0"/>
+ </void>
+ <void property="value">
+ <int>3</int>
</void>
</object>
</void>
@@ -511,8 +438,18 @@
</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.UDFOPPlus</class>
+ </void>
+ <void property="udfName">
+ <string>+</string>
+ </void>
+ </object>
</void>
<void property="typeInfo">
<object idref="PrimitiveTypeInfo1"/>
@@ -521,23 +458,7 @@
</void>
<void method="put">
<string>_col1</string>
- <object id="exprNodeFuncDesc5" class="org.apache.hadoop.hive.ql.plan.exprNodeFuncDesc">
- <void property="UDFClass">
- <class>org.apache.hadoop.hive.ql.udf.UDFOPPlus</class>
- </void>
- <void property="UDFMethod">
- <object class="org.apache.hadoop.hive.ql.udf.UDFOPPlus" 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="exprNodeGenericFuncDesc5" class="org.apache.hadoop.hive.ql.plan.exprNodeGenericFuncDesc">
<void property="childExprs">
<object class="java.util.ArrayList">
<void method="add">
@@ -551,46 +472,29 @@
</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="PrimitiveTypeInfo0"/>
- </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"/>
+ <object idref="PrimitiveTypeInfo0"/>
+ </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.UDFOPPlus</class>
+ </void>
+ <void property="udfName">
+ <string>+</string>
+ </void>
+ </object>
</void>
<void property="typeInfo">
<object idref="PrimitiveTypeInfo1"/>
@@ -599,23 +503,7 @@
</void>
<void method="put">
<string>_col0</string>
- <object id="exprNodeFuncDesc6" class="org.apache.hadoop.hive.ql.plan.exprNodeFuncDesc">
- <void property="UDFClass">
- <class>org.apache.hadoop.hive.ql.udf.UDFOPPlus</class>
- </void>
- <void property="UDFMethod">
- <object class="org.apache.hadoop.hive.ql.udf.UDFOPPlus" method="getMethod">
- <string>evaluate</string>
- <array class="java.lang.Class" length="2">
- <void index="0">
- <class>org.apache.hadoop.io.IntWritable</class>
- </void>
- <void index="1">
- <class>org.apache.hadoop.io.IntWritable</class>
- </void>
- </array>
- </object>
- </void>
+ <object id="exprNodeGenericFuncDesc6" class="org.apache.hadoop.hive.ql.plan.exprNodeGenericFuncDesc">
<void property="childExprs">
<object class="java.util.ArrayList">
<void method="add">
@@ -640,8 +528,18 @@
</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.UDFOPPlus</class>
+ </void>
+ <void property="udfName">
+ <string>+</string>
+ </void>
+ </object>
</void>
<void property="typeInfo">
<object idref="PrimitiveTypeInfo0"/>
@@ -655,25 +553,25 @@
<void property="colList">
<object class="java.util.ArrayList">
<void method="add">
- <object idref="exprNodeFuncDesc6"/>
+ <object idref="exprNodeGenericFuncDesc6"/>
</void>
<void method="add">
- <object idref="exprNodeFuncDesc5"/>
+ <object idref="exprNodeGenericFuncDesc5"/>
</void>
<void method="add">
- <object idref="exprNodeFuncDesc4"/>
+ <object idref="exprNodeGenericFuncDesc4"/>
</void>
<void method="add">
- <object idref="exprNodeFuncDesc3"/>
+ <object idref="exprNodeGenericFuncDesc3"/>
</void>
<void method="add">
- <object idref="exprNodeFuncDesc2"/>
+ <object idref="exprNodeGenericFuncDesc2"/>
</void>
<void method="add">
- <object idref="exprNodeFuncDesc1"/>
+ <object idref="exprNodeGenericFuncDesc1"/>
</void>
<void method="add">
- <object idref="exprNodeFuncDesc0"/>
+ <object idref="exprNodeGenericFuncDesc0"/>
</void>
</object>
</void>
@@ -796,110 +694,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.UDFOPEqual</class>
- </void>
- <void property="UDFMethod">
- <object id="Method0" class="org.apache.hadoop.hive.ql.udf.UDFOPEqual" 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 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="tabAlias">
- <string>src</string>
- </void>
- <void property="typeInfo">
- <object id="PrimitiveTypeInfo3" class="org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo">
- <void property="typeName">
- <string>string</string>
- </void>
- </object>
- </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 id="PrimitiveTypeInfo3" class="org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo">
+ <void property="typeName">
+ <string>string</string>
+ </void>
+ </object>
</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 idref="PrimitiveTypeInfo0"/>
- </void>
- <void property="value">
- <int>86</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"/>
+ <object idref="PrimitiveTypeInfo0"/>
+ </void>
+ <void property="value">
+ <int>86</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.UDFOPEqual</class>
+ </void>
+ <void property="udfName">
+ <string>=</string>
+ </void>
+ </object>
</void>
<void property="typeInfo">
<object idref="PrimitiveTypeInfo2"/>
@@ -950,82 +788,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.UDFOPEqual</class>
- </void>
- <void property="UDFMethod">
- <object idref="Method0"/>
- </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 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="tabAlias">
- <string>src</string>
- </void>
- <void property="typeInfo">
- <object idref="PrimitiveTypeInfo3"/>
- </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="PrimitiveTypeInfo3"/>
</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="PrimitiveTypeInfo0"/>
- </void>
- <void property="value">
- <int>86</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"/>
+ <object idref="PrimitiveTypeInfo0"/>
+ </void>
+ <void property="value">
+ <int>86</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.UDFOPEqual</class>
+ </void>
+ <void property="udfName">
+ <string>=</string>
+ </void>
+ </object>
</void>
<void property="typeInfo">
<object idref="PrimitiveTypeInfo2"/>
@@ -1080,7 +882,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>
@@ -1092,7 +894,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/groupby1.q.xml
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/test/results/compiler/plan/groupby1.q.xml?rev=804106&r1=804105&r2=804106&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/test/results/compiler/plan/groupby1.q.xml (original)
+++ hadoop/hive/trunk/ql/src/test/results/compiler/plan/groupby1.q.xml Fri Aug 14 07:48:02 2009
@@ -26,7 +26,7 @@
<boolean>true</boolean>
</void>
<void property="sourceDir">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/347896575/10000</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/574126259/10000</string>
</void>
<void property="table">
<object id="tableDesc0" class="org.apache.hadoop.hive.ql.plan.tableDesc">
@@ -79,7 +79,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>
@@ -89,7 +89,7 @@
</object>
</void>
<void property="tmpDir">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/347896575/10001</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/574126259/10001</string>
</void>
</object>
</void>
@@ -162,7 +162,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>
@@ -389,8 +389,8 @@
<object class="java.util.ArrayList">
<void method="add">
<object class="org.apache.hadoop.hive.ql.plan.aggregationDesc">
- <void property="genericUDAFEvaluatorClass">
- <class>org.apache.hadoop.hive.ql.udf.generic.GenericUDAFSum$GenericUDAFSumDouble</class>
+ <void property="genericUDAFEvaluator">
+ <object id="GenericUDAFSum$GenericUDAFSumDouble0" class="org.apache.hadoop.hive.ql.udf.generic.GenericUDAFSum$GenericUDAFSumDouble"/>
</void>
<void property="genericUDAFName">
<string>sum</string>
@@ -403,23 +403,7 @@
<void property="parameters">
<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.UDFSubstr</class>
- </void>
- <void property="UDFMethod">
- <object class="org.apache.hadoop.hive.ql.udf.UDFSubstr" method="getMethod">
- <string>evaluate</string>
- <array class="java.lang.Class" length="2">
- <void index="0">
- <class>org.apache.hadoop.io.Text</class>
- </void>
- <void index="1">
- <class>org.apache.hadoop.io.IntWritable</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">
@@ -451,8 +435,15 @@
</void>
</object>
</void>
- <void property="methodName">
- <string>substr</string>
+ <void property="genericUDF">
+ <object class="org.apache.hadoop.hive.ql.udf.generic.GenericUDFBridge">
+ <void property="udfClass">
+ <class>org.apache.hadoop.hive.ql.udf.UDFSubstr</class>
+ </void>
+ <void property="udfName">
+ <string>substr</string>
+ </void>
+ </object>
</void>
<void property="typeInfo">
<object idref="PrimitiveTypeInfo0"/>
@@ -651,7 +642,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>
@@ -663,7 +654,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"/>
@@ -707,7 +698,7 @@
<int>1</int>
</void>
<void property="dirName">
- <string>file:/data/users/athusoo/commits/hive_trunk_ws1/build/ql/tmp/347896575/10000</string>
+ <string>file:/data/users/zshao/tools/699-trunk-apache-hive/.ptest_3/build/ql/tmp/574126259/10000</string>
</void>
<void property="tableInfo">
<object idref="tableDesc0"/>
@@ -869,8 +860,8 @@
<object class="java.util.ArrayList">
<void method="add">
<object class="org.apache.hadoop.hive.ql.plan.aggregationDesc">
- <void property="genericUDAFEvaluatorClass">
- <class>org.apache.hadoop.hive.ql.udf.generic.GenericUDAFSum$GenericUDAFSumDouble</class>
+ <void property="genericUDAFEvaluator">
+ <object idref="GenericUDAFSum$GenericUDAFSumDouble0"/>
</void>
<void property="genericUDAFName">
<string>sum</string>