You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Andrew Pilloud (Jira)" <ji...@apache.org> on 2021/10/18 23:38:00 UTC
[jira] [Commented] (BEAM-13056) Add method to fetch ProcessContext
FieldAccess
[ https://issues.apache.org/jira/browse/BEAM-13056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17430260#comment-17430260 ]
Andrew Pilloud commented on BEAM-13056:
---------------------------------------
I updated this bug, it seems I completely misunderstood what the existing fieldAccessDeclarations method did. It only lists the @FieldAccess on the class, which doesn't actually tell you what is actually accessed.
> Add method to fetch ProcessContext FieldAccess
> ----------------------------------------------
>
> Key: BEAM-13056
> URL: https://issues.apache.org/jira/browse/BEAM-13056
> Project: Beam
> Issue Type: Bug
> Components: sdk-java-core
> Reporter: Andrew Pilloud
> Assignee: Andrew Pilloud
> Priority: P1
>
> There is DoFnSignature.fieldAccessDeclarations, which returns declared FieldAccess, but we are missing a way to return the set of FieldAccess that is actually used.
> Aside from what is returned by fieldAccessDeclarations, there are implicit FieldAccessDescriptor.withAllFields() created by @Element and @ProcessContext.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)