Commit Graph

216 Commits

Author SHA1 Message Date
Ganlin Zhao cec0f0d171 refactor(query): refactor scalar function
TD-14802
2022-04-20 10:26:38 +08:00
Ganlin Zhao 8649bbca02
Merge pull request #11642 from taosdata/fix/TD-14843
refactor(query): refactor cast function
2022-04-19 21:03:06 +08:00
Ganlin Zhao f53db3d3b9 fix(query): fix cast function NULL value handling logic 2022-04-19 20:40:45 +08:00
Ganlin Zhao 11028921b6 refactor(query): refactor cast function
TD-14837
TD-14843
TD-14904
2022-04-19 18:16:29 +08:00
Ganlin Zhao a70181194b refactor(query): refactor string functions
TD-14836
TD-14833
2022-04-19 13:15:55 +08:00
wangmm0220 49c3057221 refactor: merge from 3.0 2022-04-18 21:15:57 +08:00
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
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
wangmm0220 24f805c5c2 refactor: add to_json function 2022-04-18 15:54:40 +08:00
Ganlin Zhao d57da814cc fix(query): fix timediff args cannot be integer values
TD-14798
2022-04-18 14:35:45 +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
wade zhang 3f0f31c4c2
Merge pull request #11552 from taosdata/feature/TD-14243
feat(query): support timezone function and now/today function arithmetic operation in select clause
2022-04-16 18:54:18 +08:00
Xiaoyu Wang c40b590ad8 enh: window clause validity check 2022-04-16 17:27:54 +08:00
Ganlin Zhao e655a3cc1d feat(query): support timezone() function
TD-14243
2022-04-15 13:15:29 +08:00
Ganlin Zhao 0439e4f9f7 Merge branch '3.0' into feature/TD-14243 2022-04-15 10:16:55 +08:00
Ganlin Zhao ca3ce404af feat(query): support now()/today() function in select clause
TD-14243
2022-04-14 21:38:33 +08:00
Ganlin Zhao b6ec83d3c2
Merge pull request #11492 from taosdata/fix/TD-14732
fix(query): taosd crash when concat has NULL inputs
2022-04-14 16:27:08 +08:00
Ganlin Zhao bfa4d8a313 fix(query): taosd crash when concat has NULL inputs
TD-14732
2022-04-14 16:13:09 +08:00
Ganlin Zhao b355e2b3c8 feat(query): add today()/today() + duration in insert clause
TD-14243
2022-04-14 12:53:59 +08:00
Ganlin Zhao eabfc7d31c feat(query): add timediff function
TD-14243
2022-04-13 17:13:14 +08:00
Ganlin Zhao 9a09f15de8 feat(query): add timediff function
TD-14243
2022-04-13 16:57:58 +08:00
Ganlin Zhao 61b39204b5 feat(query): add timetruncate function
TD-14243
2022-04-13 14:14:46 +08:00
Ganlin Zhao c0b3607756 feat(query): add to_unixtimestamp function
TD-14243
2022-04-13 11:41:02 +08:00
Ganlin Zhao ef4d75f463 feat(query): add to_iso8601 function
TD-14243
2022-04-12 20:02:33 +08:00
Ganlin Zhao a59b558331 feat(query): add cast function
TD-14242
2022-04-11 20:22:53 +08:00
WANG MINGMING 41392e9e4a
Merge branch '3.0' into feature/TD-14422 2022-04-09 10:18:52 +08:00
Ganlin Zhao da2d8efc96 <fix>[query]: fix length/char_length data block pointer with proper offset
TD-14572
2022-04-08 20:56:00 +08:00
Ganlin Zhao 743649e1b7 <fix>[query]: fix length/char_length data block pointer with proper offset
TD-14572
2022-04-08 20:38:15 +08:00
wangmm0220 8df8c60f60 merge from 3.0 2022-04-08 10:58:39 +08:00
Ganlin Zhao 57c574e38a [TD-14575]<fix>: fix rtrim result not correct for nchar columns 2022-04-08 10:40:55 +08:00
wangmm0220 83eacf8d07 merge from 3.0 2022-04-06 18:38:19 +08:00
Ganlin Zhao 928cbcec7d
Merge pull request #11252 from taosdata/feature/3.0_glzhao
[TD-14241]<feature>: substr function refactor
2022-04-06 14:48:16 +08:00
Ganlin Zhao 76d1702213 [TD-14241]<feature>: substr function refactor 2022-04-06 13:47:04 +08:00
Ganlin Zhao 5e2dbe83e7
Merge pull request #11250 from taosdata/feature/3.0_glzhao
[TD-14241]<feature>: concat/concat_ws support nchar column wtih constant
2022-04-06 12:43:12 +08:00
Ganlin Zhao 98cc544e5b [TD-14241]<feature>: concat/concat_ws support nchar column wtih constant 2022-04-06 11:49:47 +08:00
Haojun Liao ddc63b9f27 [td-14393] fix error. 2022-04-04 15:45:32 +08:00
wangmm0220 5aa3467e2b merge from 3.0 2022-04-02 19:02:45 +08:00
Ganlin Zhao 8bcdf8e200 [TD-14241]<feature>: refactor string functions 2022-04-02 18:34:17 +08:00
wangmm0220 12c3a10a9b fix error in order by logic & fix no return error 2022-04-02 14:29:43 +08:00
Ganlin Zhao 70b0139017 Merge branch '3.0' into feature/3.0_glzhao 2022-04-02 13:57:21 +08:00
Ganlin Zhao 5a1548bf15 [TD-14241]: substr function adoption 2022-04-02 10:40:15 +08:00
Ganlin Zhao 3295a58894 [TD-14423]<fix>: abs(0.000) return -0.00000 2022-04-01 17:27:56 +08:00
Ganlin Zhao 64184611d7 [TD-14241]: ltrim/rtrim function adoption 2022-04-01 17:13:41 +08:00
Ganlin Zhao c846c6ebf3 [TD-14241]: lower/upper function adoption 2022-04-01 17:01:13 +08:00
Ganlin Zhao dddf621aa7 [TD-14241]: concat/concat_ws fix input has both constant and column
issue
2022-04-01 16:06:22 +08:00
Ganlin Zhao 6eb6cfe279 [TD-14241]: concat_ws function adoption 2022-04-01 14:36:45 +08:00
Ganlin Zhao 89aba48960 [TD-14241]: concat function adoption 2022-03-31 19:04:00 +08:00
Ganlin Zhao 89abd4e349 [TD-14241]: add string functions 2022-03-30 16:08:38 +08:00
Ganlin Zhao b0eefba1b3 [TD-14241]: add string functions 2022-03-30 14:42:32 +08:00
Ganlin Zhao 87fefa9e15 [TD-14241]: add string functions 2022-03-30 14:03:54 +08:00
Haojun Liao 39036ea512 [td-13039] support pseudo column in interval query. 2022-03-30 13:41:15 +08:00
Haojun Liao f659130551 [td-13039] merge 3.0. 2022-03-29 19:12:34 +08:00
Ganlin Zhao 0c243e658e math functions working with shell 2022-03-29 17:30:44 +08:00
Ganlin Zhao b601542094 refactor pow/log 2022-03-28 15:45:11 +08:00
Haojun Liao 0daa0de073 [td-13039] support scalar function. 2022-03-27 22:43:07 +08:00
Haojun Liao 6cd2d69d14 [td-13039] fix compiler error. 2022-03-27 15:47:03 +08:00
Haojun Liao b9c33dade2 [td-13039] merge 3.0. 2022-03-27 15:30:46 +08:00
Haojun Liao 400989c040 [td-13039] refactor scalar function. 2022-03-26 13:43:02 +08:00
Ganlin Zhao 8a2623e962 [TD-14240]<feature>: add math functions 2022-03-26 10:43:57 +08:00
Ganlin Zhao aaa2d2094a Merge branch '3.0' into 3.0_glzhao_math_func 2022-03-26 10:24:33 +08:00
afwerar 222db126bc [TD-13758]<fix>: redefine memory api. 2022-03-26 00:29:53 +08:00
Ganlin Zhao 303a853c0c [TD-14240]<feature>: add math functions 2022-03-25 20:09:26 +08:00
Ganlin Zhao 79002a6e3d [TD-14240]<feature>: add math functions 2022-03-25 16:24:36 +08:00
dapan1121 aa556cb462 feature/qnode 2022-02-23 14:34:17 +08:00
dapan1121 8f199e0eb8 feature/qnode 2022-02-17 19:30:43 +08:00