aihai commented on pull request #7210: URL: https://github.com/apache/incubator-doris/pull/7210#issuecomment-979840652
@morningman @hf200012 首先非常感谢之前的各种反馈. 在学习理解doris-flink的过程中, 产生了一些不太成熟的想法, 希望能得到两位的意见和建议, 再次表示感谢. 想法如下: 1. Maven ArtifactId: 是否可以修改为flink-connector-doris, 符合Flink社区的命名风格 2. Sink: StreamLoad目前支持CSV和JSON两种数据格式, Sink已经实现了针对Flink数据类型RowData的处理,转换为(1)JSON或者(2)\t列分割\n行分割两种数据格式 为了能提供更加易于使用和理解的API以及后续代码逻辑的维护, 是否可以调整为针对RowData数据类型的转换只支持一种(1)或者(2)[可扩展性建议(1), 性能建议(2)] 调整以后的API不再需要定义数据格式, Sink内部访问StreamLoad提交数据的时候也不再需要根据定义的数据格式构造请求内容 3. 批量删除: SteamLoad是否有直接置位__DELETE_SIGN__的方式, 通过其他字段标识的方式可能需要使用者额外的增加一个软删除数据列 如果可以直接置位, 针对Flink的Changelog(RowData.RowKind), Sink可以方便实现数据的增加,更新和删除 4. DorisStreamLoad和RestService的关系是什么, 是否有可能将两者合并, 将网络请求和请求响应解析封装. -- 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