Skip to content
Permalink
Browse files
DRILL-6627: Adding REGEX_SUB_SCAN operator to protobuf file
- The operator is added to Java based UserBitShared.proto and C++ based UserBitShared.pb.h
- Java and C++ protobuf files are regenerated
  • Loading branch information
vdiravka committed Jul 23, 2018
1 parent 5f4eeb8 commit 2162986ce50f566cb80151d97b05fb5557d8d2ab
Showing 5 changed files with 21 additions and 15 deletions.

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

@@ -548,7 +548,7 @@ private FragmentState(int index, int value) {
/**
* <code>REGEX_SUB_SCAN = 45;</code>
*/
REGEX_SUB_SCAN(45,45),
REGEX_SUB_SCAN(45, 45),
;

/**
@@ -737,7 +737,6 @@ private FragmentState(int index, int value) {
public static final int REGEX_SUB_SCAN_VALUE = 45;



public final int getNumber() { return value; }

public static CoreOperatorType valueOf(int value) {
@@ -24324,7 +24323,7 @@ public Builder clearStatus() {
"TATEMENT\020\005*\207\001\n\rFragmentState\022\013\n\007SENDING\020" +
"\000\022\027\n\023AWAITING_ALLOCATION\020\001\022\013\n\007RUNNING\020\002\022" +
"\014\n\010FINISHED\020\003\022\r\n\tCANCELLED\020\004\022\n\n\006FAILED\020\005" +
"\022\032\n\026CANCELLATION_REQUESTED\020\006*\377\006\n\020CoreOpe" +
"\022\032\n\026CANCELLATION_REQUESTED\020\006*\223\007\n\020CoreOpe" +
"ratorType\022\021\n\rSINGLE_SENDER\020\000\022\024\n\020BROADCAS" +
"T_SENDER\020\001\022\n\n\006FILTER\020\002\022\022\n\016HASH_AGGREGATE" +
"\020\003\022\r\n\tHASH_JOIN\020\004\022\016\n\nMERGE_JOIN\020\005\022\031\n\025HAS" +
@@ -24347,10 +24346,11 @@ public Builder clearStatus() {
"N\020&\022\021\n\rKUDU_SUB_SCAN\020\'\022\013\n\007FLATTEN\020(\022\020\n\014L" +
"ATERAL_JOIN\020)\022\n\n\006UNNEST\020*\022,\n(HIVE_DRILL_" +
"NATIVE_PARQUET_ROW_GROUP_SCAN\020+\022\r\n\tJDBC_" +
"SCAN\020,*g\n\nSaslStatus\022\020\n\014SASL_UNKNOWN\020\000\022\016" +
"\n\nSASL_START\020\001\022\024\n\020SASL_IN_PROGRESS\020\002\022\020\n\014" +
"SASL_SUCCESS\020\003\022\017\n\013SASL_FAILED\020\004B.\n\033org.a" +
"pache.drill.exec.protoB\rUserBitSharedH\001"
"SCAN\020,\022\022\n\016REGEX_SUB_SCAN\020-*g\n\nSaslStatus" +
"\022\020\n\014SASL_UNKNOWN\020\000\022\016\n\nSASL_START\020\001\022\024\n\020SA" +
"SL_IN_PROGRESS\020\002\022\020\n\014SASL_SUCCESS\020\003\022\017\n\013SA" +
"SL_FAILED\020\004B.\n\033org.apache.drill.exec.pro",
"toB\rUserBitSharedH\001"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
@@ -66,7 +66,8 @@ public enum CoreOperatorType implements com.dyuproject.protostuff.EnumLite<CoreO
LATERAL_JOIN(41),
UNNEST(42),
HIVE_DRILL_NATIVE_PARQUET_ROW_GROUP_SCAN(43),
JDBC_SCAN(44);
JDBC_SCAN(44),
REGEX_SUB_SCAN(45);

public final int number;

@@ -129,6 +130,7 @@ public static CoreOperatorType valueOf(int number)
case 42: return UNNEST;
case 43: return HIVE_DRILL_NATIVE_PARQUET_ROW_GROUP_SCAN;
case 44: return JDBC_SCAN;
case 45: return REGEX_SUB_SCAN;
default: return null;
}
}
@@ -333,6 +333,7 @@ enum CoreOperatorType {
UNNEST = 42;
HIVE_DRILL_NATIVE_PARQUET_ROW_GROUP_SCAN = 43;
JDBC_SCAN = 44;
REGEX_SUB_SCAN = 45;
}

/* Registry that contains list of jars, each jar contains its name and list of function signatures.

0 comments on commit 2162986

Please sign in to comment.