Commit Graph

714 Commits

Author SHA1 Message Date
Ganlin Zhao 107cb15dbd feat(query): add stateduration function scalar version 2022-07-17 22:52:40 +08:00
dapan1121 9ec14ece62 fix: fix taosd mem leak 2022-07-16 18:58:29 +08:00
Ganlin Zhao 810be53374 fix(query): fix state operator check 2022-07-16 17:01:44 +08:00
Ganlin Zhao 3bcd669fcd feat(query): add statecount function scalar version 2022-07-16 16:46:03 +08:00
Ganlin Zhao 790cecf123 feat(query): add diff function scalar version 2022-07-16 15:04:45 +08:00
Ganlin Zhao 2d1428eadd feat(query): add csum function scalar version
TD-17344
2022-07-16 14:13:45 +08:00
Ganlin Zhao 6d63d1b5b8 fix count scalar function behavior 2022-07-16 14:07:32 +08:00
Ganlin Zhao a57d2417c3 feat(query): add hyperloglog scalar version
TD-17344
2022-07-16 14:01:49 +08:00
Ganlin Zhao 59839f0d0a feat(query): add mavg scalar version 2022-07-16 13:41:42 +08:00
Ganlin Zhao 8caa4bcad0 feat(query): add twa function scalar version 2022-07-16 13:34:24 +08:00
Ganlin Zhao ee5d2c1d82 refactor 2022-07-16 11:46:49 +08:00
Ganlin Zhao 566ab93f83 add derivative scalar version 2022-07-16 11:37:05 +08:00
Ganlin Zhao 598c57e059 feat(query): add irate function scalar version
TD-17344
2022-07-16 11:26:04 +08:00
Ganlin Zhao cbd2d8f8a2 fix(query): add spread function scalar version
TD-17344
2022-07-15 17:54:45 +08:00
Ganlin Zhao a5a3b96e58 enable select agg function without from clause 2022-07-15 16:50:51 +08:00
Ganlin Zhao 14ae310fea fix issue 2022-07-15 16:47:52 +08:00
Ganlin Zhao 0377f865db fix conflict 2022-07-15 16:45:30 +08:00
Ganlin Zhao 9e49a0012d feat(query): add percentile/apercentile scalar version
TD-17344
2022-07-15 15:52:32 +08:00
Ganlin Zhao b8a4878b00 fix(query): add leastsquares function scalar version 2022-07-15 14:34:40 +08:00
Ganlin Zhao 4ff107812f feat(query): add avg function scalar version
TD-17344
2022-07-15 10:00:35 +08:00
Ganlin Zhao 7e661a9e9c feat(query): add avg function scalar version
TD-17344
2022-07-14 20:02:21 +08:00
Ganlin Zhao 256c4aa25b Merge branch '3.0' into feat/agg_client_api 2022-07-14 19:20:45 +08:00
Ganlin Zhao 680400834a refactor code 2022-07-14 19:17:28 +08:00
Ganlin Zhao 98e542f884
Merge pull request #14888 from taosdata/feat/agg_client_api
feat(query): add sum/count/max/min function scalar version
2022-07-14 19:09:30 +08:00
Ganlin Zhao b87eb0abb3 feat(query): add stddev function scalar version
TD-17344
2022-07-14 17:39:03 +08:00
wangmm0220 a15bd187bf fix:error in json tag 2022-07-14 16:24:16 +08:00
Ganlin Zhao 29ff569191 enable scalar function check to prevent crash 2022-07-14 14:04:06 +08:00
Ganlin Zhao 0cb911c0b4 Merge branch '3.0' into feat/agg_client_api 2022-07-14 11:40:53 +08:00
Ganlin Zhao 3f31c464f0 feat(query): add max function scalar version
TD-17344
2022-07-14 10:58:45 +08:00
Ganlin Zhao 8b1e56389c feat(query): add min function scalar version
TD-17344
2022-07-14 10:26:00 +08:00
Ganlin Zhao 80f175bdbe feat(query): add count function scalar version
TD-17344
2022-07-13 19:46:56 +08:00
Ganlin Zhao 4bc3770cd3 fix code format 2022-07-13 18:16:41 +08:00
Ganlin Zhao 099f2d2c98 remove scalar function check to allow agg function execute 2022-07-13 18:14:27 +08:00
Ganlin Zhao dd8f235e97 feat(query): add count function scalar version
TD-17344
2022-07-13 17:47:56 +08:00
dapan1121 ca754adaa6 fix: add agg processing 2022-07-13 17:14:04 +08:00
dapan1121 8c83f07fe4 fix: fix natural timestamp issue 2022-07-13 16:43:50 +08:00
dapan1121 25f80f8d3e fix: fix null bytes issue 2022-07-12 17:10:55 +08:00
dapan1121 b824dc71a0 fix: fix invalid time range issue 2022-07-11 11:23:15 +08:00
Xiaoyu Wang 6a3124a5f9 Merge remote-tracking branch 'origin/enh/in' into feature/3.0_debug_wxy 2022-07-10 17:31:37 +08:00
dapan1121 6cd21fe04b enh: enhance in operator 2022-07-10 16:52:11 +08:00
Xiaoyu Wang bd210bf392 Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-10 16:45:14 +08:00
dapan1121 f530607359 Merge branch '3.0' into fix/bugs 2022-07-10 11:18:01 +08:00
Xiaoyu Wang 2454298b0b Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-10 10:24:55 +08:00
Shengliang Guan c53a84b733 Merge remote-tracking branch 'origin/3.0' into fix/valgrind 2022-07-09 20:13:26 +08:00
Haojun Liao 5ee4a196de fix(query): update the ut. 2022-07-09 14:01:25 +08:00
Haojun Liao 21742bba09 fix(query): add error code check. 2022-07-09 12:00:48 +08:00
Haojun Liao c5ccdfd4e9 fix(query): set the correct resource free flag. 2022-07-09 11:06:41 +08:00
Xiaoyu Wang f99a61a464 fix: some problem of parser and planner 2022-07-08 21:05:19 +08:00
Shengliang Guan a5e8ddbc56 refactor: adjust logs 2022-07-08 18:00:19 +08:00
dapan1121 17f5f3ee82 fix: fix server_status() issue 2022-07-08 17:51:03 +08:00
Xiaoyu Wang df06d22cb3 fix: some problem of parser and planner 2022-07-08 17:35:11 +08:00
Haojun Liao 3e81daf578 fix(query): fix memory leak. 2022-07-08 17:28:37 +08:00
Ganlin Zhao 6251bd7ea9 fix(query): add "1b" timeunit in function param to represent nanosecond
TD-17012
2022-07-05 17:18:37 +08:00
Ganlin Zhao 16a0c79ee4 fix(query): add "1b" timeunit in function param to represent nanosecond
TD-17012
2022-07-05 16:44:14 +08:00
dapan1121 7f0cc9ca22
Merge pull request #14509 from taosdata/enh/addconverttype
enh: add type convert api
2022-07-04 19:52:35 +08:00
Ganlin Zhao cce9f262aa
Merge pull request #14507 from taosdata/fix/TD-16948
refactor(query): remove redundant param check in function execution context
2022-07-04 18:52:53 +08:00
Ganlin Zhao 6e98552eca fix(query): fix timetruncate/timediff local variable overwrite issue
TD-17032
2022-07-04 17:54:49 +08:00
dapan1121 57836d8bb2 enh: add type convert api 2022-07-04 17:40:20 +08:00
Ganlin Zhao af6a9abfde refactor(query): remove redundant param check on function execution
context

TD-17029
2022-07-04 17:14:22 +08:00
Zhiqiang Wang b45702be6f
Merge pull request #14466 from taosdata/fix/ZhiqiangWang/TD-13064-add-Mac-compile-support
os: add Mac compile support
2022-07-02 18:02:28 +08:00
WANG MINGMING e4a711975d
Merge pull request #14458 from taosdata/feature/TD-13041
fix: erro in json in operator
2022-07-02 17:52:43 +08:00
afwerar b9a1c6744c os: add Mac compile support 2022-07-02 17:40:23 +08:00
wangmm0220 8390080074 fix: error in empty string in operator 2022-07-02 16:16:18 +08:00
Ganlin Zhao 68fab47397 enh(query): add cast from binary/nchar -> timestamp for date-time string 2022-07-02 16:09:22 +08:00
Ganlin Zhao 35698da9c9 enh(query): add cast from binary/nchar -> timestamp for date-time string 2022-07-02 15:47:42 +08:00
wangmm0220 3dafc6556c fix: erro in json in operator 2022-07-02 14:47:07 +08:00
wangmm0220 4e6b3d72ac Merge branch '3.0' into feature/TD-13041 2022-07-01 16:54:18 +08:00
wangmm0220 085ace59e0 fix:to_json() function 2022-07-01 16:47:54 +08:00
dapan1121 5b018f399a
Merge pull request #14418 from taosdata/hotfix/streamcrash
fix: fix stream crash issue
2022-07-01 13:22:20 +08:00
afwerar 4e8f3db596 os: replace win qsort func 2022-07-01 11:54:21 +08:00
dapan1121 ba265d51b8 fix: fix stream crash issue 2022-07-01 10:29:37 +08:00
wangmm0220 e751e20c76 fix:merge from 3.0 2022-06-30 16:25:43 +08:00
Ganlin Zhao 4d59cfec76 Merge branch '3.0' into refactor/db_precision 2022-06-29 20:50:06 +08:00
Ganlin Zhao b1670f8b82 refactor(query): function adoption to us/ns db precision
TD-16436
2022-06-29 20:49:36 +08:00
Ganlin Zhao 4c23223447 refactor(query): function adoption to us/ns db precision
TD-16436
2022-06-29 20:46:51 +08:00
Ganlin Zhao 5d9e01c771
Merge pull request #14366 from taosdata/refactor/db_precision
refactor(query): function adoption to us/ns db precision
2022-06-29 20:28:53 +08:00
Ganlin Zhao 5e31c9e8fe refactor(query): function adoption to us/ns db precision
TD-16436
2022-06-29 20:07:33 +08:00
Ganlin Zhao 26e6d7ccf7
Merge pull request #14358 from taosdata/refactor/db_precision
refactor(query): function adoption to us/ns db precision
2022-06-29 19:49:04 +08:00
Ganlin Zhao 9e75569870 refactor(query): function adoption to us/ns db precision
TD-16436
2022-06-29 19:48:37 +08:00
Ganlin Zhao 290d5b3f14 refactor(query): function adoption to us/ns db precision
TD-16436
2022-06-29 17:50:33 +08:00
wangmm0220 8e5099c44c Merge branch '3.0' into feature/TD-13041 2022-06-27 20:02:00 +08:00
dapan1121 d402716465 enh: stop query 2022-06-27 18:29:28 +08:00
wangmm0220 5557c2ef93 fix: add limit for json operator 2022-06-27 16:17:58 +08:00
Ganlin Zhao 570b36cb9b
Merge pull request #14232 from taosdata/enh/cast_function
enh(query): enhance cast function to support more types
2022-06-25 14:57:58 +08:00
wangmm0220 7acf012253 fix:memory error 2022-06-25 13:51:43 +08:00
Ganlin Zhao b139daf08b add cast function support ->bool 2022-06-25 13:32:14 +08:00
Ganlin Zhao 3b9953f483 cast function support ->float, ->double 2022-06-25 12:15:17 +08:00
Ganlin Zhao 4a7938e9ff cast support nchar->binary, binary/nchar->timestamp 2022-06-25 12:05:17 +08:00
Ganlin Zhao b1f16fca4e Merge branch '3.0' into enh/cast_function 2022-06-25 10:48:16 +08:00
Ganlin Zhao 4f629ec68b enh(query): enhance cast function to support more types
TD-15473
2022-06-24 16:53:56 +08:00
Ganlin Zhao 4995ce780e
Merge pull request #14181 from taosdata/fix/TD-15216
fix(query): math function invalid input should have null output
2022-06-24 10:33:14 +08:00
Ganlin Zhao 38c61a1a25 fix: pow/log function invalid input handling 2022-06-23 20:58:43 +08:00
Ganlin Zhao 9399f5fd70 fix: ceil/floor/round function invalid input handling 2022-06-23 20:28:51 +08:00
Ganlin Zhao 60d0229d3d fix: abs function handling invalid constant input
TD-15216
2022-06-23 20:18:47 +08:00
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
Haojun Liao 800098a795 fix(query): fix syntax error on windows platform. 2022-06-23 18:54:07 +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 e071649619 test: update the unit test. 2022-06-23 16:34:43 +08:00
shenglian zhou f4ec009a00 Merge branch '3.0' of github.com:taosdata/TDengine into feature/3_liaohj 2022-06-23 13:49:10 +08:00
Haojun Liao 2d31d3cb43 other: merge 3.0 2022-06-23 10:37:07 +08:00
wangmm0220 bdef3c34a1 fix:unit test cases 2022-06-23 10:11:08 +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 a1401db437 fix(query): fix syntax error in unit test. 2022-06-22 17:23:38 +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 414e82f0b1 fix:return false in is ture operator if result is null 2022-06-07 18:55:13 +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 73dfefdbbc feat: test arith/logic operator for json 2022-06-05 22:31:25 +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 020372cc75 feat: add sort/group logic for json 2022-06-05 18:26:16 +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
Zhiqiang Wang 4e987a50fb
Merge pull request #13376 from taosdata/fix/ZhiqiangWang/TD-15849-remote-fqdn-error
fix(os): remote fqdn error
2022-06-01 17:17:01 +08:00
afwerar 10042e9a5f fix(os): remote fqdn error 2022-06-01 16:20:20 +08: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
WANG MINGMING 8be47d5695
Merge pull request #13334 from taosdata/feat/tag_refact
feat:add new logic for new tag format
2022-06-01 15:09:43 +08:00
wangmm0220 588c4f5abf Merge branch '3.0' into feat/tag_refact 2022-06-01 13:25:41 +08:00
afwerar 8908407918 fix(os): add log data dir configure 2022-06-01 11:33:15 +08:00
afwerar 7c18d2f453 fix(os): delete two win ctest 2022-06-01 09:30:33 +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 d95ec693c0 feat:add new logic for new tag format 2022-05-31 21:05:43 +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
afwerar 72d4048f5b fix(os): change-win-ctest 2022-05-31 13:50:29 +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
Haojun Liao 067e29f728
Merge pull request #13169 from taosdata/feature/3_liaohj
fix(query): set correct start offset of binary data when trimming values.
2022-05-28 22:32:09 +08:00
dapan1121 5ce7dd2a4d qnode load 2022-05-28 22:13:26 +08:00
afwerar 7b540d91d9 fix(os): add win ctest 2022-05-28 21:08:50 +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
Xiaoyu Wang 1005fb8850 feat: parser adapts asynchronous interface 2022-05-27 17:02:40 +08:00
Xiaoyu Wang d0c11c5bba feat: parser adapts asynchronous interface 2022-05-27 17:00:37 +08:00
Haojun Liao b137be9898 fix(query): prepare enough buffer before convert string. 2022-05-26 17:17:56 +08:00
wangmm0220 e7194116e7 merge:from 3.0 2022-05-23 20:32:33 +08:00
wangmm0220 32870f992b fix:add json test case 2022-05-23 20:19:30 +08:00
dapan1121 0c22c548d8 fix constant reserve issue 2022-05-23 19:06:22 +08:00
wangmm0220 cf00cc3850 fix:fix json error 2022-05-23 15:13:36 +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
wangmm0220 5c553a37f5 fix: unit test in json scalar operator 2022-05-20 21:01:22 +08:00
wangmm0220 56fba8eb27 fix: unit test in json scalar operator 2022-05-20 20:57:45 +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
wangmm0220 7cde35219f refactor:add the configuration of child table name 2022-05-16 21:48:45 +08:00
wangmm0220 bfab84778c Merge branch 'feature/TD-14761' of github.com:taosdata/TDengine into feature/TD-14761 2022-05-16 20:51:38 +08:00
wangmm0220 575c86fcd7 fix:add scale unit test to CI 2022-05-16 17:29:01 +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
Shengliang Guan 7b15cdb287
Merge branch '3.0' into feature/qnode 2022-05-13 23:27:59 +08:00
slzhou e8690dabef feat: enhance udf scalar function calls 2022-05-13 22:14:53 +08:00
dapan1121 1b2ca4c1b4 stmt query 2022-05-13 19:08:16 +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
dapan f6f317d608 Merge remote-tracking branch 'origin/feature/vnode_refact0' into feature/qnode 2022-05-07 14:59:45 +08:00
dapan1121 1792bf5ff3 fix bug 2022-05-07 14:46:04 +08:00
WANG MINGMING 340f9158c0
Merge pull request #12156 from taosdata/feature/TD-14761
feat: schemaless write
2022-05-07 10:42:44 +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
wangmm0220 05daba7f8e refactor:merge from 3.0 2022-05-06 11:28:34 +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
wangmm0220 4fa52dc6d6 refactor:fix schemaless error & add unit test cases 2022-05-01 22:08:18 +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
wangmm0220 9eff7ff43a refactor: schemaless function 2022-04-25 15:54:34 +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
wangmm0220 1fe2abc8cd refactor:fix error in unit test for scalar test 2022-04-22 14:35:00 +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