File tree 2 files changed +3
-2
lines changed
matlab/src/cpp/arrow/matlab
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -250,5 +250,6 @@ static const char* IPC_RECORD_BATCH_READER_OPEN_FAILED =
250
250
static const char * IPC_RECORD_BATCH_READ_INVALID_INDEX = " arrow:io:ipc:InvalidIndex" ;
251
251
static const char * IPC_RECORD_BATCH_READ_FAILED = " arrow:io:ipc:ReadFailed" ;
252
252
static const char * IPC_TABLE_READ_FAILED = " arrow:io:ipc:TableReadFailed" ;
253
+ static const char * IPC_END_OF_STREAM = " arrow:io:ipc:EndOfStream" ;
253
254
254
255
} // namespace arrow::matlab::error
Original file line number Diff line number Diff line change @@ -105,8 +105,8 @@ void RecordBatchStreamReader::readRecordBatch(
105
105
// signalling the end of the stream.
106
106
if (!nextRecordBatch) {
107
107
context.error =
108
- Error{" arrow:io:ipc:EndOfStream " ,
109
- " Reached end of Arrow IPC Stream. No more record batches to read." };
108
+ Error{error::IPC_END_OF_STREAM ,
109
+ " Reached end of Arrow IPC Stream. No more record batches to read." };
110
110
return ;
111
111
}
112
112
auto record_batch_proxy = std::make_shared<RecordBatchProxy>(nextRecordBatch);
You can’t perform that action at this time.
0 commit comments