22#include <arrow/type_fwd.h>
25#include "iceberg/schema_util.h"
27namespace iceberg::parquet {
38Result<std::shared_ptr<::arrow::RecordBatch>> ProjectRecordBatch(
39 std::shared_ptr<::arrow::RecordBatch> record_batch,
40 const std::shared_ptr<::arrow::Schema>& output_arrow_schema,
41 const Schema& projected_schema,
const SchemaProjection& projection,
42 const arrow::MetadataColumnContext& metadata_context, ::arrow::MemoryPool* pool);