Commit Graph

26091 Commits

Author SHA1 Message Date
Ganlin Zhao 00ae854c78
fix(query): fix time function related bugs (#11604)
* fix(query): fix timediff args cannot be integer values

TD-14798

* fix(query): fix timediff/timetruncate/to_unixtimestamp handling NULL value and empty string

TD-14802
TD-14803

* refactor(query): constant NULL value processing logic

TD-14802
TD-14803

* refactor(query): support timefunction arithmetic operation with boolean
constant
2022-04-18 19:20:08 +08:00
dapan1121 a1c4f5c2ce stmt 2022-04-18 19:12:10 +08:00
cpwu 19d064e129 fix case 2022-04-18 19:11:04 +08:00
cpwu 4eeb5fa53a fix the case , add not between check 2022-04-18 19:09:44 +08:00
dapan1121 0c2f22fb82 stmt 2022-04-18 19:08:27 +08:00
cpwu b07a9cb230 Merge branch '3.0' into cpwu/3.0 2022-04-18 18:59:24 +08:00
cpwu 217d25c8e1 fix between case 2022-04-18 18:58:46 +08:00
cpwu ed754b2968 fix between python case test 2022-04-18 18:55:21 +08:00
Haojun Liao 9864e367bb refactor(query): do some internal refactor in executor. 2022-04-18 18:47:59 +08:00
Ganlin Zhao 1c0211880f refactor(query): support timefunction arithmetic operation with boolean
constant
2022-04-18 18:47:30 +08:00
Shengliang Guan 59008ec626
Merge pull request #11603 from taosdata/feature/check
fix(cluster): crash while create rollup sma
2022-04-18 18:47:03 +08:00
Shengliang Guan 6f2dbd4169 fix(cluster): crash while create rollup sma 2022-04-18 18:30:41 +08:00
Zhiqiang Wang c1d5d3cdbe
Merge pull request #11600 from taosdata/fix/ZhiqiangWang/TD-13756-getline-memory-free-error
fix(os): getline memory free error.
2022-04-18 17:52:12 +08:00
Ganlin Zhao 315a6c0364 refactor(query): constant NULL value processing logic
TD-14802
TD-14803
2022-04-18 17:36:48 +08:00
afwerar 52f4699a52 fix(os): getline memory free error. 2022-04-18 17:34:10 +08:00
Haojun Liao dc76f2e91a refactor: refactor hash module to invoke the freeFp when destroying the hash node. 2022-04-18 17:32:50 +08:00
Shengliang Guan 63b0e304d4
Merge pull request #11598 from taosdata/feature/node
refactor(cluster): make the comment and code of udf to variable length
2022-04-18 17:18:02 +08:00
plum-lihui feb5e712bf [test: add test case for session] 2022-04-18 16:57:50 +08:00
Shengliang Guan bd2a64a311 Merge remote-tracking branch 'origin/3.0' into feature/node 2022-04-18 16:52:10 +08:00
Shengliang Guan 9f5ddb36d0 refactor(cluster): make the comment and code of udf to variable length 2022-04-18 16:51:59 +08:00
Hui Li 37c8ebc2f7
Merge pull request #11597 from taosdata/cpwu/3.0
add between python case
2022-04-18 16:38:05 +08:00
cpwu 485adffc1f add between python case 2022-04-18 16:34:05 +08:00
Shengliang Guan eaebd86edd
Merge pull request #11594 from taosdata/fix/tsim
enh: support variables like $data[0][1] and $data(db)[0] in tsim scripts
2022-04-18 16:21:37 +08:00
plum-lihui 865bc40dd8 [test: add python test cases] 2022-04-18 16:09:03 +08:00
Shengliang Guan 5ca1f7922b style: format file 2022-04-18 16:05:06 +08:00
Ganlin Zhao f3b8bc8152 fix(query): fix timediff/timetruncate/to_unixtimestamp handling NULL value and empty string
TD-14802
TD-14803
2022-04-18 16:01:21 +08:00
Shengliang Guan 47f7ce67a7 Merge remote-tracking branch 'origin/3.0' into fix/tsim 2022-04-18 16:00:41 +08:00
wangmm0220 24f805c5c2 refactor: add to_json function 2022-04-18 15:54:40 +08:00
Cary Xu 2aeb1c3b25
Merge pull request #11592 from taosdata/feature/TD-11463-3.0
feat: block-wise sma integrate
2022-04-18 15:36:41 +08:00
Haojun Liao df8354affb
Merge pull request #11590 from taosdata/feature/3.0_liaohj
enh(query): set the parameters for system database to be NULL
2022-04-18 15:14:15 +08:00
Cary Xu ca93af74a1 Merge branch '3.0' into feature/TD-11463-3.0 2022-04-18 15:10:21 +08:00
haoranchen 2fc27261da
Merge branch '3.0' into test/chr/TD-14699 2022-04-18 15:07:04 +08:00
Cary Xu 5569c84624 bsma integrate 2022-04-18 15:06:13 +08:00
Haojun Liao b0519b5707
Merge pull request #11568 from taosdata/hotfix/glzhao_3.0
fix(query): translate var type from value node to SVariant should include var header
2022-04-18 14:56:53 +08:00
Shengliang Guan 5f6eac8e47 refactor(cluster): replace the keyword master/slave with LEADER FOLLOWER 2022-04-18 14:47:33 +08:00
Shengliang Guan 595d2ce352 enh: support variables like $data[0][1] and $data(db)[0] in tsim scripts 2022-04-18 14:37:45 +08:00
Ganlin Zhao d57da814cc fix(query): fix timediff args cannot be integer values
TD-14798
2022-04-18 14:35:45 +08:00
Haojun Liao ea8832baa5 Merge branch 'fix/valgrind' into feature/3.0_liaohj 2022-04-18 14:30:10 +08:00
wangmm0220 d2d29d992f refactor: add compare logic for json value 2022-04-18 14:25:19 +08:00
Haojun Liao 715787286c ehn(query): set the parameters for system database to be NULL by default when responsing "show databases" command. 2022-04-18 14:24:23 +08:00
wangmm0220 e2c6bf41df refactor: add compare logic for json value 2022-04-18 13:36:01 +08:00
dapan1121 49e0ecdb9b Merge remote-tracking branch 'origin/3.0' into feature/qnode4 2022-04-18 13:34:04 +08:00
dapan1121 0270499496 Merge remote-tracking branch 'origin/3.0' into feature/qnode4 2022-04-18 13:25:45 +08:00
dapan1121 1e1cca9857 stmt 2022-04-18 13:22:47 +08:00
Haojun Liao 7d8e418de2
Merge pull request #11581 from taosdata/feature/3.0_liaohj
fix(query): fix bug in calculating the aggregate function
2022-04-18 12:23:19 +08:00
Haojun Liao 781fbce942 fix(query): fix bug caused by new completed query function. 2022-04-18 12:07:04 +08:00
Shengliang Guan 649a9ac230 fix: memory overwrite while process nchar in sim script 2022-04-18 11:42:39 +08:00
Ganlin Zhao 53aedbb163 Merge branch '3.0' into hotfix/glzhao_3.0 2022-04-18 11:39:18 +08:00
Ganlin Zhao 6105dfc934 refactor(query): refactor concat/concat_ws and param check 2022-04-18 11:39:08 +08:00
Shengliang Guan 88781842d0 Merge branch 'fix/valgrind' of https://github.com/taosdata/TDengine into fix/valgrind 2022-04-18 11:35:32 +08:00