kennknowles opened a new issue, #18917:
URL: https://github.com/apache/beam/issues/18917
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.
Imported from Jira
[BEAM-7334](https://issues.apache.org/jira/browse/BEAM-7334). Original Jira may
contain additional context.
Reported by: reuvenlax.
Subtask of issue #18898
--
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]