[ 
https://issues.apache.org/jira/browse/BEAM-14499?focusedWorklogId=773712&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-773712
 ]

ASF GitHub Bot logged work on BEAM-14499:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 23/May/22 19:49
            Start Date: 23/May/22 19:49
    Worklog Time Spent: 10m 
      Work Description: jrmccluskey commented on code in PR #17735:
URL: https://github.com/apache/beam/pull/17735#discussion_r879814739


##########
sdks/go/pkg/beam/pardo.go:
##########
@@ -63,7 +65,8 @@ func TryParDo(s Scope, dofn interface{}, col PCollection, 
opts ...Option) ([]PCo
                        return nil, fmt.Errorf("main input is global windowed 
in DoFn %v but side input %v is not, cannot map windows correctly. Consider 
re-windowing the side input PCollection before use", fn, i)
                }
                if (sideWfn.Kind == window.GlobalWindows) && 
!sideNode.Bounded() {
-                       return nil, fmt.Errorf("side input %v is global 
windowed in DoFn %v but is unbounded, DoFn will block until end of Global 
Window. Consider windowing your unbounded side input PCollection before use", 
i, fn)
+                       // TODO(BEAM-14501): Replace this warning with an error 
return when proper streaming test functions have been added.
+                       log.Warnf(context.Background(), "side input %v is 
global windowed in DoFn %v but is unbounded, DoFn will block until end of 
Global Window. Consider windowing your unbounded side input PCollection before 
use", i, fn)

Review Comment:
   That's a good note. Added.





Issue Time Tracking
-------------------

    Worklog Id:     (was: 773712)
    Time Spent: 5.5h  (was: 5h 20m)

> TestStream tests are broken after new construction check was added
> ------------------------------------------------------------------
>
>                 Key: BEAM-14499
>                 URL: https://issues.apache.org/jira/browse/BEAM-14499
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-go
>            Reporter: Jack McCluskey
>            Assignee: Jack McCluskey
>            Priority: P2
>          Time Spent: 5.5h
>  Remaining Estimate: 0h
>
> The Go SDK's TestStream integration tests are currently failing as a result 
> of the restrictions on creating unwindowed, unbounded side inputs being added 
> for BEAM-14473. These should be fixed so the Flink PostCommit tests give 
> signal again. 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to