kiszk commented on a change in pull request #7507: URL: https://github.com/apache/arrow/pull/7507#discussion_r521499870
########## File path: cpp/src/arrow/ipc/reader.cc ########## @@ -664,14 +690,15 @@ Result<std::shared_ptr<RecordBatch>> ReadRecordBatch( std::shared_ptr<Schema> out_schema; // Empty means do not use std::vector<bool> inclusion_mask; - RETURN_NOT_OK(GetInclusionMaskAndOutSchema(schema, options.included_fields, + DictionaryKind kind; Review comment: Yes, it is not used, This is a dummy variable to allocate an IpcReadContext(). ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org