We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7094cd6 commit 6a0df9eCopy full SHA for 6a0df9e
1 file changed
cpp/src/arrow/ipc/reader.cc
@@ -1427,8 +1427,8 @@ class RecordBatchFileReaderImpl : public RecordBatchFileReader {
1427
Result<int64_t> RecordBatchCountRows(int i) override {
1428
DCHECK_GE(i, 0);
1429
DCHECK_LT(i, num_record_batches());
1430
- ARROW_ASSIGN_OR_RAISE(auto outer_message,
1431
- ReadMessageFromBlock(GetRecordBatchBlock(i)));
+ ARROW_ASSIGN_OR_RAISE(auto block, GetRecordBatchBlock(i));
+ ARROW_ASSIGN_OR_RAISE(auto outer_message, ReadMessageFromBlock(block));
1432
auto metadata = outer_message->metadata();
1433
const flatbuf::Message* message = nullptr;
1434
RETURN_NOT_OK(
0 commit comments