[
https://issues.apache.org/jira/browse/BEAM-4457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17030397#comment-17030397
]
Alex Van Boxel commented on BEAM-4457:
--------------------------------------
I remember the days when I wrote Apache Pig that it had a similar concept as
well. Another part where this could benefit it the ToRow function where the row
gets materialized in a RowWithStorage. Only the fields that are accessed should
be materialized.
> Analyze FieldAccessDescriptors and drop fields that are never accessed
> ----------------------------------------------------------------------
>
> Key: BEAM-4457
> URL: https://issues.apache.org/jira/browse/BEAM-4457
> Project: Beam
> Issue Type: Sub-task
> Components: io-java-gcp
> Reporter: Reuven Lax
> Assignee: Reuven Lax
> Priority: Major
>
> We can walk backwards through the graph, analyzing which fields are accessed.
> When we find paths where many fields are never accessed, we can insert a
> projection transform to drop those fields preemptively. This can save a lot
> of resources in the case where many fields in the input are never accessed.
> To do this, the FieldAccessDescriptor information must be added to the
> portability protos.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)