datavane / tis

Support agile DataOps Based on Flink, DataX and Flink-CDC, Chunjun with Web-UI
https://tis.pub
Apache License 2.0
1.04k stars 222 forks source link

写入clickhosue时自动建表bug #292

Closed Tandoy closed 9 months ago

Tandoy commented 11 months ago

当切分主健选两个时,生成的DDL存在问题:order by 应该是用括号包含 1

2

baisui1981 commented 11 months ago

收到,暂时你可以通过手动编辑修改一下,右上角有保存按钮

Tandoy commented 11 months ago

收到,暂时你可以通过手动编辑修改一下,右上角有保存按钮

好的,谢谢。有想法提交pr修复~

baisui1981 commented 11 months ago

收到,暂时你可以通过手动编辑修改一下,右上角有保存按钮

就是这行逻辑修改一下就行 :https://github.com/qlangtech/plugins/blob/ad516c39862a8da21f2c604441474a726e3f0d57/tis-datax/tis-datax-clickhouse-plugin/src/main/java/com/qlangtech/tis/plugin/datax/DataXClickhouseWriter.java#L97

Tandoy commented 11 months ago

收到,暂时你可以通过手动编辑修改一下,右上角有保存按钮

就是这行逻辑修改一下就行 :https://github.com/qlangtech/plugins/blob/ad516c39862a8da21f2c604441474a726e3f0d57/tis-datax/tis-datax-clickhouse-plugin/src/main/java/com/qlangtech/tis/plugin/datax/DataXClickhouseWriter.java#L97

好的,这样子的话您那边修复吧。