You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Andrew Pilloud (Jira)" <ji...@apache.org> on 2021/09/07 16:07:00 UTC

[jira] [Created] (BEAM-12853) PubSubTableProvider tries to set windows after GroupByKey

Andrew Pilloud created BEAM-12853:
-------------------------------------

             Summary: PubSubTableProvider tries to set windows after GroupByKey
                 Key: BEAM-12853
                 URL: https://issues.apache.org/jira/browse/BEAM-12853
             Project: Beam
          Issue Type: Bug
          Components: dsl-sql
            Reporter: Andrew Pilloud


A SqlTransform may contain a GroupByKey in the global window, this prevents setting windows afterwards. The PubSubTableProvider tries anyway.

This was exposed by a INSERT INTO pubsub VALUES (1), (2), which implicitly becomes INSERT INTO pubsub SELECT 1 UNION SELECT 2. This then becomes a GroupByKey union.

For now I'm going to simplify the test.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)