Skip to content

Commit 92ed6f6

Browse files
committed
[native] Map kUnsupportedInputUncatchable to not supported error code.
1 parent 491a428 commit 92ed6f6

File tree

1 file changed

+2
-2
lines changed
  • presto-native-execution/presto_cpp/main/common

1 file changed

+2
-2
lines changed

presto-native-execution/presto_cpp/main/common/Exception.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,10 @@ class VeloxToPrestoExceptionTranslator {
106106
{0x00000000,
107107
"GENERIC_USER_ERROR",
108108
protocol::ErrorType::USER_ERROR}},
109-
110109
{velox::error_code::kUnsupported,
111110
{0x0000000D, "NOT_SUPPORTED", protocol::ErrorType::USER_ERROR}},
112-
111+
{velox::error_code::kUnsupportedInputUncatchable,
112+
{0x0000000D, "NOT_SUPPORTED", protocol::ErrorType::USER_ERROR}},
113113
{velox::error_code::kArithmeticError,
114114
{0x00000000,
115115
"GENERIC_USER_ERROR",

0 commit comments

Comments
 (0)