You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by zs...@apache.org on 2009/06/24 06:05:05 UTC
svn commit: r787898 [7/19] - in /hadoop/hive/trunk: ./ conf/
ql/src/java/org/apache/hadoop/hive/ql/ppd/
ql/src/test/results/clientpositive/ ql/src/test/results/compiler/plan/
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=787898&r1=787897&r2=787898&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 Wed Jun 24 04:05:02 2009
@@ -64,7 +64,7 @@
</void>
<void method="put">
<string>location</string>
- <string>file:/data/users/njain/hive4/hive4/build/ql/test/data/warehouse/src</string>
+ <string>file:/data/users/pchakka/workspace/oshive/build/ql/test/data/warehouse/src</string>
</void>
</object>
</void>
@@ -88,36 +88,133 @@
<void property="childOperators">
<object class="java.util.ArrayList">
<void method="add">
- <object id="SelectOperator0" class="org.apache.hadoop.hive.ql.exec.SelectOperator">
+ <object id="FilterOperator1" class="org.apache.hadoop.hive.ql.exec.FilterOperator">
<void property="childOperators">
<object class="java.util.ArrayList">
<void method="add">
- <object class="org.apache.hadoop.hive.ql.exec.FileSinkOperator">
- <void property="conf">
- <object class="org.apache.hadoop.hive.ql.plan.fileSinkDesc">
- <void property="dirName">
- <string>file:/data/users/njain/hive4/hive4/build/ql/tmp/773824827/10001</string>
- </void>
- <void property="tableInfo">
- <object class="org.apache.hadoop.hive.ql.plan.tableDesc">
- <void property="deserializerClass">
- <class>org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe</class>
- </void>
- <void property="inputFileFormatClass">
- <class>org.apache.hadoop.mapred.TextInputFormat</class>
- </void>
- <void property="outputFileFormatClass">
- <class>org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat</class>
- </void>
- <void property="properties">
- <object class="java.util.Properties">
- <void method="put">
- <string>columns</string>
- <string>_c0,_c1,_c2,_c3,_c4,_c5,_c6</string>
- </void>
- <void method="put">
- <string>serialization.format</string>
- <string>1</string>
+ <object id="SelectOperator0" class="org.apache.hadoop.hive.ql.exec.SelectOperator">
+ <void property="childOperators">
+ <object class="java.util.ArrayList">
+ <void method="add">
+ <object class="org.apache.hadoop.hive.ql.exec.FileSinkOperator">
+ <void property="conf">
+ <object class="org.apache.hadoop.hive.ql.plan.fileSinkDesc">
+ <void property="dirName">
+ <string>file:/data/users/pchakka/workspace/oshive/build/ql/tmp/994014283/10001</string>
+ </void>
+ <void property="tableInfo">
+ <object class="org.apache.hadoop.hive.ql.plan.tableDesc">
+ <void property="deserializerClass">
+ <class>org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe</class>
+ </void>
+ <void property="inputFileFormatClass">
+ <class>org.apache.hadoop.mapred.TextInputFormat</class>
+ </void>
+ <void property="outputFileFormatClass">
+ <class>org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat</class>
+ </void>
+ <void property="properties">
+ <object class="java.util.Properties">
+ <void method="put">
+ <string>columns</string>
+ <string>_c0,_c1,_c2,_c3,_c4,_c5,_c6</string>
+ </void>
+ <void method="put">
+ <string>serialization.format</string>
+ <string>1</string>
+ </void>
+ </object>
+ </void>
+ </object>
+ </void>
+ </object>
+ </void>
+ <void property="parentOperators">
+ <object class="java.util.ArrayList">
+ <void method="add">
+ <object idref="SelectOperator0"/>
+ </void>
+ </object>
+ </void>
+ <void property="schema">
+ <object class="org.apache.hadoop.hive.ql.exec.RowSchema">
+ <void property="signature">
+ <object class="java.util.Vector">
+ <void method="add">
+ <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
+ <void property="internalName">
+ <string>_c0</string>
+ </void>
+ <void property="type">
+ <object id="PrimitiveTypeInfo0" 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.exec.ColumnInfo">
+ <void property="internalName">
+ <string>_c1</string>
+ </void>
+ <void property="type">
+ <object idref="PrimitiveTypeInfo0"/>
+ </void>
+ </object>
+ </void>
+ <void method="add">
+ <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
+ <void property="internalName">
+ <string>_c2</string>
+ </void>
+ <void property="type">
+ <object idref="PrimitiveTypeInfo0"/>
+ </void>
+ </object>
+ </void>
+ <void method="add">
+ <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
+ <void property="internalName">
+ <string>_c3</string>
+ </void>
+ <void property="type">
+ <object idref="PrimitiveTypeInfo0"/>
+ </void>
+ </object>
+ </void>
+ <void method="add">
+ <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
+ <void property="internalName">
+ <string>_c4</string>
+ </void>
+ <void property="type">
+ <object idref="PrimitiveTypeInfo0"/>
+ </void>
+ </object>
+ </void>
+ <void method="add">
+ <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
+ <void property="internalName">
+ <string>_c5</string>
+ </void>
+ <void property="type">
+ <object idref="PrimitiveTypeInfo0"/>
+ </void>
+ </object>
+ </void>
+ <void method="add">
+ <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
+ <void property="internalName">
+ <string>_c6</string>
+ </void>
+ <void property="type">
+ <object idref="PrimitiveTypeInfo0"/>
+ </void>
+ </object>
+ </void>
+ </object>
</void>
</object>
</void>
@@ -125,222 +222,298 @@
</void>
</object>
</void>
- <void property="parentOperators">
- <object class="java.util.ArrayList">
- <void method="add">
- <object idref="SelectOperator0"/>
- </void>
- </object>
- </void>
- <void property="schema">
- <object class="org.apache.hadoop.hive.ql.exec.RowSchema">
- <void property="signature">
- <object class="java.util.Vector">
- <void method="add">
- <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
- <void property="internalName">
- <string>_c0</string>
- </void>
- <void property="type">
- <object id="PrimitiveTypeInfo0" class="org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo">
- <void property="typeName">
- <string>string</string>
+ <void property="columnExprMap">
+ <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>
+ <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="PrimitiveTypeInfo1" class="org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo">
+ <void property="typeName">
+ <string>boolean</string>
+ </void>
+ </object>
+ </void>
+ <void property="value">
+ <boolean>true</boolean>
</void>
</object>
</void>
</object>
</void>
- <void method="add">
- <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
- <void property="internalName">
- <string>_c1</string>
- </void>
- <void property="type">
- <object idref="PrimitiveTypeInfo0"/>
+ <void property="typeInfo">
+ <object id="PrimitiveTypeInfo2" class="org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo">
+ <void property="typeName">
+ <string>int</string>
</void>
</object>
</void>
- <void method="add">
- <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
- <void property="internalName">
- <string>_c2</string>
- </void>
- <void property="type">
- <object idref="PrimitiveTypeInfo0"/>
- </void>
- </object>
+ </object>
+ </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 method="add">
- <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
- <void property="internalName">
- <string>_c3</string>
- </void>
- <void property="type">
- <object idref="PrimitiveTypeInfo0"/>
- </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>
- <void method="add">
- <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
- <void property="internalName">
- <string>_c4</string>
- </void>
- <void property="type">
- <object idref="PrimitiveTypeInfo0"/>
+ <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>1</int>
+ </void>
+ </object>
</void>
</object>
</void>
- <void method="add">
- <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
- <void property="internalName">
- <string>_c5</string>
- </void>
- <void property="type">
- <object idref="PrimitiveTypeInfo0"/>
- </void>
+ <void property="typeInfo">
+ <object idref="PrimitiveTypeInfo1"/>
+ </void>
+ </object>
+ </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>
- <void method="add">
- <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
- <void property="internalName">
- <string>_c6</string>
+ <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>3</int>
+ </void>
+ </object>
</void>
- <void property="type">
- <object idref="PrimitiveTypeInfo0"/>
+ <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>
+ <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="PrimitiveTypeInfo3" class="org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo">
+ <void property="typeName">
+ <string>double</string>
+ </void>
+ </object>
+ </void>
+ <void property="value">
+ <double>2.0</double>
+ </void>
+ </object>
+ </void>
+ </object>
+ </void>
+ <void property="typeInfo">
+ <object idref="PrimitiveTypeInfo2"/>
+ </void>
+ </object>
</void>
</object>
</void>
+ <void property="typeInfo">
+ <object idref="PrimitiveTypeInfo2"/>
+ </void>
</object>
</void>
- </object>
- </void>
- </object>
- </void>
- </object>
- </void>
- <void property="columnExprMap">
- <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>
- <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="PrimitiveTypeInfo1" class="org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo">
- <void property="typeName">
- <string>boolean</string>
+ <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>
+ <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="PrimitiveTypeInfo3"/>
+ </void>
+ <void property="value">
+ <double>3.0</double>
+ </void>
+ </object>
+ </void>
+ <void method="add">
+ <object class="org.apache.hadoop.hive.ql.plan.exprNodeConstantDesc">
+ <void property="typeInfo">
+ <object idref="PrimitiveTypeInfo3"/>
+ </void>
+ <void property="value">
+ <double>2.0</double>
+ </void>
+ </object>
</void>
</object>
</void>
- <void property="value">
- <boolean>true</boolean>
+ <void property="typeInfo">
+ <object idref="PrimitiveTypeInfo3"/>
</void>
</object>
</void>
- </object>
- </void>
- <void property="typeInfo">
- <object id="PrimitiveTypeInfo2" class="org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo">
- <void property="typeName">
- <string>int</string>
- </void>
- </object>
- </void>
- </object>
- </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>
- <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 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="value">
- <int>1</int>
+ <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>
- </void>
- </object>
- </void>
- <void property="typeInfo">
- <object idref="PrimitiveTypeInfo1"/>
- </void>
- </object>
- </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>
- <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 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="PrimitiveTypeInfo2"/>
+ </void>
+ <void property="value">
+ <int>3</int>
+ </void>
+ </object>
+ </void>
+ </object>
+ </void>
+ <void property="typeInfo">
+ <object idref="PrimitiveTypeInfo3"/>
+ </void>
+ </object>
+ </void>
+ <void method="add">
+ <object class="org.apache.hadoop.hive.ql.plan.exprNodeConstantDesc">
+ <void property="typeInfo">
+ <object idref="PrimitiveTypeInfo3"/>
+ </void>
+ <void property="value">
+ <double>2.0</double>
+ </void>
+ </object>
+ </void>
+ </object>
</void>
- <void property="value">
- <int>3</int>
+ <void property="typeInfo">
+ <object idref="PrimitiveTypeInfo3"/>
</void>
</object>
</void>
- <void method="add">
- <object class="org.apache.hadoop.hive.ql.plan.exprNodeFuncDesc">
+ <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.UDFToInteger</class>
+ <class>org.apache.hadoop.hive.ql.udf.UDFOPPlus</class>
</void>
<void property="UDFMethod">
- <object class="org.apache.hadoop.hive.ql.udf.UDFToInteger" method="getMethod">
+ <object class="org.apache.hadoop.hive.ql.udf.UDFOPPlus" method="getMethod">
<string>evaluate</string>
- <array class="java.lang.Class" length="1">
+ <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>
@@ -349,87 +522,256 @@
<void method="add">
<object class="org.apache.hadoop.hive.ql.plan.exprNodeConstantDesc">
<void property="typeInfo">
- <object id="PrimitiveTypeInfo3" class="org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo">
- <void property="typeName">
- <string>double</string>
+ <object idref="PrimitiveTypeInfo3"/>
+ </void>
+ <void property="value">
+ <double>3.0</double>
+ </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="typeInfo">
+ <object idref="PrimitiveTypeInfo3"/>
+ </void>
+ </object>
+ </void>
+ </object>
+ </void>
+ <void property="typeInfo">
+ <object idref="PrimitiveTypeInfo3"/>
+ </void>
+ </object>
+ </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>
+ <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">
- <double>2.0</double>
+ <int>3</int>
</void>
</object>
</void>
+ <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="typeInfo">
+ <object idref="PrimitiveTypeInfo2"/>
+ </void>
+ </object>
+ </void>
+ </object>
+ </void>
+ <void property="conf">
+ <object class="org.apache.hadoop.hive.ql.plan.selectDesc">
+ <void property="colList">
+ <object class="java.util.ArrayList">
+ <void method="add">
+ <object idref="exprNodeFuncDesc6"/>
+ </void>
+ <void method="add">
+ <object idref="exprNodeFuncDesc5"/>
+ </void>
+ <void method="add">
+ <object idref="exprNodeFuncDesc4"/>
+ </void>
+ <void method="add">
+ <object idref="exprNodeFuncDesc3"/>
+ </void>
+ <void method="add">
+ <object idref="exprNodeFuncDesc2"/>
+ </void>
+ <void method="add">
+ <object idref="exprNodeFuncDesc1"/>
+ </void>
+ <void method="add">
+ <object idref="exprNodeFuncDesc0"/>
+ </void>
+ </object>
+ </void>
+ <void property="outputColumnNames">
+ <object class="java.util.ArrayList">
+ <void method="add">
+ <string>_col0</string>
+ </void>
+ <void method="add">
+ <string>_col1</string>
+ </void>
+ <void method="add">
+ <string>_col2</string>
+ </void>
+ <void method="add">
+ <string>_col3</string>
+ </void>
+ <void method="add">
+ <string>_col4</string>
+ </void>
+ <void method="add">
+ <string>_col5</string>
+ </void>
+ <void method="add">
+ <string>_col6</string>
+ </void>
+ </object>
+ </void>
+ </object>
+ </void>
+ <void property="parentOperators">
+ <object class="java.util.ArrayList">
+ <void method="add">
+ <object idref="FilterOperator1"/>
+ </void>
+ </object>
+ </void>
+ <void property="schema">
+ <object class="org.apache.hadoop.hive.ql.exec.RowSchema">
+ <void property="signature">
+ <object class="java.util.Vector">
+ <void method="add">
+ <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
+ <void property="internalName">
+ <string>_col0</string>
+ </void>
+ <void property="type">
+ <object idref="PrimitiveTypeInfo2"/>
+ </void>
+ </object>
+ </void>
+ <void method="add">
+ <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
+ <void property="internalName">
+ <string>_col1</string>
+ </void>
+ <void property="type">
+ <object idref="PrimitiveTypeInfo3"/>
+ </void>
+ </object>
+ </void>
+ <void method="add">
+ <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
+ <void property="internalName">
+ <string>_col2</string>
+ </void>
+ <void property="type">
+ <object idref="PrimitiveTypeInfo3"/>
+ </void>
+ </object>
+ </void>
+ <void method="add">
+ <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
+ <void property="internalName">
+ <string>_col3</string>
+ </void>
+ <void property="type">
+ <object idref="PrimitiveTypeInfo3"/>
+ </void>
+ </object>
+ </void>
+ <void method="add">
+ <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
+ <void property="internalName">
+ <string>_col4</string>
+ </void>
+ <void property="type">
+ <object idref="PrimitiveTypeInfo2"/>
+ </void>
</object>
</void>
- <void property="typeInfo">
- <object idref="PrimitiveTypeInfo2"/>
- </void>
- </object>
- </void>
- </object>
- </void>
- <void property="typeInfo">
- <object idref="PrimitiveTypeInfo2"/>
- </void>
- </object>
- </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>
- <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="PrimitiveTypeInfo3"/>
- </void>
- <void property="value">
- <double>3.0</double>
- </void>
- </object>
- </void>
- <void method="add">
- <object class="org.apache.hadoop.hive.ql.plan.exprNodeConstantDesc">
- <void property="typeInfo">
- <object idref="PrimitiveTypeInfo3"/>
+ <void method="add">
+ <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
+ <void property="internalName">
+ <string>_col5</string>
+ </void>
+ <void property="type">
+ <object idref="PrimitiveTypeInfo1"/>
+ </void>
+ </object>
</void>
- <void property="value">
- <double>2.0</double>
+ <void method="add">
+ <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
+ <void property="internalName">
+ <string>_col6</string>
+ </void>
+ <void property="type">
+ <object idref="PrimitiveTypeInfo2"/>
+ </void>
+ </object>
</void>
</object>
</void>
</object>
</void>
- <void property="typeInfo">
- <object idref="PrimitiveTypeInfo3"/>
- </void>
</object>
</void>
- <void method="put">
- <string>_col2</string>
- <object id="exprNodeFuncDesc4" class="org.apache.hadoop.hive.ql.plan.exprNodeFuncDesc">
+ </object>
+ </void>
+ <void property="conf">
+ <object class="org.apache.hadoop.hive.ql.plan.filterDesc">
+ <void property="predicate">
+ <object class="org.apache.hadoop.hive.ql.plan.exprNodeFuncDesc">
<void property="UDFClass">
- <class>org.apache.hadoop.hive.ql.udf.UDFOPPlus</class>
+ <class>org.apache.hadoop.hive.ql.udf.UDFOPEqual</class>
</void>
<void property="UDFMethod">
- <object class="org.apache.hadoop.hive.ql.udf.UDFOPPlus" method="getMethod">
+ <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">
@@ -449,11 +791,11 @@
<class>org.apache.hadoop.hive.ql.udf.UDFToDouble</class>
</void>
<void property="UDFMethod">
- <object class="org.apache.hadoop.hive.ql.udf.UDFToDouble" method="getMethod">
+ <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.IntWritable</class>
+ <class>org.apache.hadoop.io.Text</class>
</void>
</array>
</object>
@@ -461,12 +803,12 @@
<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"/>
+ <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc">
+ <void property="column">
+ <string>key</string>
</void>
- <void property="value">
- <int>3</int>
+ <void property="typeInfo">
+ <object idref="PrimitiveTypeInfo0"/>
</void>
</object>
</void>
@@ -478,60 +820,12 @@
</object>
</void>
<void method="add">
- <object class="org.apache.hadoop.hive.ql.plan.exprNodeConstantDesc">
- <void property="typeInfo">
- <object idref="PrimitiveTypeInfo3"/>
- </void>
- <void property="value">
- <double>2.0</double>
- </void>
- </object>
- </void>
- </object>
- </void>
- <void property="typeInfo">
- <object idref="PrimitiveTypeInfo3"/>
- </void>
- </object>
- </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>
- <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="PrimitiveTypeInfo3"/>
- </void>
- <void property="value">
- <double>3.0</double>
- </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">
+ <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">
@@ -548,7 +842,7 @@
<object idref="PrimitiveTypeInfo2"/>
</void>
<void property="value">
- <int>2</int>
+ <int>86</int>
</void>
</object>
</void>
@@ -562,109 +856,7 @@
</object>
</void>
<void property="typeInfo">
- <object idref="PrimitiveTypeInfo3"/>
- </void>
- </object>
- </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>
- <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>3</int>
- </void>
- </object>
- </void>
- <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="typeInfo">
- <object idref="PrimitiveTypeInfo2"/>
- </void>
- </object>
- </void>
- </object>
- </void>
- <void property="conf">
- <object class="org.apache.hadoop.hive.ql.plan.selectDesc">
- <void property="colList">
- <object class="java.util.ArrayList">
- <void method="add">
- <object idref="exprNodeFuncDesc6"/>
- </void>
- <void method="add">
- <object idref="exprNodeFuncDesc5"/>
- </void>
- <void method="add">
- <object idref="exprNodeFuncDesc4"/>
- </void>
- <void method="add">
- <object idref="exprNodeFuncDesc3"/>
- </void>
- <void method="add">
- <object idref="exprNodeFuncDesc2"/>
- </void>
- <void method="add">
- <object idref="exprNodeFuncDesc1"/>
- </void>
- <void method="add">
- <object idref="exprNodeFuncDesc0"/>
- </void>
- </object>
- </void>
- <void property="outputColumnNames">
- <object class="java.util.ArrayList">
- <void method="add">
- <string>_col0</string>
- </void>
- <void method="add">
- <string>_col1</string>
- </void>
- <void method="add">
- <string>_col2</string>
- </void>
- <void method="add">
- <string>_col3</string>
- </void>
- <void method="add">
- <string>_col4</string>
- </void>
- <void method="add">
- <string>_col5</string>
- </void>
- <void method="add">
- <string>_col6</string>
+ <object idref="PrimitiveTypeInfo1"/>
</void>
</object>
</void>
@@ -680,74 +872,24 @@
<void property="schema">
<object class="org.apache.hadoop.hive.ql.exec.RowSchema">
<void property="signature">
- <object class="java.util.Vector">
- <void method="add">
- <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
- <void property="internalName">
- <string>_col0</string>
- </void>
- <void property="type">
- <object idref="PrimitiveTypeInfo2"/>
- </void>
- </object>
- </void>
- <void method="add">
- <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
- <void property="internalName">
- <string>_col1</string>
- </void>
- <void property="type">
- <object idref="PrimitiveTypeInfo3"/>
- </void>
- </object>
- </void>
- <void method="add">
- <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
- <void property="internalName">
- <string>_col2</string>
- </void>
- <void property="type">
- <object idref="PrimitiveTypeInfo3"/>
- </void>
- </object>
- </void>
- <void method="add">
- <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
- <void property="internalName">
- <string>_col3</string>
- </void>
- <void property="type">
- <object idref="PrimitiveTypeInfo3"/>
- </void>
- </object>
- </void>
- <void method="add">
- <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
- <void property="internalName">
- <string>_col4</string>
- </void>
- <void property="type">
- <object idref="PrimitiveTypeInfo2"/>
- </void>
- </object>
- </void>
+ <object id="Vector0" class="java.util.Vector">
<void method="add">
<object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
<void property="internalName">
- <string>_col5</string>
+ <string>key</string>
</void>
<void property="type">
- <object idref="PrimitiveTypeInfo1"/>
+ <object idref="PrimitiveTypeInfo0"/>
</void>
</object>
</void>
<void method="add">
<object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
<void property="internalName">
- <string>_col6</string>
+ <string>value</string>
</void>
<void property="type">
- <object idref="PrimitiveTypeInfo2"/>
+ <object idref="PrimitiveTypeInfo0"/>
</void>
</object>
</void>
@@ -767,17 +909,7 @@
<class>org.apache.hadoop.hive.ql.udf.UDFOPEqual</class>
</void>
<void property="UDFMethod">
- <object 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>
+ <object idref="Method0"/>
</void>
<void property="childExprs">
<object class="java.util.ArrayList">
@@ -787,14 +919,7 @@
<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>
+ <object idref="Method1"/>
</void>
<void property="childExprs">
<object class="java.util.ArrayList">
@@ -821,14 +946,7 @@
<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>
+ <object idref="Method2"/>
</void>
<void property="childExprs">
<object class="java.util.ArrayList">
@@ -868,28 +986,7 @@
<void property="schema">
<object class="org.apache.hadoop.hive.ql.exec.RowSchema">
<void property="signature">
- <object id="Vector0" class="java.util.Vector">
- <void method="add">
- <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
- <void property="internalName">
- <string>key</string>
- </void>
- <void property="type">
- <object idref="PrimitiveTypeInfo0"/>
- </void>
- </object>
- </void>
- <void method="add">
- <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
- <void property="internalName">
- <string>value</string>
- </void>
- <void property="type">
- <object idref="PrimitiveTypeInfo0"/>
- </void>
- </object>
- </void>
- </object>
+ <object idref="Vector0"/>
</void>
</object>
</void>
@@ -911,7 +1008,7 @@
<void property="pathToAliases">
<object class="java.util.LinkedHashMap">
<void method="put">
- <string>file:/data/users/njain/hive4/hive4/build/ql/test/data/warehouse/src</string>
+ <string>file:/data/users/pchakka/workspace/oshive/build/ql/test/data/warehouse/src</string>
<object class="java.util.ArrayList">
<void method="add">
<string>src</string>
@@ -923,7 +1020,7 @@
<void property="pathToPartitionInfo">
<object class="java.util.LinkedHashMap">
<void method="put">
- <string>file:/data/users/njain/hive4/hive4/build/ql/test/data/warehouse/src</string>
+ <string>file:/data/users/pchakka/workspace/oshive/build/ql/test/data/warehouse/src</string>
<object class="org.apache.hadoop.hive.ql.plan.partitionDesc">
<void property="partSpec">
<object idref="LinkedHashMap0"/>