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

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

    [ https://issues.apache.org/jira/browse/BEAM-12853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17411431#comment-17411431 ] 

Kyle Weaver commented on BEAM-12853:
------------------------------------

Any idea why this test passed before?

> 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
>            Assignee: Andrew Pilloud
>            Priority: P2
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)