You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by gu...@apache.org on 2014/01/29 07:51:13 UTC

svn commit: r1562367 [2/4] - in /hive/trunk/ql/src: java/org/apache/hadoop/hive/ql/plan/ test/results/compiler/plan/

Modified: hive/trunk/ql/src/test/results/compiler/plan/input4.q.xml
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/plan/input4.q.xml?rev=1562367&r1=1562366&r2=1562367&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/plan/input4.q.xml (original)
+++ hive/trunk/ql/src/test/results/compiler/plan/input4.q.xml Wed Jan 29 06:51:12 2014
@@ -212,7 +212,7 @@
          </object> 
         </void> 
         <void property="tableDesc"> 
-         <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
+         <object id="TableDesc1" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
           <void property="inputFileFormatClass"> 
            <class>org.apache.hadoop.mapred.TextInputFormat</class> 
           </void> 
@@ -358,7 +358,7 @@
                        </object> 
                       </void> 
                       <void property="keySerializeInfo"> 
-                       <object id="TableDesc1" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
+                       <object id="TableDesc2" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
                         <void property="inputFileFormatClass"> 
                          <class>org.apache.hadoop.mapred.SequenceFileInputFormat</class> 
                         </void> 
@@ -438,7 +438,7 @@
                        </object> 
                       </void> 
                       <void property="valueSerializeInfo"> 
-                       <object id="TableDesc2" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
+                       <object id="TableDesc3" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
                         <void property="inputFileFormatClass"> 
                          <class>org.apache.hadoop.mapred.SequenceFileInputFormat</class> 
                         </void> 
@@ -1026,82 +1026,7 @@
          </object> 
         </void> 
         <void property="tableDesc"> 
-         <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
-          <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>default.src</string> 
-            </void> 
-            <void method="put"> 
-             <string>numFiles</string> 
-             <string>1</string> 
-            </void> 
-            <void method="put"> 
-             <string>columns.types</string> 
-             <string>string:string</string> 
-            </void> 
-            <void method="put"> 
-             <string>serialization.ddl</string> 
-             <string>struct src { string key, string value}</string> 
-            </void> 
-            <void method="put"> 
-             <string>serialization.format</string> 
-             <string>1</string> 
-            </void> 
-            <void method="put"> 
-             <string>columns</string> 
-             <string>key,value</string> 
-            </void> 
-            <void method="put"> 
-             <string>rawDataSize</string> 
-             <string>0</string> 
-            </void> 
-            <void method="put"> 
-             <string>numRows</string> 
-             <string>0</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>COLUMN_STATS_ACCURATE</string> 
-             <string>true</string> 
-            </void> 
-            <void method="put"> 
-             <string>file.inputformat</string> 
-             <string>org.apache.hadoop.mapred.TextInputFormat</string> 
-            </void> 
-            <void method="put"> 
-             <string>totalSize</string> 
-             <string>5812</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> 
-             #### A masked pattern was here #### 
-            </void> 
-            <void method="put"> 
-             <string>transient_lastDdlTime</string> 
-             #### A masked pattern was here #### 
-            </void> 
-           </object> 
-          </void> 
-         </object> 
+         <object idref="TableDesc1"/> 
         </void> 
        </object> 
       </void> 
@@ -1113,7 +1038,7 @@
        <boolean>true</boolean> 
       </void> 
       <void property="keyDesc"> 
-       <object idref="TableDesc1"/> 
+       <object idref="TableDesc2"/> 
       </void> 
       <void property="numReduceTasks"> 
        <int>-1</int> 
@@ -1389,7 +1314,7 @@
       </void> 
       <void property="tagToValueDesc"> 
        <void method="add"> 
-        <object idref="TableDesc2"/> 
+        <object idref="TableDesc3"/> 
        </void> 
       </void> 
      </object> 

Modified: hive/trunk/ql/src/test/results/compiler/plan/input5.q.xml
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/plan/input5.q.xml?rev=1562367&r1=1562366&r2=1562367&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/plan/input5.q.xml (original)
+++ hive/trunk/ql/src/test/results/compiler/plan/input5.q.xml Wed Jan 29 06:51:12 2014
@@ -216,7 +216,7 @@
          </object> 
         </void> 
         <void property="tableDesc"> 
-         <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
+         <object id="TableDesc1" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
           <void property="inputFileFormatClass"> 
            <class>org.apache.hadoop.mapred.SequenceFileInputFormat</class> 
           </void> 
@@ -363,7 +363,7 @@
                     </object> 
                    </void> 
                    <void property="keySerializeInfo"> 
-                    <object id="TableDesc1" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
+                    <object id="TableDesc2" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
                      <void property="inputFileFormatClass"> 
                       <class>org.apache.hadoop.mapred.SequenceFileInputFormat</class> 
                      </void> 
@@ -443,7 +443,7 @@
                     </object> 
                    </void> 
                    <void property="valueSerializeInfo"> 
-                    <object id="TableDesc2" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
+                    <object id="TableDesc3" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
                      <void property="inputFileFormatClass"> 
                       <class>org.apache.hadoop.mapred.SequenceFileInputFormat</class> 
                      </void> 
@@ -1092,86 +1092,7 @@
          </object> 
         </void> 
         <void property="tableDesc"> 
-         <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
-          <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>default.src_thrift</string> 
-            </void> 
-            <void method="put"> 
-             <string>numFiles</string> 
-             <string>1</string> 
-            </void> 
-            <void method="put"> 
-             <string>columns.types</string> 
-             <string></string> 
-            </void> 
-            <void method="put"> 
-             <string>serialization.ddl</string> 
-             <string>struct src_thrift { }</string> 
-            </void> 
-            <void method="put"> 
-             <string>columns</string> 
-             <string></string> 
-            </void> 
-            <void method="put"> 
-             <string>serialization.format</string> 
-             <string>org.apache.thrift.protocol.TBinaryProtocol</string> 
-            </void> 
-            <void method="put"> 
-             <string>rawDataSize</string> 
-             <string>0</string> 
-            </void> 
-            <void method="put"> 
-             <string>numRows</string> 
-             <string>0</string> 
-            </void> 
-            <void method="put"> 
-             <string>serialization.class</string> 
-             <string>org.apache.hadoop.hive.serde2.thrift.test.Complex</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.thrift.ThriftDeserializer</string> 
-            </void> 
-            <void method="put"> 
-             <string>COLUMN_STATS_ACCURATE</string> 
-             <string>true</string> 
-            </void> 
-            <void method="put"> 
-             <string>file.inputformat</string> 
-             <string>org.apache.hadoop.mapred.SequenceFileInputFormat</string> 
-            </void> 
-            <void method="put"> 
-             <string>totalSize</string> 
-             <string>1606</string> 
-            </void> 
-            <void method="put"> 
-             <string>file.outputformat</string> 
-             <string>org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat</string> 
-            </void> 
-            <void method="put"> 
-             <string>location</string> 
-             #### A masked pattern was here #### 
-            </void> 
-            <void method="put"> 
-             <string>transient_lastDdlTime</string> 
-             #### A masked pattern was here #### 
-            </void> 
-           </object> 
-          </void> 
-         </object> 
+         <object idref="TableDesc1"/> 
         </void> 
        </object> 
       </void> 
@@ -1183,7 +1104,7 @@
        <boolean>true</boolean> 
       </void> 
       <void property="keyDesc"> 
-       <object idref="TableDesc1"/> 
+       <object idref="TableDesc2"/> 
       </void> 
       <void property="numReduceTasks"> 
        <int>-1</int> 
@@ -1459,7 +1380,7 @@
       </void> 
       <void property="tagToValueDesc"> 
        <void method="add"> 
-        <object idref="TableDesc2"/> 
+        <object idref="TableDesc3"/> 
        </void> 
       </void> 
      </object> 

Modified: hive/trunk/ql/src/test/results/compiler/plan/input6.q.xml
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/plan/input6.q.xml?rev=1562367&r1=1562366&r2=1562367&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/plan/input6.q.xml (original)
+++ hive/trunk/ql/src/test/results/compiler/plan/input6.q.xml Wed Jan 29 06:51:12 2014
@@ -319,7 +319,7 @@
                          </object> 
                         </void> 
                         <void property="tableDesc"> 
-                         <object id="TableDesc0" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
+                         <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
                           <void property="inputFileFormatClass"> 
                            <class>org.apache.hadoop.mapred.TextInputFormat</class> 
                           </void> 
@@ -417,7 +417,62 @@
                    <boolean>true</boolean> 
                   </void> 
                   <void property="table"> 
-                   <object idref="TableDesc0"/> 
+                   <object id="TableDesc0" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
+                    <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>default.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> 
+                       #### A masked pattern was here #### 
+                      </void> 
+                      <void method="put"> 
+                       <string>transient_lastDdlTime</string> 
+                       #### A masked pattern was here #### 
+                      </void> 
+                     </object> 
+                    </void> 
+                   </object> 
                   </void> 
                  </object> 
                 </void> 
@@ -551,7 +606,7 @@
          </object> 
         </void> 
         <void property="tableDesc"> 
-         <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
+         <object id="TableDesc1" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
           <void property="inputFileFormatClass"> 
            <class>org.apache.hadoop.mapred.TextInputFormat</class> 
           </void> 
@@ -1077,82 +1132,7 @@
          </object> 
         </void> 
         <void property="tableDesc"> 
-         <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
-          <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>default.src1</string> 
-            </void> 
-            <void method="put"> 
-             <string>numFiles</string> 
-             <string>1</string> 
-            </void> 
-            <void method="put"> 
-             <string>columns.types</string> 
-             <string>string:string</string> 
-            </void> 
-            <void method="put"> 
-             <string>serialization.ddl</string> 
-             <string>struct src1 { 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>rawDataSize</string> 
-             <string>0</string> 
-            </void> 
-            <void method="put"> 
-             <string>numRows</string> 
-             <string>0</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>COLUMN_STATS_ACCURATE</string> 
-             <string>true</string> 
-            </void> 
-            <void method="put"> 
-             <string>file.inputformat</string> 
-             <string>org.apache.hadoop.mapred.TextInputFormat</string> 
-            </void> 
-            <void method="put"> 
-             <string>totalSize</string> 
-             <string>216</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> 
-             #### A masked pattern was here #### 
-            </void> 
-            <void method="put"> 
-             <string>transient_lastDdlTime</string> 
-             #### A masked pattern was here #### 
-            </void> 
-           </object> 
-          </void> 
-         </object> 
+         <object idref="TableDesc1"/> 
         </void> 
        </object> 
       </void> 

Modified: hive/trunk/ql/src/test/results/compiler/plan/input7.q.xml
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/plan/input7.q.xml?rev=1562367&r1=1562366&r2=1562367&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/plan/input7.q.xml (original)
+++ hive/trunk/ql/src/test/results/compiler/plan/input7.q.xml Wed Jan 29 06:51:12 2014
@@ -319,7 +319,7 @@
                          </object> 
                         </void> 
                         <void property="tableDesc"> 
-                         <object id="TableDesc0" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
+                         <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
                           <void property="inputFileFormatClass"> 
                            <class>org.apache.hadoop.mapred.TextInputFormat</class> 
                           </void> 
@@ -417,7 +417,62 @@
                    <boolean>true</boolean> 
                   </void> 
                   <void property="table"> 
-                   <object idref="TableDesc0"/> 
+                   <object id="TableDesc0" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
+                    <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>default.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> 
+                       #### A masked pattern was here #### 
+                      </void> 
+                      <void method="put"> 
+                       <string>transient_lastDdlTime</string> 
+                       #### A masked pattern was here #### 
+                      </void> 
+                     </object> 
+                    </void> 
+                   </object> 
                   </void> 
                  </object> 
                 </void> 
@@ -551,7 +606,7 @@
          </object> 
         </void> 
         <void property="tableDesc"> 
-         <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
+         <object id="TableDesc1" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
           <void property="inputFileFormatClass"> 
            <class>org.apache.hadoop.mapred.TextInputFormat</class> 
           </void> 
@@ -1003,82 +1058,7 @@
          </object> 
         </void> 
         <void property="tableDesc"> 
-         <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
-          <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>default.src1</string> 
-            </void> 
-            <void method="put"> 
-             <string>numFiles</string> 
-             <string>1</string> 
-            </void> 
-            <void method="put"> 
-             <string>columns.types</string> 
-             <string>string:string</string> 
-            </void> 
-            <void method="put"> 
-             <string>serialization.ddl</string> 
-             <string>struct src1 { 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>rawDataSize</string> 
-             <string>0</string> 
-            </void> 
-            <void method="put"> 
-             <string>numRows</string> 
-             <string>0</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>COLUMN_STATS_ACCURATE</string> 
-             <string>true</string> 
-            </void> 
-            <void method="put"> 
-             <string>file.inputformat</string> 
-             <string>org.apache.hadoop.mapred.TextInputFormat</string> 
-            </void> 
-            <void method="put"> 
-             <string>totalSize</string> 
-             <string>216</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> 
-             #### A masked pattern was here #### 
-            </void> 
-            <void method="put"> 
-             <string>transient_lastDdlTime</string> 
-             #### A masked pattern was here #### 
-            </void> 
-           </object> 
-          </void> 
-         </object> 
+         <object idref="TableDesc1"/> 
         </void> 
        </object> 
       </void> 

Modified: hive/trunk/ql/src/test/results/compiler/plan/input8.q.xml
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/plan/input8.q.xml?rev=1562367&r1=1562366&r2=1562367&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/plan/input8.q.xml (original)
+++ hive/trunk/ql/src/test/results/compiler/plan/input8.q.xml Wed Jan 29 06:51:12 2014
@@ -68,7 +68,7 @@
          </object> 
         </void> 
         <void property="tableDesc"> 
-         <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
+         <object id="TableDesc0" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
           <void property="inputFileFormatClass"> 
            <class>org.apache.hadoop.mapred.TextInputFormat</class> 
           </void> 
@@ -684,82 +684,7 @@
          </object> 
         </void> 
         <void property="tableDesc"> 
-         <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
-          <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>default.src1</string> 
-            </void> 
-            <void method="put"> 
-             <string>numFiles</string> 
-             <string>1</string> 
-            </void> 
-            <void method="put"> 
-             <string>columns.types</string> 
-             <string>string:string</string> 
-            </void> 
-            <void method="put"> 
-             <string>serialization.ddl</string> 
-             <string>struct src1 { 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>rawDataSize</string> 
-             <string>0</string> 
-            </void> 
-            <void method="put"> 
-             <string>numRows</string> 
-             <string>0</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>COLUMN_STATS_ACCURATE</string> 
-             <string>true</string> 
-            </void> 
-            <void method="put"> 
-             <string>file.inputformat</string> 
-             <string>org.apache.hadoop.mapred.TextInputFormat</string> 
-            </void> 
-            <void method="put"> 
-             <string>totalSize</string> 
-             <string>216</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> 
-             #### A masked pattern was here #### 
-            </void> 
-            <void method="put"> 
-             <string>transient_lastDdlTime</string> 
-             #### A masked pattern was here #### 
-            </void> 
-           </object> 
-          </void> 
-         </object> 
+         <object idref="TableDesc0"/> 
         </void> 
        </object> 
       </void> 

Modified: hive/trunk/ql/src/test/results/compiler/plan/input9.q.xml
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/plan/input9.q.xml?rev=1562367&r1=1562366&r2=1562367&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/plan/input9.q.xml (original)
+++ hive/trunk/ql/src/test/results/compiler/plan/input9.q.xml Wed Jan 29 06:51:12 2014
@@ -319,7 +319,7 @@
                          </object> 
                         </void> 
                         <void property="tableDesc"> 
-                         <object id="TableDesc0" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
+                         <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
                           <void property="inputFileFormatClass"> 
                            <class>org.apache.hadoop.mapred.TextInputFormat</class> 
                           </void> 
@@ -417,7 +417,62 @@
                    <boolean>true</boolean> 
                   </void> 
                   <void property="table"> 
-                   <object idref="TableDesc0"/> 
+                   <object id="TableDesc0" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
+                    <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>default.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> 
+                       #### A masked pattern was here #### 
+                      </void> 
+                      <void method="put"> 
+                       <string>transient_lastDdlTime</string> 
+                       #### A masked pattern was here #### 
+                      </void> 
+                     </object> 
+                    </void> 
+                   </object> 
                   </void> 
                  </object> 
                 </void> 
@@ -551,7 +606,7 @@
          </object> 
         </void> 
         <void property="tableDesc"> 
-         <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
+         <object id="TableDesc1" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
           <void property="inputFileFormatClass"> 
            <class>org.apache.hadoop.mapred.TextInputFormat</class> 
           </void> 
@@ -1056,82 +1111,7 @@
          </object> 
         </void> 
         <void property="tableDesc"> 
-         <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
-          <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>default.src1</string> 
-            </void> 
-            <void method="put"> 
-             <string>numFiles</string> 
-             <string>1</string> 
-            </void> 
-            <void method="put"> 
-             <string>columns.types</string> 
-             <string>string:string</string> 
-            </void> 
-            <void method="put"> 
-             <string>serialization.ddl</string> 
-             <string>struct src1 { 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>rawDataSize</string> 
-             <string>0</string> 
-            </void> 
-            <void method="put"> 
-             <string>numRows</string> 
-             <string>0</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>COLUMN_STATS_ACCURATE</string> 
-             <string>true</string> 
-            </void> 
-            <void method="put"> 
-             <string>file.inputformat</string> 
-             <string>org.apache.hadoop.mapred.TextInputFormat</string> 
-            </void> 
-            <void method="put"> 
-             <string>totalSize</string> 
-             <string>216</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> 
-             #### A masked pattern was here #### 
-            </void> 
-            <void method="put"> 
-             <string>transient_lastDdlTime</string> 
-             #### A masked pattern was here #### 
-            </void> 
-           </object> 
-          </void> 
-         </object> 
+         <object idref="TableDesc1"/> 
         </void> 
        </object> 
       </void> 

Modified: hive/trunk/ql/src/test/results/compiler/plan/input_part1.q.xml
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/plan/input_part1.q.xml?rev=1562367&r1=1562366&r2=1562367&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/plan/input_part1.q.xml (original)
+++ hive/trunk/ql/src/test/results/compiler/plan/input_part1.q.xml Wed Jan 29 06:51:12 2014
@@ -105,7 +105,7 @@
          </object> 
         </void> 
         <void property="tableDesc"> 
-         <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
+         <object id="TableDesc0" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
           <void property="inputFileFormatClass"> 
            <class>org.apache.hadoop.mapred.TextInputFormat</class> 
           </void> 
@@ -863,66 +863,7 @@
          </object> 
         </void> 
         <void property="tableDesc"> 
-         <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
-          <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>default.srcpart</string> 
-            </void> 
-            <void method="put"> 
-             <string>columns.types</string> 
-             <string>string:string</string> 
-            </void> 
-            <void method="put"> 
-             <string>serialization.ddl</string> 
-             <string>struct srcpart { 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>partition_columns</string> 
-             <string>ds/hr</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> 
-             #### A masked pattern was here #### 
-            </void> 
-            <void method="put"> 
-             <string>transient_lastDdlTime</string> 
-             #### A masked pattern was here #### 
-            </void> 
-           </object> 
-          </void> 
-         </object> 
+         <object idref="TableDesc0"/> 
         </void> 
        </object> 
       </void> 

Modified: hive/trunk/ql/src/test/results/compiler/plan/input_testsequencefile.q.xml
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/plan/input_testsequencefile.q.xml?rev=1562367&r1=1562366&r2=1562367&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/plan/input_testsequencefile.q.xml (original)
+++ hive/trunk/ql/src/test/results/compiler/plan/input_testsequencefile.q.xml Wed Jan 29 06:51:12 2014
@@ -551,7 +551,7 @@
          </object> 
         </void> 
         <void property="tableDesc"> 
-         <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
+         <object id="TableDesc1" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
           <void property="inputFileFormatClass"> 
            <class>org.apache.hadoop.mapred.TextInputFormat</class> 
           </void> 
@@ -1014,82 +1014,7 @@
          </object> 
         </void> 
         <void property="tableDesc"> 
-         <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
-          <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>default.src</string> 
-            </void> 
-            <void method="put"> 
-             <string>numFiles</string> 
-             <string>1</string> 
-            </void> 
-            <void method="put"> 
-             <string>columns.types</string> 
-             <string>string:string</string> 
-            </void> 
-            <void method="put"> 
-             <string>serialization.ddl</string> 
-             <string>struct src { string key, string value}</string> 
-            </void> 
-            <void method="put"> 
-             <string>serialization.format</string> 
-             <string>1</string> 
-            </void> 
-            <void method="put"> 
-             <string>columns</string> 
-             <string>key,value</string> 
-            </void> 
-            <void method="put"> 
-             <string>rawDataSize</string> 
-             <string>0</string> 
-            </void> 
-            <void method="put"> 
-             <string>numRows</string> 
-             <string>0</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>COLUMN_STATS_ACCURATE</string> 
-             <string>true</string> 
-            </void> 
-            <void method="put"> 
-             <string>file.inputformat</string> 
-             <string>org.apache.hadoop.mapred.TextInputFormat</string> 
-            </void> 
-            <void method="put"> 
-             <string>totalSize</string> 
-             <string>5812</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> 
-             #### A masked pattern was here #### 
-            </void> 
-            <void method="put"> 
-             <string>transient_lastDdlTime</string> 
-             #### A masked pattern was here #### 
-            </void> 
-           </object> 
-          </void> 
-         </object> 
+         <object idref="TableDesc1"/> 
         </void> 
        </object> 
       </void> 

Modified: hive/trunk/ql/src/test/results/compiler/plan/input_testxpath.q.xml
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/plan/input_testxpath.q.xml?rev=1562367&r1=1562366&r2=1562367&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/plan/input_testxpath.q.xml (original)
+++ hive/trunk/ql/src/test/results/compiler/plan/input_testxpath.q.xml Wed Jan 29 06:51:12 2014
@@ -72,7 +72,7 @@
          </object> 
         </void> 
         <void property="tableDesc"> 
-         <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
+         <object id="TableDesc0" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
           <void property="inputFileFormatClass"> 
            <class>org.apache.hadoop.mapred.SequenceFileInputFormat</class> 
           </void> 
@@ -861,86 +861,7 @@
          </object> 
         </void> 
         <void property="tableDesc"> 
-         <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
-          <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>default.src_thrift</string> 
-            </void> 
-            <void method="put"> 
-             <string>numFiles</string> 
-             <string>1</string> 
-            </void> 
-            <void method="put"> 
-             <string>columns.types</string> 
-             <string></string> 
-            </void> 
-            <void method="put"> 
-             <string>serialization.ddl</string> 
-             <string>struct src_thrift { }</string> 
-            </void> 
-            <void method="put"> 
-             <string>columns</string> 
-             <string></string> 
-            </void> 
-            <void method="put"> 
-             <string>serialization.format</string> 
-             <string>org.apache.thrift.protocol.TBinaryProtocol</string> 
-            </void> 
-            <void method="put"> 
-             <string>rawDataSize</string> 
-             <string>0</string> 
-            </void> 
-            <void method="put"> 
-             <string>numRows</string> 
-             <string>0</string> 
-            </void> 
-            <void method="put"> 
-             <string>serialization.class</string> 
-             <string>org.apache.hadoop.hive.serde2.thrift.test.Complex</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.thrift.ThriftDeserializer</string> 
-            </void> 
-            <void method="put"> 
-             <string>COLUMN_STATS_ACCURATE</string> 
-             <string>true</string> 
-            </void> 
-            <void method="put"> 
-             <string>file.inputformat</string> 
-             <string>org.apache.hadoop.mapred.SequenceFileInputFormat</string> 
-            </void> 
-            <void method="put"> 
-             <string>totalSize</string> 
-             <string>1606</string> 
-            </void> 
-            <void method="put"> 
-             <string>file.outputformat</string> 
-             <string>org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat</string> 
-            </void> 
-            <void method="put"> 
-             <string>location</string> 
-             #### A masked pattern was here #### 
-            </void> 
-            <void method="put"> 
-             <string>transient_lastDdlTime</string> 
-             #### A masked pattern was here #### 
-            </void> 
-           </object> 
-          </void> 
-         </object> 
+         <object idref="TableDesc0"/> 
         </void> 
        </object> 
       </void> 

Modified: hive/trunk/ql/src/test/results/compiler/plan/input_testxpath2.q.xml
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/plan/input_testxpath2.q.xml?rev=1562367&r1=1562366&r2=1562367&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/plan/input_testxpath2.q.xml (original)
+++ hive/trunk/ql/src/test/results/compiler/plan/input_testxpath2.q.xml Wed Jan 29 06:51:12 2014
@@ -72,7 +72,7 @@
          </object> 
         </void> 
         <void property="tableDesc"> 
-         <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
+         <object id="TableDesc0" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
           <void property="inputFileFormatClass"> 
            <class>org.apache.hadoop.mapred.SequenceFileInputFormat</class> 
           </void> 
@@ -939,86 +939,7 @@
          </object> 
         </void> 
         <void property="tableDesc"> 
-         <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
-          <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>default.src_thrift</string> 
-            </void> 
-            <void method="put"> 
-             <string>numFiles</string> 
-             <string>1</string> 
-            </void> 
-            <void method="put"> 
-             <string>columns.types</string> 
-             <string></string> 
-            </void> 
-            <void method="put"> 
-             <string>serialization.ddl</string> 
-             <string>struct src_thrift { }</string> 
-            </void> 
-            <void method="put"> 
-             <string>columns</string> 
-             <string></string> 
-            </void> 
-            <void method="put"> 
-             <string>serialization.format</string> 
-             <string>org.apache.thrift.protocol.TBinaryProtocol</string> 
-            </void> 
-            <void method="put"> 
-             <string>rawDataSize</string> 
-             <string>0</string> 
-            </void> 
-            <void method="put"> 
-             <string>numRows</string> 
-             <string>0</string> 
-            </void> 
-            <void method="put"> 
-             <string>serialization.class</string> 
-             <string>org.apache.hadoop.hive.serde2.thrift.test.Complex</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.thrift.ThriftDeserializer</string> 
-            </void> 
-            <void method="put"> 
-             <string>COLUMN_STATS_ACCURATE</string> 
-             <string>true</string> 
-            </void> 
-            <void method="put"> 
-             <string>file.inputformat</string> 
-             <string>org.apache.hadoop.mapred.SequenceFileInputFormat</string> 
-            </void> 
-            <void method="put"> 
-             <string>totalSize</string> 
-             <string>1606</string> 
-            </void> 
-            <void method="put"> 
-             <string>file.outputformat</string> 
-             <string>org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat</string> 
-            </void> 
-            <void method="put"> 
-             <string>location</string> 
-             #### A masked pattern was here #### 
-            </void> 
-            <void method="put"> 
-             <string>transient_lastDdlTime</string> 
-             #### A masked pattern was here #### 
-            </void> 
-           </object> 
-          </void> 
-         </object> 
+         <object idref="TableDesc0"/> 
         </void> 
        </object> 
       </void> 

Modified: hive/trunk/ql/src/test/results/compiler/plan/join1.q.xml
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/plan/join1.q.xml?rev=1562367&r1=1562366&r2=1562367&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/plan/join1.q.xml (original)
+++ hive/trunk/ql/src/test/results/compiler/plan/join1.q.xml Wed Jan 29 06:51:12 2014
@@ -212,7 +212,7 @@
          </object> 
         </void> 
         <void property="tableDesc"> 
-         <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
+         <object id="TableDesc1" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
           <void property="inputFileFormatClass"> 
            <class>org.apache.hadoop.mapred.TextInputFormat</class> 
           </void> 
@@ -348,82 +348,7 @@
          </object> 
         </void> 
         <void property="tableDesc"> 
-         <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
-          <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>default.src</string> 
-            </void> 
-            <void method="put"> 
-             <string>numFiles</string> 
-             <string>1</string> 
-            </void> 
-            <void method="put"> 
-             <string>columns.types</string> 
-             <string>string:string</string> 
-            </void> 
-            <void method="put"> 
-             <string>serialization.ddl</string> 
-             <string>struct src { string key, string value}</string> 
-            </void> 
-            <void method="put"> 
-             <string>serialization.format</string> 
-             <string>1</string> 
-            </void> 
-            <void method="put"> 
-             <string>columns</string> 
-             <string>key,value</string> 
-            </void> 
-            <void method="put"> 
-             <string>rawDataSize</string> 
-             <string>0</string> 
-            </void> 
-            <void method="put"> 
-             <string>numRows</string> 
-             <string>0</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>COLUMN_STATS_ACCURATE</string> 
-             <string>true</string> 
-            </void> 
-            <void method="put"> 
-             <string>file.inputformat</string> 
-             <string>org.apache.hadoop.mapred.TextInputFormat</string> 
-            </void> 
-            <void method="put"> 
-             <string>totalSize</string> 
-             <string>5812</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> 
-             #### A masked pattern was here #### 
-            </void> 
-            <void method="put"> 
-             <string>transient_lastDdlTime</string> 
-             #### A masked pattern was here #### 
-            </void> 
-           </object> 
-          </void> 
-         </object> 
+         <object idref="TableDesc1"/> 
         </void> 
        </object> 
       </void> 
@@ -557,7 +482,7 @@
               </object> 
              </void> 
              <void property="valueSerializeInfo"> 
-              <object id="TableDesc1" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
+              <object id="TableDesc2" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
                <void property="inputFileFormatClass"> 
                 <class>org.apache.hadoop.mapred.SequenceFileInputFormat</class> 
                </void> 
@@ -806,7 +731,7 @@
               </object> 
              </void> 
              <void property="keySerializeInfo"> 
-              <object id="TableDesc2" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
+              <object id="TableDesc3" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
                <void property="inputFileFormatClass"> 
                 <class>org.apache.hadoop.mapred.SequenceFileInputFormat</class> 
                </void> 
@@ -866,7 +791,7 @@
               </object> 
              </void> 
              <void property="valueSerializeInfo"> 
-              <object id="TableDesc3" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
+              <object id="TableDesc4" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
                <void property="inputFileFormatClass"> 
                 <class>org.apache.hadoop.mapred.SequenceFileInputFormat</class> 
                </void> 
@@ -1144,82 +1069,7 @@
          </object> 
         </void> 
         <void property="tableDesc"> 
-         <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
-          <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>default.src</string> 
-            </void> 
-            <void method="put"> 
-             <string>numFiles</string> 
-             <string>1</string> 
-            </void> 
-            <void method="put"> 
-             <string>columns.types</string> 
-             <string>string:string</string> 
-            </void> 
-            <void method="put"> 
-             <string>serialization.ddl</string> 
-             <string>struct src { string key, string value}</string> 
-            </void> 
-            <void method="put"> 
-             <string>serialization.format</string> 
-             <string>1</string> 
-            </void> 
-            <void method="put"> 
-             <string>columns</string> 
-             <string>key,value</string> 
-            </void> 
-            <void method="put"> 
-             <string>rawDataSize</string> 
-             <string>0</string> 
-            </void> 
-            <void method="put"> 
-             <string>numRows</string> 
-             <string>0</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>COLUMN_STATS_ACCURATE</string> 
-             <string>true</string> 
-            </void> 
-            <void method="put"> 
-             <string>file.inputformat</string> 
-             <string>org.apache.hadoop.mapred.TextInputFormat</string> 
-            </void> 
-            <void method="put"> 
-             <string>totalSize</string> 
-             <string>5812</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> 
-             #### A masked pattern was here #### 
-            </void> 
-            <void method="put"> 
-             <string>transient_lastDdlTime</string> 
-             #### A masked pattern was here #### 
-            </void> 
-           </object> 
-          </void> 
-         </object> 
+         <object idref="TableDesc1"/> 
         </void> 
        </object> 
       </void> 
@@ -1231,7 +1081,7 @@
        <boolean>true</boolean> 
       </void> 
       <void property="keyDesc"> 
-       <object idref="TableDesc2"/> 
+       <object idref="TableDesc3"/> 
       </void> 
       <void property="needsTagging"> 
        <boolean>true</boolean> 
@@ -1660,10 +1510,10 @@
       </void> 
       <void property="tagToValueDesc"> 
        <void method="add"> 
-        <object idref="TableDesc3"/> 
+        <object idref="TableDesc4"/> 
        </void> 
        <void method="add"> 
-        <object idref="TableDesc1"/> 
+        <object idref="TableDesc2"/> 
        </void> 
       </void> 
      </object> 

Modified: hive/trunk/ql/src/test/results/compiler/plan/join2.q.xml
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/plan/join2.q.xml?rev=1562367&r1=1562366&r2=1562367&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/plan/join2.q.xml (original)
+++ hive/trunk/ql/src/test/results/compiler/plan/join2.q.xml Wed Jan 29 06:51:12 2014
@@ -223,7 +223,7 @@
              </object> 
             </void> 
             <void property="tableDesc"> 
-             <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
+             <object id="TableDesc1" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
               <void property="inputFileFormatClass"> 
                <class>org.apache.hadoop.mapred.TextInputFormat</class> 
               </void> 
@@ -446,7 +446,7 @@
                   </object> 
                  </void> 
                  <void property="valueSerializeInfo"> 
-                  <object id="TableDesc1" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
+                  <object id="TableDesc2" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
                    <void property="inputFileFormatClass"> 
                     <class>org.apache.hadoop.mapred.SequenceFileInputFormat</class> 
                    </void> 
@@ -648,7 +648,7 @@
                   </object> 
                  </void> 
                  <void property="keySerializeInfo"> 
-                  <object id="TableDesc2" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
+                  <object id="TableDesc3" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
                    <void property="inputFileFormatClass"> 
                     <class>org.apache.hadoop.mapred.SequenceFileInputFormat</class> 
                    </void> 
@@ -711,7 +711,7 @@
                   </object> 
                  </void> 
                  <void property="valueSerializeInfo"> 
-                  <object id="TableDesc3" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
+                  <object id="TableDesc4" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
                    <void property="inputFileFormatClass"> 
                     <class>org.apache.hadoop.mapred.SequenceFileInputFormat</class> 
                    </void> 
@@ -953,7 +953,7 @@
              </object> 
             </void> 
             <void property="tableDesc"> 
-             <object id="TableDesc4" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
+             <object id="TableDesc5" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
               <void property="inputFileFormatClass"> 
                <class>org.apache.hadoop.mapred.SequenceFileInputFormat</class> 
               </void> 
@@ -1051,82 +1051,7 @@
              </object> 
             </void> 
             <void property="tableDesc"> 
-             <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
-              <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>default.src</string> 
-                </void> 
-                <void method="put"> 
-                 <string>numFiles</string> 
-                 <string>1</string> 
-                </void> 
-                <void method="put"> 
-                 <string>columns.types</string> 
-                 <string>string:string</string> 
-                </void> 
-                <void method="put"> 
-                 <string>serialization.ddl</string> 
-                 <string>struct src { string key, string value}</string> 
-                </void> 
-                <void method="put"> 
-                 <string>serialization.format</string> 
-                 <string>1</string> 
-                </void> 
-                <void method="put"> 
-                 <string>columns</string> 
-                 <string>key,value</string> 
-                </void> 
-                <void method="put"> 
-                 <string>rawDataSize</string> 
-                 <string>0</string> 
-                </void> 
-                <void method="put"> 
-                 <string>numRows</string> 
-                 <string>0</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>COLUMN_STATS_ACCURATE</string> 
-                 <string>true</string> 
-                </void> 
-                <void method="put"> 
-                 <string>file.inputformat</string> 
-                 <string>org.apache.hadoop.mapred.TextInputFormat</string> 
-                </void> 
-                <void method="put"> 
-                 <string>totalSize</string> 
-                 <string>5812</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> 
-                 #### A masked pattern was here #### 
-                </void> 
-                <void method="put"> 
-                 <string>transient_lastDdlTime</string> 
-                 #### A masked pattern was here #### 
-                </void> 
-               </object> 
-              </void> 
-             </object> 
+             <object idref="TableDesc1"/> 
             </void> 
            </object> 
           </void> 
@@ -1138,7 +1063,7 @@
            <boolean>true</boolean> 
           </void> 
           <void property="keyDesc"> 
-           <object idref="TableDesc2"/> 
+           <object idref="TableDesc3"/> 
           </void> 
           <void property="needsTagging"> 
            <boolean>true</boolean> 
@@ -1586,10 +1511,10 @@
           </void> 
           <void property="tagToValueDesc"> 
            <void method="add"> 
-            <object idref="TableDesc1"/> 
+            <object idref="TableDesc2"/> 
            </void> 
            <void method="add"> 
-            <object idref="TableDesc3"/> 
+            <object idref="TableDesc4"/> 
            </void> 
           </void> 
          </object> 
@@ -1664,82 +1589,7 @@
          </object> 
         </void> 
         <void property="tableDesc"> 
-         <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
-          <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>default.src</string> 
-            </void> 
-            <void method="put"> 
-             <string>numFiles</string> 
-             <string>1</string> 
-            </void> 
-            <void method="put"> 
-             <string>columns.types</string> 
-             <string>string:string</string> 
-            </void> 
-            <void method="put"> 
-             <string>serialization.ddl</string> 
-             <string>struct src { string key, string value}</string> 
-            </void> 
-            <void method="put"> 
-             <string>serialization.format</string> 
-             <string>1</string> 
-            </void> 
-            <void method="put"> 
-             <string>columns</string> 
-             <string>key,value</string> 
-            </void> 
-            <void method="put"> 
-             <string>rawDataSize</string> 
-             <string>0</string> 
-            </void> 
-            <void method="put"> 
-             <string>numRows</string> 
-             <string>0</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>COLUMN_STATS_ACCURATE</string> 
-             <string>true</string> 
-            </void> 
-            <void method="put"> 
-             <string>file.inputformat</string> 
-             <string>org.apache.hadoop.mapred.TextInputFormat</string> 
-            </void> 
-            <void method="put"> 
-             <string>totalSize</string> 
-             <string>5812</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> 
-             #### A masked pattern was here #### 
-            </void> 
-            <void method="put"> 
-             <string>transient_lastDdlTime</string> 
-             #### A masked pattern was here #### 
-            </void> 
-           </object> 
-          </void> 
-         </object> 
+         <object idref="TableDesc1"/> 
         </void> 
        </object> 
       </void> 
@@ -1800,82 +1650,7 @@
          </object> 
         </void> 
         <void property="tableDesc"> 
-         <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
-          <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>default.src</string> 
-            </void> 
-            <void method="put"> 
-             <string>numFiles</string> 
-             <string>1</string> 
-            </void> 
-            <void method="put"> 
-             <string>columns.types</string> 
-             <string>string:string</string> 
-            </void> 
-            <void method="put"> 
-             <string>serialization.ddl</string> 
-             <string>struct src { string key, string value}</string> 
-            </void> 
-            <void method="put"> 
-             <string>serialization.format</string> 
-             <string>1</string> 
-            </void> 
-            <void method="put"> 
-             <string>columns</string> 
-             <string>key,value</string> 
-            </void> 
-            <void method="put"> 
-             <string>rawDataSize</string> 
-             <string>0</string> 
-            </void> 
-            <void method="put"> 
-             <string>numRows</string> 
-             <string>0</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>COLUMN_STATS_ACCURATE</string> 
-             <string>true</string> 
-            </void> 
-            <void method="put"> 
-             <string>file.inputformat</string> 
-             <string>org.apache.hadoop.mapred.TextInputFormat</string> 
-            </void> 
-            <void method="put"> 
-             <string>totalSize</string> 
-             <string>5812</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> 
-             #### A masked pattern was here #### 
-            </void> 
-            <void method="put"> 
-             <string>transient_lastDdlTime</string> 
-             #### A masked pattern was here #### 
-            </void> 
-           </object> 
-          </void> 
-         </object> 
+         <object idref="TableDesc1"/> 
         </void> 
        </object> 
       </void> 
@@ -1991,7 +1766,7 @@
               </object> 
              </void> 
              <void property="valueSerializeInfo"> 
-              <object id="TableDesc5" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
+              <object id="TableDesc6" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
                <void property="inputFileFormatClass"> 
                 <class>org.apache.hadoop.mapred.SequenceFileInputFormat</class> 
                </void> 
@@ -2214,7 +1989,7 @@
               </object> 
              </void> 
              <void property="keySerializeInfo"> 
-              <object id="TableDesc6" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
+              <object id="TableDesc7" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
                <void property="inputFileFormatClass"> 
                 <class>org.apache.hadoop.mapred.SequenceFileInputFormat</class> 
                </void> 
@@ -2274,7 +2049,7 @@
               </object> 
              </void> 
              <void property="valueSerializeInfo"> 
-              <object id="TableDesc7" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
+              <object id="TableDesc8" class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
                <void property="inputFileFormatClass"> 
                 <class>org.apache.hadoop.mapred.SequenceFileInputFormat</class> 
                </void> 
@@ -2549,82 +2324,7 @@
          </object> 
         </void> 
         <void property="tableDesc"> 
-         <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
-          <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>default.src</string> 
-            </void> 
-            <void method="put"> 
-             <string>numFiles</string> 
-             <string>1</string> 
-            </void> 
-            <void method="put"> 
-             <string>columns.types</string> 
-             <string>string:string</string> 
-            </void> 
-            <void method="put"> 
-             <string>serialization.ddl</string> 
-             <string>struct src { string key, string value}</string> 
-            </void> 
-            <void method="put"> 
-             <string>serialization.format</string> 
-             <string>1</string> 
-            </void> 
-            <void method="put"> 
-             <string>columns</string> 
-             <string>key,value</string> 
-            </void> 
-            <void method="put"> 
-             <string>rawDataSize</string> 
-             <string>0</string> 
-            </void> 
-            <void method="put"> 
-             <string>numRows</string> 
-             <string>0</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>COLUMN_STATS_ACCURATE</string> 
-             <string>true</string> 
-            </void> 
-            <void method="put"> 
-             <string>file.inputformat</string> 
-             <string>org.apache.hadoop.mapred.TextInputFormat</string> 
-            </void> 
-            <void method="put"> 
-             <string>totalSize</string> 
-             <string>5812</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> 
-             #### A masked pattern was here #### 
-            </void> 
-            <void method="put"> 
-             <string>transient_lastDdlTime</string> 
-             #### A masked pattern was here #### 
-            </void> 
-           </object> 
-          </void> 
-         </object> 
+         <object idref="TableDesc1"/> 
         </void> 
        </object> 
       </void> 
@@ -2633,7 +2333,7 @@
     <void property="reduceWork"> 
      <object class="org.apache.hadoop.hive.ql.plan.ReduceWork"> 
       <void property="keyDesc"> 
-       <object idref="TableDesc6"/> 
+       <object idref="TableDesc7"/> 
       </void> 
       <void property="needsTagging"> 
        <boolean>true</boolean> 
@@ -2657,7 +2357,7 @@
               <int>1</int> 
              </void> 
              <void property="tableInfo"> 
-              <object idref="TableDesc4"/> 
+              <object idref="TableDesc5"/> 
              </void> 
              <void property="totalFiles"> 
               <int>1</int> 
@@ -2860,10 +2560,10 @@
       </void> 
       <void property="tagToValueDesc"> 
        <void method="add"> 
-        <object idref="TableDesc7"/> 
+        <object idref="TableDesc8"/> 
        </void> 
        <void method="add"> 
-        <object idref="TableDesc5"/> 
+        <object idref="TableDesc6"/> 
        </void> 
       </void> 
      </object>