From 0bea1609ff852c689e47bd570c9ae23e1d145027 Mon Sep 17 00:00:00 2001 From: light-city <455954986@qq.com> Date: Thu, 28 Sep 2023 09:38:10 +0800 Subject: [PATCH] fix col --- cpp/src/arrow/record_batch.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/arrow/record_batch.cc b/cpp/src/arrow/record_batch.cc index 5f1f192133beb..5e749f661f561 100644 --- a/cpp/src/arrow/record_batch.cc +++ b/cpp/src/arrow/record_batch.cc @@ -466,7 +466,7 @@ Result> ConcatenateRecordBatches( length = array->length(); } else if (length != array->length()) { return Status::Invalid( - "column index ", i, " length is ", array->length(), + "column index ", col, " length is ", array->length(), ", does not match the length of previous columns: ", length); } columns.push_back(array);