Skip to content

Commit

Permalink
fix typo in error message (field -> column)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgilmore10 committed Aug 4, 2023
1 parent 91114cb commit cb292d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion matlab/src/cpp/arrow/matlab/tabular/proxy/record_batch.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ namespace arrow::matlab::tabular::proxy {
std::stringstream error_message_stream;
error_message_stream << "Invalid column index: ";
error_message_stream << matlab_index;
error_message_stream << ". Column index must be between 1 and the number of fields (";
error_message_stream << ". Column index must be between 1 and the number of columns (";
error_message_stream << num_columns;
error_message_stream << ").";
return libmexclass::error::Error{error::RECORD_BATCH_INVALID_NUMERIC_COLUMN_INDEX, error_message_stream.str()};
Expand Down

0 comments on commit cb292d0

Please sign in to comment.