You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/04 21:01:54 UTC

[GitHub] [beam] damccorm opened a new issue, #21067: KVs should not be needed when using schemas

damccorm opened a new issue, #21067:
URL: https://github.com/apache/beam/issues/21067

   When using schemas there should be no need to require a KV, as any. key or keys can be act as the K or a V in a KV. Users can use schemas without the need for KV in all cases except for state/timers DoFns, which today require that the input have type KV. We would like to eliminate this requirement. Users should be able to specify a key field extraction in their ParDo, e.g.
   
   ParDo.of(...).withKeyFields("user.location.city"));
   
   Or in the DoFn itself.
   
   Imported from Jira [BEAM-12795](https://issues.apache.org/jira/browse/BEAM-12795). Original Jira may contain additional context.
   Reported by: reuvenlax.


-- 
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: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org