[Bug]: Pipelines with unbounded PCollections but without `--streaming` incorrectly print a warning message on Dataflow
Open
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
Assessment
This issue has not been assessed yet.