[
https://issues.apache.org/jira/browse/BEAM-7334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17122810#comment-17122810
]
Beam JIRA Bot commented on BEAM-7334:
-------------------------------------
This issue is P2 but has been unassigned without any comment for 60 days so it
has been labeled "stale-P2". If this issue is still affecting you, we care!
Please comment and remove the label. Otherwise, in 14 days the issue will be
moved to P3.
Please see https://beam.apache.org/contribute/jira-priorities/ for a detailed
explanation of what these priorities mean.
> Create a better Schema builder
> ------------------------------
>
> Key: BEAM-7334
> URL: https://issues.apache.org/jira/browse/BEAM-7334
> Project: Beam
> Issue Type: Sub-task
> Components: sdk-java-core
> Reporter: Reuven Lax
> Priority: P2
> Labels: stale-P2
>
> Right now the Schema builder class is a bit verbose to use. The AddFields
> transform already contains a nicer way of building schemas, but it's coupled
> to that transform. We should refactor that code and make it available in the
> Schema builder. That would allow coder of the form
> Schema schema = Schema.builder()
> .addField("a", INT32)
> .addField("a.b", STRING)
> .addField("a.c", INT32).build();
>
> Which is much more concise for nested fields.
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)