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/23 06:35:07 UTC
svn commit: r787539 [12/20] - in /hadoop/hive/trunk: ./
common/src/java/org/apache/hadoop/hive/conf/ conf/
ql/src/java/org/apache/hadoop/hive/ql/
ql/src/java/org/apache/hadoop/hive/ql/exec/
ql/src/java/org/apache/hadoop/hive/ql/optimizer/ ql/src/java/o...
Modified: hadoop/hive/trunk/ql/src/test/results/compiler/plan/input4.q.xml
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/test/results/compiler/plan/input4.q.xml?rev=787539&r1=787538&r2=787539&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/test/results/compiler/plan/input4.q.xml (original)
+++ hadoop/hive/trunk/ql/src/test/results/compiler/plan/input4.q.xml Tue Jun 23 04:35:01 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<java version="1.6.0_03-p3" class="java.beans.XMLDecoder">
+<java version="1.6.0_07" class="java.beans.XMLDecoder">
<object id="MapRedTask0" class="org.apache.hadoop.hive.ql.exec.MapRedTask">
<void property="childTasks">
<object class="java.util.ArrayList">
@@ -17,87 +17,80 @@
</void>
<void property="work">
<object class="org.apache.hadoop.hive.ql.plan.moveWork">
- <void property="loadFileWork">
- <object class="java.util.ArrayList"/>
- </void>
<void property="loadTableWork">
- <object class="java.util.ArrayList">
- <void method="add">
- <object class="org.apache.hadoop.hive.ql.plan.loadTableDesc">
- <void property="partitionSpec">
- <object class="java.util.HashMap"/>
+ <object class="org.apache.hadoop.hive.ql.plan.loadTableDesc">
+ <void property="partitionSpec">
+ <object class="java.util.HashMap"/>
+ </void>
+ <void property="replace">
+ <boolean>true</boolean>
+ </void>
+ <void property="sourceDir">
+ <string>file:/data/users/njain/hive4/hive4/build/ql/tmp/933479293/10000</string>
+ </void>
+ <void property="table">
+ <object id="tableDesc0" class="org.apache.hadoop.hive.ql.plan.tableDesc">
+ <void property="deserializerClass">
+ <class>org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe</class>
</void>
- <void property="replace">
- <boolean>true</boolean>
+ <void property="inputFileFormatClass">
+ <class>org.apache.hadoop.mapred.TextInputFormat</class>
</void>
- <void property="sourceDir">
- <string>file:/Users/char/Documents/workspace/Hive-460/build/ql/tmp/1837372446/10000</string>
+ <void property="outputFileFormatClass">
+ <class>org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat</class>
</void>
- <void property="table">
- <object id="tableDesc0" class="org.apache.hadoop.hive.ql.plan.tableDesc">
- <void property="deserializerClass">
- <class>org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe</class>
+ <void property="properties">
+ <object class="java.util.Properties">
+ <void method="put">
+ <string>name</string>
+ <string>dest1</string>
</void>
- <void property="inputFileFormatClass">
- <class>org.apache.hadoop.mapred.TextInputFormat</class>
+ <void method="put">
+ <string>columns.types</string>
+ <string>string:string</string>
</void>
- <void property="outputFileFormatClass">
- <class>org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat</class>
+ <void method="put">
+ <string>serialization.ddl</string>
+ <string>struct dest1 { string key, string value}</string>
</void>
- <void property="properties">
- <object class="java.util.Properties">
- <void method="put">
- <string>name</string>
- <string>dest1</string>
- </void>
- <void method="put">
- <string>columns.types</string>
- <string>string:string</string>
- </void>
- <void method="put">
- <string>serialization.ddl</string>
- <string>struct dest1 { string key, string value}</string>
- </void>
- <void method="put">
- <string>serialization.format</string>
- <string>1</string>
- </void>
- <void method="put">
- <string>columns</string>
- <string>key,value</string>
- </void>
- <void method="put">
- <string>bucket_count</string>
- <string>-1</string>
- </void>
- <void method="put">
- <string>serialization.lib</string>
- <string>org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe</string>
- </void>
- <void method="put">
- <string>file.inputformat</string>
- <string>org.apache.hadoop.mapred.TextInputFormat</string>
- </void>
- <void method="put">
- <string>file.outputformat</string>
- <string>org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat</string>
- </void>
- <void method="put">
- <string>location</string>
- <string>file:/Users/char/Documents/workspace/Hive-460/build/ql/test/data/warehouse/dest1</string>
- </void>
- </object>
+ <void method="put">
+ <string>serialization.format</string>
+ <string>1</string>
+ </void>
+ <void method="put">
+ <string>columns</string>
+ <string>key,value</string>
+ </void>
+ <void method="put">
+ <string>bucket_count</string>
+ <string>-1</string>
</void>
- <void property="serdeClassName">
+ <void method="put">
+ <string>serialization.lib</string>
<string>org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe</string>
</void>
+ <void method="put">
+ <string>file.inputformat</string>
+ <string>org.apache.hadoop.mapred.TextInputFormat</string>
+ </void>
+ <void method="put">
+ <string>file.outputformat</string>
+ <string>org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat</string>
+ </void>
+ <void method="put">
+ <string>location</string>
+ <string>file:/data/users/njain/hive4/hive4/build/ql/test/data/warehouse/dest1</string>
+ </void>
</object>
</void>
- <void property="tmpDir">
- <string>file:/Users/char/Documents/workspace/Hive-460/build/ql/tmp/1837372446/10001</string>
+ <void property="serdeClassName">
+ <string>org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe</string>
</void>
</object>
</void>
+ <void property="tmpDir">
+ <string>file:/data/users/njain/hive4/hive4/build/ql/tmp/933479293/10001</string>
+ </void>
</object>
</void>
</object>
@@ -169,7 +162,7 @@
</void>
<void method="put">
<string>location</string>
- <string>file:/Users/char/Documents/workspace/Hive-460/build/ql/test/data/warehouse/src</string>
+ <string>file:/data/users/njain/hive4/hive4/build/ql/test/data/warehouse/src</string>
</void>
</object>
</void>
@@ -595,7 +588,7 @@
<void property="pathToAliases">
<object class="java.util.LinkedHashMap">
<void method="put">
- <string>file:/Users/char/Documents/workspace/Hive-460/build/ql/test/data/warehouse/src</string>
+ <string>file:/data/users/njain/hive4/hive4/build/ql/test/data/warehouse/src</string>
<object class="java.util.ArrayList">
<void method="add">
<string>tmap:src</string>
@@ -607,7 +600,7 @@
<void property="pathToPartitionInfo">
<object class="java.util.LinkedHashMap">
<void method="put">
- <string>file:/Users/char/Documents/workspace/Hive-460/build/ql/test/data/warehouse/src</string>
+ <string>file:/data/users/njain/hive4/hive4/build/ql/test/data/warehouse/src</string>
<object class="org.apache.hadoop.hive.ql.plan.partitionDesc">
<void property="partSpec">
<object idref="LinkedHashMap0"/>
@@ -655,7 +648,7 @@
<int>1</int>
</void>
<void property="dirName">
- <string>file:/Users/char/Documents/workspace/Hive-460/build/ql/tmp/1837372446/10000</string>
+ <string>file:/data/users/njain/hive4/hive4/build/ql/tmp/933479293/10000</string>
</void>
<void property="tableInfo">
<object idref="tableDesc0"/>
@@ -672,11 +665,11 @@
<void property="schema">
<object class="org.apache.hadoop.hive.ql.exec.RowSchema">
<void property="signature">
- <object id="Vector1" class="java.util.Vector">
+ <object class="java.util.Vector">
<void method="add">
<object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
<void property="internalName">
- <string>_col0</string>
+ <string>key</string>
</void>
<void property="type">
<object idref="PrimitiveTypeInfo0"/>
@@ -686,7 +679,7 @@
<void method="add">
<object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
<void property="internalName">
- <string>_col1</string>
+ <string>value</string>
</void>
<void property="type">
<object idref="PrimitiveTypeInfo0"/>
@@ -761,7 +754,28 @@
<void property="schema">
<object class="org.apache.hadoop.hive.ql.exec.RowSchema">
<void property="signature">
- <object idref="Vector1"/>
+ <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="PrimitiveTypeInfo0"/>
+ </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="PrimitiveTypeInfo0"/>
+ </void>
+ </object>
+ </void>
+ </object>
</void>
</object>
</void>
Modified: hadoop/hive/trunk/ql/src/test/results/compiler/plan/input5.q.xml
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/test/results/compiler/plan/input5.q.xml?rev=787539&r1=787538&r2=787539&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/test/results/compiler/plan/input5.q.xml (original)
+++ hadoop/hive/trunk/ql/src/test/results/compiler/plan/input5.q.xml Tue Jun 23 04:35:01 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<java version="1.6.0_03-p3" class="java.beans.XMLDecoder">
+<java version="1.6.0_07" class="java.beans.XMLDecoder">
<object id="MapRedTask0" class="org.apache.hadoop.hive.ql.exec.MapRedTask">
<void property="childTasks">
<object class="java.util.ArrayList">
@@ -17,87 +17,80 @@
</void>
<void property="work">
<object class="org.apache.hadoop.hive.ql.plan.moveWork">
- <void property="loadFileWork">
- <object class="java.util.ArrayList"/>
- </void>
<void property="loadTableWork">
- <object class="java.util.ArrayList">
- <void method="add">
- <object class="org.apache.hadoop.hive.ql.plan.loadTableDesc">
- <void property="partitionSpec">
- <object class="java.util.HashMap"/>
+ <object class="org.apache.hadoop.hive.ql.plan.loadTableDesc">
+ <void property="partitionSpec">
+ <object class="java.util.HashMap"/>
+ </void>
+ <void property="replace">
+ <boolean>true</boolean>
+ </void>
+ <void property="sourceDir">
+ <string>file:/data/users/njain/hive4/hive4/build/ql/tmp/428452669/10000</string>
+ </void>
+ <void property="table">
+ <object id="tableDesc0" class="org.apache.hadoop.hive.ql.plan.tableDesc">
+ <void property="deserializerClass">
+ <class>org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe</class>
</void>
- <void property="replace">
- <boolean>true</boolean>
+ <void property="inputFileFormatClass">
+ <class>org.apache.hadoop.mapred.TextInputFormat</class>
</void>
- <void property="sourceDir">
- <string>file:/Users/char/Documents/workspace/Hive-460/build/ql/tmp/49216424/10000</string>
+ <void property="outputFileFormatClass">
+ <class>org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat</class>
</void>
- <void property="table">
- <object id="tableDesc0" class="org.apache.hadoop.hive.ql.plan.tableDesc">
- <void property="deserializerClass">
- <class>org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe</class>
+ <void property="properties">
+ <object class="java.util.Properties">
+ <void method="put">
+ <string>name</string>
+ <string>dest1</string>
</void>
- <void property="inputFileFormatClass">
- <class>org.apache.hadoop.mapred.TextInputFormat</class>
+ <void method="put">
+ <string>columns.types</string>
+ <string>string:string</string>
</void>
- <void property="outputFileFormatClass">
- <class>org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat</class>
+ <void method="put">
+ <string>serialization.ddl</string>
+ <string>struct dest1 { string key, string value}</string>
</void>
- <void property="properties">
- <object class="java.util.Properties">
- <void method="put">
- <string>name</string>
- <string>dest1</string>
- </void>
- <void method="put">
- <string>columns.types</string>
- <string>string:string</string>
- </void>
- <void method="put">
- <string>serialization.ddl</string>
- <string>struct dest1 { string key, string value}</string>
- </void>
- <void method="put">
- <string>serialization.format</string>
- <string>1</string>
- </void>
- <void method="put">
- <string>columns</string>
- <string>key,value</string>
- </void>
- <void method="put">
- <string>bucket_count</string>
- <string>-1</string>
- </void>
- <void method="put">
- <string>serialization.lib</string>
- <string>org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe</string>
- </void>
- <void method="put">
- <string>file.inputformat</string>
- <string>org.apache.hadoop.mapred.TextInputFormat</string>
- </void>
- <void method="put">
- <string>file.outputformat</string>
- <string>org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat</string>
- </void>
- <void method="put">
- <string>location</string>
- <string>file:/Users/char/Documents/workspace/Hive-460/build/ql/test/data/warehouse/dest1</string>
- </void>
- </object>
+ <void method="put">
+ <string>serialization.format</string>
+ <string>1</string>
+ </void>
+ <void method="put">
+ <string>columns</string>
+ <string>key,value</string>
+ </void>
+ <void method="put">
+ <string>bucket_count</string>
+ <string>-1</string>
</void>
- <void property="serdeClassName">
+ <void method="put">
+ <string>serialization.lib</string>
<string>org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe</string>
</void>
+ <void method="put">
+ <string>file.inputformat</string>
+ <string>org.apache.hadoop.mapred.TextInputFormat</string>
+ </void>
+ <void method="put">
+ <string>file.outputformat</string>
+ <string>org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat</string>
+ </void>
+ <void method="put">
+ <string>location</string>
+ <string>file:/data/users/njain/hive4/hive4/build/ql/test/data/warehouse/dest1</string>
+ </void>
</object>
</void>
- <void property="tmpDir">
- <string>file:/Users/char/Documents/workspace/Hive-460/build/ql/tmp/49216424/10001</string>
+ <void property="serdeClassName">
+ <string>org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe</string>
</void>
</object>
</void>
+ <void property="tmpDir">
+ <string>file:/data/users/njain/hive4/hive4/build/ql/tmp/428452669/10001</string>
+ </void>
</object>
</void>
</object>
@@ -173,7 +166,7 @@
</void>
<void method="put">
<string>location</string>
- <string>file:/Users/char/Documents/workspace/Hive-460/build/ql/test/data/warehouse/src_thrift</string>
+ <string>file:/data/users/njain/hive4/hive4/build/ql/test/data/warehouse/src_thrift</string>
</void>
</object>
</void>
@@ -662,7 +655,7 @@
<void property="pathToAliases">
<object class="java.util.LinkedHashMap">
<void method="put">
- <string>file:/Users/char/Documents/workspace/Hive-460/build/ql/test/data/warehouse/src_thrift</string>
+ <string>file:/data/users/njain/hive4/hive4/build/ql/test/data/warehouse/src_thrift</string>
<object class="java.util.ArrayList">
<void method="add">
<string>tmap:src_thrift</string>
@@ -674,7 +667,7 @@
<void property="pathToPartitionInfo">
<object class="java.util.LinkedHashMap">
<void method="put">
- <string>file:/Users/char/Documents/workspace/Hive-460/build/ql/test/data/warehouse/src_thrift</string>
+ <string>file:/data/users/njain/hive4/hive4/build/ql/test/data/warehouse/src_thrift</string>
<object class="org.apache.hadoop.hive.ql.plan.partitionDesc">
<void property="partSpec">
<object idref="LinkedHashMap0"/>
@@ -718,7 +711,7 @@
<int>1</int>
</void>
<void property="dirName">
- <string>file:/Users/char/Documents/workspace/Hive-460/build/ql/tmp/49216424/10000</string>
+ <string>file:/data/users/njain/hive4/hive4/build/ql/tmp/428452669/10000</string>
</void>
<void property="tableInfo">
<object idref="tableDesc0"/>
@@ -735,11 +728,11 @@
<void property="schema">
<object class="org.apache.hadoop.hive.ql.exec.RowSchema">
<void property="signature">
- <object id="Vector1" class="java.util.Vector">
+ <object class="java.util.Vector">
<void method="add">
<object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
<void property="internalName">
- <string>_col0</string>
+ <string>key</string>
</void>
<void property="type">
<object idref="PrimitiveTypeInfo0"/>
@@ -749,7 +742,7 @@
<void method="add">
<object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
<void property="internalName">
- <string>_col1</string>
+ <string>value</string>
</void>
<void property="type">
<object idref="PrimitiveTypeInfo0"/>
@@ -824,7 +817,28 @@
<void property="schema">
<object class="org.apache.hadoop.hive.ql.exec.RowSchema">
<void property="signature">
- <object idref="Vector1"/>
+ <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="PrimitiveTypeInfo0"/>
+ </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="PrimitiveTypeInfo0"/>
+ </void>
+ </object>
+ </void>
+ </object>
</void>
</object>
</void>
Modified: hadoop/hive/trunk/ql/src/test/results/compiler/plan/input6.q.xml
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/test/results/compiler/plan/input6.q.xml?rev=787539&r1=787538&r2=787539&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/test/results/compiler/plan/input6.q.xml (original)
+++ hadoop/hive/trunk/ql/src/test/results/compiler/plan/input6.q.xml Tue Jun 23 04:35:01 2009
@@ -4,97 +4,445 @@
<void property="childTasks">
<object class="java.util.ArrayList">
<void method="add">
- <object class="org.apache.hadoop.hive.ql.exec.MoveTask">
- <void property="id">
- <string>Stage-1</string>
- </void>
- <void property="parentTasks">
+ <object id="ConditionalTask0" class="org.apache.hadoop.hive.ql.exec.ConditionalTask">
+ <void property="childTasks">
<object class="java.util.ArrayList">
<void method="add">
- <object idref="MapRedTask0"/>
+ <object class="org.apache.hadoop.hive.ql.exec.MoveTask">
+ <void property="id">
+ <string>Stage-1</string>
+ </void>
+ <void property="parentTasks">
+ <object class="java.util.ArrayList">
+ <void method="add">
+ <object idref="ConditionalTask0"/>
+ </void>
+ </object>
+ </void>
+ <void property="work">
+ <object class="org.apache.hadoop.hive.ql.plan.moveWork">
+ <void property="loadTableWork">
+ <object class="org.apache.hadoop.hive.ql.plan.loadTableDesc">
+ <void property="partitionSpec">
+ <object class="java.util.HashMap"/>
+ </void>
+ <void property="replace">
+ <boolean>true</boolean>
+ </void>
+ <void property="sourceDir">
+ <string>file:/data/users/njain/hive4/hive4/build/ql/tmp/1835410674/10000</string>
+ </void>
+ <void property="table">
+ <object id="tableDesc0" 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>name</string>
+ <string>dest1</string>
+ </void>
+ <void method="put">
+ <string>columns.types</string>
+ <string>string:string</string>
+ </void>
+ <void method="put">
+ <string>serialization.ddl</string>
+ <string>struct dest1 { string key, string value}</string>
+ </void>
+ <void method="put">
+ <string>serialization.format</string>
+ <string>1</string>
+ </void>
+ <void method="put">
+ <string>columns</string>
+ <string>key,value</string>
+ </void>
+ <void method="put">
+ <string>bucket_count</string>
+ <string>-1</string>
+ </void>
+ <void method="put">
+ <string>serialization.lib</string>
+ <string>org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe</string>
+ </void>
+ <void method="put">
+ <string>file.inputformat</string>
+ <string>org.apache.hadoop.mapred.TextInputFormat</string>
+ </void>
+ <void method="put">
+ <string>file.outputformat</string>
+ <string>org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat</string>
+ </void>
+ <void method="put">
+ <string>location</string>
+ <string>file:/data/users/njain/hive4/hive4/build/ql/test/data/warehouse/dest1</string>
+ </void>
+ </object>
+ </void>
+ <void property="serdeClassName">
+ <string>org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe</string>
+ </void>
+ </object>
+ </void>
+ <void property="tmpDir">
+ <string>file:/data/users/njain/hive4/hive4/build/ql/tmp/1835410674/10001</string>
+ </void>
+ </object>
+ </void>
+ </object>
+ </void>
+ </object>
</void>
</object>
</void>
- <void property="work">
- <object class="org.apache.hadoop.hive.ql.plan.moveWork">
- <void property="loadFileWork">
- <object class="java.util.ArrayList"/>
+ <void property="id">
+ <string>Stage-5</string>
+ </void>
+ <void property="listTasks">
+ <object class="java.util.ArrayList">
+ <void method="add">
+ <object class="org.apache.hadoop.hive.ql.exec.MoveTask">
+ <void property="id">
+ <string>Stage-4</string>
+ </void>
+ <void property="work">
+ <object id="moveWork0" class="org.apache.hadoop.hive.ql.plan.moveWork">
+ <void property="loadFileWork">
+ <object class="org.apache.hadoop.hive.ql.plan.loadFileDesc">
+ <void property="isDfsDir">
+ <boolean>true</boolean>
+ </void>
+ <void property="sourceDir">
+ <string>file:/data/users/njain/hive4/hive4/build/ql/tmp/1887695120/10002</string>
+ </void>
+ <void property="targetDir">
+ <string>file:/data/users/njain/hive4/hive4/build/ql/tmp/1835410674/10000</string>
+ </void>
+ </object>
+ </void>
+ </object>
+ </void>
+ </object>
</void>
- <void property="loadTableWork">
- <object class="java.util.ArrayList">
- <void method="add">
- <object class="org.apache.hadoop.hive.ql.plan.loadTableDesc">
- <void property="partitionSpec">
- <object class="java.util.HashMap"/>
- </void>
- <void property="replace">
- <boolean>true</boolean>
- </void>
- <void property="sourceDir">
- <string>file:/data/users/zshao/tools/549-trunk-apache-hive/build/ql/tmp/1679952334/10000</string>
- </void>
- <void property="table">
- <object id="tableDesc0" 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>name</string>
- <string>dest1</string>
- </void>
- <void method="put">
- <string>columns.types</string>
- <string>string:string</string>
- </void>
- <void method="put">
- <string>serialization.ddl</string>
- <string>struct dest1 { string key, string value}</string>
- </void>
- <void method="put">
- <string>serialization.format</string>
- <string>1</string>
- </void>
- <void method="put">
- <string>columns</string>
- <string>key,value</string>
- </void>
- <void method="put">
- <string>bucket_count</string>
- <string>-1</string>
+ <void method="add">
+ <object class="org.apache.hadoop.hive.ql.exec.MapRedTask">
+ <void property="id">
+ <string>Stage-3</string>
+ </void>
+ <void property="work">
+ <object id="mapredWork0" class="org.apache.hadoop.hive.ql.plan.mapredWork">
+ <void property="aliasToWork">
+ <object class="java.util.LinkedHashMap">
+ <void method="put">
+ <string>file:/data/users/njain/hive4/hive4/build/ql/tmp/1887695120/10002</string>
+ <object id="TableScanOperator0" class="org.apache.hadoop.hive.ql.exec.TableScanOperator">
+ <void property="childOperators">
+ <object class="java.util.ArrayList">
+ <void method="add">
+ <object class="org.apache.hadoop.hive.ql.exec.ReduceSinkOperator">
+ <void property="conf">
+ <object class="org.apache.hadoop.hive.ql.plan.reduceSinkDesc">
+ <void property="keyCols">
+ <object class="java.util.ArrayList"/>
+ </void>
+ <void property="keySerializeInfo">
+ <object id="tableDesc1" class="org.apache.hadoop.hive.ql.plan.tableDesc">
+ <void property="deserializerClass">
+ <class>org.apache.hadoop.hive.serde2.dynamic_type.DynamicSerDe</class>
+ </void>
+ <void property="inputFileFormatClass">
+ <class>org.apache.hadoop.mapred.SequenceFileInputFormat</class>
+ </void>
+ <void property="outputFileFormatClass">
+ <class>org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat</class>
+ </void>
+ <void property="properties">
+ <object class="java.util.Properties">
+ <void method="put">
+ <string>name</string>
+ <string>binary_sortable_table</string>
+ </void>
+ <void method="put">
+ <string>serialization.sort.order</string>
+ <string></string>
+ </void>
+ <void method="put">
+ <string>serialization.ddl</string>
+ <string>struct binary_sortable_table { }</string>
+ </void>
+ <void method="put">
+ <string>serialization.format</string>
+ <string>org.apache.hadoop.hive.serde2.thrift.TBinarySortableProtocol</string>
+ </void>
+ </object>
+ </void>
+ </object>
+ </void>
+ <void property="numReducers">
+ <int>-1</int>
+ </void>
+ <void property="outputKeyColumnNames">
+ <object class="java.util.ArrayList"/>
+ </void>
+ <void property="outputValueColumnNames">
+ <object class="java.util.ArrayList">
+ <void method="add">
+ <string>_col0</string>
+ </void>
+ <void method="add">
+ <string>_col1</string>
+ </void>
+ </object>
+ </void>
+ <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>
+ <void property="childExprs">
+ <object class="java.util.ArrayList"/>
+ </void>
+ <void property="typeInfo">
+ <object class="org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo">
+ <void property="typeName">
+ <string>double</string>
+ </void>
+ </object>
+ </void>
+ </object>
+ </void>
+ </object>
+ </void>
+ <void property="tag">
+ <int>-1</int>
+ </void>
+ <void property="valueCols">
+ <object class="java.util.ArrayList">
+ <void method="add">
+ <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc">
+ <void property="column">
+ <string>key</string>
+ </void>
+ <void property="typeInfo">
+ <object id="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.plan.exprNodeColumnDesc">
+ <void property="column">
+ <string>value</string>
+ </void>
+ <void property="typeInfo">
+ <object idref="PrimitiveTypeInfo0"/>
+ </void>
+ </object>
+ </void>
+ </object>
+ </void>
+ <void property="valueSerializeInfo">
+ <object id="tableDesc2" 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.SequenceFileInputFormat</class>
+ </void>
+ <void property="outputFileFormatClass">
+ <class>org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat</class>
+ </void>
+ <void property="properties">
+ <object class="java.util.Properties">
+ <void method="put">
+ <string>columns</string>
+ <string>_col0,_col1</string>
+ </void>
+ <void method="put">
+ <string>columns.types</string>
+ <string>string,string</string>
+ </void>
+ </object>
+ </void>
+ </object>
+ </void>
+ </object>
+ </void>
+ <void property="parentOperators">
+ <object class="java.util.ArrayList">
+ <void method="add">
+ <object idref="TableScanOperator0"/>
+ </void>
+ </object>
+ </void>
+ <void property="schema">
+ <object id="RowSchema0" class="org.apache.hadoop.hive.ql.exec.RowSchema">
+ <void property="signature">
+ <object class="java.util.Vector">
+ <void method="add">
+ <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
+ <void property="internalName">
+ <string>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>
+ </void>
+ </object>
+ </void>
+ </object>
+ </void>
+ </object>
</void>
- <void method="put">
- <string>serialization.lib</string>
- <string>org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe</string>
+ <void property="schema">
+ <object idref="RowSchema0"/>
</void>
- <void method="put">
- <string>file.inputformat</string>
- <string>org.apache.hadoop.mapred.TextInputFormat</string>
- </void>
- <void method="put">
- <string>file.outputformat</string>
- <string>org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat</string>
- </void>
- <void method="put">
- <string>location</string>
- <string>file:/data/users/zshao/tools/549-trunk-apache-hive/build/ql/test/data/warehouse/dest1</string>
+ </object>
+ </void>
+ </object>
+ </void>
+ <void property="keyDesc">
+ <object idref="tableDesc1"/>
+ </void>
+ <void property="numReduceTasks">
+ <int>-1</int>
+ </void>
+ <void property="pathToAliases">
+ <object class="java.util.LinkedHashMap">
+ <void method="put">
+ <string>file:/data/users/njain/hive4/hive4/build/ql/tmp/1887695120/10002</string>
+ <object class="java.util.ArrayList">
+ <void method="add">
+ <string>file:/data/users/njain/hive4/hive4/build/ql/tmp/1887695120/10002</string>
</void>
</object>
</void>
- <void property="serdeClassName">
- <string>org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe</string>
+ </object>
+ </void>
+ <void property="pathToPartitionInfo">
+ <object class="java.util.LinkedHashMap">
+ <void method="put">
+ <string>file:/data/users/njain/hive4/hive4/build/ql/tmp/1887695120/10002</string>
+ <object class="org.apache.hadoop.hive.ql.plan.partitionDesc">
+ <void property="tableDesc">
+ <object idref="tableDesc0"/>
+ </void>
+ </object>
+ </void>
+ </object>
+ </void>
+ <void property="reducer">
+ <object id="ExtractOperator0" class="org.apache.hadoop.hive.ql.exec.ExtractOperator">
+ <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/1835410674/10000</string>
+ </void>
+ <void property="tableInfo">
+ <object idref="tableDesc0"/>
+ </void>
+ </object>
+ </void>
+ <void property="parentOperators">
+ <object class="java.util.ArrayList">
+ <void method="add">
+ <object idref="ExtractOperator0"/>
+ </void>
+ </object>
+ </void>
+ <void property="schema">
+ <object idref="RowSchema0"/>
+ </void>
+ </object>
+ </void>
+ </object>
+ </void>
+ <void property="conf">
+ <object class="org.apache.hadoop.hive.ql.plan.extractDesc">
+ <void property="col">
+ <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc">
+ <void property="column">
+ <string>VALUE</string>
+ </void>
+ <void property="typeInfo">
+ <object idref="PrimitiveTypeInfo0"/>
+ </void>
+ </object>
+ </void>
+ </object>
+ </void>
+ <void property="schema">
+ <object class="org.apache.hadoop.hive.ql.exec.RowSchema">
+ <void property="signature">
+ <object class="java.util.Vector">
+ <void method="add">
+ <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
+ <void property="internalName">
+ <string>0</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>1</string>
+ </void>
+ <void property="type">
+ <object idref="PrimitiveTypeInfo0"/>
+ </void>
+ </object>
+ </void>
+ </object>
+ </void>
+ </object>
</void>
</object>
</void>
- <void property="tmpDir">
- <string>file:/data/users/zshao/tools/549-trunk-apache-hive/build/ql/tmp/1679952334/10001</string>
+ <void property="tagToValueDesc">
+ <object class="java.util.ArrayList">
+ <void method="add">
+ <object idref="tableDesc2"/>
+ </void>
+ </object>
</void>
</object>
</void>
@@ -102,6 +450,30 @@
</void>
</object>
</void>
+ <void property="parentTasks">
+ <object class="java.util.ArrayList">
+ <void method="add">
+ <object idref="MapRedTask0"/>
+ </void>
+ </object>
+ </void>
+ <void property="resolver">
+ <object class="org.apache.hadoop.hive.ql.plan.ConditionalResolverMergeFiles"/>
+ </void>
+ <void property="work">
+ <object class="org.apache.hadoop.hive.ql.plan.ConditionalWork">
+ <void property="listWorks">
+ <object class="java.util.ArrayList">
+ <void method="add">
+ <object idref="moveWork0"/>
+ </void>
+ <void method="add">
+ <object idref="mapredWork0"/>
+ </void>
+ </object>
+ </void>
+ </object>
+ </void>
</object>
</void>
</object>
@@ -169,7 +541,7 @@
</void>
<void method="put">
<string>location</string>
- <string>file:/data/users/zshao/tools/549-trunk-apache-hive/build/ql/test/data/warehouse/src1</string>
+ <string>file:/data/users/njain/hive4/hive4/build/ql/test/data/warehouse/src1</string>
</void>
</object>
</void>
@@ -185,7 +557,7 @@
<object class="java.util.LinkedHashMap">
<void method="put">
<string>src1</string>
- <object id="TableScanOperator0" class="org.apache.hadoop.hive.ql.exec.TableScanOperator">
+ <object id="TableScanOperator1" class="org.apache.hadoop.hive.ql.exec.TableScanOperator">
<void property="childOperators">
<object class="java.util.ArrayList">
<void method="add">
@@ -204,7 +576,7 @@
<int>1</int>
</void>
<void property="dirName">
- <string>file:/data/users/zshao/tools/549-trunk-apache-hive/build/ql/tmp/1679952334/10000</string>
+ <string>file:/data/users/njain/hive4/hive4/build/ql/tmp/1887695120/10002</string>
</void>
<void property="tableInfo">
<object idref="tableDesc0"/>
@@ -219,36 +591,7 @@
</object>
</void>
<void property="schema">
- <object class="org.apache.hadoop.hive.ql.exec.RowSchema">
- <void property="signature">
- <object id="Vector0" class="java.util.Vector">
- <void method="add">
- <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
- <void property="internalName">
- <string>_col0</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>_col1</string>
- </void>
- <void property="type">
- <object idref="PrimitiveTypeInfo0"/>
- </void>
- </object>
- </void>
- </object>
- </void>
- </object>
+ <object idref="RowSchema0"/>
</void>
</object>
</void>
@@ -314,7 +657,28 @@
<void property="schema">
<object class="org.apache.hadoop.hive.ql.exec.RowSchema">
<void property="signature">
- <object idref="Vector0"/>
+ <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="PrimitiveTypeInfo0"/>
+ </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="PrimitiveTypeInfo0"/>
+ </void>
+ </object>
+ </void>
+ </object>
</void>
</object>
</void>
@@ -357,14 +721,14 @@
<void property="parentOperators">
<object class="java.util.ArrayList">
<void method="add">
- <object idref="TableScanOperator0"/>
+ <object idref="TableScanOperator1"/>
</void>
</object>
</void>
<void property="schema">
<object class="org.apache.hadoop.hive.ql.exec.RowSchema">
<void property="signature">
- <object id="Vector1" class="java.util.Vector">
+ <object id="Vector0" class="java.util.Vector">
<void method="add">
<object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
<void property="internalName">
@@ -396,7 +760,7 @@
<void property="schema">
<object class="org.apache.hadoop.hive.ql.exec.RowSchema">
<void property="signature">
- <object idref="Vector1"/>
+ <object idref="Vector0"/>
</void>
</object>
</void>
@@ -407,7 +771,7 @@
<void property="pathToAliases">
<object class="java.util.LinkedHashMap">
<void method="put">
- <string>file:/data/users/zshao/tools/549-trunk-apache-hive/build/ql/test/data/warehouse/src1</string>
+ <string>file:/data/users/njain/hive4/hive4/build/ql/test/data/warehouse/src1</string>
<object class="java.util.ArrayList">
<void method="add">
<string>src1</string>
@@ -419,7 +783,7 @@
<void property="pathToPartitionInfo">
<object class="java.util.LinkedHashMap">
<void method="put">
- <string>file:/data/users/zshao/tools/549-trunk-apache-hive/build/ql/test/data/warehouse/src1</string>
+ <string>file:/data/users/njain/hive4/hive4/build/ql/test/data/warehouse/src1</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/input7.q.xml
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/test/results/compiler/plan/input7.q.xml?rev=787539&r1=787538&r2=787539&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/test/results/compiler/plan/input7.q.xml (original)
+++ hadoop/hive/trunk/ql/src/test/results/compiler/plan/input7.q.xml Tue Jun 23 04:35:01 2009
@@ -1,100 +1,452 @@
<?xml version="1.0" encoding="UTF-8"?>
-<java version="1.6.0_03-p3" class="java.beans.XMLDecoder">
+<java version="1.6.0_07" class="java.beans.XMLDecoder">
<object id="MapRedTask0" class="org.apache.hadoop.hive.ql.exec.MapRedTask">
<void property="childTasks">
<object class="java.util.ArrayList">
<void method="add">
- <object class="org.apache.hadoop.hive.ql.exec.MoveTask">
- <void property="id">
- <string>Stage-1</string>
- </void>
- <void property="parentTasks">
+ <object id="ConditionalTask0" class="org.apache.hadoop.hive.ql.exec.ConditionalTask">
+ <void property="childTasks">
<object class="java.util.ArrayList">
<void method="add">
- <object idref="MapRedTask0"/>
+ <object class="org.apache.hadoop.hive.ql.exec.MoveTask">
+ <void property="id">
+ <string>Stage-1</string>
+ </void>
+ <void property="parentTasks">
+ <object class="java.util.ArrayList">
+ <void method="add">
+ <object idref="ConditionalTask0"/>
+ </void>
+ </object>
+ </void>
+ <void property="work">
+ <object class="org.apache.hadoop.hive.ql.plan.moveWork">
+ <void property="loadTableWork">
+ <object class="org.apache.hadoop.hive.ql.plan.loadTableDesc">
+ <void property="partitionSpec">
+ <object class="java.util.HashMap"/>
+ </void>
+ <void property="replace">
+ <boolean>true</boolean>
+ </void>
+ <void property="sourceDir">
+ <string>file:/data/users/njain/hive4/hive4/build/ql/tmp/213246855/10000</string>
+ </void>
+ <void property="table">
+ <object id="tableDesc0" 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>name</string>
+ <string>dest1</string>
+ </void>
+ <void method="put">
+ <string>columns.types</string>
+ <string>string:string</string>
+ </void>
+ <void method="put">
+ <string>serialization.ddl</string>
+ <string>struct dest1 { string key, string value}</string>
+ </void>
+ <void method="put">
+ <string>serialization.format</string>
+ <string>1</string>
+ </void>
+ <void method="put">
+ <string>columns</string>
+ <string>key,value</string>
+ </void>
+ <void method="put">
+ <string>bucket_count</string>
+ <string>-1</string>
+ </void>
+ <void method="put">
+ <string>serialization.lib</string>
+ <string>org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe</string>
+ </void>
+ <void method="put">
+ <string>file.inputformat</string>
+ <string>org.apache.hadoop.mapred.TextInputFormat</string>
+ </void>
+ <void method="put">
+ <string>file.outputformat</string>
+ <string>org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat</string>
+ </void>
+ <void method="put">
+ <string>location</string>
+ <string>file:/data/users/njain/hive4/hive4/build/ql/test/data/warehouse/dest1</string>
+ </void>
+ </object>
+ </void>
+ <void property="serdeClassName">
+ <string>org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe</string>
+ </void>
+ </object>
+ </void>
+ <void property="tmpDir">
+ <string>file:/data/users/njain/hive4/hive4/build/ql/tmp/213246855/10001</string>
+ </void>
+ </object>
+ </void>
+ </object>
+ </void>
+ </object>
</void>
</object>
</void>
- <void property="work">
- <object class="org.apache.hadoop.hive.ql.plan.moveWork">
- <void property="loadFileWork">
- <object class="java.util.ArrayList"/>
+ <void property="id">
+ <string>Stage-5</string>
+ </void>
+ <void property="listTasks">
+ <object class="java.util.ArrayList">
+ <void method="add">
+ <object class="org.apache.hadoop.hive.ql.exec.MoveTask">
+ <void property="id">
+ <string>Stage-4</string>
+ </void>
+ <void property="work">
+ <object id="moveWork0" class="org.apache.hadoop.hive.ql.plan.moveWork">
+ <void property="loadFileWork">
+ <object class="org.apache.hadoop.hive.ql.plan.loadFileDesc">
+ <void property="isDfsDir">
+ <boolean>true</boolean>
+ </void>
+ <void property="sourceDir">
+ <string>file:/data/users/njain/hive4/hive4/build/ql/tmp/666215091/10002</string>
+ </void>
+ <void property="targetDir">
+ <string>file:/data/users/njain/hive4/hive4/build/ql/tmp/213246855/10000</string>
+ </void>
+ </object>
+ </void>
+ </object>
+ </void>
+ </object>
</void>
- <void property="loadTableWork">
- <object class="java.util.ArrayList">
- <void method="add">
- <object class="org.apache.hadoop.hive.ql.plan.loadTableDesc">
- <void property="partitionSpec">
- <object class="java.util.HashMap"/>
- </void>
- <void property="replace">
- <boolean>true</boolean>
- </void>
- <void property="sourceDir">
- <string>file:/Users/char/Documents/workspace/Hive-460/build/ql/tmp/944484297/10000</string>
- </void>
- <void property="table">
- <object id="tableDesc0" 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>name</string>
- <string>dest1</string>
- </void>
- <void method="put">
- <string>columns.types</string>
- <string>string:string</string>
- </void>
- <void method="put">
- <string>serialization.ddl</string>
- <string>struct dest1 { string key, string value}</string>
- </void>
- <void method="put">
- <string>serialization.format</string>
- <string>1</string>
- </void>
- <void method="put">
- <string>columns</string>
- <string>key,value</string>
- </void>
- <void method="put">
- <string>bucket_count</string>
- <string>-1</string>
+ <void method="add">
+ <object class="org.apache.hadoop.hive.ql.exec.MapRedTask">
+ <void property="id">
+ <string>Stage-3</string>
+ </void>
+ <void property="work">
+ <object id="mapredWork0" class="org.apache.hadoop.hive.ql.plan.mapredWork">
+ <void property="aliasToWork">
+ <object class="java.util.LinkedHashMap">
+ <void method="put">
+ <string>file:/data/users/njain/hive4/hive4/build/ql/tmp/666215091/10002</string>
+ <object id="TableScanOperator0" class="org.apache.hadoop.hive.ql.exec.TableScanOperator">
+ <void property="childOperators">
+ <object class="java.util.ArrayList">
+ <void method="add">
+ <object class="org.apache.hadoop.hive.ql.exec.ReduceSinkOperator">
+ <void property="conf">
+ <object class="org.apache.hadoop.hive.ql.plan.reduceSinkDesc">
+ <void property="keyCols">
+ <object class="java.util.ArrayList"/>
+ </void>
+ <void property="keySerializeInfo">
+ <object id="tableDesc1" class="org.apache.hadoop.hive.ql.plan.tableDesc">
+ <void property="deserializerClass">
+ <class>org.apache.hadoop.hive.serde2.dynamic_type.DynamicSerDe</class>
+ </void>
+ <void property="inputFileFormatClass">
+ <class>org.apache.hadoop.mapred.SequenceFileInputFormat</class>
+ </void>
+ <void property="outputFileFormatClass">
+ <class>org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat</class>
+ </void>
+ <void property="properties">
+ <object class="java.util.Properties">
+ <void method="put">
+ <string>name</string>
+ <string>binary_sortable_table</string>
+ </void>
+ <void method="put">
+ <string>serialization.sort.order</string>
+ <string></string>
+ </void>
+ <void method="put">
+ <string>serialization.ddl</string>
+ <string>struct binary_sortable_table { }</string>
+ </void>
+ <void method="put">
+ <string>serialization.format</string>
+ <string>org.apache.hadoop.hive.serde2.thrift.TBinarySortableProtocol</string>
+ </void>
+ </object>
+ </void>
+ </object>
+ </void>
+ <void property="numReducers">
+ <int>-1</int>
+ </void>
+ <void property="outputKeyColumnNames">
+ <object class="java.util.ArrayList"/>
+ </void>
+ <void property="outputValueColumnNames">
+ <object class="java.util.ArrayList">
+ <void method="add">
+ <string>_col0</string>
+ </void>
+ <void method="add">
+ <string>_col1</string>
+ </void>
+ </object>
+ </void>
+ <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>
+ <void property="childExprs">
+ <object class="java.util.ArrayList"/>
+ </void>
+ <void property="typeInfo">
+ <object class="org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo">
+ <void property="typeName">
+ <string>double</string>
+ </void>
+ </object>
+ </void>
+ </object>
+ </void>
+ </object>
+ </void>
+ <void property="tag">
+ <int>-1</int>
+ </void>
+ <void property="valueCols">
+ <object class="java.util.ArrayList">
+ <void method="add">
+ <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc">
+ <void property="column">
+ <string>key</string>
+ </void>
+ <void property="typeInfo">
+ <object id="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.plan.exprNodeColumnDesc">
+ <void property="column">
+ <string>value</string>
+ </void>
+ <void property="typeInfo">
+ <object idref="PrimitiveTypeInfo0"/>
+ </void>
+ </object>
+ </void>
+ </object>
+ </void>
+ <void property="valueSerializeInfo">
+ <object id="tableDesc2" 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.SequenceFileInputFormat</class>
+ </void>
+ <void property="outputFileFormatClass">
+ <class>org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat</class>
+ </void>
+ <void property="properties">
+ <object class="java.util.Properties">
+ <void method="put">
+ <string>columns</string>
+ <string>_col0,_col1</string>
+ </void>
+ <void method="put">
+ <string>columns.types</string>
+ <string>string,string</string>
+ </void>
+ </object>
+ </void>
+ </object>
+ </void>
+ </object>
+ </void>
+ <void property="parentOperators">
+ <object class="java.util.ArrayList">
+ <void method="add">
+ <object idref="TableScanOperator0"/>
+ </void>
+ </object>
+ </void>
+ <void property="schema">
+ <object id="RowSchema0" class="org.apache.hadoop.hive.ql.exec.RowSchema">
+ <void property="signature">
+ <object class="java.util.Vector">
+ <void method="add">
+ <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
+ <void property="internalName">
+ <string>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>
+ </void>
+ </object>
+ </void>
+ </object>
+ </void>
+ </object>
</void>
- <void method="put">
- <string>serialization.lib</string>
- <string>org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe</string>
+ <void property="schema">
+ <object idref="RowSchema0"/>
+ </void>
+ </object>
+ </void>
+ </object>
+ </void>
+ <void property="keyDesc">
+ <object idref="tableDesc1"/>
+ </void>
+ <void property="numReduceTasks">
+ <int>-1</int>
+ </void>
+ <void property="pathToAliases">
+ <object class="java.util.LinkedHashMap">
+ <void method="put">
+ <string>file:/data/users/njain/hive4/hive4/build/ql/tmp/666215091/10002</string>
+ <object class="java.util.ArrayList">
+ <void method="add">
+ <string>file:/data/users/njain/hive4/hive4/build/ql/tmp/666215091/10002</string>
</void>
- <void method="put">
- <string>file.inputformat</string>
- <string>org.apache.hadoop.mapred.TextInputFormat</string>
+ </object>
+ </void>
+ </object>
+ </void>
+ <void property="pathToPartitionInfo">
+ <object class="java.util.LinkedHashMap">
+ <void method="put">
+ <string>file:/data/users/njain/hive4/hive4/build/ql/tmp/666215091/10002</string>
+ <object class="org.apache.hadoop.hive.ql.plan.partitionDesc">
+ <void property="tableDesc">
+ <object idref="tableDesc0"/>
</void>
- <void method="put">
- <string>file.outputformat</string>
- <string>org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat</string>
+ </object>
+ </void>
+ </object>
+ </void>
+ <void property="reducer">
+ <object id="ExtractOperator0" class="org.apache.hadoop.hive.ql.exec.ExtractOperator">
+ <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/213246855/10000</string>
+ </void>
+ <void property="tableInfo">
+ <object idref="tableDesc0"/>
+ </void>
+ </object>
+ </void>
+ <void property="parentOperators">
+ <object class="java.util.ArrayList">
+ <void method="add">
+ <object idref="ExtractOperator0"/>
+ </void>
+ </object>
+ </void>
+ <void property="schema">
+ <object idref="RowSchema0"/>
+ </void>
+ </object>
</void>
- <void method="put">
- <string>location</string>
- <string>file:/Users/char/Documents/workspace/Hive-460/build/ql/test/data/warehouse/dest1</string>
+ </object>
+ </void>
+ <void property="conf">
+ <object class="org.apache.hadoop.hive.ql.plan.extractDesc">
+ <void property="col">
+ <object class="org.apache.hadoop.hive.ql.plan.exprNodeColumnDesc">
+ <void property="column">
+ <string>VALUE</string>
+ </void>
+ <void property="typeInfo">
+ <object idref="PrimitiveTypeInfo0"/>
+ </void>
+ </object>
</void>
</object>
</void>
- <void property="serdeClassName">
- <string>org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe</string>
+ <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>0</string>
+ </void>
+ <void property="type">
+ <object id="PrimitiveTypeInfo1" class="org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo">
+ <void property="typeName">
+ <string>void</string>
+ </void>
+ </object>
+ </void>
+ </object>
+ </void>
+ <void method="add">
+ <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
+ <void property="internalName">
+ <string>1</string>
+ </void>
+ <void property="type">
+ <object idref="PrimitiveTypeInfo0"/>
+ </void>
+ </object>
+ </void>
+ </object>
+ </void>
+ </object>
</void>
</object>
</void>
- <void property="tmpDir">
- <string>file:/Users/char/Documents/workspace/Hive-460/build/ql/tmp/944484297/10001</string>
+ <void property="tagToValueDesc">
+ <object class="java.util.ArrayList">
+ <void method="add">
+ <object idref="tableDesc2"/>
+ </void>
+ </object>
</void>
</object>
</void>
@@ -102,6 +454,30 @@
</void>
</object>
</void>
+ <void property="parentTasks">
+ <object class="java.util.ArrayList">
+ <void method="add">
+ <object idref="MapRedTask0"/>
+ </void>
+ </object>
+ </void>
+ <void property="resolver">
+ <object class="org.apache.hadoop.hive.ql.plan.ConditionalResolverMergeFiles"/>
+ </void>
+ <void property="work">
+ <object class="org.apache.hadoop.hive.ql.plan.ConditionalWork">
+ <void property="listWorks">
+ <object class="java.util.ArrayList">
+ <void method="add">
+ <object idref="moveWork0"/>
+ </void>
+ <void method="add">
+ <object idref="mapredWork0"/>
+ </void>
+ </object>
+ </void>
+ </object>
+ </void>
</object>
</void>
</object>
@@ -169,7 +545,7 @@
</void>
<void method="put">
<string>location</string>
- <string>file:/Users/char/Documents/workspace/Hive-460/build/ql/test/data/warehouse/src1</string>
+ <string>file:/data/users/njain/hive4/hive4/build/ql/test/data/warehouse/src1</string>
</void>
</object>
</void>
@@ -185,7 +561,7 @@
<object class="java.util.LinkedHashMap">
<void method="put">
<string>src1</string>
- <object id="TableScanOperator0" class="org.apache.hadoop.hive.ql.exec.TableScanOperator">
+ <object id="TableScanOperator1" class="org.apache.hadoop.hive.ql.exec.TableScanOperator">
<void property="childOperators">
<object class="java.util.ArrayList">
<void method="add">
@@ -200,7 +576,7 @@
<int>1</int>
</void>
<void property="dirName">
- <string>file:/Users/char/Documents/workspace/Hive-460/build/ql/tmp/944484297/10000</string>
+ <string>file:/data/users/njain/hive4/hive4/build/ql/tmp/666215091/10002</string>
</void>
<void property="tableInfo">
<object idref="tableDesc0"/>
@@ -215,40 +591,7 @@
</object>
</void>
<void property="schema">
- <object class="org.apache.hadoop.hive.ql.exec.RowSchema">
- <void property="signature">
- <object id="Vector0" class="java.util.Vector">
- <void method="add">
- <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
- <void property="internalName">
- <string>_col0</string>
- </void>
- <void property="type">
- <object class="org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo">
- <void property="typeName">
- <string>void</string>
- </void>
- </object>
- </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 id="PrimitiveTypeInfo0" class="org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo">
- <void property="typeName">
- <string>string</string>
- </void>
- </object>
- </void>
- </object>
- </void>
- </object>
- </void>
- </object>
+ <object idref="RowSchema0"/>
</void>
</object>
</void>
@@ -304,14 +647,35 @@
<void property="parentOperators">
<object class="java.util.ArrayList">
<void method="add">
- <object idref="TableScanOperator0"/>
+ <object idref="TableScanOperator1"/>
</void>
</object>
</void>
<void property="schema">
<object class="org.apache.hadoop.hive.ql.exec.RowSchema">
<void property="signature">
- <object idref="Vector0"/>
+ <object class="java.util.Vector">
+ <void method="add">
+ <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
+ <void property="internalName">
+ <string>_col0</string>
+ </void>
+ <void property="type">
+ <object idref="PrimitiveTypeInfo1"/>
+ </void>
+ </object>
+ </void>
+ <void method="add">
+ <object class="org.apache.hadoop.hive.ql.exec.ColumnInfo">
+ <void property="internalName">
+ <string>_col1</string>
+ </void>
+ <void property="type">
+ <object idref="PrimitiveTypeInfo0"/>
+ </void>
+ </object>
+ </void>
+ </object>
</void>
</object>
</void>
@@ -354,7 +718,7 @@
<void property="pathToAliases">
<object class="java.util.LinkedHashMap">
<void method="put">
- <string>file:/Users/char/Documents/workspace/Hive-460/build/ql/test/data/warehouse/src1</string>
+ <string>file:/data/users/njain/hive4/hive4/build/ql/test/data/warehouse/src1</string>
<object class="java.util.ArrayList">
<void method="add">
<string>src1</string>
@@ -366,7 +730,7 @@
<void property="pathToPartitionInfo">
<object class="java.util.LinkedHashMap">
<void method="put">
- <string>file:/Users/char/Documents/workspace/Hive-460/build/ql/test/data/warehouse/src1</string>
+ <string>file:/data/users/njain/hive4/hive4/build/ql/test/data/warehouse/src1</string>
<object class="org.apache.hadoop.hive.ql.plan.partitionDesc">
<void property="partSpec">
<object idref="LinkedHashMap0"/>