hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hashut...@apache.org
Subject svn commit: r1597694 [2/3] - in /hive/trunk/ql/src: java/org/apache/hadoop/hive/ql/exec/ java/org/apache/hadoop/hive/ql/optimizer/ java/org/apache/hadoop/hive/ql/optimizer/ppr/ java/org/apache/hadoop/hive/ql/parse/ java/org/apache/hadoop/hive/ql/plan/ ...
Date Tue, 27 May 2014 01:35:17 GMT
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=1597694&r1=1597693&r2=1597694&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 Tue May 27 01:35:16 2014
@@ -219,31 +219,35 @@
                          </void> 
                         </void> 
                         <void property="conf"> 
-                         <object class="org.apache.hadoop.hive.ql.plan.TableScanDesc"/> 
-                        </void> 
-                        <void property="neededColumnIDs"> 
-                         <object class="java.util.ArrayList"> 
-                          <void method="add"> 
-                           <int>0</int> 
-                          </void> 
-                          <void method="add"> 
-                           <int>1</int> 
-                          </void> 
-                         </object> 
-                        </void> 
-                        <void property="neededColumns"> 
-                         <object class="java.util.ArrayList"> 
-                          <void method="add"> 
-                           <string>key</string> 
-                          </void> 
-                          <void method="add"> 
-                           <string>value</string> 
+                         <object class="org.apache.hadoop.hive.ql.plan.TableScanDesc"> 
+                          <void property="neededColumnIDs"> 
+                           <object class="java.util.ArrayList"> 
+                            <void method="add"> 
+                             <int>0</int> 
+                            </void> 
+                            <void method="add"> 
+                             <int>1</int> 
+                            </void> 
+                           </object> 
+                          </void> 
+                          <void property="neededColumns"> 
+                           <object id="ArrayList1" class="java.util.ArrayList"> 
+                            <void method="add"> 
+                             <string>key</string> 
+                            </void> 
+                            <void method="add"> 
+                             <string>value</string> 
+                            </void> 
+                           </object> 
                           </void> 
                          </object> 
                         </void> 
                         <void property="operatorId"> 
                          <string>TS_3</string> 
                         </void> 
+                        <void property="referencedColumns"> 
+                         <object idref="ArrayList1"/> 
+                        </void> 
                         <void property="schema"> 
                          <object idref="RowSchema0"/> 
                         </void> 
@@ -881,28 +885,35 @@
           <void property="alias"> 
            <string>src1</string> 
           </void> 
+          <void property="neededColumnIDs"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <int>0</int> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="neededColumns"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <string>key</string> 
+            </void> 
+           </object> 
+          </void> 
           <void property="virtualCols"> 
            <object class="java.util.ArrayList"/> 
           </void> 
          </object> 
         </void> 
-        <void property="neededColumnIDs"> 
-         <object class="java.util.ArrayList"> 
-          <void method="add"> 
-           <int>0</int> 
-          </void> 
-         </object> 
+        <void property="operatorId"> 
+         <string>TS_0</string> 
         </void> 
-        <void property="neededColumns"> 
+        <void property="referencedColumns"> 
          <object class="java.util.ArrayList"> 
           <void method="add"> 
            <string>key</string> 
           </void> 
          </object> 
         </void> 
-        <void property="operatorId"> 
-         <string>TS_0</string> 
-        </void> 
         <void property="schema"> 
          <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
           <void property="signature"> 

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=1597694&r1=1597693&r2=1597694&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 Tue May 27 01:35:16 2014
@@ -507,28 +507,35 @@
           <void property="alias"> 
            <string>src1</string> 
           </void> 
+          <void property="neededColumnIDs"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <int>0</int> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="neededColumns"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <string>key</string> 
+            </void> 
+           </object> 
+          </void> 
           <void property="virtualCols"> 
            <object class="java.util.ArrayList"/> 
           </void> 
          </object> 
         </void> 
-        <void property="neededColumnIDs"> 
-         <object class="java.util.ArrayList"> 
-          <void method="add"> 
-           <int>0</int> 
-          </void> 
-         </object> 
+        <void property="operatorId"> 
+         <string>TS_0</string> 
         </void> 
-        <void property="neededColumns"> 
+        <void property="referencedColumns"> 
          <object class="java.util.ArrayList"> 
           <void method="add"> 
            <string>key</string> 
           </void> 
          </object> 
         </void> 
-        <void property="operatorId"> 
-         <string>TS_0</string> 
-        </void> 
         <void property="schema"> 
          <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
           <void property="signature"> 

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=1597694&r1=1597693&r2=1597694&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 Tue May 27 01:35:16 2014
@@ -219,31 +219,35 @@
                          </void> 
                         </void> 
                         <void property="conf"> 
-                         <object class="org.apache.hadoop.hive.ql.plan.TableScanDesc"/> 
-                        </void> 
-                        <void property="neededColumnIDs"> 
-                         <object class="java.util.ArrayList"> 
-                          <void method="add"> 
-                           <int>0</int> 
-                          </void> 
-                          <void method="add"> 
-                           <int>1</int> 
-                          </void> 
-                         </object> 
-                        </void> 
-                        <void property="neededColumns"> 
-                         <object class="java.util.ArrayList"> 
-                          <void method="add"> 
-                           <string>key</string> 
-                          </void> 
-                          <void method="add"> 
-                           <string>value</string> 
+                         <object class="org.apache.hadoop.hive.ql.plan.TableScanDesc"> 
+                          <void property="neededColumnIDs"> 
+                           <object class="java.util.ArrayList"> 
+                            <void method="add"> 
+                             <int>0</int> 
+                            </void> 
+                            <void method="add"> 
+                             <int>1</int> 
+                            </void> 
+                           </object> 
+                          </void> 
+                          <void property="neededColumns"> 
+                           <object id="ArrayList1" class="java.util.ArrayList"> 
+                            <void method="add"> 
+                             <string>key</string> 
+                            </void> 
+                            <void method="add"> 
+                             <string>value</string> 
+                            </void> 
+                           </object> 
                           </void> 
                          </object> 
                         </void> 
                         <void property="operatorId"> 
                          <string>TS_5</string> 
                         </void> 
+                        <void property="referencedColumns"> 
+                         <object idref="ArrayList1"/> 
+                        </void> 
                         <void property="schema"> 
                          <object idref="RowSchema0"/> 
                         </void> 
@@ -947,28 +951,35 @@
           <void property="alias"> 
            <string>src1</string> 
           </void> 
+          <void property="neededColumnIDs"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <int>0</int> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="neededColumns"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <string>key</string> 
+            </void> 
+           </object> 
+          </void> 
           <void property="virtualCols"> 
            <object class="java.util.ArrayList"/> 
           </void> 
          </object> 
         </void> 
-        <void property="neededColumnIDs"> 
-         <object class="java.util.ArrayList"> 
-          <void method="add"> 
-           <int>0</int> 
-          </void> 
-         </object> 
+        <void property="operatorId"> 
+         <string>TS_0</string> 
         </void> 
-        <void property="neededColumns"> 
+        <void property="referencedColumns"> 
          <object class="java.util.ArrayList"> 
           <void method="add"> 
            <string>key</string> 
           </void> 
          </object> 
         </void> 
-        <void property="operatorId"> 
-         <string>TS_0</string> 
-        </void> 
         <void property="schema"> 
          <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
           <void property="signature"> 

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=1597694&r1=1597693&r2=1597694&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 Tue May 27 01:35:16 2014
@@ -683,34 +683,50 @@
           <void property="alias"> 
            <string>srcpart</string> 
           </void> 
+          <void property="neededColumnIDs"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <int>0</int> 
+            </void> 
+            <void method="add"> 
+             <int>1</int> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="neededColumns"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <string>key</string> 
+            </void> 
+            <void method="add"> 
+             <string>value</string> 
+            </void> 
+           </object> 
+          </void> 
           <void property="virtualCols"> 
            <object class="java.util.ArrayList"/> 
           </void> 
          </object> 
         </void> 
-        <void property="neededColumnIDs"> 
+        <void property="operatorId"> 
+         <string>TS_0</string> 
+        </void> 
+        <void property="referencedColumns"> 
          <object class="java.util.ArrayList"> 
           <void method="add"> 
-           <int>0</int> 
+           <string>key</string> 
           </void> 
           <void method="add"> 
-           <int>1</int> 
+           <string>value</string> 
           </void> 
-         </object> 
-        </void> 
-        <void property="neededColumns"> 
-         <object class="java.util.ArrayList"> 
           <void method="add"> 
-           <string>key</string> 
+           <string>ds</string> 
           </void> 
           <void method="add"> 
-           <string>value</string> 
+           <string>hr</string> 
           </void> 
          </object> 
         </void> 
-        <void property="operatorId"> 
-         <string>TS_0</string> 
-        </void> 
         <void property="schema"> 
          <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
           <void property="signature"> 

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=1597694&r1=1597693&r2=1597694&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 Tue May 27 01:35:16 2014
@@ -219,31 +219,35 @@
                          </void> 
                         </void> 
                         <void property="conf"> 
-                         <object class="org.apache.hadoop.hive.ql.plan.TableScanDesc"/> 
-                        </void> 
-                        <void property="neededColumnIDs"> 
-                         <object class="java.util.ArrayList"> 
-                          <void method="add"> 
-                           <int>0</int> 
-                          </void> 
-                          <void method="add"> 
-                           <int>1</int> 
-                          </void> 
-                         </object> 
-                        </void> 
-                        <void property="neededColumns"> 
-                         <object class="java.util.ArrayList"> 
-                          <void method="add"> 
-                           <string>key</string> 
-                          </void> 
-                          <void method="add"> 
-                           <string>value</string> 
+                         <object class="org.apache.hadoop.hive.ql.plan.TableScanDesc"> 
+                          <void property="neededColumnIDs"> 
+                           <object class="java.util.ArrayList"> 
+                            <void method="add"> 
+                             <int>0</int> 
+                            </void> 
+                            <void method="add"> 
+                             <int>1</int> 
+                            </void> 
+                           </object> 
+                          </void> 
+                          <void property="neededColumns"> 
+                           <object id="ArrayList1" class="java.util.ArrayList"> 
+                            <void method="add"> 
+                             <string>key</string> 
+                            </void> 
+                            <void method="add"> 
+                             <string>value</string> 
+                            </void> 
+                           </object> 
                           </void> 
                          </object> 
                         </void> 
                         <void property="operatorId"> 
                          <string>TS_3</string> 
                         </void> 
+                        <void property="referencedColumns"> 
+                         <object idref="ArrayList1"/> 
+                        </void> 
                         <void property="schema"> 
                          <object idref="RowSchema0"/> 
                         </void> 
@@ -827,22 +831,35 @@
           <void property="alias"> 
            <string>src</string> 
           </void> 
+          <void property="neededColumnIDs"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <int>0</int> 
+            </void> 
+            <void method="add"> 
+             <int>1</int> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="neededColumns"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <string>key</string> 
+            </void> 
+            <void method="add"> 
+             <string>value</string> 
+            </void> 
+           </object> 
+          </void> 
           <void property="virtualCols"> 
            <object class="java.util.ArrayList"/> 
           </void> 
          </object> 
         </void> 
-        <void property="neededColumnIDs"> 
-         <object class="java.util.ArrayList"> 
-          <void method="add"> 
-           <int>0</int> 
-          </void> 
-          <void method="add"> 
-           <int>1</int> 
-          </void> 
-         </object> 
+        <void property="operatorId"> 
+         <string>TS_0</string> 
         </void> 
-        <void property="neededColumns"> 
+        <void property="referencedColumns"> 
          <object class="java.util.ArrayList"> 
           <void method="add"> 
            <string>key</string> 
@@ -852,9 +869,6 @@
           </void> 
          </object> 
         </void> 
-        <void property="operatorId"> 
-         <string>TS_0</string> 
-        </void> 
         <void property="schema"> 
          <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
           <void property="signature"> 

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=1597694&r1=1597693&r2=1597694&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 Tue May 27 01:35:16 2014
@@ -588,25 +588,41 @@
           <void property="alias"> 
            <string>src_thrift</string> 
           </void> 
+          <void property="neededColumnIDs"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <int>2</int> 
+            </void> 
+            <void method="add"> 
+             <int>4</int> 
+            </void> 
+            <void method="add"> 
+             <int>5</int> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="neededColumns"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <string>lint</string> 
+            </void> 
+            <void method="add"> 
+             <string>lintstring</string> 
+            </void> 
+            <void method="add"> 
+             <string>mstringstring</string> 
+            </void> 
+           </object> 
+          </void> 
           <void property="virtualCols"> 
            <object class="java.util.ArrayList"/> 
           </void> 
          </object> 
         </void> 
-        <void property="neededColumnIDs"> 
-         <object class="java.util.ArrayList"> 
-          <void method="add"> 
-           <int>2</int> 
-          </void> 
-          <void method="add"> 
-           <int>4</int> 
-          </void> 
-          <void method="add"> 
-           <int>5</int> 
-          </void> 
-         </object> 
+        <void property="operatorId"> 
+         <string>TS_0</string> 
         </void> 
-        <void property="neededColumns"> 
+        <void property="referencedColumns"> 
          <object class="java.util.ArrayList"> 
           <void method="add"> 
            <string>lint</string> 
@@ -619,9 +635,6 @@
           </void> 
          </object> 
         </void> 
-        <void property="operatorId"> 
-         <string>TS_0</string> 
-        </void> 
         <void property="schema"> 
          <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
           <void property="signature"> 

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=1597694&r1=1597693&r2=1597694&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 Tue May 27 01:35:16 2014
@@ -705,25 +705,41 @@
           <void property="alias"> 
            <string>src_thrift</string> 
           </void> 
+          <void property="neededColumnIDs"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <int>2</int> 
+            </void> 
+            <void method="add"> 
+             <int>4</int> 
+            </void> 
+            <void method="add"> 
+             <int>5</int> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="neededColumns"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <string>lint</string> 
+            </void> 
+            <void method="add"> 
+             <string>lintstring</string> 
+            </void> 
+            <void method="add"> 
+             <string>mstringstring</string> 
+            </void> 
+           </object> 
+          </void> 
           <void property="virtualCols"> 
            <object class="java.util.ArrayList"/> 
           </void> 
          </object> 
         </void> 
-        <void property="neededColumnIDs"> 
-         <object class="java.util.ArrayList"> 
-          <void method="add"> 
-           <int>2</int> 
-          </void> 
-          <void method="add"> 
-           <int>4</int> 
-          </void> 
-          <void method="add"> 
-           <int>5</int> 
-          </void> 
-         </object> 
+        <void property="operatorId"> 
+         <string>TS_0</string> 
         </void> 
-        <void property="neededColumns"> 
+        <void property="referencedColumns"> 
          <object class="java.util.ArrayList"> 
           <void method="add"> 
            <string>lint</string> 
@@ -736,9 +752,6 @@
           </void> 
          </object> 
         </void> 
-        <void property="operatorId"> 
-         <string>TS_0</string> 
-        </void> 
         <void property="schema"> 
          <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
           <void property="signature"> 

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=1597694&r1=1597693&r2=1597694&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 Tue May 27 01:35:16 2014
@@ -588,22 +588,35 @@
           <void property="alias"> 
            <string>src2</string> 
           </void> 
+          <void property="neededColumnIDs"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <int>0</int> 
+            </void> 
+            <void method="add"> 
+             <int>1</int> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="neededColumns"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <string>key</string> 
+            </void> 
+            <void method="add"> 
+             <string>value</string> 
+            </void> 
+           </object> 
+          </void> 
           <void property="virtualCols"> 
            <object class="java.util.ArrayList"/> 
           </void> 
          </object> 
         </void> 
-        <void property="neededColumnIDs"> 
-         <object class="java.util.ArrayList"> 
-          <void method="add"> 
-           <int>0</int> 
-          </void> 
-          <void method="add"> 
-           <int>1</int> 
-          </void> 
-         </object> 
+        <void property="operatorId"> 
+         <string>TS_0</string> 
         </void> 
-        <void property="neededColumns"> 
+        <void property="referencedColumns"> 
          <object class="java.util.ArrayList"> 
           <void method="add"> 
            <string>key</string> 
@@ -613,9 +626,6 @@
           </void> 
          </object> 
         </void> 
-        <void property="operatorId"> 
-         <string>TS_0</string> 
-        </void> 
         <void property="schema"> 
          <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
           <void property="signature"> 
@@ -881,28 +891,35 @@
           <void property="alias"> 
            <string>src1</string> 
           </void> 
+          <void property="neededColumnIDs"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <int>0</int> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="neededColumns"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <string>key</string> 
+            </void> 
+           </object> 
+          </void> 
           <void property="virtualCols"> 
            <object class="java.util.ArrayList"/> 
           </void> 
          </object> 
         </void> 
-        <void property="neededColumnIDs"> 
-         <object class="java.util.ArrayList"> 
-          <void method="add"> 
-           <int>0</int> 
-          </void> 
-         </object> 
+        <void property="operatorId"> 
+         <string>TS_1</string> 
         </void> 
-        <void property="neededColumns"> 
+        <void property="referencedColumns"> 
          <object class="java.util.ArrayList"> 
           <void method="add"> 
            <string>key</string> 
           </void> 
          </object> 
         </void> 
-        <void property="operatorId"> 
-         <string>TS_1</string> 
-        </void> 
         <void property="schema"> 
          <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
           <void property="signature"> 

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=1597694&r1=1597693&r2=1597694&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 Tue May 27 01:35:16 2014
@@ -532,31 +532,35 @@
              </void> 
             </void> 
             <void property="conf"> 
-             <object class="org.apache.hadoop.hive.ql.plan.TableScanDesc"/> 
-            </void> 
-            <void property="neededColumnIDs"> 
-             <object class="java.util.ArrayList"> 
-              <void method="add"> 
-               <int>0</int> 
-              </void> 
-              <void method="add"> 
-               <int>1</int> 
-              </void> 
-             </object> 
-            </void> 
-            <void property="neededColumns"> 
-             <object class="java.util.ArrayList"> 
-              <void method="add"> 
-               <string>_col0</string> 
+             <object class="org.apache.hadoop.hive.ql.plan.TableScanDesc"> 
+              <void property="neededColumnIDs"> 
+               <object class="java.util.ArrayList"> 
+                <void method="add"> 
+                 <int>0</int> 
+                </void> 
+                <void method="add"> 
+                 <int>1</int> 
+                </void> 
+               </object> 
               </void> 
-              <void method="add"> 
-               <string>_col4</string> 
+              <void property="neededColumns"> 
+               <object id="ArrayList1" class="java.util.ArrayList"> 
+                <void method="add"> 
+                 <string>_col0</string> 
+                </void> 
+                <void method="add"> 
+                 <string>_col4</string> 
+                </void> 
+               </object> 
               </void> 
              </object> 
             </void> 
             <void property="operatorId"> 
              <string>TS_12</string> 
             </void> 
+            <void property="referencedColumns"> 
+             <object idref="ArrayList1"/> 
+            </void> 
             <void property="schema"> 
              <object id="RowSchema0" class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
               <void property="signature"> 
@@ -629,7 +633,7 @@
                   <object class="java.util.ArrayList"/> 
                  </void> 
                  <void property="keyCols"> 
-                  <object id="ArrayList1" class="java.util.ArrayList"> 
+                  <object id="ArrayList2" class="java.util.ArrayList"> 
                    <void method="add"> 
                     <object class="org.apache.hadoop.hive.ql.plan.ExprNodeGenericFuncDesc"> 
                      <void property="children"> 
@@ -720,7 +724,7 @@
                   </object> 
                  </void> 
                  <void property="partitionCols"> 
-                  <object idref="ArrayList1"/> 
+                  <object idref="ArrayList2"/> 
                  </void> 
                  <void property="tag"> 
                   <int>1</int> 
@@ -804,22 +808,35 @@
               <void property="alias"> 
                <string>src3</string> 
               </void> 
+              <void property="neededColumnIDs"> 
+               <object class="java.util.ArrayList"> 
+                <void method="add"> 
+                 <int>0</int> 
+                </void> 
+                <void method="add"> 
+                 <int>1</int> 
+                </void> 
+               </object> 
+              </void> 
+              <void property="neededColumns"> 
+               <object class="java.util.ArrayList"> 
+                <void method="add"> 
+                 <string>key</string> 
+                </void> 
+                <void method="add"> 
+                 <string>value</string> 
+                </void> 
+               </object> 
+              </void> 
               <void property="virtualCols"> 
                <object class="java.util.ArrayList"/> 
               </void> 
              </object> 
             </void> 
-            <void property="neededColumnIDs"> 
-             <object class="java.util.ArrayList"> 
-              <void method="add"> 
-               <int>0</int> 
-              </void> 
-              <void method="add"> 
-               <int>1</int> 
-              </void> 
-             </object> 
+            <void property="operatorId"> 
+             <string>TS_1</string> 
             </void> 
-            <void property="neededColumns"> 
+            <void property="referencedColumns"> 
              <object class="java.util.ArrayList"> 
               <void method="add"> 
                <string>key</string> 
@@ -829,9 +846,6 @@
               </void> 
              </object> 
             </void> 
-            <void property="operatorId"> 
-             <string>TS_1</string> 
-            </void> 
             <void property="schema"> 
              <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
               <void property="signature"> 
@@ -1722,7 +1736,7 @@
               <object class="java.util.ArrayList"/> 
              </void> 
              <void property="keyCols"> 
-              <object id="ArrayList2" class="java.util.ArrayList"> 
+              <object id="ArrayList3" class="java.util.ArrayList"> 
                <void method="add"> 
                 <object class="org.apache.hadoop.hive.ql.plan.ExprNodeColumnDesc"> 
                  <void property="column"> 
@@ -1792,7 +1806,7 @@
               </object> 
              </void> 
              <void property="partitionCols"> 
-              <object idref="ArrayList2"/> 
+              <object idref="ArrayList3"/> 
              </void> 
              <void property="tag"> 
               <int>1</int> 
@@ -1876,28 +1890,35 @@
           <void property="alias"> 
            <string>src2</string> 
           </void> 
+          <void property="neededColumnIDs"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <int>0</int> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="neededColumns"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <string>key</string> 
+            </void> 
+           </object> 
+          </void> 
           <void property="virtualCols"> 
            <object class="java.util.ArrayList"/> 
           </void> 
          </object> 
         </void> 
-        <void property="neededColumnIDs"> 
-         <object class="java.util.ArrayList"> 
-          <void method="add"> 
-           <int>0</int> 
-          </void> 
-         </object> 
+        <void property="operatorId"> 
+         <string>TS_0</string> 
         </void> 
-        <void property="neededColumns"> 
+        <void property="referencedColumns"> 
          <object class="java.util.ArrayList"> 
           <void method="add"> 
            <string>key</string> 
           </void> 
          </object> 
         </void> 
-        <void property="operatorId"> 
-         <string>TS_0</string> 
-        </void> 
         <void property="schema"> 
          <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
           <void property="signature"> 
@@ -2008,7 +2029,7 @@
               <object class="java.util.ArrayList"/> 
              </void> 
              <void property="keyCols"> 
-              <object id="ArrayList3" class="java.util.ArrayList"> 
+              <object id="ArrayList4" class="java.util.ArrayList"> 
                <void method="add"> 
                 <object class="org.apache.hadoop.hive.ql.plan.ExprNodeColumnDesc"> 
                  <void property="column"> 
@@ -2078,7 +2099,7 @@
               </object> 
              </void> 
              <void property="partitionCols"> 
-              <object idref="ArrayList3"/> 
+              <object idref="ArrayList4"/> 
              </void> 
              <void property="valueCols"> 
               <object class="java.util.ArrayList"> 
@@ -2159,28 +2180,35 @@
           <void property="alias"> 
            <string>src1</string> 
           </void> 
+          <void property="neededColumnIDs"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <int>0</int> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="neededColumns"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <string>key</string> 
+            </void> 
+           </object> 
+          </void> 
           <void property="virtualCols"> 
            <object class="java.util.ArrayList"/> 
           </void> 
          </object> 
         </void> 
-        <void property="neededColumnIDs"> 
-         <object class="java.util.ArrayList"> 
-          <void method="add"> 
-           <int>0</int> 
-          </void> 
-         </object> 
+        <void property="operatorId"> 
+         <string>TS_2</string> 
         </void> 
-        <void property="neededColumns"> 
+        <void property="referencedColumns"> 
          <object class="java.util.ArrayList"> 
           <void method="add"> 
            <string>key</string> 
           </void> 
          </object> 
         </void> 
-        <void property="operatorId"> 
-         <string>TS_2</string> 
-        </void> 
         <void property="schema"> 
          <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
           <void property="signature"> 

Modified: hive/trunk/ql/src/test/results/compiler/plan/join3.q.xml
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/plan/join3.q.xml?rev=1597694&r1=1597693&r2=1597694&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/plan/join3.q.xml (original)
+++ hive/trunk/ql/src/test/results/compiler/plan/join3.q.xml Tue May 27 01:35:16 2014
@@ -615,28 +615,35 @@
           <void property="alias"> 
            <string>src2</string> 
           </void> 
+          <void property="neededColumnIDs"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <int>0</int> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="neededColumns"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <string>key</string> 
+            </void> 
+           </object> 
+          </void> 
           <void property="virtualCols"> 
            <object class="java.util.ArrayList"/> 
           </void> 
          </object> 
         </void> 
-        <void property="neededColumnIDs"> 
-         <object class="java.util.ArrayList"> 
-          <void method="add"> 
-           <int>0</int> 
-          </void> 
-         </object> 
+        <void property="operatorId"> 
+         <string>TS_0</string> 
         </void> 
-        <void property="neededColumns"> 
+        <void property="referencedColumns"> 
          <object class="java.util.ArrayList"> 
           <void method="add"> 
            <string>key</string> 
           </void> 
          </object> 
         </void> 
-        <void property="operatorId"> 
-         <string>TS_0</string> 
-        </void> 
         <void property="schema"> 
          <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
           <void property="signature"> 
@@ -935,22 +942,35 @@
           <void property="alias"> 
            <string>src3</string> 
           </void> 
+          <void property="neededColumnIDs"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <int>0</int> 
+            </void> 
+            <void method="add"> 
+             <int>1</int> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="neededColumns"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <string>key</string> 
+            </void> 
+            <void method="add"> 
+             <string>value</string> 
+            </void> 
+           </object> 
+          </void> 
           <void property="virtualCols"> 
            <object class="java.util.ArrayList"/> 
           </void> 
          </object> 
         </void> 
-        <void property="neededColumnIDs"> 
-         <object class="java.util.ArrayList"> 
-          <void method="add"> 
-           <int>0</int> 
-          </void> 
-          <void method="add"> 
-           <int>1</int> 
-          </void> 
-         </object> 
+        <void property="operatorId"> 
+         <string>TS_1</string> 
         </void> 
-        <void property="neededColumns"> 
+        <void property="referencedColumns"> 
          <object class="java.util.ArrayList"> 
           <void method="add"> 
            <string>key</string> 
@@ -960,9 +980,6 @@
           </void> 
          </object> 
         </void> 
-        <void property="operatorId"> 
-         <string>TS_1</string> 
-        </void> 
         <void property="schema"> 
          <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
           <void property="signature"> 
@@ -1224,28 +1241,35 @@
           <void property="alias"> 
            <string>src1</string> 
           </void> 
+          <void property="neededColumnIDs"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <int>0</int> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="neededColumns"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <string>key</string> 
+            </void> 
+           </object> 
+          </void> 
           <void property="virtualCols"> 
            <object class="java.util.ArrayList"/> 
           </void> 
          </object> 
         </void> 
-        <void property="neededColumnIDs"> 
-         <object class="java.util.ArrayList"> 
-          <void method="add"> 
-           <int>0</int> 
-          </void> 
-         </object> 
+        <void property="operatorId"> 
+         <string>TS_2</string> 
         </void> 
-        <void property="neededColumns"> 
+        <void property="referencedColumns"> 
          <object class="java.util.ArrayList"> 
           <void method="add"> 
            <string>key</string> 
           </void> 
          </object> 
         </void> 
-        <void property="operatorId"> 
-         <string>TS_2</string> 
-        </void> 
         <void property="schema"> 
          <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
           <void property="signature"> 

Modified: hive/trunk/ql/src/test/results/compiler/plan/join4.q.xml
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/plan/join4.q.xml?rev=1597694&r1=1597693&r2=1597694&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/plan/join4.q.xml (original)
+++ hive/trunk/ql/src/test/results/compiler/plan/join4.q.xml Tue May 27 01:35:16 2014
@@ -692,22 +692,35 @@
           <void property="alias"> 
            <string>src1</string> 
           </void> 
+          <void property="neededColumnIDs"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <int>0</int> 
+            </void> 
+            <void method="add"> 
+             <int>1</int> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="neededColumns"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <string>key</string> 
+            </void> 
+            <void method="add"> 
+             <string>value</string> 
+            </void> 
+           </object> 
+          </void> 
           <void property="virtualCols"> 
            <object class="java.util.ArrayList"/> 
           </void> 
          </object> 
         </void> 
-        <void property="neededColumnIDs"> 
-         <object class="java.util.ArrayList"> 
-          <void method="add"> 
-           <int>0</int> 
-          </void> 
-          <void method="add"> 
-           <int>1</int> 
-          </void> 
-         </object> 
+        <void property="operatorId"> 
+         <string>TS_3</string> 
         </void> 
-        <void property="neededColumns"> 
+        <void property="referencedColumns"> 
          <object class="java.util.ArrayList"> 
           <void method="add"> 
            <string>key</string> 
@@ -717,9 +730,6 @@
           </void> 
          </object> 
         </void> 
-        <void property="operatorId"> 
-         <string>TS_3</string> 
-        </void> 
         <void property="schema"> 
          <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
           <void property="signature"> 
@@ -1239,22 +1249,35 @@
           <void property="alias"> 
            <string>src2</string> 
           </void> 
+          <void property="neededColumnIDs"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <int>0</int> 
+            </void> 
+            <void method="add"> 
+             <int>1</int> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="neededColumns"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <string>key</string> 
+            </void> 
+            <void method="add"> 
+             <string>value</string> 
+            </void> 
+           </object> 
+          </void> 
           <void property="virtualCols"> 
            <object class="java.util.ArrayList"/> 
           </void> 
          </object> 
         </void> 
-        <void property="neededColumnIDs"> 
-         <object class="java.util.ArrayList"> 
-          <void method="add"> 
-           <int>0</int> 
-          </void> 
-          <void method="add"> 
-           <int>1</int> 
-          </void> 
-         </object> 
+        <void property="operatorId"> 
+         <string>TS_0</string> 
         </void> 
-        <void property="neededColumns"> 
+        <void property="referencedColumns"> 
          <object class="java.util.ArrayList"> 
           <void method="add"> 
            <string>key</string> 
@@ -1264,9 +1287,6 @@
           </void> 
          </object> 
         </void> 
-        <void property="operatorId"> 
-         <string>TS_0</string> 
-        </void> 
         <void property="schema"> 
          <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
           <void property="signature"> 

Modified: hive/trunk/ql/src/test/results/compiler/plan/join5.q.xml
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/plan/join5.q.xml?rev=1597694&r1=1597693&r2=1597694&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/plan/join5.q.xml (original)
+++ hive/trunk/ql/src/test/results/compiler/plan/join5.q.xml Tue May 27 01:35:16 2014
@@ -692,22 +692,35 @@
           <void property="alias"> 
            <string>src1</string> 
           </void> 
+          <void property="neededColumnIDs"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <int>0</int> 
+            </void> 
+            <void method="add"> 
+             <int>1</int> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="neededColumns"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <string>key</string> 
+            </void> 
+            <void method="add"> 
+             <string>value</string> 
+            </void> 
+           </object> 
+          </void> 
           <void property="virtualCols"> 
            <object class="java.util.ArrayList"/> 
           </void> 
          </object> 
         </void> 
-        <void property="neededColumnIDs"> 
-         <object class="java.util.ArrayList"> 
-          <void method="add"> 
-           <int>0</int> 
-          </void> 
-          <void method="add"> 
-           <int>1</int> 
-          </void> 
-         </object> 
+        <void property="operatorId"> 
+         <string>TS_3</string> 
         </void> 
-        <void property="neededColumns"> 
+        <void property="referencedColumns"> 
          <object class="java.util.ArrayList"> 
           <void method="add"> 
            <string>key</string> 
@@ -717,9 +730,6 @@
           </void> 
          </object> 
         </void> 
-        <void property="operatorId"> 
-         <string>TS_3</string> 
-        </void> 
         <void property="schema"> 
          <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
           <void property="signature"> 
@@ -1239,22 +1249,35 @@
           <void property="alias"> 
            <string>src2</string> 
           </void> 
+          <void property="neededColumnIDs"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <int>0</int> 
+            </void> 
+            <void method="add"> 
+             <int>1</int> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="neededColumns"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <string>key</string> 
+            </void> 
+            <void method="add"> 
+             <string>value</string> 
+            </void> 
+           </object> 
+          </void> 
           <void property="virtualCols"> 
            <object class="java.util.ArrayList"/> 
           </void> 
          </object> 
         </void> 
-        <void property="neededColumnIDs"> 
-         <object class="java.util.ArrayList"> 
-          <void method="add"> 
-           <int>0</int> 
-          </void> 
-          <void method="add"> 
-           <int>1</int> 
-          </void> 
-         </object> 
+        <void property="operatorId"> 
+         <string>TS_0</string> 
         </void> 
-        <void property="neededColumns"> 
+        <void property="referencedColumns"> 
          <object class="java.util.ArrayList"> 
           <void method="add"> 
            <string>key</string> 
@@ -1264,9 +1287,6 @@
           </void> 
          </object> 
         </void> 
-        <void property="operatorId"> 
-         <string>TS_0</string> 
-        </void> 
         <void property="schema"> 
          <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
           <void property="signature"> 

Modified: hive/trunk/ql/src/test/results/compiler/plan/join6.q.xml
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/plan/join6.q.xml?rev=1597694&r1=1597693&r2=1597694&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/plan/join6.q.xml (original)
+++ hive/trunk/ql/src/test/results/compiler/plan/join6.q.xml Tue May 27 01:35:16 2014
@@ -692,22 +692,35 @@
           <void property="alias"> 
            <string>src1</string> 
           </void> 
+          <void property="neededColumnIDs"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <int>0</int> 
+            </void> 
+            <void method="add"> 
+             <int>1</int> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="neededColumns"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <string>key</string> 
+            </void> 
+            <void method="add"> 
+             <string>value</string> 
+            </void> 
+           </object> 
+          </void> 
           <void property="virtualCols"> 
            <object class="java.util.ArrayList"/> 
           </void> 
          </object> 
         </void> 
-        <void property="neededColumnIDs"> 
-         <object class="java.util.ArrayList"> 
-          <void method="add"> 
-           <int>0</int> 
-          </void> 
-          <void method="add"> 
-           <int>1</int> 
-          </void> 
-         </object> 
+        <void property="operatorId"> 
+         <string>TS_3</string> 
         </void> 
-        <void property="neededColumns"> 
+        <void property="referencedColumns"> 
          <object class="java.util.ArrayList"> 
           <void method="add"> 
            <string>key</string> 
@@ -717,9 +730,6 @@
           </void> 
          </object> 
         </void> 
-        <void property="operatorId"> 
-         <string>TS_3</string> 
-        </void> 
         <void property="schema"> 
          <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
           <void property="signature"> 
@@ -1239,22 +1249,35 @@
           <void property="alias"> 
            <string>src2</string> 
           </void> 
+          <void property="neededColumnIDs"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <int>0</int> 
+            </void> 
+            <void method="add"> 
+             <int>1</int> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="neededColumns"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <string>key</string> 
+            </void> 
+            <void method="add"> 
+             <string>value</string> 
+            </void> 
+           </object> 
+          </void> 
           <void property="virtualCols"> 
            <object class="java.util.ArrayList"/> 
           </void> 
          </object> 
         </void> 
-        <void property="neededColumnIDs"> 
-         <object class="java.util.ArrayList"> 
-          <void method="add"> 
-           <int>0</int> 
-          </void> 
-          <void method="add"> 
-           <int>1</int> 
-          </void> 
-         </object> 
+        <void property="operatorId"> 
+         <string>TS_0</string> 
         </void> 
-        <void property="neededColumns"> 
+        <void property="referencedColumns"> 
          <object class="java.util.ArrayList"> 
           <void method="add"> 
            <string>key</string> 
@@ -1264,9 +1287,6 @@
           </void> 
          </object> 
         </void> 
-        <void property="operatorId"> 
-         <string>TS_0</string> 
-        </void> 
         <void property="schema"> 
          <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
           <void property="signature"> 

Modified: hive/trunk/ql/src/test/results/compiler/plan/join7.q.xml
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/plan/join7.q.xml?rev=1597694&r1=1597693&r2=1597694&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/plan/join7.q.xml (original)
+++ hive/trunk/ql/src/test/results/compiler/plan/join7.q.xml Tue May 27 01:35:16 2014
@@ -757,22 +757,35 @@
           <void property="alias"> 
            <string>src1</string> 
           </void> 
+          <void property="neededColumnIDs"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <int>0</int> 
+            </void> 
+            <void method="add"> 
+             <int>1</int> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="neededColumns"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <string>key</string> 
+            </void> 
+            <void method="add"> 
+             <string>value</string> 
+            </void> 
+           </object> 
+          </void> 
           <void property="virtualCols"> 
            <object class="java.util.ArrayList"/> 
           </void> 
          </object> 
         </void> 
-        <void property="neededColumnIDs"> 
-         <object class="java.util.ArrayList"> 
-          <void method="add"> 
-           <int>0</int> 
-          </void> 
-          <void method="add"> 
-           <int>1</int> 
-          </void> 
-         </object> 
+        <void property="operatorId"> 
+         <string>TS_6</string> 
         </void> 
-        <void property="neededColumns"> 
+        <void property="referencedColumns"> 
          <object class="java.util.ArrayList"> 
           <void method="add"> 
            <string>key</string> 
@@ -782,9 +795,6 @@
           </void> 
          </object> 
         </void> 
-        <void property="operatorId"> 
-         <string>TS_6</string> 
-        </void> 
         <void property="schema"> 
          <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
           <void property="signature"> 
@@ -1304,22 +1314,35 @@
           <void property="alias"> 
            <string>src2</string> 
           </void> 
+          <void property="neededColumnIDs"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <int>0</int> 
+            </void> 
+            <void method="add"> 
+             <int>1</int> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="neededColumns"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <string>key</string> 
+            </void> 
+            <void method="add"> 
+             <string>value</string> 
+            </void> 
+           </object> 
+          </void> 
           <void property="virtualCols"> 
            <object class="java.util.ArrayList"/> 
           </void> 
          </object> 
         </void> 
-        <void property="neededColumnIDs"> 
-         <object class="java.util.ArrayList"> 
-          <void method="add"> 
-           <int>0</int> 
-          </void> 
-          <void method="add"> 
-           <int>1</int> 
-          </void> 
-         </object> 
+        <void property="operatorId"> 
+         <string>TS_0</string> 
         </void> 
-        <void property="neededColumns"> 
+        <void property="referencedColumns"> 
          <object class="java.util.ArrayList"> 
           <void method="add"> 
            <string>key</string> 
@@ -1329,9 +1352,6 @@
           </void> 
          </object> 
         </void> 
-        <void property="operatorId"> 
-         <string>TS_0</string> 
-        </void> 
         <void property="schema"> 
          <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
           <void property="signature"> 
@@ -1847,22 +1867,35 @@
           <void property="alias"> 
            <string>src3</string> 
           </void> 
+          <void property="neededColumnIDs"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <int>0</int> 
+            </void> 
+            <void method="add"> 
+             <int>1</int> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="neededColumns"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <string>key</string> 
+            </void> 
+            <void method="add"> 
+             <string>value</string> 
+            </void> 
+           </object> 
+          </void> 
           <void property="virtualCols"> 
            <object class="java.util.ArrayList"/> 
           </void> 
          </object> 
         </void> 
-        <void property="neededColumnIDs"> 
-         <object class="java.util.ArrayList"> 
-          <void method="add"> 
-           <int>0</int> 
-          </void> 
-          <void method="add"> 
-           <int>1</int> 
-          </void> 
-         </object> 
+        <void property="operatorId"> 
+         <string>TS_3</string> 
         </void> 
-        <void property="neededColumns"> 
+        <void property="referencedColumns"> 
          <object class="java.util.ArrayList"> 
           <void method="add"> 
            <string>key</string> 
@@ -1872,9 +1905,6 @@
           </void> 
          </object> 
         </void> 
-        <void property="operatorId"> 
-         <string>TS_3</string> 
-        </void> 
         <void property="schema"> 
          <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
           <void property="signature"> 

Modified: hive/trunk/ql/src/test/results/compiler/plan/join8.q.xml
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/plan/join8.q.xml?rev=1597694&r1=1597693&r2=1597694&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/plan/join8.q.xml (original)
+++ hive/trunk/ql/src/test/results/compiler/plan/join8.q.xml Tue May 27 01:35:16 2014
@@ -733,22 +733,35 @@
           <void property="alias"> 
            <string>src1</string> 
           </void> 
+          <void property="neededColumnIDs"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <int>0</int> 
+            </void> 
+            <void method="add"> 
+             <int>1</int> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="neededColumns"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <string>key</string> 
+            </void> 
+            <void method="add"> 
+             <string>value</string> 
+            </void> 
+           </object> 
+          </void> 
           <void property="virtualCols"> 
            <object class="java.util.ArrayList"/> 
           </void> 
          </object> 
         </void> 
-        <void property="neededColumnIDs"> 
-         <object class="java.util.ArrayList"> 
-          <void method="add"> 
-           <int>0</int> 
-          </void> 
-          <void method="add"> 
-           <int>1</int> 
-          </void> 
-         </object> 
+        <void property="operatorId"> 
+         <string>TS_3</string> 
         </void> 
-        <void property="neededColumns"> 
+        <void property="referencedColumns"> 
          <object class="java.util.ArrayList"> 
           <void method="add"> 
            <string>key</string> 
@@ -758,9 +771,6 @@
           </void> 
          </object> 
         </void> 
-        <void property="operatorId"> 
-         <string>TS_3</string> 
-        </void> 
         <void property="schema"> 
          <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
           <void property="signature"> 
@@ -1321,22 +1331,35 @@
           <void property="alias"> 
            <string>src2</string> 
           </void> 
+          <void property="neededColumnIDs"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <int>0</int> 
+            </void> 
+            <void method="add"> 
+             <int>1</int> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="neededColumns"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <string>key</string> 
+            </void> 
+            <void method="add"> 
+             <string>value</string> 
+            </void> 
+           </object> 
+          </void> 
           <void property="virtualCols"> 
            <object class="java.util.ArrayList"/> 
           </void> 
          </object> 
         </void> 
-        <void property="neededColumnIDs"> 
-         <object class="java.util.ArrayList"> 
-          <void method="add"> 
-           <int>0</int> 
-          </void> 
-          <void method="add"> 
-           <int>1</int> 
-          </void> 
-         </object> 
+        <void property="operatorId"> 
+         <string>TS_0</string> 
         </void> 
-        <void property="neededColumns"> 
+        <void property="referencedColumns"> 
          <object class="java.util.ArrayList"> 
           <void method="add"> 
            <string>key</string> 
@@ -1346,9 +1369,6 @@
           </void> 
          </object> 
         </void> 
-        <void property="operatorId"> 
-         <string>TS_0</string> 
-        </void> 
         <void property="schema"> 
          <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
           <void property="signature"> 

Modified: hive/trunk/ql/src/test/results/compiler/plan/sample1.q.xml
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/plan/sample1.q.xml?rev=1597694&r1=1597693&r2=1597694&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/plan/sample1.q.xml (original)
+++ hive/trunk/ql/src/test/results/compiler/plan/sample1.q.xml Tue May 27 01:35:16 2014
@@ -776,34 +776,50 @@
           <void property="alias"> 
            <string>s</string> 
           </void> 
+          <void property="neededColumnIDs"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <int>0</int> 
+            </void> 
+            <void method="add"> 
+             <int>1</int> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="neededColumns"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <string>key</string> 
+            </void> 
+            <void method="add"> 
+             <string>value</string> 
+            </void> 
+           </object> 
+          </void> 
           <void property="virtualCols"> 
            <object class="java.util.ArrayList"/> 
           </void> 
          </object> 
         </void> 
-        <void property="neededColumnIDs"> 
+        <void property="operatorId"> 
+         <string>TS_0</string> 
+        </void> 
+        <void property="referencedColumns"> 
          <object class="java.util.ArrayList"> 
           <void method="add"> 
-           <int>0</int> 
+           <string>key</string> 
           </void> 
           <void method="add"> 
-           <int>1</int> 
+           <string>value</string> 
           </void> 
-         </object> 
-        </void> 
-        <void property="neededColumns"> 
-         <object class="java.util.ArrayList"> 
           <void method="add"> 
-           <string>key</string> 
+           <string>ds</string> 
           </void> 
           <void method="add"> 
-           <string>value</string> 
+           <string>hr</string> 
           </void> 
          </object> 
         </void> 
-        <void property="operatorId"> 
-         <string>TS_0</string> 
-        </void> 
         <void property="schema"> 
          <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
           <void property="signature"> 

Modified: hive/trunk/ql/src/test/results/compiler/plan/sample2.q.xml
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/plan/sample2.q.xml?rev=1597694&r1=1597693&r2=1597694&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/plan/sample2.q.xml (original)
+++ hive/trunk/ql/src/test/results/compiler/plan/sample2.q.xml Tue May 27 01:35:16 2014
@@ -219,31 +219,35 @@
                          </void> 
                         </void> 
                         <void property="conf"> 
-                         <object class="org.apache.hadoop.hive.ql.plan.TableScanDesc"/> 
-                        </void> 
-                        <void property="neededColumnIDs"> 
-                         <object class="java.util.ArrayList"> 
-                          <void method="add"> 
-                           <int>0</int> 
-                          </void> 
-                          <void method="add"> 
-                           <int>1</int> 
-                          </void> 
-                         </object> 
-                        </void> 
-                        <void property="neededColumns"> 
-                         <object class="java.util.ArrayList"> 
-                          <void method="add"> 
-                           <string>key</string> 
+                         <object class="org.apache.hadoop.hive.ql.plan.TableScanDesc"> 
+                          <void property="neededColumnIDs"> 
+                           <object class="java.util.ArrayList"> 
+                            <void method="add"> 
+                             <int>0</int> 
+                            </void> 
+                            <void method="add"> 
+                             <int>1</int> 
+                            </void> 
+                           </object> 
                           </void> 
-                          <void method="add"> 
-                           <string>value</string> 
+                          <void property="neededColumns"> 
+                           <object id="ArrayList1" class="java.util.ArrayList"> 
+                            <void method="add"> 
+                             <string>key</string> 
+                            </void> 
+                            <void method="add"> 
+                             <string>value</string> 
+                            </void> 
+                           </object> 
                           </void> 
                          </object> 
                         </void> 
                         <void property="operatorId"> 
                          <string>TS_4</string> 
                         </void> 
+                        <void property="referencedColumns"> 
+                         <object idref="ArrayList1"/> 
+                        </void> 
                         <void property="schema"> 
                          <object idref="RowSchema0"/> 
                         </void> 
@@ -1082,22 +1086,35 @@
           <void property="alias"> 
            <string>s</string> 
           </void> 
+          <void property="neededColumnIDs"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <int>0</int> 
+            </void> 
+            <void method="add"> 
+             <int>1</int> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="neededColumns"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <string>key</string> 
+            </void> 
+            <void method="add"> 
+             <string>value</string> 
+            </void> 
+           </object> 
+          </void> 
           <void property="virtualCols"> 
            <object class="java.util.ArrayList"/> 
           </void> 
          </object> 
         </void> 
-        <void property="neededColumnIDs"> 
-         <object class="java.util.ArrayList"> 
-          <void method="add"> 
-           <int>0</int> 
-          </void> 
-          <void method="add"> 
-           <int>1</int> 
-          </void> 
-         </object> 
+        <void property="operatorId"> 
+         <string>TS_0</string> 
         </void> 
-        <void property="neededColumns"> 
+        <void property="referencedColumns"> 
          <object class="java.util.ArrayList"> 
           <void method="add"> 
            <string>key</string> 
@@ -1107,9 +1124,6 @@
           </void> 
          </object> 
         </void> 
-        <void property="operatorId"> 
-         <string>TS_0</string> 
-        </void> 
         <void property="schema"> 
          <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
           <void property="signature"> 

Modified: hive/trunk/ql/src/test/results/compiler/plan/sample3.q.xml
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/plan/sample3.q.xml?rev=1597694&r1=1597693&r2=1597694&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/plan/sample3.q.xml (original)
+++ hive/trunk/ql/src/test/results/compiler/plan/sample3.q.xml Tue May 27 01:35:16 2014
@@ -219,31 +219,35 @@
                          </void> 
                         </void> 
                         <void property="conf"> 
-                         <object class="org.apache.hadoop.hive.ql.plan.TableScanDesc"/> 
-                        </void> 
-                        <void property="neededColumnIDs"> 
-                         <object class="java.util.ArrayList"> 
-                          <void method="add"> 
-                           <int>0</int> 
-                          </void> 
-                          <void method="add"> 
-                           <int>1</int> 
-                          </void> 
-                         </object> 
-                        </void> 
-                        <void property="neededColumns"> 
-                         <object class="java.util.ArrayList"> 
-                          <void method="add"> 
-                           <string>key</string> 
+                         <object class="org.apache.hadoop.hive.ql.plan.TableScanDesc"> 
+                          <void property="neededColumnIDs"> 
+                           <object class="java.util.ArrayList"> 
+                            <void method="add"> 
+                             <int>0</int> 
+                            </void> 
+                            <void method="add"> 
+                             <int>1</int> 
+                            </void> 
+                           </object> 
                           </void> 
-                          <void method="add"> 
-                           <string>value</string> 
+                          <void property="neededColumns"> 
+                           <object id="ArrayList1" class="java.util.ArrayList"> 
+                            <void method="add"> 
+                             <string>key</string> 
+                            </void> 
+                            <void method="add"> 
+                             <string>value</string> 
+                            </void> 
+                           </object> 
                           </void> 
                          </object> 
                         </void> 
                         <void property="operatorId"> 
                          <string>TS_4</string> 
                         </void> 
+                        <void property="referencedColumns"> 
+                         <object idref="ArrayList1"/> 
+                        </void> 
                         <void property="schema"> 
                          <object idref="RowSchema0"/> 
                         </void> 
@@ -1092,22 +1096,35 @@
           <void property="alias"> 
            <string>s</string> 
           </void> 
+          <void property="neededColumnIDs"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <int>0</int> 
+            </void> 
+            <void method="add"> 
+             <int>1</int> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="neededColumns"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <string>key</string> 
+            </void> 
+            <void method="add"> 
+             <string>value</string> 
+            </void> 
+           </object> 
+          </void> 
           <void property="virtualCols"> 
            <object class="java.util.ArrayList"/> 
           </void> 
          </object> 
         </void> 
-        <void property="neededColumnIDs"> 
-         <object class="java.util.ArrayList"> 
-          <void method="add"> 
-           <int>0</int> 
-          </void> 
-          <void method="add"> 
-           <int>1</int> 
-          </void> 
-         </object> 
+        <void property="operatorId"> 
+         <string>TS_0</string> 
         </void> 
-        <void property="neededColumns"> 
+        <void property="referencedColumns"> 
          <object class="java.util.ArrayList"> 
           <void method="add"> 
            <string>key</string> 
@@ -1117,9 +1134,6 @@
           </void> 
          </object> 
         </void> 
-        <void property="operatorId"> 
-         <string>TS_0</string> 
-        </void> 
         <void property="schema"> 
          <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
           <void property="signature"> 

Modified: hive/trunk/ql/src/test/results/compiler/plan/sample4.q.xml
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/plan/sample4.q.xml?rev=1597694&r1=1597693&r2=1597694&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/plan/sample4.q.xml (original)
+++ hive/trunk/ql/src/test/results/compiler/plan/sample4.q.xml Tue May 27 01:35:16 2014
@@ -219,31 +219,35 @@
                          </void> 
                         </void> 
                         <void property="conf"> 
-                         <object class="org.apache.hadoop.hive.ql.plan.TableScanDesc"/> 
-                        </void> 
-                        <void property="neededColumnIDs"> 
-                         <object class="java.util.ArrayList"> 
-                          <void method="add"> 
-                           <int>0</int> 
-                          </void> 
-                          <void method="add"> 
-                           <int>1</int> 
-                          </void> 
-                         </object> 
-                        </void> 
-                        <void property="neededColumns"> 
-                         <object class="java.util.ArrayList"> 
-                          <void method="add"> 
-                           <string>key</string> 
+                         <object class="org.apache.hadoop.hive.ql.plan.TableScanDesc"> 
+                          <void property="neededColumnIDs"> 
+                           <object class="java.util.ArrayList"> 
+                            <void method="add"> 
+                             <int>0</int> 
+                            </void> 
+                            <void method="add"> 
+                             <int>1</int> 
+                            </void> 
+                           </object> 
                           </void> 
-                          <void method="add"> 
-                           <string>value</string> 
+                          <void property="neededColumns"> 
+                           <object id="ArrayList1" class="java.util.ArrayList"> 
+                            <void method="add"> 
+                             <string>key</string> 
+                            </void> 
+                            <void method="add"> 
+                             <string>value</string> 
+                            </void> 
+                           </object> 
                           </void> 
                          </object> 
                         </void> 
                         <void property="operatorId"> 
                          <string>TS_4</string> 
                         </void> 
+                        <void property="referencedColumns"> 
+                         <object idref="ArrayList1"/> 
+                        </void> 
                         <void property="schema"> 
                          <object idref="RowSchema0"/> 
                         </void> 
@@ -1082,22 +1086,35 @@
           <void property="alias"> 
            <string>s</string> 
           </void> 
+          <void property="neededColumnIDs"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <int>0</int> 
+            </void> 
+            <void method="add"> 
+             <int>1</int> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="neededColumns"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <string>key</string> 
+            </void> 
+            <void method="add"> 
+             <string>value</string> 
+            </void> 
+           </object> 
+          </void> 
           <void property="virtualCols"> 
            <object class="java.util.ArrayList"/> 
           </void> 
          </object> 
         </void> 
-        <void property="neededColumnIDs"> 
-         <object class="java.util.ArrayList"> 
-          <void method="add"> 
-           <int>0</int> 
-          </void> 
-          <void method="add"> 
-           <int>1</int> 
-          </void> 
-         </object> 
+        <void property="operatorId"> 
+         <string>TS_0</string> 
         </void> 
-        <void property="neededColumns"> 
+        <void property="referencedColumns"> 
          <object class="java.util.ArrayList"> 
           <void method="add"> 
            <string>key</string> 
@@ -1107,9 +1124,6 @@
           </void> 
          </object> 
         </void> 
-        <void property="operatorId"> 
-         <string>TS_0</string> 
-        </void> 
         <void property="schema"> 
          <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
           <void property="signature"> 

Modified: hive/trunk/ql/src/test/results/compiler/plan/sample5.q.xml
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/compiler/plan/sample5.q.xml?rev=1597694&r1=1597693&r2=1597694&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/compiler/plan/sample5.q.xml (original)
+++ hive/trunk/ql/src/test/results/compiler/plan/sample5.q.xml Tue May 27 01:35:16 2014
@@ -219,31 +219,35 @@
                          </void> 
                         </void> 
                         <void property="conf"> 
-                         <object class="org.apache.hadoop.hive.ql.plan.TableScanDesc"/> 
-                        </void> 
-                        <void property="neededColumnIDs"> 
-                         <object class="java.util.ArrayList"> 
-                          <void method="add"> 
-                           <int>0</int> 
-                          </void> 
-                          <void method="add"> 
-                           <int>1</int> 
-                          </void> 
-                         </object> 
-                        </void> 
-                        <void property="neededColumns"> 
-                         <object class="java.util.ArrayList"> 
-                          <void method="add"> 
-                           <string>key</string> 
+                         <object class="org.apache.hadoop.hive.ql.plan.TableScanDesc"> 
+                          <void property="neededColumnIDs"> 
+                           <object class="java.util.ArrayList"> 
+                            <void method="add"> 
+                             <int>0</int> 
+                            </void> 
+                            <void method="add"> 
+                             <int>1</int> 
+                            </void> 
+                           </object> 
                           </void> 
-                          <void method="add"> 
-                           <string>value</string> 
+                          <void property="neededColumns"> 
+                           <object id="ArrayList1" class="java.util.ArrayList"> 
+                            <void method="add"> 
+                             <string>key</string> 
+                            </void> 
+                            <void method="add"> 
+                             <string>value</string> 
+                            </void> 
+                           </object> 
                           </void> 
                          </object> 
                         </void> 
                         <void property="operatorId"> 
                          <string>TS_4</string> 
                         </void> 
+                        <void property="referencedColumns"> 
+                         <object idref="ArrayList1"/> 
+                        </void> 
                         <void property="schema"> 
                          <object idref="RowSchema0"/> 
                         </void> 
@@ -1079,22 +1083,35 @@
           <void property="alias"> 
            <string>s</string> 
           </void> 
+          <void property="neededColumnIDs"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <int>0</int> 
+            </void> 
+            <void method="add"> 
+             <int>1</int> 
+            </void> 
+           </object> 
+          </void> 
+          <void property="neededColumns"> 
+           <object class="java.util.ArrayList"> 
+            <void method="add"> 
+             <string>key</string> 
+            </void> 
+            <void method="add"> 
+             <string>value</string> 
+            </void> 
+           </object> 
+          </void> 
           <void property="virtualCols"> 
            <object class="java.util.ArrayList"/> 
           </void> 
          </object> 
         </void> 
-        <void property="neededColumnIDs"> 
-         <object class="java.util.ArrayList"> 
-          <void method="add"> 
-           <int>0</int> 
-          </void> 
-          <void method="add"> 
-           <int>1</int> 
-          </void> 
-         </object> 
+        <void property="operatorId"> 
+         <string>TS_0</string> 
         </void> 
-        <void property="neededColumns"> 
+        <void property="referencedColumns"> 
          <object class="java.util.ArrayList"> 
           <void method="add"> 
            <string>key</string> 
@@ -1104,9 +1121,6 @@
           </void> 
          </object> 
         </void> 
-        <void property="operatorId"> 
-         <string>TS_0</string> 
-        </void> 
         <void property="schema"> 
          <object class="org.apache.hadoop.hive.ql.exec.RowSchema"> 
           <void property="signature"> 



Mime
View raw message