JNSimba commented on pull request #7210: URL: https://github.com/apache/incubator-doris/pull/7210#issuecomment-981519148
> Thank you for reply. > > 2. Sink: Yes, only support one import format for Rowdata. > `DorisDynamicOutputFormat.addBatch` and `DorisDynamicOutputFormat.flush` may be simpler. > 3. Batch delete: `merge_type: DELETE` is a good method for delete. If there are two records in a batch : one is delete and the other is append, `merge_type: MERGE` can solve , maybe is there a better method? Thank you, your suggestion is great. 2. The reason is that at the beginning, flink-connector only supports csv, and the json format import was added later. In order to be compatible with historical versions, two formats are reserved. 3. The idea of using merge is great, especially when there are append and deleted events in a batch of data, you can directly set __DELETE_SIGN__ to 1, so there is no need to split into multiple batches of data, but StreamLoad does not seem to provide modification at present __DELETE_SIGN__ way -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org