Commit 555629e 1 parent 1f4fa23 commit 555629e Copy full SHA for 555629e
File tree 2 files changed +3
-3
lines changed
matlab/src/cpp/arrow/matlab
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -247,6 +247,7 @@ static const char* IPC_RECORD_BATCH_WRITE_FAILED =
247
247
static const char * IPC_RECORD_BATCH_WRITE_CLOSE_FAILED = " arrow:io:ipc:CloseFailed" ;
248
248
static const char * IPC_RECORD_BATCH_READER_OPEN_FAILED =
249
249
" arrow:io:ipc:FailedToOpenRecordBatchReader" ;
250
+ static const char * IPC_RECORD_BATCH_READER_INVALID_CONSTRUCTION_TYPE = " arrow:io:ipc:InvalidConstructionType" ;
250
251
static const char * IPC_RECORD_BATCH_READ_INVALID_INDEX = " arrow:io:ipc:InvalidIndex" ;
251
252
static const char * IPC_RECORD_BATCH_READ_FAILED = " arrow:io:ipc:ReadFailed" ;
252
253
static const char * IPC_TABLE_READ_FAILED = " arrow:io:ipc:TableReadFailed" ;
Original file line number Diff line number Diff line change @@ -86,11 +86,10 @@ libmexclass::proxy::MakeResult RecordBatchStreamReader::make(
86
86
const auto type_utf16 = std::u16string (type_mda[0 ]);
87
87
if (type_utf16 == u" Bytes" ) {
88
88
return RecordBatchStreamReader::fromBytes (constructor_arguments);
89
- } else if (type_utf16 == u" Filename " ) {
89
+ } else if (type_utf16 == u" File " ) {
90
90
return RecordBatchStreamReader::fromFile (constructor_arguments);
91
91
} else {
92
- // TODO: Create static error id string
93
- return libmexclass::error::Error{" arrow:some:test:id" , " Invalid construction type for RecordBatchStreamReader." };
92
+ return libmexclass::error::Error{" arrow:io:ipc:InvalidConstructionType" , " Invalid construction type for RecordBatchStreamReader." };
94
93
}
95
94
}
96
95
You can’t perform that action at this time.
0 commit comments