Skip to content

Commit e591b21

Browse files
committed
[native] Map velox and presto spill failure error code.
1 parent 33fca0d commit e591b21

File tree

1 file changed

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

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ class VeloxToPrestoExceptionTranslator {
7474
{0x00010000,
7575
"GENERIC_INTERNAL_ERROR",
7676
protocol::ErrorType::INTERNAL_ERROR}},
77+
{velox::error_code::kGenericSpillFailure,
78+
{0x00010023,
79+
"GENERIC_SPILL_FAILURE",
80+
protocol::ErrorType::INTERNAL_ERROR}},
7781
{velox::error_code::kUnreachableCode,
7882
{0x00010000,
7983
"GENERIC_INTERNAL_ERROR",

0 commit comments

Comments
 (0)