manuzhang commented on code in PR #1137:
URL: https://github.com/apache/iceberg-cpp/pull/1137#discussion_r4595038397
##########
src/iceberg/parquet/parquet_data_util.cc:
##########
@@ -222,7 +222,12 @@ Result<std::shared_ptr<::arrow::Array>> ProjectStructArray(
std::shared_ptr<::arrow::Array> projected_array;
- if (field_projection.kind == FieldProjection::Kind::kProjected) {
+ if (MetadataColumns::IsRowLineageColumn(projected_field.field_id()) &&
Review Comment:
Can the case `projection.kind == FieldProjection::Kind::kNull` be combined
here like in `avro_data_util.cc` and `avro_direct_decoder.cc`? Or put in the
same util method as suggested above.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]