apache / apache/beam

[Bug]: Pipelines with unbounded PCollections but without `--streaming` incorrectly print a warning message on Dataflow

Open
#22,120 1 comment 0 reactions 0 assignees View on GitHub
bug dataflow P2 runners
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

### What happened?

#16773 seems to have caused spurious warnings for pipelines with unbounded PCollections but that don't set `--streaming`. Previously they would correctly be inferred to run in streaming mode in Dataflow, after this change they still are, however a very ominous warning is logged:

```
WARNING: Unbounded PCollection(s) found in a batch pipeline! You might consider using 'streaming=true'! Unbounded PCollection(s):
```

### Issue Priority

Priority: 2

### Issue Component

Component: runner-dataflow

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.