From cb292d0b0120c75892e14d9ed720e126a2e47076 Mon Sep 17 00:00:00 2001 From: Sarah Gilmore Date: Fri, 4 Aug 2023 14:04:47 -0400 Subject: [PATCH] fix typo in error message (field -> column) --- matlab/src/cpp/arrow/matlab/tabular/proxy/record_batch.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/src/cpp/arrow/matlab/tabular/proxy/record_batch.cc b/matlab/src/cpp/arrow/matlab/tabular/proxy/record_batch.cc index 7414f263b5a4c..ed30472f6c4a2 100644 --- a/matlab/src/cpp/arrow/matlab/tabular/proxy/record_batch.cc +++ b/matlab/src/cpp/arrow/matlab/tabular/proxy/record_batch.cc @@ -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()};