inlong
inlong copied to clipboard
[Bug][Sort] When use multiple flink sink to iceberg, it happends NPE
What happened
Use flink sink multiple to write to iceberg, NPE appears.

What you expected to happen
The reason is that flinkWriteConf has not been initialized when use flink sink multiple to write to iceberg.
It can be initialized in the chainIcebergMultipleSinkOperators(), but it is used directly in the appendMultipleCommitter().
NPE will not occur when FlinkSink single table is written to iceberg, because flinkWriteConf will be initialized
How to reproduce
Use FlinkSink multiple to write to iceberg
Environment
No response
InLong version
master
InLong Component
InLong Sort
Are you willing to submit PR?
- [X] Yes, I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
https://github.com/apache/inlong/pull/7364 had fixed this error @hejiay
Fixed.