diff options
author | Paul Rogers <progers@maprtech.com> | 2017-05-15 15:00:21 -0700 |
---|---|---|
committer | Jinfeng Ni <jni@apache.org> | 2017-06-02 21:43:14 -0700 |
commit | 78739889164c8df84fee249310f6d72d1199ea04 (patch) | |
tree | 2cadc5ff39a505c8e7a9e6b2413e5219c1886a23 /protocol/src/main/protobuf/UserBitShared.proto | |
parent | 155820a49563d631cbafd61a8538619ced21bd95 (diff) |
DRILL-5512: Standardize error handling in ScanBatch
Standardizes error handling to throw a UserException. Prior code threw
various exceptions, called the fail() method, or returned a variety of
status codes.
closes #838
Diffstat (limited to 'protocol/src/main/protobuf/UserBitShared.proto')
-rw-r--r-- | protocol/src/main/protobuf/UserBitShared.proto | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/protocol/src/main/protobuf/UserBitShared.proto b/protocol/src/main/protobuf/UserBitShared.proto index b09171146..65f9698c1 100644 --- a/protocol/src/main/protobuf/UserBitShared.proto +++ b/protocol/src/main/protobuf/UserBitShared.proto @@ -74,11 +74,15 @@ message DrillPBError{ */ RESOURCE = 7; /* equivalent to SQLNonTransientException. + * - unexpected internal state + * - uncategorized operation + * general user action is to contact the Drill team for + * assistance */ SYSTEM = 8; /* equivalent to SQLFeatureNotSupportedException - * - type change - * - schema change + * - unimplemented feature, option, or execution path + * - schema change in operator that does not support it */ UNSUPPORTED_OPERATION = 9; /* SQL validation exception |