Commit Graph

506 Commits

Author SHA1 Message Date
Liu Jicong 5cdef06f8c
Merge pull request #14119 from taosdata/feature/3_liaohj
refactor(query): do some internal refactor.
2022-06-23 20:08:15 +08:00
Ganlin Zhao 1278282a78 fix(query): math function invalid input should have null output
TD-15216
2022-06-23 19:53:54 +08:00
Ganlin Zhao 7fda5a861e fix(query): fix to_ISO8601 function crash when processing constant
illegal inputs

TD-15211
2022-06-23 17:32:15 +08:00
Haojun Liao 2d31d3cb43 other: merge 3.0 2022-06-23 10:37:07 +08:00
Haojun Liao 324eecdd99 fix(query): prepare the buffer before assigning result. 2022-06-22 20:24:26 +08:00
Haojun Liao 5c1e7f3114 Merge branch '3.0' into feature/3_liaohj 2022-06-22 17:23:57 +08:00
Haojun Liao 14ddf539e0 refactor(query): do some internal refactor. 2022-06-22 17:21:04 +08:00
WANG MINGMING 15eb9c485e
Merge pull request #14069 from taosdata/3.0
feat:merge from 3.0
2022-06-22 16:33:15 +08:00
wangmm0220 db34294bed opt: filter by tag 2022-06-22 16:32:10 +08:00
afwerar 9dff7b93c6 test: fix sim test error 2022-06-21 20:04:55 +08:00
dapan1121 31f3bed347 support index cache 2022-06-11 20:39:16 +08:00
Zhiqiang Wang 8f30cdfe9c
Merge pull request #13635 from taosdata/fix/ZhiqiangWang/TD-16262-add-win32-taosd-case
fix(os): add win32 taosd case
2022-06-09 17:55:15 +08:00
afwerar d95b7a3dc1 fix(os): add win32 taosd case 2022-06-09 11:48:41 +08:00
Ganlin Zhao ea264a6629
Merge pull request #13623 from taosdata/fix/TD-16363
fix(query): fix to_iso8601 function append format in negative timezone or "z"
2022-06-09 11:32:29 +08:00
dapan1121 d4c7154cde Merge branch '3.0' into feature/qnode 2022-06-09 09:10:37 +08:00
dapan1121 ef18a45d99 in data type convert 2022-06-09 09:09:48 +08:00
Ganlin Zhao 51c9a6fac7 fix(query): fix to_iso8601 function append format in "-hh:mm", "-hhmm"
"-hh", "z" when digits exceeds 10 digits
2022-06-08 22:42:10 +08:00
dapan1121 1a078d5d56 fix in issue 2022-06-08 18:36:46 +08:00
wangmm0220 8e4690455d fix:return false in is ture operator if result is null 2022-06-08 14:06:42 +08:00
dapan1121 308f6a5682 Merge branch '3.0' into feature/qnode 2022-06-08 08:57:58 +08:00
dapan1121 f5da576a89 fix in compare issue 2022-06-08 08:57:20 +08:00
wangmm0220 74bc4cc3f0 fix:return false in is ture operator if result is null 2022-06-07 15:33:37 +08:00
wangmm0220 89b2a64435 fix: fix error in json and add test cases for json 2022-06-06 21:14:24 +08:00
wangmm0220 5d042b674a fix: fix error in json and add test cases for json 2022-06-06 17:57:26 +08:00
wangmm0220 0232394386 fix: fix error in json and add test cases for json 2022-06-06 17:55:14 +08:00
wangmm0220 a3a959043e feat: test arith/logic operator for json 2022-06-05 22:25:10 +08:00
wangmm0220 30b8bd1b16 feat: add sort/group logic for json 2022-06-05 21:31:54 +08:00
wangmm0220 c9daa37886 feat: add sort/group logic for json 2022-06-05 16:52:28 +08:00
wangmm0220 84fd45c3bb feat: add sort/group logic for json 2022-06-05 14:18:40 +08:00
wangmm0220 9e1cd759f3 feat: add sort/group logic for json 2022-06-05 13:50:31 +08:00
afwerar 490889f8e7 fix(os): win python case error 2022-06-03 16:13:06 +08:00
Ganlin Zhao de167cd46d fix(query): concat/concat_ws function output incorrect when
all param are constant and include NULL value.

TD-16232
TD-16233
2022-06-02 10:17:07 +00:00
Ganlin Zhao adc1030197
Merge pull request #13393 from taosdata/fix/TD-16070
feat(query): add log function support natural logarithm
2022-06-01 22:38:15 +08:00
Ganlin Zhao 2c0f42c2be
Merge pull request #13390 from taosdata/fix/TD-16070
fix(query): concat/concat_ws function null constant handling and param check
2022-06-01 21:54:51 +08:00
Ganlin Zhao 98b40a59a0 feat(query): add log function support natural logrithm
TD-15182
2022-06-01 13:52:01 +00:00
Ganlin Zhao b0bdd6ab95
Merge pull request #13383 from taosdata/fix/TD-16171
enh(query): to_iso8601 function add timezone parameter
2022-06-01 21:17:06 +08:00
Ganlin Zhao 61d2079870 fix(query): concat/concat_ws function null constant handling
TD-16071
2022-06-01 13:09:58 +00:00
Ganlin Zhao e04c09d4ab enh(query): to_iso8601 param handing 2022-06-01 10:32:51 +00:00
Ganlin Zhao 7d3ef94fd8 enh(query): to_iso8601 add server side handling of timezone param
TD-16152
2022-06-01 16:09:23 +08:00
wangmm0220 19b0932781 feat:merge from 3.0 2022-05-31 23:46:04 +08:00
wangmm0220 f6b700ff45 feat:add new logic for new tag format 2022-05-31 22:30:08 +08:00
wangmm0220 f89ce48e66 feat:add new logic for new tag format 2022-05-31 20:18:02 +08:00
wangmm0220 816cea07f9 feat:add new logic for new tag format 2022-05-31 17:49:33 +08:00
Cary Xu f2b4cca23d fix: init buffer to avoid invalid write 2022-05-29 01:10:32 +08:00
dapan1121 5da1ead67b
Merge pull request #13174 from taosdata/feature/qnode
fix: fix memory leak
2022-05-28 22:44:00 +08:00
dapan1121 5ce7dd2a4d qnode load 2022-05-28 22:13:26 +08:00
Haojun Liao 041cb3f055 fix(query): set correct start offset of binary data when trimming first value. 2022-05-28 20:10:18 +08:00
Cary Xu 9b4c9e4802 enh: tag refactor for normal tags 2022-05-28 17:16:04 +08:00
Haojun Liao 49ac4b0e08 fix(query): set correct buffer size. 2022-05-28 15:19:10 +08:00
Haojun Liao b137be9898 fix(query): prepare enough buffer before convert string. 2022-05-26 17:17:56 +08:00
dapan1121 0c22c548d8 fix constant reserve issue 2022-05-23 19:06:22 +08:00
Xiaoyu Wang 427301c1d1 Merge remote-tracking branch 'origin/3.0' into feature/3.0_constant 2022-05-21 17:08:13 +08:00
dapan1121 ff73213133 constnat value to column 2022-05-20 22:09:19 +08:00
WANG MINGMING c715ee5993
Merge pull request #12719 from taosdata/feature/TD-13041
fea: add select json from table
2022-05-20 13:15:49 +08:00
wangmm0220 d48d98f094 fea:add select json logic 2022-05-19 22:10:20 +08:00
wangmm0220 6c26b6230f fea:add select json logic 2022-05-19 17:57:14 +08:00
wangmm0220 91dc9e9089 fea:add select json logic 2022-05-19 17:46:28 +08:00
afwerar 51721dfc47 fix(os): win run error 2022-05-19 10:37:11 +08:00
slzhou 911cd1fe66 fix: reuse existing udf handles and teardown the handle later 2022-05-14 22:51:13 +08:00
slzhou 4a316eae3f Revert "feat: enhance udf scalar function calls"
This reverts commit e8690dabef.
2022-05-14 17:03:05 +08:00
dapan1121 4f8346ed91 Merge branch 'feature/qnode' of github.com:taosdata/TDengine into feature/qnode 2022-05-14 09:38:00 +08:00
dapan1121 feaf9d0519 fix string to ts issue 2022-05-14 09:37:29 +08:00
slzhou e8690dabef feat: enhance udf scalar function calls 2022-05-13 22:14:53 +08:00
Haojun Liao 3678aa9094
Merge pull request #12391 from taosdata/feature/3.0_liaohj
fix(query): fix special pseudo column caused taosd crash.
2022-05-12 23:49:21 +08:00
dapan1121 64a54c1541 fix bug 2022-05-12 19:57:17 +08:00
dapan 314c15d366 Merge branch 'feature/qnode' of https://github.com/taosdata/TDengine into feature/qnode 2022-05-12 19:19:28 +08:00
dapan 7771023d7b string to timestamp 2022-05-12 18:02:57 +08:00
Haojun Liao a41f6a3479 fix(query): fix the bug that special pseudo column tbname, along with other normal columns in select clause, cause taosd crash. 2022-05-12 17:33:36 +08:00
dapan1121 cc9983ab91 fix bug 2022-05-11 21:35:00 +08:00
dapan1121 327b5cdae9 stmt auto create table 2022-05-11 19:02:39 +08:00
dapan af2ba729b0 Merge remote-tracking branch 'origin/3.0' into feature/qnode 2022-05-09 20:04:00 +08:00
Ganlin Zhao b3df34ef08 Revert "fix(query): fix cast function regression brought by other changes"
This reverts commit e000addc2c.
2022-05-09 15:16:47 +08:00
Ganlin Zhao 8bbcb02855 Merge branch 'feature/3.0_glzhao' of github.com:taosdata/TDengine into feature/3.0_glzhao 2022-05-09 15:16:09 +08:00
Ganlin Zhao b4c7118a51 fix(query): fix cast ncahr bug 2022-05-09 15:13:43 +08:00
Ganlin Zhao e000addc2c fix(query): fix cast function regression brought by other changes 2022-05-09 13:34:26 +08:00
shenglian zhou 8f3619ee89 feature(udf): enhance error process 2022-05-09 11:36:46 +08:00
dapan 71dbed3ede Merge remote-tracking branch 'origin/3.0' into feature/qnode 2022-05-09 08:16:02 +08:00
Haojun Liao 06fb98f0a4 fix(query): revise the length of var data type. 2022-05-08 17:18:11 +08:00
Ganlin Zhao 291d6d25eb fix(query): fix invalid write for concat/concat_ws function
TD-15319
TD-15346
2022-05-07 20:56:43 +08:00
dapan1121 1792bf5ff3 fix bug 2022-05-07 14:46:04 +08:00
Haojun Liao 8ffdd1b715 other: merged with 3.0 branch. 2022-05-06 17:26:52 +08:00
Haojun Liao 4e90982c22 fix(query): sort according to the generated column data in order by operator. 2022-05-06 17:23:20 +08:00
Haojun Liao e4f0a0fc67 fix(query): enable table name query for super table. 2022-05-05 23:47:44 +08:00
Ganlin Zhao 26285015cb fix(query): fix cast function constant convert to nchar result length 2022-05-05 20:11:34 +08:00
Ganlin Zhao 8430a94c81 Merge branch '3.0' into feature/3.0_glzhao 2022-05-05 18:37:47 +08:00
Ganlin Zhao f904e5912e fix(query): fix cast constant to nchar type value output incorrect
TD-15138
2022-05-05 17:43:22 +08:00
dapan1121 ed0c177406 Merge remote-tracking branch 'origin/3.0' into feature/qnode 2022-05-05 08:16:39 +08:00
dapan1121 c3484ce8c3 stmt query 2022-04-29 20:04:34 +08:00
dapan1121 190b702953
Merge pull request #12017 from taosdata/feature/qnode
fix: fix hb crash issue
2022-04-29 16:38:48 +08:00
dapan1121 dd13924dbc stmt query 2022-04-29 14:35:54 +08:00
Haojun Liao 77f1779820
Merge pull request #12042 from taosdata/feature/3.0_liaohj
fix(query): alter the type of result of the length function.
2022-04-29 14:00:16 +08:00
Haojun Liao 5711656304 fix(query): alter the type of result of the length function. 2022-04-29 11:55:25 +08:00
dapan1121 a4d4cd2a84 stmt query 2022-04-29 11:31:39 +08:00
dapan1121 18b6c99e09 Merge remote-tracking branch 'origin/3.0' into feature/qnode 2022-04-29 09:20:48 +08:00
dapan1121 92c555f257 stmt query 2022-04-29 09:20:37 +08:00
afwerar f4f11fdc01 fix(os): fix win open file error. 2022-04-28 19:46:37 +08:00
Ganlin Zhao 5587eb375c
Merge pull request #11993 from taosdata/fix/TD-15172
fix(query): fix bug in multi-input math functions
2022-04-28 17:26:44 +08:00
shenglian-zhou d5ae5fc667
Merge pull request #11897 from taosdata/feature/udf
feature(udf): aggregate function
2022-04-28 14:00:35 +08:00
Ganlin Zhao ad93fc6344 fix(query): fix bug in multi-input math functions 2022-04-28 13:32:03 +08:00
Ganlin Zhao b70c019824 fix(query): fix bug in multi-input math functions 2022-04-28 13:29:50 +08:00
dapan1121 e79850164b
Merge pull request #11985 from taosdata/feature/qnode
fix: fix taos shell crash issue
2022-04-28 13:21:43 +08:00
dapan1121 5935c9cda4 Merge branch 'feature/qnode' of github.com:taosdata/TDengine into feature/qnode 2022-04-28 11:49:09 +08:00
dapan1121 1850dc0371 stmt query 2022-04-28 11:47:55 +08:00
shenglian zhou 974c679c84 Merge branch '3.0' of github.com:taosdata/TDengine into feature/udf 2022-04-28 10:30:20 +08:00
Cary Xu e6a83367c8 merge 3.0 2022-04-28 09:47:49 +08:00
Ganlin Zhao d22a791125 refactor(query): divide by 0 optimization
TD-15058
TD-15059
2022-04-27 20:31:15 +08:00
dapan1121 1aa22beb60 stmt query 2022-04-27 20:03:13 +08:00
Ganlin Zhao c211427e2e fix(query): replace nan/inf result in math functions
TD-15172
2022-04-27 19:03:41 +08:00
shenglian zhou 35711ee710 Merge branch '3.0' of github.com:taosdata/TDengine into feature/udf 2022-04-27 07:31:36 +08:00
slzhou 26eaaf9070 Merge branch '3.0' of github.com:taosdata/TDengine into 3.0_udfd 2022-04-26 17:00:15 +08:00
slzhou 41a213a904 scalar api change 2022-04-26 16:57:08 +08:00
dapan1121 4d595938df handle null value 2022-04-26 16:40:30 +08:00
dapan1121 960f885aef Merge remote-tracking branch 'origin/3.0' into feature/qnode 2022-04-26 15:55:11 +08:00
dapan1121 65a7d0f1c2 scalar constant 2022-04-26 15:51:46 +08:00
Ganlin Zhao 471b67ae45 fix(query): change some assert to ASSERT macro 2022-04-26 15:29:50 +08:00
Ganlin Zhao daea9b4d58 fix(query): fix taosshell crash when arithmetic operation with NULL
concstant

TD-15132
2022-04-26 15:06:20 +08:00
dapan1121 ab459546ba Merge remote-tracking branch 'origin/3.0' into feature/qnode 2022-04-26 08:40:07 +08:00
Xiaoyu Wang fc3df94127 fix: some problems of udf and 'create table' 2022-04-25 21:05:50 +08:00
Xiaoyu Wang ba509423fc fix: some problems of udf and 'create table' 2022-04-25 20:35:05 +08:00
Xiaoyu Wang 103418bfc5 fix: some problems of udf and 'create table' 2022-04-25 20:28:14 +08:00
dapan1121 15d7abf46f stmt query 2022-04-25 20:03:28 +08:00
Ganlin Zhao 28855b81b1 fix(query): fix scalar function input is constant return var type value contains illegal characters.
TD-15116
2022-04-25 17:31:29 +08:00
Ganlin Zhao 8c36142a9c fix(query): fix scalar function input is constant return var type value contains illegal characters.
TD-15116
2022-04-25 17:16:47 +08:00
Ganlin Zhao 21feb85915 fix(query): fix timezone function output string incomplete
TD-15116
2022-04-25 12:42:26 +08:00
dapan1121 54dd9e3ca4 feature/qnode 2022-04-25 09:32:46 +08:00
dapan1121 8bbc6b09ca Merge remote-tracking branch 'origin/3.0' into feature/qnode 2022-04-25 09:06:33 +08:00
Ganlin Zhao 8ace6c9bdf
Merge pull request #11811 from taosdata/fix/TD-15107
fix(query): fix math function NULL values is not properly appended
2022-04-24 22:25:01 +08:00
Ganlin Zhao aadbba44cc fix(query): fix math function NULL values is not properly appended
TD-15056
2022-04-24 21:17:30 +08:00
dapan bb33139572 feature/qnode 2022-04-24 20:11:34 +08:00
Xiaoyu Wang a9ab3c8940 enh: order by primary key optimize 2022-04-24 16:31:17 +08:00
dapan1121 ef0365ebeb feature/qnode 2022-04-24 16:27:09 +08:00
dapan1121 78f05459a7
Merge pull request #11769 from taosdata/feature/qnode
feat: fix qnode list type issue
2022-04-22 19:47:20 +08:00
WANG MINGMING 4291981b54
Merge pull request #11690 from taosdata/feature/TD-13041
fix: bugs in to_json
2022-04-22 18:23:27 +08:00
dapan1121 8cfcd6d4f4 feature/qnode 2022-04-22 17:48:12 +08:00
Ganlin Zhao 85bbe4e832
Merge pull request #11755 from taosdata/feature/3.0_glzhao
refactor(query): limit cast var type length to 1000
2022-04-22 16:30:11 +08:00
Ganlin Zhao a601081e6d refactor(query): limit cast var type length to 1000 2022-04-22 16:04:17 +08:00
Ganlin Zhao f6c21cd39a
Merge pull request #11743 from taosdata/feature/3.0_glzhao
fix(query): fix timediff bug
2022-04-22 14:54:51 +08:00
Ganlin Zhao 87bcbe8f52 fix(query): fix timediff bug
TD-14802
2022-04-22 14:25:15 +08:00
dapan1121 54e1702749
Merge pull request #11732 from taosdata/feature/qnode
feat: add udf catalog api
2022-04-22 11:46:06 +08:00
afwerar fc24521621 fix(os): windows compile 3.0. 2022-04-22 09:54:27 +08:00
dapan1121 162b3087c3 Merge remote-tracking branch 'origin/3.0' into feature/qnode 2022-04-22 09:46:19 +08:00
dapan1121 31528bbe55 feature/qnode 2022-04-22 09:16:00 +08:00
Ganlin Zhao f8b67140ca
Merge pull request #11710 from taosdata/fix/TD-14770
fix(query): fix cast binary->binary trailing characters
2022-04-21 15:38:12 +08:00
Ganlin Zhao 8c4e3b62b0 fix(query): fix cast binary->binary trailing characters 2022-04-21 15:19:58 +08:00
wangmm0220 d2a1203eeb refactor: fix bugs in to_json 2022-04-20 20:39:19 +08:00
WANG MINGMING 66400aff66
Merge pull request #11671 from taosdata/feature/TD-13041
feat: json tag
2022-04-20 20:22:59 +08:00
wangmm0220 1ab6342018 refactor: fix error in merge 2022-04-20 18:54:15 +08:00
Ganlin Zhao 1403fa1d6e refactor(query): add parameter combination check for cast 2022-04-20 17:35:49 +08:00
wangmm0220 0fb41733ea refactor: merge from 3.0 2022-04-20 17:08:52 +08:00
wangmm0220 a016f1157a refactor: add unit test for json compare 2022-04-20 16:52:32 +08:00
Ganlin Zhao 0db26f2f96 fix(query): substr function param overflow
TD-14760
2022-04-20 14:30:04 +08:00
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
wangmm0220 2133a2de1d refactor: add test casese for json compare logic 2022-04-19 20:30:06 +08:00
Ganlin Zhao 482afcf288 refactor(query): refactor cast function
TD-14837
TD-14843
TD-14904
2022-04-19 18:20:27 +08:00
Ganlin Zhao 11028921b6 refactor(query): refactor cast function
TD-14837
TD-14843
TD-14904
2022-04-19 18:16:29 +08:00
wangmm0220 412e2cbb0d refactor: add test casese for json compare logic 2022-04-19 17:52:04 +08:00
Haojun Liao 29608b0866
Merge pull request #11610 from taosdata/feature/3.0_liaohj
fix(query): avoid the output result overlap within the project operator buffer.
2022-04-19 16:27:28 +08:00
Ganlin Zhao a70181194b refactor(query): refactor string functions
TD-14836
TD-14833
2022-04-19 13:15:55 +08:00
Haojun Liao a036d2f3ff fix(query): fix the bug caused by refactor in first/last function implementation. 2022-04-19 13:07:23 +08:00
wangmm0220 b96082fe1b refactor: fix compare logic 2022-04-19 09:46:12 +08:00
wangmm0220 49c3057221 refactor: merge from 3.0 2022-04-18 21:15:57 +08:00
wangmm0220 ad29963423 refactor: modify json compare in where condition 2022-04-18 21:00:35 +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 1c0211880f refactor(query): support timefunction arithmetic operation with boolean
constant
2022-04-18 18:47:30 +08:00
Ganlin Zhao 315a6c0364 refactor(query): constant NULL value processing logic
TD-14802
TD-14803
2022-04-18 17:36:48 +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
wangmm0220 d2d29d992f refactor: add compare logic for json value 2022-04-18 14:25:19 +08:00
wangmm0220 e2c6bf41df refactor: add compare logic for json value 2022-04-18 13:36:01 +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
wangmm0220 b7bd654c77 refactor: add compare logic for json value 2022-04-16 21:24:07 +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
wangmm0220 73c34da280 Merge branch '3.0' into feature/TD-13041 2022-04-16 09:30:26 +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
wangmm0220 93cbee6970 Merge branch '3.0' into feature/TD-13041 2022-04-14 18:25:08 +08:00
wangmm0220 32577d4196 refactor: add json tag function for sql parser 2022-04-14 18:24:21 +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 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
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
dapan1121 2c6dec89d2 feature/qnode 2022-04-06 11:32:21 +08:00
Haojun Liao ddc63b9f27 [td-14393] fix error. 2022-04-04 15:45:32 +08:00
Xiaoyu Wang aaf35118f6
Merge pull request #11222 from taosdata/feature/3.0_wxy
integrate constant calculate
2022-04-02 20:35:10 +08:00
Xiaoyu Wang 469cd23f43 integrate constant calculate 2022-04-02 07:57:44 -04: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 db87cabd15 Merge branch '3.0' into feature/3.0_glzhao 2022-04-02 13:59:29 +08:00
Ganlin Zhao 70b0139017 Merge branch '3.0' into feature/3.0_glzhao 2022-04-02 13:57:21 +08:00
Haojun Liao 27817adbdc
Merge pull request #11199 from taosdata/feature/3.0_liaohj
[td-14393] refactor and support filter condition in where clause.
2022-04-02 11:18:58 +08:00
Haojun Liao 55f93d2179 [td-14393] refactor and support filter condition in where clause. 2022-04-02 10:43:28 +08:00
Ganlin Zhao 5a1548bf15 [TD-14241]: substr function adoption 2022-04-02 10:40:15 +08:00
Haojun Liao 34f5f3fbfe
Merge pull request #11194 from taosdata/feature/3.0_liaohj
[td-14428] return correct length for both nchar and varchar type.
2022-04-01 23:26:21 +08:00
Haojun Liao 751cad9c2a [td-14393] fix bug. 2022-04-01 20:19:40 +08:00
Haojun Liao 632f3b1cbf
Merge pull request #11188 from taosdata/feature/3.0_liaohj
[td-13039] support limit/offset
2022-04-01 19:07:22 +08:00
Ganlin Zhao 3295a58894 [TD-14423]<fix>: abs(0.000) return -0.00000 2022-04-01 17:27:56 +08:00
Haojun Liao 7b0dfc6c4e [td-13039] support limit/offset 2022-04-01 17:21:24 +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
Haojun Liao 02e097dc5c [td-14426] fix bug. 2022-03-31 17:36:51 +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