bytedance / bitsail

BitSail is a distributed high-performance data integration engine which supports batch, streaming and incremental scenarios. BitSail is widely used to synchronize hundreds of trillions of data every day.
https://bytedance.github.io/bitsail/
Apache License 2.0
1.6k stars 328 forks source link

[Improve][Core] Update Exception Information in DelegateFlinkWriter #452

Closed liuxiaocs7 closed 1 year ago

liuxiaocs7 commented 1 year ago

Description

The Exception information throw new IOException("Couldn't write date - " + value, e); is confusing when fails.

https://github.com/bytedance/bitsail/blob/22987d3cf93ca242bb6aa8e82c13eba874a4b29a/bitsail-cores/bitsail-core-flink/bitsail-core-flink-1.11-bridge/src/main/java/com/bytedance/bitsail/core/flink/bridge/writer/delegate/DelegateFlinkWriter.java#L210-L212

It should be throw new IOException("Couldn't write data - " + value, e); instead?

BitSail Component or Code Module

BitSail Core

Are you willing to submit PR?

Code of Conduct