Skip to content

Commit

Permalink
Fix incorrect error message ID being used when unable to open file fo…
Browse files Browse the repository at this point in the history
…r read.
  • Loading branch information
kevingurney committed Dec 18, 2024
1 parent 380708e commit 2fccd18
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ libmexclass::proxy::MakeResult RecordBatchStreamReader::make(
error::UNICODE_CONVERSION_ERROR_ID);

MATLAB_ASSIGN_OR_ERROR(auto input_stream, arrow::io::ReadableFile::Open(filename_utf8),
error::FAILED_TO_OPEN_FILE_FOR_WRITE);
error::FAILED_TO_OPEN_FILE_FOR_READ);

MATLAB_ASSIGN_OR_ERROR(auto reader,
arrow::ipc::RecordBatchStreamReader::Open(input_stream),
Expand Down

0 comments on commit 2fccd18

Please sign in to comment.