FAQ
Author: gunther
Date: Fri Aug 2 04:45:47 2013
New Revision: 1509541

URL: http://svn.apache.org/r1509541
Log:
HIVE-4972: update code generated by thrift for DemuxOperator and MuxOperator (Yin Huai via Gunther Hagleitner)

Modified:
     hive/trunk/ql/src/gen/thrift/gen-cpp/queryplan_types.cpp
     hive/trunk/ql/src/gen/thrift/gen-cpp/queryplan_types.h
     hive/trunk/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/OperatorType.java
     hive/trunk/ql/src/gen/thrift/gen-php/Types.php
     hive/trunk/ql/src/gen/thrift/gen-py/queryplan/ttypes.py
     hive/trunk/ql/src/gen/thrift/gen-rb/queryplan_types.rb

Modified: hive/trunk/ql/src/gen/thrift/gen-cpp/queryplan_types.cpp
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/gen/thrift/gen-cpp/queryplan_types.cpp?rev=1509541&r1=1509540&r2=1509541&view=diff
==============================================================================
--- hive/trunk/ql/src/gen/thrift/gen-cpp/queryplan_types.cpp (original)
+++ hive/trunk/ql/src/gen/thrift/gen-cpp/queryplan_types.cpp Fri Aug 2 04:45:47 2013
@@ -49,7 +49,9 @@ int _kOperatorTypeValues[] = {
    OperatorType::LATERALVIEWFORWARD,
    OperatorType::HASHTABLESINK,
    OperatorType::HASHTABLEDUMMY,
- OperatorType::PTF
+ OperatorType::PTF,
+ OperatorType::MUX,
+ OperatorType::DEMUX
  };
  const char* _kOperatorTypeNames[] = {
    "JOIN",
@@ -70,9 +72,11 @@ const char* _kOperatorTypeNames[] = {
    "LATERALVIEWFORWARD",
    "HASHTABLESINK",
    "HASHTABLEDUMMY",
- "PTF"
+ "PTF",
+ "MUX",
+ "DEMUX"
  };
-const std::map<int, const char*> _OperatorType_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(19, _kOperatorTypeValues, _kOperatorTypeNames), ::apache::thrift::TEnumIterator(-1, NULL, NULL));
+const std::map<int, const char*> _OperatorType_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(21, _kOperatorTypeValues, _kOperatorTypeNames), ::apache::thrift::TEnumIterator(-1, NULL, NULL));

  int _kTaskTypeValues[] = {
    TaskType::MAP,

Modified: hive/trunk/ql/src/gen/thrift/gen-cpp/queryplan_types.h
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/gen/thrift/gen-cpp/queryplan_types.h?rev=1509541&r1=1509540&r2=1509541&view=diff
==============================================================================
--- hive/trunk/ql/src/gen/thrift/gen-cpp/queryplan_types.h (original)
+++ hive/trunk/ql/src/gen/thrift/gen-cpp/queryplan_types.h Fri Aug 2 04:45:47 2013
@@ -54,7 +54,9 @@ struct OperatorType {
      LATERALVIEWFORWARD = 15,
      HASHTABLESINK = 16,
      HASHTABLEDUMMY = 17,
- PTF = 18
+ PTF = 18,
+ MUX = 19,
+ DEMUX = 20
    };
  };


Modified: hive/trunk/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/OperatorType.java
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/OperatorType.java?rev=1509541&r1=1509540&r2=1509541&view=diff
==============================================================================
--- hive/trunk/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/OperatorType.java (original)
+++ hive/trunk/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/OperatorType.java Fri Aug 2 04:45:47 2013
@@ -51,7 +51,7 @@ public enum OperatorType implements org.
     * Find a the enum type by its integer value, as defined in the Thrift IDL.
     * @return null if the value is not found.
     */
- public static OperatorType findByValue(int value) {
+ public static OperatorType findByValue(int value) {
      switch (value) {
        case 0:
          return JOIN;

Modified: hive/trunk/ql/src/gen/thrift/gen-php/Types.php
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/gen/thrift/gen-php/Types.php?rev=1509541&r1=1509540&r2=1509541&view=diff
==============================================================================
--- hive/trunk/ql/src/gen/thrift/gen-php/Types.php (original)
+++ hive/trunk/ql/src/gen/thrift/gen-php/Types.php Fri Aug 2 04:45:47 2013
@@ -54,6 +54,8 @@ final class OperatorType {
    const HASHTABLESINK = 16;
    const HASHTABLEDUMMY = 17;
    const PTF = 18;
+ const MUX = 19;
+ const DEMUX = 20;
    static public $__names = array(
      0 => 'JOIN',
      1 => 'MAPJOIN',
@@ -74,6 +76,8 @@ final class OperatorType {
      16 => 'HASHTABLESINK',
      17 => 'HASHTABLEDUMMY',
      18 => 'PTF',
+ 19 => 'MUX',
+ 20 => 'DEMUX',
    );
  }


Modified: hive/trunk/ql/src/gen/thrift/gen-py/queryplan/ttypes.py
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/gen/thrift/gen-py/queryplan/ttypes.py?rev=1509541&r1=1509540&r2=1509541&view=diff
==============================================================================
--- hive/trunk/ql/src/gen/thrift/gen-py/queryplan/ttypes.py (original)
+++ hive/trunk/ql/src/gen/thrift/gen-py/queryplan/ttypes.py Fri Aug 2 04:45:47 2013
@@ -64,6 +64,8 @@ class OperatorType:
    HASHTABLESINK = 16
    HASHTABLEDUMMY = 17
    PTF = 18
+ MUX = 19
+ DEMUX = 20

    _VALUES_TO_NAMES = {
      0: "JOIN",
@@ -85,6 +87,8 @@ class OperatorType:
      16: "HASHTABLESINK",
      17: "HASHTABLEDUMMY",
      18: "PTF",
+ 19: "MUX",
+ 20: "DEMUX",
    }

    _NAMES_TO_VALUES = {
@@ -107,6 +111,8 @@ class OperatorType:
      "HASHTABLESINK": 16,
      "HASHTABLEDUMMY": 17,
      "PTF": 18,
+ "MUX": 19,
+ "DEMUX": 20,
    }

  class TaskType:

Modified: hive/trunk/ql/src/gen/thrift/gen-rb/queryplan_types.rb
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/gen/thrift/gen-rb/queryplan_types.rb?rev=1509541&r1=1509540&r2=1509541&view=diff
==============================================================================
--- hive/trunk/ql/src/gen/thrift/gen-rb/queryplan_types.rb (original)
+++ hive/trunk/ql/src/gen/thrift/gen-rb/queryplan_types.rb Fri Aug 2 04:45:47 2013
@@ -40,8 +40,10 @@ module OperatorType
    HASHTABLESINK = 16
    HASHTABLEDUMMY = 17
    PTF = 18
- VALUE_MAP = {0 => "JOIN", 1 => "MAPJOIN", 2 => "EXTRACT", 3 => "FILTER", 4 => "FORWARD", 5 => "GROUPBY", 6 => "LIMIT", 7 => "SCRIPT", 8 => "SELECT", 9 => "TABLESCAN", 10 => "FILESINK", 11 => "REDUCESINK", 12 => "UNION", 13 => "UDTF", 14 => "LATERALVIEWJOIN", 15 => "LATERALVIEWFORWARD", 16 => "HASHTABLESINK", 17 => "HASHTABLEDUMMY", 18 => "PTF"}
- VALID_VALUES = Set.new([JOIN, MAPJOIN, EXTRACT, FILTER, FORWARD, GROUPBY, LIMIT, SCRIPT, SELECT, TABLESCAN, FILESINK, REDUCESINK, UNION, UDTF, LATERALVIEWJOIN, LATERALVIEWFORWARD, HASHTABLESINK, HASHTABLEDUMMY, PTF]).freeze
+ MUX = 19
+ DEMUX = 20
+ VALUE_MAP = {0 => "JOIN", 1 => "MAPJOIN", 2 => "EXTRACT", 3 => "FILTER", 4 => "FORWARD", 5 => "GROUPBY", 6 => "LIMIT", 7 => "SCRIPT", 8 => "SELECT", 9 => "TABLESCAN", 10 => "FILESINK", 11 => "REDUCESINK", 12 => "UNION", 13 => "UDTF", 14 => "LATERALVIEWJOIN", 15 => "LATERALVIEWFORWARD", 16 => "HASHTABLESINK", 17 => "HASHTABLEDUMMY", 18 => "PTF", 19 => "MUX", 20 => "DEMUX"}
+ VALID_VALUES = Set.new([JOIN, MAPJOIN, EXTRACT, FILTER, FORWARD, GROUPBY, LIMIT, SCRIPT, SELECT, TABLESCAN, FILESINK, REDUCESINK, UNION, UDTF, LATERALVIEWJOIN, LATERALVIEWFORWARD, HASHTABLESINK, HASHTABLEDUMMY, PTF, MUX, DEMUX]).freeze
  end

  module TaskType

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
groupcommits @
categorieshive, hadoop
postedAug 2, '13 at 4:46a
activeAug 2, '13 at 4:46a
posts1
users1
websitehive.apache.org

1 user in discussion

Gunther: 1 post

People

Translate

site design / logo © 2021 Grokbase