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

[Go SDK] Beam Schemas

Details

    • New Feature
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • Missing
    • sdk-go

    Description

      Schema support is required for advanced cross language features in Beam, and has the opportunity to replace the current default JSON encoding of elements.

      Some quick notes, though a better fleshed out doc with details will be forthcoming:

      • All base coders should be implemented, and listed as coder capabilities. I think only stringutf8 is missing presently.
      • Should support fairly arbitrary user types, seamlessly. That is, users should be able to rely on it "just working" if their type is compatible.
      • Should support schema metadata tagging.

      In particular, one breaking shift in the default will be to explicitly fail pipelines if elements have unexported fields, when no other custom coder has been added. This has been a source of errors/dropped data/keys and a simply warning at construction time won't cut it. However, we could provide a manual "use beam schemas, but ignore unexported fields" registration as a work around.

      Edit: Doc is now at https://s.apache.org/beam-go-schemas

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 29h 40m
                29h 40m