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

Fix the error message strings for runtime type check errors

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Triage Needed
    • Priority: P2
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: sdk-py-core
    • Labels:

      Description

      Currently, runtime type check errors yield error messages that display the label of a transform prefixed with 'ParDo'.

      • For instance, an error in a DoFn named 'ToInt' would show up as 'ParDo(ToInt)' in the error message.
      • However, this is incorrect behavior in certain cases, such as with Maps or Composite ParDo's. These should not be prefixed with 'ParDo'.

       

      This Jira issue would update the error messages to more accurately reflect the nature of the original transform. Tests would need to be updated to reflect the new error string changes as well.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                saavan Saavan Nanavati
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

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