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

Writing to BigQuery raises a TypeError "GlobalWindow -> ._IntervalWindowBase"

Details

    • Bug
    • Status: Open
    • P3
    • Resolution: Unresolved
    • 2.24.0, 2.25.0, 2.26.0, 2.27.0, 2.28.0, 2.29.0
    • None
    • io-py-gcp

    Description

      I have a pipeline that reads from a PubSub topic, does some transforms and then writes to BigQuery. The exception message is this: Cannot convert GlobalWindow to apache_beam.utils.windowed_value._IntervalWindowBase

      You can find the main part of the pipeline here https://gist.github.com/PlugaruT/4666406bd8792b7b196dc1519c8885a2

      The first part is basically reading from Pub/Sub and then I apply this PTranform.

      And here is the gigantic stack trace: https://gist.github.com/PlugaruT/52bf3834eec95fd5cc5779d3332e1433

       

      I've tried to downgrade to 2.24.0 version but this is still happening.

      Also, I can't reproduce the exception locally when I run the pipeline with DirectRunner. It's happening only when running on Dataflow.

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            PlugaruT Tudor Plugaru
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: