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

to_pcollection does not support timestamp types

Details

    • Improvement
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • 2.32.0
    • dsl-dataframe
    • None

    Description

      We do not currently support converting timestamps directly from a deferred dataframe to a schema'd PCollection. It will raise an error like:

      TypeError: Unsupported dtype in proxy: 'datetime64[ns]'
      

      Note that pandas timestamps are nanosecond precision by default, while Beam's Timestamp type is microsecond precision.

      Attachments

        Issue Links

          Activity

            People

              bhulette Brian Hulette
              bhulette Brian Hulette
              Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 2.5h
                  2.5h