Commit Graph

159 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
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 29327a6d66 feat(query): support now()/today() arithmetic operation with time duration
TD-14243
2022-04-16 11:03:18 +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 ff70238e38
Merge pull request #11413 from taosdata/feature/TD-14242
feat(query): add cast function
2022-04-12 14:34:33 +08:00
Ganlin Zhao a59b558331 feat(query): add cast function
TD-14242
2022-04-11 20:22:53 +08:00
Haojun Liao a3be085135
Merge pull request #11392 from taosdata/feature/3.0_liaohj
Feature/3.0 liaohj
2022-04-11 19:32:12 +08:00
Haojun Liao 2624fa2711 fix[query]: invalid write. 2022-04-11 17:36:10 +08:00
Haojun Liao 8240efda4c fix[query]: enable filter on nchar type. 2022-04-11 17:03:41 +08:00
afwerar 2662a3b69d [TD-13254]<fix>: make 3.0 grant. 2022-04-10 19:08:16 +08:00
Haojun Liao 9c9082ce3f fix[query]: fix the filter not active bug. 2022-04-09 23:58:49 +08:00
Haojun Liao d6338ca773
Merge branch '3.0' into feature/3.0_liaohj 2022-04-09 18:30:05 +08:00
dapan1121 ac60b0408a
Merge pull request #11342 from taosdata/feature/qnode
feature/qnode
2022-04-09 17:13:07 +08:00
Haojun Liao 6a245710c9 other: merge 3.0 branch. 2022-04-09 16:24:44 +08:00
dapan1121 3295507835 feature/qnode 2022-04-09 16:14:01 +08:00
dapan1121 f207646a64
Merge pull request #11338 from taosdata/feature/qnode
feature/qnode
2022-04-09 14:38:58 +08:00
dapan1121 257b729757 feature/qnode 2022-04-09 13:36:36 +08:00
Haojun Liao 6af7e1810f Merge remote-tracking branch 'origin/3.0' into feature/3.0_liaohj 2022-04-09 11:56:45 +08:00
WANG MINGMING 41392e9e4a
Merge branch '3.0' into feature/TD-14422 2022-04-09 10:18:52 +08:00
Haojun Liao 94e19cc32a <fix>[query]: fix scalar function calculate bug in scalar module. td-14576 2022-04-09 10:10:56 +08:00
Ganlin Zhao f072afe717
Merge pull request #11326 from taosdata/fix/TD-14572
<fix>[query]: fix length/char_length data block pointer with proper offset
2022-04-08 21:16:59 +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
Haojun Liao 8a62f5fa73 <fix>[query]: fix filter caused taosd crash.td-14566. 2022-04-08 19:41:55 +08:00
WANG MINGMING bcbba6d0ae
Merge branch '3.0' into feature/TD-14422 2022-04-08 17:28:03 +08:00
dapan1121 519b6ca0f3
Merge pull request #11305 from taosdata/feature/qnode
Feature/qnode
2022-04-08 17:21:33 +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
dapan1121 460036a0d4 feature/qnode 2022-04-06 17:50:03 +08:00
dapan1121 2b5c4788d1 Merge remote-tracking branch 'origin/3.0' into feature/qnode 2022-04-06 15:28:36 +08:00
dapan1121 398a41d09b feature/qnode 2022-04-06 15:20:38 +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
dapan1121 21542194c6 Merge remote-tracking branch 'origin/3.0' into feature/qnode 2022-04-06 11:32:46 +08:00