Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-9616

[Go SDK] starcgen improvements

Details

    • Improvement
    • Status: Open
    • P3
    • Resolution: Unresolved
    • None
    • None
    • sdk-go

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            lostluck Robert Burke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 3h 10m
                3h 10m