FFFF 1.10 release by weifuziang · Pull Request #406 · DTStack/flinkStreamSQL · GitHub
[go: up one dir, main page]

Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
275 commits
Select commit Hold shift + click to select a range
b606657
[hotfix-34751][core] udf 注册使用当前线程classloader
xiuzhu9527 Jan 19, 2021
86fc22a
Merge branch 'feat_1.10_dirtyDataConsumer' into hotfix_1.10_4.1.x_34810
FlechazoW Jan 19, 2021
a59e859
[tmp][core]修改对维表回测流对支持
Jan 19, 2021
f61e779
[opt-34810][hbase][dirty] 调整hbase batch 提交脏数据处理逻辑;优化脏数据日志打印内容
FlechazoW Jan 19, 2021
f64705e
[tmp][core]修改对维表回测流对支持
Jan 19, 2021
d13b07a
Merge branch 'hotfix_1.10_4.0.x_33042' into 1.10_release_4.0.x
Jan 19, 2021
c0591a3
Merge branch '1.10_release_4.0.x' into 1.10_release_4.1.x
Jan 19, 2021
8ea9191
Merge branch 'hotfix_1.10_4.0.x_34751' into 1.10_release_4.0.x
Jan 19, 2021
635b9df
Merge branch '1.10_release_4.0.x' into 1.10_release_4.1.x
Jan 19, 2021
407e979
Merge branch 'hotfix_1.10_4.0.x_34801' into 1.10_release_4.0.x
Jan 19, 2021
e6db0fe
Merge branch '1.10_release_4.0.x' into 1.10_release_4.1.x
Jan 19, 2021
40b2b20
Merge branch 'hotfix_1.10_4.0.x_34812' into 1.10_release_4.0.x
Jan 19, 2021
dd55139
Merge branch '1.10_release_4.0.x' into 1.10_release_4.1.x
Jan 19, 2021
6b1a0c4
[fix-34834][HBase] fix HBase dirty data not print with batchSize.
FlechazoW Jan 20, 2021
ab471a3
Merge branch 'hotfix_1.10_4.0.x_34834' into 1.10_release_4.0.x
Jan 20, 2021
7bbd2da
[opt-34810][HBase][core]优化脏数据打印,修复在prejob模式下,脏数据插件序列化失败问题
FlechazoW Jan 20, 2021
3273bfb
Merge branch 'hotfix_1.10_4.1.x_34810' into 1.10_release_4.1.x
Jan 22, 2021
5fb09f7
[hotfix-34950][core]prevent current sql use last sql's sideTableInfo
HiLany Jan 22, 2021
ea50a0a
[hotfix-34950][core]Modify the reference name to the object
HiLany Jan 22, 2021
d798482
Merge branch '1.10_release_4.0.x' into temp_4.1.x_release
FlechazoW Jan 22, 2021
06f0cc1
[hotfix-32959][core] join dim table and group need retract , but wind…
simenliuxing Jan 23, 2021
fa95faf
[hotfix-32959][core] optimization join dim table double group retract.
simenliuxing Jan 25, 2021
84b25b3
[hotfix-34999][elasticsearch5][sink]optimize es5's pom and adjusted g…
HiLany Jan 25, 2021
f1e98f8
[hotfix-34999][elasticsearch6][sink]optimize es6's pom and adjusted g…
HiLany Jan 25, 2021
a7eb863
[hotfix-34999][docs]modified es sink docs
HiLany Jan 25, 2021
a7d36b5
[hotfix-35067][rdb] share rdb async connect rollback
simenliuxing Jan 25, 2021
4d8f26a
merge conflicts.
HiLany Jan 25, 2021
2d80515
[feat-269][elasticsearch5][sink]compatible old version of generate do…
HiLany Jan 26, 2021
4e43e74
[feat-269][elasticsearch6][sink]compatible old version of generate do…
HiLany Jan 26, 2021
70f68ad
[feat-269][docs]modified es sink's doc
HiLany Jan 26, 2021
2f6d5bb
[hotfix-32959][core] opt join dim table double group retract
simenliuxing Jan 26, 2021
cd0be00
[fix-35168][core] new class loader for get plan
FlechazoW Jan 28, 2021
a04ef86
[merge] hotfix_1.10_4.0.x_35168 -> tmp_1.10_release_4.1.x
Jan 29, 2021
18cf190
Merge branch '1.10_release_4.0.x' into 1.10_release_4.1.x
Jan 29, 2021
ac0371e
[fix-35187][rdb]修复连接失败任务不停止
FlechazoW Feb 2, 2021
d022e4b
[fix-35187][rdb]调整代码格式
FlechazoW Feb 2, 2021
dbc9211
[feat-269][elasticsearch5&6][sink]ignore check when ids is null.
HiLany Feb 2, 2021
9e931a7
Merge branch '1.10_release_4.0.x' into 1.10_release_4.1.x
Feb 3, 2021
71a5760
[fix-35290][core] fix watermark metrics throw a warning log
a49a Feb 4, 2021
7691047
[feat-34267][redis] redis support ipv6.
FlechazoW Feb 4, 2021
3b34b09
[feat-34267][redis] redis side support ipv6.
FlechazoW Feb 4, 2021
9281216
[feat-34267][redis] opt code.
FlechazoW Feb 4, 2021
3858180
Merge branch 'hotfix_1.10_4.0.x_32959' into 1.10_release_4.0.x
Feb 5, 2021
138801f
[merge] 1.10_release_4.0.x -> 1.10_release_4.1.x resolve conflict by …
FlechazoW Feb 5, 2021
20cb624
[feat-269][elasticearch6][side] remove unnecessary attribute.
HiLany Feb 5, 2021
b706818
Merge branch 'hotfix_1.10_4.0.x_35290' into 1.10_release_4.0.x
Feb 5, 2021
368ee5f
Merge branch '1.10_release_4.0.x' into 1.10_release_4.1.x
Feb 5, 2021
a78016d
[hotfix_35355][redis] fix redis async plugin connect error on sentine…
FlechazoW Feb 7, 2021
0412966
[hotfix-33981][elasticsearch5&6]log framework has been replaced from …
HiLany Feb 19, 2021
c3fa7b0
Merge branch '1.10_release_4.0.x' into 1.10_release_4.1.x
Feb 19, 2021
ecba96c
[hotfix-35392][core] all unit test.
simenliuxing Feb 19, 2021
efc0734
[hotfix-35392][flink.sql] change branche.
simenliuxing Feb 19, 2021
b583a80
Merge branch '1.10_release_4.0.x_UnitTest' into 1.10_release_4.0.x
Feb 19, 2021
fe4f498
Merge branch '1.10_release_4.0.x' into 1.10_release_4.1.x
Feb 19, 2021
d4ac5e1
[hotfix-35392][test] modify test to make 'mvn test' command succeed.
FlechazoW Feb 19, 2021
d688310
Merge branch 'hotfix_1.10_4.0.x_35355' into 1.10_release_4.0.x
Feb 22, 2021
bd722f1
Merge branch '1.10_release_4.0.x' into 1.10_release_4.1.x
Feb 22, 2021
88d1230
[fix-35378] optimize sonar scan result, update gitlab ci script
a49a Feb 19, 2021
e4d71f0
Merge remote-tracking branch 'origin/1.10_release_4.1.x' into hotfix_…
a49a Feb 24, 2021
89b25a9
[merge] merge 1.10_test_4.1.x -> 1.10_4.1.x_release and resolve confl…
FlechazoW Feb 25, 2021
f4aebe7
[hotfix-35470][core] fix cannot create view when union two table(view)
simenliuxing Feb 26, 2021
4c3637c
[feat-35353][elasticsearch5-xh][sink]adapt the elasticsearch(tdh) wit…
HiLany Feb 27, 2021
b89cd9c
[hotfix-35464][side-table] The side table will throw an exception whe…
FlechazoW Mar 1, 2021
6386fb4
Merge branch '1.10_release_4.0.x' into 1.10_release_4.1.x
Mar 1, 2021
c46cb5c
Merge branch 'hotfix_1.10_4.0.x_35464' into 1.10_release_4.0.x
Mar 1, 2021
d8a2b0a
Merge branch '1.10_release_4.0.x' into temp_1.10_4.1.x_release
FlechazoW Mar 1, 2021
1e8948e
Merge branch '1.10_release_4.1.x' into tmp_1.10_release_4.1x
FlechazoW Mar 2, 2021
5014c4e
[merge] merge and resolve conflict by tiezhu.
FlechazoW Mar 2, 2021
61d8d2a
[feat-35406][http] add http sink plugin
simenliuxing Mar 3, 2021
c822d05
[feat-35406][docs] add http sink plugin doc
simenliuxing Mar 3, 2021
c59ec4c
[feat-35406][http] close http connection after send data
simenliuxing Mar 3, 2021
da5c0a3
[feat-35353][elasticsearch-xh][sink] add features that dirty data rec…
HiLany Mar 3, 2021
5854b1c
[hotfix-35505][kudu]
FlechazoW Mar 3, 2021
f9dd187
Merge branch '1.10_release_4.0.x' into 1.10_release_4.1.x
Mar 4, 2021
76a39d9
Merge branch 'feat_1.10_es5Kerberos' into 1.10_release_4.0.x
Mar 8, 2021
d2bd977
[merge]resolve conflits from merge.
HiLany Mar 8, 2021
a03faa0
[hotfix-35526][rdb]调整rdb获取连接方法调用,统一走JdbcConnectUtil的getConnectWithRetry
FlechazoW Mar 8, 2021
530b86a
[hotfix-35512][impala] 1.增加批量写入时出现异常,将批量sql转为单条sql执行 2.fix inserting …
FlechazoW Mar 4, 2021
f08eeef
Merge branch '1.10_release_4.1.x' into hotfix_1.10_4.1.x_35526
FlechazoW Mar 8, 2021
14fcc06
Merge branch '1.10_release_4.0.x' into hotfix_1.10_4.0.x_35512
FlechazoW Mar 8, 2021
402670c
[hotfix-35512][rdb] adjust code.
FlechazoW Mar 8, 2021
f7d94b0
Merge branch 'hotfix_1.10_4.0.x_35512' into temp_1.10_4.1.x_release
FlechazoW Mar 8, 2021
c76fb0b
[hotfix-35512][impala] 1.增加批量写入时出现异常,将批量sql转为单条sql执行 2.fix inserting …
FlechazoW Mar 8, 2021
adbb5d7
Merge branch 'hotfix_1.10_4.1.x_35526' into 1.10_release_4.1.x
Mar 8, 2021
4121a31
[hotfix-35535][impala] 修复因为代码合并导致release代码无法编译
FlechazoW Mar 9, 2021
7616174
[merge]resolve conflits from merge.
HiLany Mar 9, 2021
d02cb08
[merge]resolve conflit from merge.
HiLany Mar 9, 2021
0fb6f05
[hotfix-1754][side] 维表增加对常量不等于、不小于等条件的支持
FlechazoW Mar 9, 2021
754d0e5
[docs][elasticsearch5&6&7]add and update elasticsearch's doc
HiLany Mar 9, 2021
043d114
Merge branch '1.10_release_4.0.x' into 1.10_release_4.1.x
Mar 10, 2021
747a642
[hotfix-34789][elasticsearch5&6][sink]support timestamp datatype.
HiLany Mar 10, 2021
ff22e90
[merge]reslove conflits from merge
HiLany Mar 10, 2021
fab410f
[feat-35405][file] add file source. Support fileFormat [json] and [cs…
FlechazoW Mar 9, 2021
a7cb12c
Merge branch '1.10_release_4.1.x' into feat_1.10_4.1.x_35399
FlechazoW Mar 10, 2021
310b0fd
[hotfix-35548][hbase] 修复hbase批量写入,对返回的result判断有误,导致脏数据记录错误。
FlechazoW Mar 11, 2021
db0b05a
[hotfix-35548][hbase] 修复hbase批量写入,对返回的result判断有误,导致脏数据记录错误。
FlechazoW Mar 11, 2021
abab554
[hotfix-1772][rdb] 调整rdb errorLimit初始值,当出现脏数据,任务立即停止.
FlechazoW Mar 10, 2021
b97ef2c
Merge branch 'hotfix_1.10_4.0.x_1754' into 1.10_release_4.0.x
Mar 12, 2021
5af6ca4
Merge branch '1.10_release_4.0.x' into 1.10_release_4.1.x
Mar 12, 2021
d4ddd57
Merge branch 'hotfix_1.10_4.1.x_1772' into 1.10_release_4.1.x
Mar 12, 2021
21ba5c6
Merge branch 'hotfix_1.10_4.0.x_35548' into 1.10_release_4.0.x
Mar 12, 2021
333506a
Merge branch 'hotfix_1.10_4.1.x_35548' into 1.10_release_4.1.x
Mar 12, 2021
738a4c7
[feat-35406][http] change delay 20 to 50
simenliuxing Mar 14, 2021
2aa79ab
Merge branch 'hotfix_1.10_34789' into 1.10_release_4.0.x
Mar 15, 2021
fe7880a
[merge]resolve conflits from merge
HiLany Mar 15, 2021
27a6dd4
Merge remote-tracking branch 'origin/feat_1.10_4.1.x_35406' into feat…
FlechazoW Mar 17, 2021
6285743
[hotfix-35753][impala] fix String.replaceFirst中的坑,replaceFirst("\\?",…
FlechazoW Mar 22, 2021
7575a12
[feat-35399]1.[http] 使用PoolingHttpClientConnectionManager来创建连接线程池; 2.…
FlechazoW Mar 17, 2021
6241988
Merge branch 'feat_1.10_4.1.x_35399_test' into '1.10_test_4.2.x'
zoudaokoulife Mar 22, 2021
c2f57cd
Merge branch '1.10_release_4.0.x' into 1.10_release_4.1.x
Mar 22, 2021
b86b8df
[hotfix-35786][dirty] 修改dirty plugins的插件地址参数,移除remoteSqlPlugin影响
FlechazoW Mar 23, 2021
30e3058
Merge branch '1.10_release_4.0.x' into feat_1.10_4.0.x_RedisIpv6
FlechazoW Mar 23, 2021
1e32a2e
Merge branch '1.10_release_4.0.x' into 1.10_release_4.1.x
Mar 23, 2021
fe58714
Merge branch 'hotfix_1.10_4.2.x_35786' into 1.10_test_4.2.x
Mar 23, 2021
7414cc3
[feat-35839][file] File source 增加脏数据的记录
FlechazoW Mar 25, 2021
3aeadef
[hotfix-35904][http] 解决http发送中文乱码
FlechazoW Mar 26, 2021
e5a7ccd
Merge branch 'hotfix_1.10_4.2.x_35904' into '1.10_test_4.2.x'
FlechazoW Mar 26, 2021
e51b204
Merge branch 'feat_1.10.4.2.x_fileDirtyData' into 1.10_test_4.2.x
Mar 26, 2021
049cf2b
[hotfix-35993][core] 修复脏数据在设置了remoteSqlPluginPath时任务提交失败,抛出找不到脏数据插件路径的异常
FlechazoW Mar 29, 2021
16c8717
Merge branch '1.10_test_4.2.x' into 1.10_release_4.2.x
Mar 30, 2021
ae402ea
[hotfix-35530][core] 为了避免因为权限校验导致的任务失败,先将权限校验的默认值改为false
FlechazoW Mar 31, 2021
19d4325
Merge branch '1.10_release_4.1.x' into 1.10_release_4.2.x
Apr 1, 2021
40c2c0f
[hotfix-36070][kudu][async] 修复kudu异步维表primary key 类型转化导致查询失败
FlechazoW Apr 2, 2021
b1eb882
Merge branch '1.10_release_4.0.x' into 1.10_release_4.1.x
Apr 2, 2021
cc32339
Merge branch '1.10_release_4.1.x' into 1.10_release_4.2.x
Apr 2, 2021
7c2555f
[hotfix-36143][hbase]修复hbase 写入数据全为null时,table put 异常
FlechazoW Apr 12, 2021
895df3c
[hotfix-36143][hbase]修复hbase 写入数据全为null时,table put 异常
FlechazoW Apr 12, 2021
bd74aa3
Merge branch '1.10_release_4.1.x' into 1.10_release_4.2.x
Apr 12, 2021
8e32d1d
[feat-1049][sqlserver] 修复sqlserver插件bug
FlechazoW Apr 6, 2021
7a001f8
[hotfix-36198][redis] 解决redis异步维表cluster模式连接异常问题
xiuzhu9527 Apr 13, 2021 6880
ad7c84a
[hotfix-36312][core] errorLimit设置默认值10000
xiuzhu9527 Apr 14, 2021
19af9ae
Merge branch '1.10_release_4.0.x' into temp_1.10_release_4.1.x
FlechazoW Apr 14, 2021
4220eee
[hotfix-1417][core] fastjson版本升级为1.2.76
xiuzhu9527 Apr 14, 2021
10db7cf
Merge branch 'hotfix_1.10_4.1.x_36312' into 1.10_release_4.1.x
Apr 14, 2021
39182a2
Merge branch 'hotfix_1.10_4.1.x_36312' into 1.10_release_4.1.x
Apr 14, 2021
b954998
Merge branch '1.10_release_4.1.x' of http://gitlab.prod.dtstack.cn/dt…
Apr 14, 2021
a0514d8
Merge branch '1.10_release_4.1.x' into 1.10_release_4.2.x
Apr 14, 2021
ce250fb
[hotfix-36198] redis async side shade netty
xiuzhu9527 Apr 15, 2021
fd67602
Merge branch '1.10_release_4.0.x' into 1.10_release_4.1.x
Apr 15, 2021
6b75e1b
Merge branch 'feat_1.10_4.1.x_1417' into 1.10_release_4.1.x
Apr 16, 2021
65d0cbb
Merge branch '1.10_release_4.1.x' into 1.10_release_4.2.x
Apr 16, 2021
e052b0b
[hotfix-36409] 维表设置允许错误数限制不生效问题
xiuzhu9527 Apr 14, 2021
0cfc637
Merge branch '1.10_release_4.1.x' into hotfix_1.10_4.1.x_36409
xiuzhu9527 Apr 16, 2021
dcb6bfd
Merge branch '1.10_release_4.1.x' into 1.10_release_4.2.x
Apr 16, 2021
f89d16a
[hotfix-36382][core][es7] org.apache.commons.compress.utils.Lists 和 e…
simenliuxing Apr 16, 2021
577e4bc
[opt-1422][file] file source增加数据指标,增加fromLine参数,调整部分逻辑
FlechazoW Apr 14, 2021
44c3191
[hotfix-36135][core]修复脏数据在k8s环境下local 与 remote 地址不一致时出现找不到插件异常
FlechazoW Apr 19, 2021
4914d94
Merge branch '1.10_release_4.1.x' into 1.10_release_4.2.x
Apr 20, 2021
7c6e8f7
Merge branch 'hotfix_1.10_4.1.x_36135' into 1.10_release_4.1.x
Apr 20, 2021
112c528
Merge branch '1.10_release_4.1.x' into 1.10_release_4.2.x
Apr 20, 2021
29f84ce
[feat-1434][kafka]放开flink对key.deserializer、value.deserializer的限制,使用代理…
kanata163 Apr 21, 2021
1d1374d
[feat-1434][kafka]放开flink对key.deserializer、value.deserializer的限制,使用代理…
kanata163 Apr 21, 2021
70407a8
Merge branch 'feat_1.10_kafkaSpringSerializer' into '1.10_test_4.2.x'
simenliuxing Apr 22, 2021
88984ff
[hotfix-36517][elasticsearch-xh][sink]fix bug which can not found ker…
HiLany Apr 22, 2021
edd5b19
[feat-1434][kafka]增加单测
kanata163 Apr 22, 2021
d108f23
[feat-1434][kafka]增加单测
kanata163 Apr 22, 2021
7270c10
Merge branch 'feat_1.10_kafkaSpringSerializer' into '1.10_test_4.2.x'
a49a Apr 22, 2021
b02da6b
Merge branch '1.10_release_4.2.x' into feat_1.10_4.2.x_sqlserver
FlechazoW Apr 22, 2021
93adac1
Merge branch '1.10_release_4.2.x' into feat_1.10_4.2.x_optFile
FlechazoW Apr 22, 2021
25038bb
[feat-1579][core] oracle的数据为MONEY NUMBER(19, 4)类型,读入到flinkStreamsql后,…
simenliuxing Apr 22, 2021
24cef8c
[hotfix-36521][async-base] 修复如下场景:假设SQL中有三个主键[a, b, c],同时主键[b]的值为null…
FlechazoW Apr 22, 2021
4838811
Merge branch '1.10_release_4.0.x' into 1.10_release_4.1.x
Apr 23, 2021
3e10191
Merge branch '1.10_release_4.1.x' into 1.10_release_4.2.x
Apr 23, 2021
15a770c
Merge branch 'hotfix_1.10_4.0.x_36521' into 1.10_release_4.0.x
Apr 23, 2021
5af9f50
Merge branch '1.10_release_4.0.x' into 1.10_release_4.1.x
Apr 23, 2021
76097c8
Merge branch 'hotfix_1.10_4.0.x_1579' into 1.10_release_4.0.x
Apr 23, 2021
b49510b
Merge branch '1.10_release_4.1.x' into 1.10_release_4.2.x
Apr 23, 2021
9a24123
Merge branch '1.10_release_4.0.x' into 1.10_release_4.1.x
Apr 23, 2021
44eb399
Merge branch '1.10_release_4.1.x' into 1.10_release_4.2.x
Apr 23, 2021
eb303a4
[hotfix-36557][kudu] 修复kudu维表,定义为nullable的字段值为null时,获取数据失败
FlechazoW Apr 23, 2021
f67993f
Merge branch 'hotfix_1.10_4.0.x_36557' into 1.10_release_4.0.x
Apr 25, 2021
be0eeba
Merge branch '1.10_release_4.0.x' into 1.10_release_4.1.x
Apr 25, 2021
8b5b27f
Merge branch '1.10_release_4.1.x' into 1.10_release_4.2.x
Apr 25, 2021
6a76b57
[opt-1422][file] 调整file source 部分代码
FlechazoW Apr 26, 2021
2581a6f
Merge branch '1.10_release_4.2.x' into feat_1.10_4.2.x_optFile
FlechazoW Apr 26, 2021
d57f245
Merge remote-tracking branch 'origin/feat_1.10_4.2.x_sqlserver' into …
FlechazoW Apr 26, 2021
6b44aa3
[feat-1444][kafka] kafka 增加 offsetEnd 参数,完善单测和文档
FlechazoW Apr 27, 2021
bdd2fd8
Merge branch 'feat_1.10_4.2.x_kafkaSampling' into '1.10_test_4.2.x_0426'
a49a Apr 27, 2021
dc2873b
[opt-1422][file] 调整 file 判断 fromLine 的逻辑
FlechazoW Apr 27, 2021
abfbc18
[hotfix-36643][kudu] kudu维表空指针异常,修改查询谓词逻辑
FlechazoW Apr 27, 2021
63a804f
[feat-144][kafka] 修复没有 offsetEnd 参数时导致的空指针异常
FlechazoW Apr 28, 2021
a4d5912
Merge branch '1.10_release_4.0.x' into 1.10_release_4.1.x
Apr 28, 2021
7a4d685
Merge branch '1.10_release_4.1.x' into 1.10_release_4.2.x
Apr 28, 2021
92e5732
[feat-144][kafka] 修复因为specificEndOffsets 获取不到partition值导致的空指针异常
FlechazoW Apr 29, 2021
6e50d11
[opt-36803][file] optimize fileSource code and move parameter "fromLi…
FlechazoW May 6, 2021
2bac9c5
[opt-36805][file] optimize metric of numInRecord. Metric of numInReco…
FlechazoW May 6, 2021
c98e625
[opt-36803][file] Adjust dirty data processing logic.
FlechazoW May 6, 2021
74eaf32
Merge branch 'feat_1.10_4.2.x_fileOpt' into '1.10_test_4.2.x_0426'
FlechazoW May 6, 2021
17e714b
[opt-36803][file] Adjust fileSource metric logic.
FlechazoW May 7, 2021
63a33b1
[opt-36803][file] Adjust fileSource Metric wait time to 20s.
FlechazoW May 7, 2021
60d020f
Merge branch '1.10_test_4.2.x_0426' into 1.10_release_4.2.x
May 10, 2021
2728f89
[feat-1721][elasticsearch-xh]support non kerberos es.
HiLany May 11, 2021
97f69c1
[feat-1583] using chinese in where clause after dim table join.
a49a Apr 22, 2021
b378a0e
Merge branch 'feat_where_cn_4_2' into '1.10_test_4.2.x'
simenliuxing May 13, 2021
2a44f3f
[elasticsearch-xh][sink]remove check.
HiLany May 13, 2021
adeb5a0
[hotfix-37120][core] fix dirty plugin url was wrong when remote-plugi…
FlechazoW May 13, 2021
8c19de4
Merge branch '1.10_release_4.2.x' into 1.10_test_4.2.x
May 17, 2021
0f4a58f
Merge branch 'hotfix_1.10_4.1.x_1434' into 1.10_release_4.1.x
May 18, 2021
aa0c296
[opt-37063][kafka] optimize data of date type convert.
FlechazoW May 14, 2021
b703ac9
Merge branch 'hotfix_1.10_4.2.x_37063' into 1.10_release_4.2.x
May 18, 2021
4c3c5d8
[hotfix-37120][core] fix dirty plugin url was wrong when remote-plugi…
FlechazoW May 13, 2021
15e20d7
[feat-1584] add solr sink
a49a May 17, 2021
cef2673
Merge branch 'feat_solr' into '1.10_test_4.2.x'
a49a May 19, 2021
e1144af
Merge branch '1.10_release_4.0.x' into 1.10_release_4.1.x
May 19, 2021
560e14e
Merge branch '1.10_release_4.1.x' into 1.10_release_4.2.x
May 19, 2021
9ae1097
[hotfix-37413][kudu] 修复kudu 异步维表在left join 数据关联不上,下游无数据问题
FlechazoW May 20, 2021
41c3c20
Merge branch '1.10_release_4.0.x' into 1.10_release_4.1.x
May 20, 2021
60d3676
Merge branch '1.10_release_4.1.x' into 1.10_release_4.2.x
May 20, 2021
583e149
[feat-1584] fix outRecords metrics.
a49a May 24, 2021
206cd02
Merge branch 'feat_solr' into '1.10_test_4.2.x'
a49a May 24, 2021
dea1375
[feat-37734][postgresql] postgresql sink support adb-postgresql update.
FlechazoW May 26, 2021
0b0fe8c
Merge branch '1.10_release_4.0.x' into 1.10_release_4.1.x
May 26, 2021
1b532fe
Merge branch '1.10_release_4.1.x' into 1.10_release_4.2.x
May 26, 2021
d5215bb
[hotfix-37534][core] 解决一个维表使用多次导致谓词下推sql组拼问题
simenliuxing May 27, 2021
0e81e46
[hotfix-37225][core] 修复 hbase报build rowKey with field system_table wh…
simenliuxing May 27, 2021
b9d2880
Merge branch '1.10_release_4.1.x' into 1.10_release_4.2.x
May 27, 2021
73a152a
[hotfix-37535][core&elasticsearch]Fixed dimension table join not out …
HiLany May 31, 2021
c07155c
Merge branch 'hotfix_1.10_4.2.x_37535' into 1.10_test_4.2.x
May 31, 2021
e11c9d7
[hotfix-36382][core] 修复null无法转换为timestamp异常。
simenliuxing May 31, 2021
6df54e7
Merge branch '1.10_release_4.0.x' into 1.10_release_4.1.x
Jun 1, 2021
af49180
Merge branch '1.10_release_4.1.x' into 1.10_release_4.2.x
Jun 1, 2021
27813dc
[hotfix-37535][elasticsearch7]override parseSelectFields in Elasticse…
HiLany Jun 2, 2021
b26a3f3
Merge branch 'hotfix_1.10_4.2.x_37535' into 1.10_test_4.2.x
Jun 2, 2021
ed42490
[feat][rdb] add clob and nclob type for rdb-sink
FlechazoW Jun 2, 2021
a5be9d5
Merge branch '1.10_release_4.0.x' into 1.10_release_4.1.x
Jun 4, 2021
a5c3e05
Merge branch '1.10_release_4.1.x' into 1.10_release_4.2.x
Jun 4, 2021
e586537
[hotfix-38509][core] fix POSITION function with lookup join not suppo…
a49a Jun 8, 2021
6e770cf
[hotfix-38809][elasticsearch6&7]fix bug when join key is null.
HiLany Jun 16, 2021
be62b81
[feat-1720][kafka] Added kafka sampling inspection feature, and suppo…
FlechazoW Jun 16, 2021
4c46b9a
Merge branch 'feat_1.10_4.2.x_kafkaSample2' into '1.10_test_4.2.x'
zoudaokoulife Jun 16, 2021
981933e
[hotfix-38914][kafka] Throw no-restart exception when there is no dat…
FlechazoW Jun 17, 2021
ca2df61
Merge branch '1.10_release_4.1.x' into 1.10_release_4.2.x
Jun 17, 2021
e4e7412
Merge branch '1.10_test_4.2.x' into 1.10_release_4.2.x
Jun 18, 2021
a326319
[hotfix-38914][kafka] Fix irrational logic of kafka seekOffset.
FlechazoW Jun 18, 2021
9659401
Merge branch '1.10_test_4.2.x' into 1.10_release_4.2.x
Jun 18, 2021
9bcb730
Merge branch '1.10_release_4.0.x' into 1.10_release_4.1.x
Jun 23, 2021
15fb3fb
Merge branch '1.10_release_4.1.x' into 1.10_release_4.2.x
Jun 23, 2021
dd6a3d5
[hotfix-39327][hbase] Fix hbase throw npe when build hbase-put operator.
FlechazoW Jun 25, 2021
5d855ed
[hotfix-39469][core]fix condition can not be chinese character when j…
kyo-tom Jun 30, 2021
ca786b9
Merge branch '1.10_release_4.1.x' into 1.10_release_4.2.x
Jun 30, 2021
33414fd
Merge branch 'hotfix_1.10_4.1.x_39327' into 1.10_release_4.1.x
Jun 30, 2021
9ab77ff
Merge branch '1.10_release_4.1.x' into 1.10_release_4.2.x
Jun 30, 2021
ef4bfee
[github] 修改readme招聘信息
FlechazoW Dec 21, 2020
2b4cfd4
[hotfix-407][all] fix bugs and add dirty-plugins.
FlechazoW Mar 2, 2021
1f7b2aa
[hotfix-35512][impala] 1.增加批量写入时出现异常,将批量sql转为单条sql执行 2.fix inserting …
FlechazoW Mar 4, 2021
b7236a8
[hotfix-1772][rdb] 调整rdb errorLimit初始值,当出现脏数据,任务立即停止.
FlechazoW Mar 10, 2021
e8abbb6
[flinkStremSql][415]
HiLany Mar 15, 2021
586084f
[feat] update readme.md
FlechazoW Jun 30, 2021
C38B
a798a2c
[feat] update readme.md
FlechazoW Jun 30, 2021
11746db
[doc] remove notice of 1.12
FlechazoW Jul 1, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
18 changes: 15 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,22 @@
build:
stages:
- validate
- test

test-job:
stage: test
script:
- mvn clean org.jacoco:jacoco-maven-plugin:0.7.8:prepare-agent package -Dmaven.test.failure.ignore=true -q
only:
- v1.10.0_dev
tags:
- dt-insight-engine

validate-job:
stage: validate
script:
- mvn sonar:sonar -Dsonar.projectKey="dt-insight-engine/flinkStreamSQL" -Dsonar.login=11974c5e9a29625efa09fdc3c3fdc031efb1aab1 -Dsonar.host.url=http://172.16.100.198:9000 -Dsonar.jdbc.url=jdbc:postgresql://172.16.100.198:5432/sonar -Dsonar.java.binaries=target/sonar
- sh ci/sonar_notify.sh
only:
- v1.8.0_dev
- v1.10.0_dev
tags:
- dt-insight-engine
- dt-insight-engine
43 changes: 27 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,32 @@ FlinkStreamSQL
[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)

## 技术交流
- 招聘**大数据平台开发工程师**,想了解岗位详细信息可以添加本人微信号ysqwhiletrue,注明招聘,如有意者发送简历至[sishu@dtstack.com](mailto:sishu@dtstack.com)
- 招聘**Flink开发工程师**,如果有兴趣,请联系思枢【微信号ysqwhiletrue】,注明招聘<BR>
Flink开发工程师JD要求:<BR>
1.负责袋鼠云基于Flink的衍生框架数据同步flinkx和实时计算flinkstreamsql框架的开发;<BR>
2.调研和把握当前最新大数据实时计算技术,将其中的合适技术引入到平台中,改善产品,提升竞争力;<BR>
职位要求:<BR>
1、本科及以上学历,3年及以上的Flink开发经验,精通Java,熟悉Scala、Python优先考虑;<BR>
2、熟悉Flink原理,有基于Flink做过二次源码的开发,在github上贡献者Flink源码者优先;<BR>
3、有机器学习、数据挖掘相关经验者优先;<BR>
4、对新技术有快速学习和上手能力,对代码有一定的洁癖;<BR>
加分项:<BR>
1.在GitHub或其他平台上有过开源项目;<BR>
可以添加本人微信号ysqwhiletrue,注明招聘,如有意者发送简历至sishu@dtstack.com<BR>
- 我们使用[钉钉](https://www.dingtalk.com/)沟通交流,可以搜索群号[**30537511**]或者扫描下面的二维码进入钉钉群
<div align=center>
<img src=docs/images/streamsql_dd.jpg width=300 />
</div>

## 介绍
* 基于开源的flink,对其实时sql进行扩展
* 自定义create table 语法(包括源表,输出表,维表)
* 自定义create view 语法
* 自定义create function 语法
* 实现了流与维表的join
* 支持原生FlinkSQL所有的语法
* 扩展了输入和输出的性能指标到Task metrics
* 基于开源的flink,对其实时sql进行扩展
* 自定义create table 语法(包括源表,输出表,维表)
* 自定义create view 语法
* 自定义create function 语法
* 实现了流与维表的join
* 支持原生FlinkSQL所有的语法
* 扩展了输入和输出的性能指标到Task metrics

## 目录

[ 1.1 demo](docs/demo.md)
Expand All @@ -26,11 +37,11 @@ FlinkStreamSQL
[ 1.4 支持的插件介绍和demo](docs/pluginsInfo.md)
[ 1.5 指标参数](docs/newMetric.md)
[ 1.6 自定义函数](docs/function.md)
[ 1.7 自定义视图](docs/createView.md)

## 如何贡献FlinkStreamSQL

[ 1.7 自定义视图](docs/createView.md)

## 如何贡献FlinkStreamSQL

[pr规范](docs/pr.md)

## License
FlinkStreamSQL is under the Apache 2.0 license. See the [LICENSE](http://www.apache.org/licenses/LICENSE-2.0) file for details.


FlinkStreamSQL is under the Apache 2.0 license. See the [LICENSE](http://www.apache.org/licenses/LICENSE-2.0) file for details.
Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.dtstack.flink.sql.side.cassandra;

import com.dtstack.flink.sql.side.BaseAllReqRow;
import com.dtstack.flink.sql.side.BaseSideInfo;
import com.dtstack.flink.sql.side.FieldInfo;
import com.dtstack.flink.sql.side.JoinInfo;
import com.dtstack.flink.sql.side.cassandra.table.CassandraSideTableInfo;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import org.apache.calcite.sql.JoinType;
import org.apache.flink.api.common.typeinfo.TypeInformation;
import org.apache.flink.api.java.typeutils.RowTypeInfo;
import org.apache.flink.table.dataformat.BaseRow;
import org.apache.flink.table.dataformat.GenericRow;
import org.apache.flink.types.Row;
import org.apache.flink.util.Collector;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.powermock.api.mockito.PowerMockito;
import org.powermock.core.classloader.annotations.PowerMockIgnore;
import org.powermock.core.classloader.annotations.PrepareForTest;
import org.powermock.modules.junit4.PowerMockRunner;
import org.powermock.reflect.Whitebox;

import java.sql.SQLException;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.concurrent.atomic.AtomicReference;

import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import static org.powermock.api.support.membermodification.MemberMatcher.constructor;
import static org.powermock.api.support.membermodification.MemberModifier.suppress;

/**
* @author: chuixue
* @create: 2020-07-28 10:58
* @description:
**/
@RunWith(PowerMockRunner.class)
@PrepareForTest({CassandraAllReqRow.class,
BaseAllReqRow.class,
CassandraAllSideInfo.class})//要跳过的写在后面
@PowerMockIgnore({"javax.*"})
public class CassandraAllReqRowTest {

private CassandraAllReqRow cassandraAllReqRow;
private RowTypeInfo rowTypeInfo = new RowTypeInfo(new TypeInformation[]{TypeInformation.of(Integer.class), TypeInformation.of(String.class), TypeInformation.of(Integer.class)}, new String[]{"id", "bb", "PROCTIME"});
private JoinInfo joinInfo;
private List<FieldInfo> outFieldInfoList = new ArrayList<>();
private CassandraSideTableInfo sideTableInfo;
private BaseSideInfo sideInfo;
private AtomicReference<Map<String, List<Map<String, Object>>>> cacheRef = new AtomicReference<>();

@Before
public void setUp() {
joinInfo = mock(JoinInfo.class);
sideTableInfo = mock(CassandraSideTableInfo.class);
sideInfo = PowerMockito.mock(CassandraAllSideInfo.class);

Map<String, List<Map<String, Object>>> map = Maps.newHashMap();
cacheRef.set(map);

suppress(constructor(CassandraAllSideInfo.class));
suppress(constructor(BaseAllReqRow.class));
cassandraAllReqRow = new CassandraAllReqRow(rowTypeInfo, joinInfo, outFieldInfoList, sideTableInfo);
Whitebox.setInternalState(cassandraAllReqRow, "sideInfo", sideInfo);
Whitebox.setInternalState(cassandraAllReqRow, "cacheRef", cacheRef);
}

@Test
public void testReloadCache() throws SQLException {
when(sideInfo.getSideTableInfo()).thenReturn(sideTableInfo);
when(sideTableInfo.getMaxRequestsPerConnection()).thenReturn(1);
when(sideTableInfo.getCoreConnectionsPerHost()).thenReturn(1);
when(sideTableInfo.getMaxConnectionsPerHost()).thenReturn(1);
when(sideTableInfo.getMaxQueueSize()).thenReturn(1);
4835 when(sideTableInfo.getReadTimeoutMillis()).thenReturn(1);
when(sideTableInfo.getConnectTimeoutMillis()).thenReturn(1);
when(sideTableInfo.getPoolTimeoutMillis()).thenReturn(1);
when(sideTableInfo.getAddress()).thenReturn("12.12.12.12:9042,10.10.10.10:9042");
when(sideTableInfo.getUserName()).thenReturn("userName");
when(sideTableInfo.getPassword()).thenReturn("password");
when(sideTableInfo.getDatabase()).thenReturn("getDatabase");

cassandraAllReqRow.initCache();
cassandraAllReqRow.reloadCache();
}

@Test
public void testFlatmap() throws Exception {
GenericRow row = new GenericRow(3);
row.setField(0, 1);
row.setField(1, "bbbbbb");
row.setField(2, "2020-07-14 01:27:43.969");
Collector<BaseRow> out = mock(Collector.class);

List<String> equalFieldList = Lists.newArrayList();
equalFieldList.add("rowkey");
List<Integer> equalValIndex = Lists.newArrayList();
equalValIndex.add(0);

List<FieldInfo> outFieldInfoList = Lists.newArrayList();
FieldInfo fieldInfo = new FieldInfo();
fieldInfo.setTable("m");
fieldInfo.setFieldName("id");
fieldInfo.setTypeInformation(TypeInformation.of(Integer.class));
outFieldInfoList.add(fieldInfo);
outFieldInfoList.add(fieldInfo);
outFieldInfoList.add(fieldInfo);
outFieldInfoList.add(fieldInfo);

Map<Integer, Integer> inFieldIndex = Maps.newHashMap();
inFieldIndex.put(0, 0);
inFieldIndex.put(1, 1);


Map<Integer, Integer> sideFieldIndex = Maps.newHashMap();
sideFieldIndex.put(2, 0);
sideFieldIndex.put(3, 1);

Map<Integer, String> sideFieldNameIndex = Maps.newHashMap();
sideFieldNameIndex.put(2, "rowkey");
sideFieldNameIndex.put(3, "channel");

RowTypeInfo rowTypeInfo = new RowTypeInfo(new TypeInformation[]{TypeInformation.of(Integer.class), TypeInformation.of(String.class), TypeInformation.of(Timestamp.class)}, new String[]{"id", "bb", "PROCTIME"});

when(sideInfo.getEqualValIndex()).thenReturn(equalValIndex);
when(sideInfo.getJoinType()).thenReturn(JoinType.LEFT);
when(sideInfo.getOutFieldInfoList()).thenReturn(outFieldInfoList);
when(sideInfo.getInFieldIndex()).thenReturn(inFieldIndex);
when(sideInfo.getRowTypeInfo()).thenReturn(rowTypeInfo);
when(sideInfo.getSideFieldNameIndex()).thenReturn(sideFieldNameIndex);

cassandraAllReqRow.flatMap(row, out);
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.dtstack.flink.sql.side.cassandra;

import com.dtstack.flink.sql.side.AbstractSideTableInfo;
import com.dtstack.flink.sql.side.BaseSideInfo;
import com.dtstack.flink.sql.side.FieldInfo;
import com.dtstack.flink.sql.side.JoinInfo;
import com.dtstack.flink.sql.side.cassandra.table.CassandraSideTableInfo;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import org.apache.calcite.sql.SqlBasicCall;
import org.apache.calcite.sql.SqlNode;
import org.apache.flink.api.common.typeinfo.TypeInformation;
import org.apache.flink.api.java.typeutils.RowTypeInfo;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.powermock.core.classloader.annotations.PrepareForTest;
import org.powermock.modules.junit4.PowerMockRunner;
import org.powermock.reflect.Whitebox;

import java.util.List;
4835 import java.util.Map;

import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import static org.powermock.api.support.membermodification.MemberMatcher.constructor;
import static org.powermock.api.support.membermodification.MemberModifier.suppress;

/**
* @author: chuixue
* @create: 2020-07-28 11:00
* @description:
**/
@RunWith(PowerMockRunner.class)
@PrepareForTest({CassandraAllSideInfo.class,
BaseSideInfo.class})//要跳过的写在后面
public class CassandraAllSideInfoTest {
private CassandraAllSideInfo cassandraAllSideInfo;
private JoinInfo joinInfo;
private AbstractSideTableInfo sideTableInfo;

@Before
public void setUp() {
joinInfo = mock(JoinInfo.class);
sideTableInfo = mock(AbstractSideTableInfo.class);

List<FieldInfo> outFieldInfoList = Lists.newArrayList();
FieldInfo fieldInfo = new FieldInfo();
fieldInfo.setTable("m");
fieldInfo.setFieldName("_id");
fieldInfo.setTypeInformation(TypeInformation.of(String.class));
outFieldInfoList.add(fieldInfo);

FieldInfo fieldInfo2 = new FieldInfo();
fieldInfo2.setTable("s");
fieldInfo2.setFieldName("name");
fieldInfo2.setTypeInformation(TypeInformation.of(String.class));
outFieldInfoList.add(fieldInfo2);

Map<Integer, Integer> sideFieldIndex = Maps.newHashMap();
Map<Integer, String> sideFieldNameIndex = Maps.newHashMap();
RowTypeInfo rowTypeInfo = new RowTypeInfo(new TypeInformation[]{TypeInformation.of(Integer.class), TypeInformation.of(String.class), TypeInformation.of(Integer.class)}, new String[]{"id", "bb", "PROCTIME"});
Map<Integer, Integer> inFieldIndex = Maps.newHashMap();
List<String> equalFieldList = Lists.newArrayList();
equalFieldList.add("_id");

suppress(constructor(BaseSideInfo.class));
cassandraAllSideInfo = new CassandraAllSideInfo(rowTypeInfo, joinInfo, outFieldInfoList, sideTableInfo);
Whitebox.setInternalState(cassandraAllSideInfo, "outFieldInfoList", outFieldInfoList);
Whitebox.setInternalState(cassandraAllSideInfo, "sideFieldIndex", sideFieldIndex);
Whitebox.setInternalState(cassandraAllSideInfo, "sideFieldNameIndex", sideFieldNameIndex);
Whitebox.setInternalState(cassandraAllSideInfo, "rowTypeInfo", rowTypeInfo);
Whitebox.setInternalState(cassandraAllSideInfo, "inFieldIndex", inFieldIndex);
Whitebox.setInternalState(cassandraAllSideInfo, "equalFieldList", equalFieldList);
}

@Test
public void testBuildEqualInfo() {
CassandraSideTableInfo sideTableInfo = mock(CassandraSideTableInfo.class);
when(sideTableInfo.getDatabase()).thenReturn("dd");
when(sideTableInfo.getTableName()).thenReturn("d");
Whitebox.setInternalState(cassandraAllSideInfo, "sideSelectFields", "cassandraAllSideInfo");
cassandraAllSideInfo.buildEqualInfo(joinInfo, sideTableInfo);
}

@Test
public void testParseSelectFields() throws NoSuchMethodException {
SqlBasicCall conditionNode = mock(SqlBasicCall.class);
when(joinInfo.getSideTableName()).thenReturn("s");
when(joinInfo.getNonSideTable()).thenReturn("m");
when(joinInfo.getCondition()).thenReturn(conditionNode);
suppress(BaseSideInfo.class.getMethod("dealOneEqualCon", SqlNode.class, String.class));

cassandraAllSideInfo.parseSelectFields(joinInfo);
}
}
Loading
0