hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From na...@apache.org
Subject svn commit: r882817 - in /hadoop/hive/trunk: CHANGES.txt ql/if/queryplan.thrift ql/src/gen-javabean/org/apache/hadoop/hive/ql/plan/api/OperatorType.java ql/src/gen-php/queryplan_types.php ql/src/gen-py/queryplan/ttypes.py
Date Sat, 21 Nov 2009 01:26:18 GMT
Author: namit
Date: Sat Nov 21 01:26:17 2009
New Revision: 882817

URL: http://svn.apache.org/viewvc?rev=882817&view=rev
Log:
HIVE-944 Generate thrift files in queryplan
(Paul Yang via namit)


Modified:
    hadoop/hive/trunk/CHANGES.txt
    hadoop/hive/trunk/ql/if/queryplan.thrift
    hadoop/hive/trunk/ql/src/gen-javabean/org/apache/hadoop/hive/ql/plan/api/OperatorType.java
    hadoop/hive/trunk/ql/src/gen-php/queryplan_types.php
    hadoop/hive/trunk/ql/src/gen-py/queryplan/ttypes.py

Modified: hadoop/hive/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/CHANGES.txt?rev=882817&r1=882816&r2=882817&view=diff
==============================================================================
--- hadoop/hive/trunk/CHANGES.txt (original)
+++ hadoop/hive/trunk/CHANGES.txt Sat Nov 21 01:26:17 2009
@@ -274,6 +274,9 @@
     HIVE-941 hiveserver.sh doesn't work with Hadoop 0.20.0 or higher
     (Ning Zhang via namit)
 
+    HIVE-944 Generate thrift files in queryplan
+    (Paul Yang via namit)
+
 Release 0.4.0 -  Unreleased
 
   INCOMPATIBLE CHANGES

Modified: hadoop/hive/trunk/ql/if/queryplan.thrift
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/if/queryplan.thrift?rev=882817&r1=882816&r2=882817&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/if/queryplan.thrift (original)
+++ hadoop/hive/trunk/ql/if/queryplan.thrift Sat Nov 21 01:26:17 2009
@@ -16,7 +16,7 @@
 }
 
 #Represents a operator along with its counters
-enum OperatorType { JOIN, MAPJOIN, EXTRACT, FILTER, FORWARD, GROUPBY, LIMIT, SCRIPT, SELECT,
TABLESCAN, FILESINK, REDUCESINK, UNION }
+enum OperatorType { JOIN, MAPJOIN, EXTRACT, FILTER, FORWARD, GROUPBY, LIMIT, SCRIPT, SELECT,
TABLESCAN, FILESINK, REDUCESINK, UNION, UDTF }
 struct Operator {
 1: string operatorId,
 2: OperatorType operatorType,
@@ -53,7 +53,7 @@
 7: bool started,
 }
 
-# Represents a query - 
+# Represents a query -
 # The graph maintains the stage dependency.In case of conditional tasks, it is represented
as if only
 # one of the dependencies need to be executed
 struct Query {

Modified: hadoop/hive/trunk/ql/src/gen-javabean/org/apache/hadoop/hive/ql/plan/api/OperatorType.java
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/gen-javabean/org/apache/hadoop/hive/ql/plan/api/OperatorType.java?rev=882817&r1=882816&r2=882817&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/gen-javabean/org/apache/hadoop/hive/ql/plan/api/OperatorType.java
(original)
+++ hadoop/hive/trunk/ql/src/gen-javabean/org/apache/hadoop/hive/ql/plan/api/OperatorType.java
Sat Nov 21 01:26:17 2009
@@ -42,8 +42,8 @@
     TABLESCAN, 
     FILESINK, 
     REDUCESINK, 
-    UNION,
-    UDTF);
+    UNION, 
+    UDTF );
 
   public static final Map<Integer, String> VALUES_TO_NAMES = new HashMap<Integer,
String>() {{
     put(JOIN, "JOIN");

Modified: hadoop/hive/trunk/ql/src/gen-php/queryplan_types.php
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/gen-php/queryplan_types.php?rev=882817&r1=882816&r2=882817&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/gen-php/queryplan_types.php (original)
+++ hadoop/hive/trunk/ql/src/gen-php/queryplan_types.php Sat Nov 21 01:26:17 2009
@@ -49,6 +49,7 @@
   'FILESINK' => 10,
   'REDUCESINK' => 11,
   'UNION' => 12,
+  'UDTF' => 13,
 );
 
 final class OperatorType {
@@ -65,6 +66,7 @@
   const FILESINK = 10;
   const REDUCESINK = 11;
   const UNION = 12;
+  const UDTF = 13;
   static public $__names = array(
     0 => 'JOIN',
     1 => 'MAPJOIN',
@@ -79,6 +81,7 @@
     10 => 'FILESINK',
     11 => 'REDUCESINK',
     12 => 'UNION',
+    13 => 'UDTF',
   );
 }
 

Modified: hadoop/hive/trunk/ql/src/gen-py/queryplan/ttypes.py
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/gen-py/queryplan/ttypes.py?rev=882817&r1=882816&r2=882817&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/gen-py/queryplan/ttypes.py (original)
+++ hadoop/hive/trunk/ql/src/gen-py/queryplan/ttypes.py Sat Nov 21 01:26:17 2009
@@ -36,6 +36,7 @@
   FILESINK = 10
   REDUCESINK = 11
   UNION = 12
+  UDTF = 13
 
 class TaskType:
   MAP = 0



Mime
View raw message