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

Python "object" row type rejects null values.

Details

    • Bug
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • None
    • 2.36.0
    • dsl-dataframe, sdk-py-core
    • None

    Description

      Though technically Any == Optional[Any], we should ensure this turns into a nullable field in the inferred row type.

      with beam.Pipeline() as p:
           to_pcollection(pd.DataFrame({'A': [1, '2', float('nan')]}), pipeline=p)
      

      Attachments

        Issue Links

          Activity

            People

              robertwb Robert Bradshaw
              robertwb Robert Bradshaw
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 1.5h
                  1.5h

                  Slack

                    Issue deployment