Commit Graph

34380 Commits

Author SHA1 Message Date
sima 1d77ea76e8 feat:[TS-4893] Backward Compatibility. 2024-08-14 09:19:25 +08:00
sima a54019211f feat:[TS-4893] Support MYSQL functions.
Add more functions:
 - Numeric Functions: PI(),ROUND(),TRUNC(),EXP(),LN(),SIGN(),DEGREES(),RADIANS().
 - String Functions: CHAR(),ASCII(),POSITION(),TRIM(),REPLACE(),REPEAT().
 - Date and Time Functions: WEEKDAY(),DAYOFWEEK(),WEEK(),WEEKOFYEAR().
 - Aggregate Functions: VAR_POP().
Modify some functions:
 - ROUND(): support round to given decimal places.
 - CHAR_LENGTH(): support calculate multi-byte character's length.
 - TIMEDIFF(): result will be negative when expr1 < expr2.
 - STDDEV(): add alias name STDDEV_POP().
 - SUBSTR(): add alias name SUBSTRING().
             support new syntax SUBSTRING/SUBSTR(expr FROM pos [FOR len]).
2024-08-14 09:19:25 +08:00
Haojun Liao 264bfe3f28
Merge pull request #27200 from taosdata/fix/syntax
fix(stream): init the in-mem task list when recv checkpoint-report.
2024-08-14 09:15:04 +08:00
Haojun Liao e9687fcf9d
Merge pull request #27201 from taosdata/fix/3_liaohj
fix(stream): init exec when mnd become leader.
2024-08-14 09:14:54 +08:00
dapan1121 aa82702963
Merge pull request #27054 from taosdata/fix/TD-31003/timezoneOnWin
fix: set timezone on windows
2024-08-14 08:50:11 +08:00
Haojun Liao eb029395a2 fix(stream): init exec when mnd become leader. 2024-08-14 00:38:15 +08:00
xsren 40722c3f72 ctest on linux 2024-08-14 00:10:10 +08:00
Haojun Liao 57a0c7b487 fix(stream): init the in-mem task list when recv checkpoint-report. check the number of complete downstream check by checking it in hashmap, not just number. 2024-08-13 23:20:37 +08:00
Haojun Liao 324dc3f404
Merge pull request #27184 from taosdata/fix/3_liaohj
fix(tsdb): check null ptr when un-referencing snapshot.
2024-08-13 22:52:48 +08:00
Haojun Liao e92031b723
Merge pull request #27181 from taosdata/fix/TD-31408
fix issue
2024-08-13 22:51:58 +08:00
Haojun Liao 27b0e285c7 fix(tsdb): release the reader when encountering errors. 2024-08-13 18:39:07 +08:00
Hongze Cheng 8fa1684a38
Merge pull request #27187 from taosdata/fix/TD-31380
fix return code
2024-08-13 18:35:44 +08:00
Hongze Cheng b5951a9efa
Merge pull request #27155 from taosdata/enh/TD-31375-3.0
enh: simulate random i/o error
2024-08-13 18:31:35 +08:00
Hongze Cheng 6f014d1ca1
Merge pull request #27171 from taosdata/fix/TD-31002-3.0
fix: add size limit for create table batch msg
2024-08-13 18:29:47 +08:00
Hongze Cheng 9ead181d19
Merge pull request #27134 from taosdata/feat/TD-31289-3.0
feat: cos support for multi s3 cfg
2024-08-13 18:25:52 +08:00
dapan1121 c15d3ec56a
Merge pull request #27182 from taosdata/fix/3.0/TD-31405
fix:[TD-31405] Return correct error code in spread function.
2024-08-13 16:07:16 +08:00
dapan1121 a8b0940882
Merge pull request #27180 from taosdata/TD-31402
fix:[TD-31402] Fix memory leak.
2024-08-13 16:06:05 +08:00
Haojun Liao b253742155 fix(tsdb): check return value. 2024-08-13 15:49:20 +08:00
Haojun Liao 90862b1df4 other: merge 3.0 2024-08-13 15:48:11 +08:00
yihaoDeng ace1880ad9 fix return code 2024-08-13 15:40:31 +08:00
Haojun Liao 14a2360f5e fix(tsdb): check null ptr when un-referencing snapshot. 2024-08-13 15:22:06 +08:00
Shungang Li c3b1e267b9 enh: adjust the implementation of random selection 2024-08-13 15:10:04 +08:00
sima 80bb0d7cf8 fix:[TD-31405] Return correct error code in spread function. 2024-08-13 14:41:19 +08:00
54liuyao bc11c1bd02 fix issue 2024-08-13 14:35:49 +08:00
sima 61ac6b8499 fix:[TD-31402] Fix memory leak. 2024-08-13 14:35:33 +08:00
kailixu ee05a536ef enh: support config randErrorDivisor dynamically 2024-08-13 14:19:28 +08:00
Haojun Liao f4927bb873
Merge pull request #27167 from taosdata/fix/TD-31386
adj function res
2024-08-13 13:51:11 +08:00
dapan1121 0c2e9a048d
Merge pull request #27178 from taosdata/fix/3.0/TD-31381
fix:[TD-31381] avoid double free.
2024-08-13 13:48:09 +08:00
Haojun Liao 12d6375de7
Merge pull request #27153 from taosdata/fix/TD-31372
adj copyPkVal error code
2024-08-13 13:47:52 +08:00
Haojun Liao 3ff42c5225
Merge pull request #27173 from taosdata/fix/syntax
fix(query): check return value.
2024-08-13 12:45:33 +08:00
sima b26bdd550a fix:[TD-31381] avoid double free. 2024-08-13 11:34:05 +08:00
54liuyao f0af495a5d adj function res 2024-08-13 10:31:24 +08:00
Hongze Cheng acd2d30630
Merge pull request #27082 from taosdata/fix/TD-31210
add mem check
2024-08-13 10:15:38 +08:00
Hongze Cheng 2ab16fd72a
Merge pull request #27126 from taosdata/fix/TD-31353
fix return error
2024-08-13 10:14:09 +08:00
Haojun Liao 35f179c228
Merge pull request #27163 from taosdata/fix/3_liaohj
fix(stream): remove invalid assert.
2024-08-13 10:02:09 +08:00
Shungang Li 0d341d08ec fix: add more log 2024-08-13 09:35:12 +08:00
kailixu c9a4466422 Merge branch 'enh/TD-31375-3.0' of https://github.com/taosdata/TDengine into enh/TD-31375-3.0 2024-08-13 09:22:58 +08:00
dapan1121 3790a1f415
Merge pull request #26959 from taosdata/feat/TS-3718
feat:[TS-3718]save slow log file one day one file
2024-08-13 09:18:07 +08:00
Haojun Liao fdfc8d8310 fix(query): check return value. 2024-08-13 09:17:49 +08:00
kailixu 93e1f37ab6 Merge branch '3.0' into enh/TD-31375-3.0 2024-08-13 08:54:51 +08:00
Cary Xu abe579a503
Update osFile.c 2024-08-13 00:27:16 +08:00
Shungang Li ee7cd71e09 fix: add size limit for create table batch msg 2024-08-12 19:57:15 +08:00
54liuyao a3424e6f59 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-31386 2024-08-12 19:40:07 +08:00
sima a3637af498 fix:[TD-31374] vectorConvertSingleCol set precision only when type is timestamp. 2024-08-12 18:59:10 +08:00
Hongze Cheng 0d4cb0e26e
Merge pull request #27159 from taosdata/fix/TD-31378-3.0
fix: null pointer check when clearing tsdb reader
2024-08-12 18:48:43 +08:00
kailixu ee571773f8 fix: decrease the dimension when mocking i/o error 2024-08-12 18:45:50 +08:00
Hongze Cheng 0f297f0bd3
Merge pull request #27164 from taosdata/fix/TD-31309-2
fix(meta/commit): transfer txn's ownership to asyn commit thread
2024-08-12 18:41:56 +08:00
54liuyao 5d9101b28d adj res 2024-08-12 18:23:45 +08:00
54liuyao 3ec51c77c4 adj res 2024-08-12 18:21:35 +08:00
Haojun Liao 8d751ca5e3
Merge pull request #27148 from taosdata/fix/3.0/TD-31362-TD-31359-TD-21481
1. lock not released when return
2024-08-12 17:34:25 +08:00