[
https://issues.apache.org/jira/browse/BEAM-9616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17548648#comment-17548648
]
Danny McCormick commented on BEAM-9616:
---------------------------------------
This issue has been migrated to https://github.com/apache/beam/issues/20271
> [Go SDK] starcgen improvements
> ------------------------------
>
> Key: BEAM-9616
> URL: https://issues.apache.org/jira/browse/BEAM-9616
> Project: Beam
> Issue Type: Improvement
> Components: sdk-go
> Reporter: Robert Burke
> Priority: P3
> Labels: golang
> Time Spent: 3h 10m
> Remaining Estimate: 0h
>
> The starcgen code generator works OK, but could do with some improvements.
> * Uniquifying imports (handling multiple imports with same short suffix)
> * Generating multiple iterNatives (eg when the normal symbol is already
> taken).
> * Keying off of beam.Register* calls rather than command line.
> ** Avoids duplicating lists of identifiers, and improves default behavior.
> ** Possibly have a new beam.RegisterDoFn which can take a list of DoFn and
> struct types a function or a struct, and key off those, reducing boiler plate
> somewhat.
> * Perhaps having a specific single import alias package for components
> required for import, rather than the current 3-4.
> * Generate efficient Beam Schema coders for registered types?
> * Handle SplittableDoFns properly.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)