apache / incubator-streampark

Make stream processing easier! Easy-to-use streaming application development framework and operation platform.
https://streampark.apache.org/
Apache License 2.0
3.89k stars 1.01k forks source link

[Bug] The main method caused an error: StreamTableEnvironment can not run in batch mode for now, please use TableEnvironment. #1642

Closed yinshan612 closed 2 years ago

yinshan612 commented 2 years ago

Search before asking

What happened

After I changed the mode of the built-in sqldemo from streaming to batch, I reported an error

StreamPark Version

1.2.4

Java Version

No response

Flink Version

1.13.5

Scala Version of Flink

2.12

Error Exception

After I changed the mode of the built-in sqldemo from streaming to batch, I reported an error

Screenshots

f41f711301c0b3462875617213041de ba019eaf5598ec5b1f51e7642021f50

Are you willing to submit PR?

Code of Conduct

wolfboys commented 2 years ago

Thanks for your feedback, It's a bug, we'll fix it quickly