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 9fbe44e commit 791adbbCopy full SHA for 791adbb
src/iceberg/parquet/parquet_data_util.cc
@@ -274,7 +274,7 @@ Result<std::shared_ptr<::arrow::RecordBatch>> ProjectRecordBatch(
274
auto output_array,
275
ProjectNestedArray(array, ::arrow::struct_(output_arrow_schema->fields()),
276
projected_schema, projection.fields, pool));
277
- auto struct_array = internal::checked_pointer_cast<::arrow::StructArray>(output_array);
+ auto* struct_array = internal::checked_cast<::arrow::StructArray*>(output_array.get());
278
return ::arrow::RecordBatch::Make(output_arrow_schema, record_batch->num_rows(),
279
struct_array->fields());
280
}
0 commit comments