Skip to content

Commit 117b480

Browse files
committed
fix review
1 parent 02a05cc commit 117b480

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/iceberg/arrow/arrow_error_transform_internal.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ inline ErrorKind ToErrorKind(const ::arrow::Status& status) {
3030
switch (status.code()) {
3131
case ::arrow::StatusCode::IOError:
3232
return ErrorKind::kIOError;
33+
case ::arrow::StatusCode::NotImplemented:
34+
return ErrorKind::kNotImplemented;
3335
default:
3436
return ErrorKind::kUnknownError;
3537
}

test/parquet_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ TEST_F(ParquetReadWrite, EmptyStruct) {
310310
const std::string basePath = "base.parquet";
311311

312312
ASSERT_THAT(WriteTable(array, {.path = basePath, .schema = schema, .io = file_io}),
313-
IsError(ErrorKind::kUnknownError));
313+
IsError(ErrorKind::kNotImplemented));
314314
}
315315

316316
TEST_F(ParquetReadWrite, SimpleStructRoundTrip) {

0 commit comments

Comments
 (0)