Commit Graph

681 Commits

Author SHA1 Message Date
Ganlin Zhao 4036d9714e add bottom function distribution splitting 2022-06-13 13:38:21 +08:00
Haojun Liao eee5408d25 Merge branch 'feature/3_liaohj' of github.com:taosdata/tdengine into feature/3_liaohj 2022-06-11 19:28:44 +08:00
Haojun Liao d0dd451494 refactor: do some internal refactor of sample function. 2022-06-12 15:25:37 +08:00
Ganlin Zhao b342561535 Merge branch '3.0' into enh/top_bot_split 2022-06-11 19:25:43 +08:00
Ganlin Zhao b53c65ea27 disable selectivity function for top split for now 2022-06-11 19:22:57 +08:00
Xiaoyu Wang 67baa48961
Merge pull request #13720 from taosdata/feature/3.0_wxy
fix: some problems of parser
2022-06-11 17:16:47 +08:00
Ganlin Zhao b9cc1e6d09 add top getenv function for merge function 2022-06-11 16:39:26 +08:00
Ganlin Zhao 40f6fad49f fix bug 2022-06-11 16:21:45 +08:00
Ganlin Zhao 6473c85e13 fix bugs 2022-06-11 16:14:08 +08:00
Ganlin Zhao e9a8217f97 fix getTopBotInfoSize issue 2022-06-11 15:44:55 +08:00
Xiaoyu Wang e17396be9c fix: some problems of parser 2022-06-11 15:44:49 +08:00
Ganlin Zhao 56705a995f enable top function split 2022-06-11 15:29:26 +08:00
Ganlin Zhao 4c29b82626 refactor 2022-06-11 15:18:13 +08:00
Ganlin Zhao 546f8d892f Merge branch '3.0' into enh/top_bot_split 2022-06-11 11:11:37 +08:00
54liuyao ee5517d5ee feat(stream): combine function spread\elapsed\histogram\hll 2022-06-11 10:28:44 +08:00
Ganlin Zhao 741d0c5c69 support merge function resType same as original input type 2022-06-10 21:10:55 +08:00
Ganlin Zhao 40f5ff71f8 add top/bot splitting 2022-06-10 18:32:34 +08:00
Ganlin Zhao 220b9eb558
Merge pull request #13671 from taosdata/fix/timezone_minorfix
fix(query): timezone check minor fix
2022-06-10 17:44:37 +08:00
Haojun Liao 24cca6cbcd Merge branch '3.0' into feature/3_liaohj 2022-06-10 11:28:10 +08:00
Haojun Liao 85d4ee6031 refactor: do some internal refactor. 2022-06-10 10:29:53 +08:00
Ganlin Zhao e46783954d fix(query): timezone check minor fix 2022-06-10 10:18:31 +08:00
Haojun Liao c55aae2c0c enh(query): block distribution query is supported. 2022-06-10 09:51:57 +08:00
Ganlin Zhao 134ad9fa52 Merge branch '3.0' into enh/elapsed_split 2022-06-09 20:12:57 +08:00
Ganlin Zhao 2efbb56997 enable elapsed function splitting 2022-06-09 20:09:37 +08:00
Ganlin Zhao d2efa06742 add elapsed function merge/partial functions 2022-06-09 19:49:29 +08:00
Ganlin Zhao 564b184978
Merge pull request #13657 from taosdata/fix/TD-16372
fix(query): add to_iso8601 function timezone validation
2022-06-09 19:45:02 +08:00
Ganlin Zhao 62506bac33 add elapsed function partial/merge translate 2022-06-09 19:15:09 +08:00
54liuyao 016a7b698f feat(stream): stream state window support top and bottom 2022-06-09 17:45:40 +08:00
Ganlin Zhao cbfa116d06 fix(query): add to_iso8601 function timezone validation
TD-16372
2022-06-09 17:26:49 +08:00
Ganlin Zhao 32591162b4 fix(query): add to_iso8601 function timezone validation
TD-16372
2022-06-09 17:17:10 +08:00
Ganlin Zhao bed14b6ee3 enable hll splitting 2022-06-09 13:36:49 +08:00
Ganlin Zhao 8e65f1e426 add hll partial/merge functions 2022-06-09 13:31:33 +08:00
Ganlin Zhao d1a0ab2445 add hll partial/merge translate functions 2022-06-09 11:36:28 +08:00
Ganlin Zhao 23c0bdf052 enh(query): add hll function distributed splitting 2022-06-09 10:57:32 +08:00
Ganlin Zhao ca2d1f8b3c Merge branch '3.0' into enh/histogram_split 2022-06-08 20:34:39 +08:00
Ganlin Zhao ea05f8af12 fix bugs 2022-06-08 20:30:43 +08:00
Ganlin Zhao 9ccc3fb853 fix: enable histogram splitting 2022-06-08 19:12:57 +08:00
Ganlin Zhao fc1ad1aeac add histogram partial/merge function 2022-06-08 19:02:07 +08:00
54liuyao a8da3cfd14 feat(stream): stream state support apercentile 2022-06-08 18:20:43 +08:00
Ganlin Zhao 081a8a62b2 add histogram partial/merge translate functions 2022-06-08 17:59:32 +08:00
Ganlin Zhao d49f1dbc15 enh(query): add histogram function distributed splitting
TD-16321
2022-06-08 17:38:51 +08:00
Ganlin Zhao 991365802b enable spread splitting 2022-06-08 16:35:32 +08:00
Ganlin Zhao dad3dd4f97 fix bugs 2022-06-08 16:35:13 +08:00
Ganlin Zhao 183fcac013 add spread splitting translate fucntions 2022-06-08 16:34:37 +08:00
Ganlin Zhao ad895c243d enh(query): add spread function distributed splitting 2022-06-08 16:34:23 +08:00
Ganlin Zhao b6eaec2ad4 Merge branch '3.0' into feature/dist_split_glzhao 2022-06-08 11:13:24 +08:00
Ganlin Zhao b93ea371a6 Merge branch '3.0' of github.com:taosdata/TDengine into 3.0 2022-06-08 11:13:08 +08:00
54liuyao 262a221c12 distributed interval 2022-06-08 09:33:11 +08:00
Ganlin Zhao 367af0ec30 fix bugs 2022-06-07 19:55:55 +08:00
Ganlin Zhao 351ac2d81c fix bugs 2022-06-07 19:16:40 +08:00
Ganlin Zhao e6a852090f add apercentile distributed spliting 2022-06-07 18:42:20 +08:00
Ganlin Zhao dff653ed16 add apercentile distributed spliting 2022-06-07 16:54:08 +08:00
Ganlin Zhao 49b277e64b refactor 2022-06-07 14:12:12 +08:00
Ganlin Zhao 12f4bc3c90 refactor 2022-06-07 11:45:55 +08:00
Ganlin Zhao 384f226267 Merge branch '3.0' of github.com:taosdata/TDengine into 3.0 2022-06-07 11:27:09 +08:00
Ganlin Zhao 5d543449c9 enh(query): add distributed splitting of aggregate function
TD-16321
2022-06-07 11:23:19 +08:00
Xiaoyu Wang 8ba9496471 feat: add physical plannode of indefinite rows func 2022-06-04 22:57:01 +08:00
Ganlin Zhao 077724b892
Merge pull request #13423 from taosdata/fix/TD-16232
fix(query): concat/concat_ws function output incorrect when all params are constant and include NULL value.
2022-06-02 18:49:35 +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
Xiaoyu Wang 6c5ec22718
Merge pull request #13417 from taosdata/feature/3.0_wxy
feat: stream interval distributed split
2022-06-02 17:21:04 +08:00
Xiaoyu Wang f9b7443482 feat: stream interval distributed split 2022-06-02 16:38:44 +08:00
Xiaoyu Wang f45ddaf1c8 feat: stream interval distributed split 2022-06-02 16:37:46 +08:00
Liu Jicong 77fe6a4ef7
Merge branch '3.0' into feature/3_liaohj 2022-06-02 15:05:49 +08:00
Xiaoyu Wang cd7d3c59a2
Merge pull request #13403 from taosdata/feature/3.0_distributed_split
feat: interval distributed split
2022-06-02 11:07:42 +08:00
Xiaoyu Wang edd0295a00 feat: interval distributed split 2022-06-02 10:45:27 +08: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 f566146cc9 fix(query): fix concat_ws separator param can only be constant string
TD-16070
2022-06-01 12:50:25 +00:00
Ganlin Zhao a00ea8e48d enh(query): to_iso8601 param handing 2022-06-01 10:27:11 +00:00
Ganlin Zhao 3d6147fd9c fix(query): fix to_iso8601 timezone param check 2022-06-01 14:58:10 +08:00
Ganlin Zhao a9787ea446 enh(query): to_iso8601 add customized timzone format
TD-16152
2022-06-01 12:16:06 +08:00
Ganlin Zhao 11e55389b1 fix: fix typo 2022-05-31 06:54:27 -04:00
Ganlin Zhao 93a3c27168 fix(query): restrict stateduration function time unit parameter greater
than db precision.

TD-16171
2022-05-31 06:44:44 -04:00
Ganlin Zhao 5344ab10f2 fix((query): add statecount/stateduration parameter check
TD-16160
2022-05-31 06:26:46 -04:00
Haojun Liao 6007b8ad11 Merge branch 'feature/3_liaohj' of github.com:taosdata/tdengine into feature/3_liaohj 2022-05-31 12:12:59 +08:00
Haojun Liao c06316537e enh(query): the results of count and hyperloglog is configurable. 2022-05-31 15:04:52 +08:00
Haojun Liao 15f5713bda Merge remote-tracking branch 'origin/3.0' into feature/3_liaohj 2022-05-31 11:50:04 +08:00
Xiaoyu Wang 3e5ab6b54c feat: add physical plannode of indefinite rows func 2022-05-31 11:29:10 +08:00
Ganlin Zhao fa0d370828
Merge pull request #13241 from taosdata/TD-16122/fix
fix(query): fix unique/last/first number of param check
2022-05-31 00:03:12 +08:00
Haojun Liao a7feca23fe other: merge 3.0 2022-05-30 23:32:00 +08:00
Ganlin Zhao c630f42653 fix(query): fix unique function number of param check
TD-16134
2022-05-30 17:08:47 +02:00
Ganlin Zhao d6998dc1a8 fix(query): fix unique/last/first number of param check
TD-16134
2022-05-30 14:57:29 +03:00
Ganlin Zhao 0a98735a08
Merge pull request #13235 from taosdata/TD-16122/fix
fix(query): fix multiple aggregate function issues
2022-05-30 17:48:52 +08:00
Ganlin Zhao 0b0042ff2a fix(query): restrict statecount/stateduration first param to be column
only

TD-16128
2022-05-30 17:17:00 +08:00
Ganlin Zhao a27d05f6e1 fix(query): change state_count/state_duration function name to
statecount/stateduration

TD-16110
2022-05-30 17:07:50 +08:00
Haojun Liao 1652cd0ec2 enh(query): enable twa function in select clause. 2022-05-29 12:35:11 +08:00
Ganlin Zhao 2512b98c5a
Merge pull request #13165 from taosdata/fix/TD-16098
fix(query): fix diff function bool type crash
2022-05-28 21:24:07 +08:00
Ganlin Zhao 94109a3173 fix(query): fix diff function bool type crash
TD-16098
2022-05-28 18:55:07 +08:00
Ganlin Zhao 9c3c2f4b65
Merge pull request #13154 from taosdata/fix/TD-16074
fix(query): fix apercentile parameter check
2022-05-28 15:56:30 +08:00
Ganlin Zhao b350d0025d
Merge pull request #13144 from taosdata/fix/TD-15892
fix(query): restrict diff function ignore_negative types to integer
2022-05-28 14:42:52 +08:00
Ganlin Zhao 693488a511 fix(query): fix apercentile parameter check
TD-16074
2022-05-28 14:39:10 +08:00
Ganlin Zhao 26ceeac789 fix(query): restrict diff function ignore_negative types to integer
TD-16066
2022-05-28 11:38:09 +08:00
Ganlin Zhao 3b9e21558d
Merge pull request #13102 from taosdata/fix/TD-16034
fix(query): fix diff function result type to avoid overflow
2022-05-27 22:33:15 +08:00
Ganlin Zhao 266da48c5a fix(query): fix diff function result type to avoid overflow
TD-16068
2022-05-27 19:43:13 +08:00
Ganlin Zhao 17748c0cb7
Merge pull request #13097 from taosdata/fix/TD-16034
fix(query): fix diff function param check
2022-05-27 19:05:43 +08:00
Ganlin Zhao 1f6c6b119d fix(query): fix csum function more than 1 param crash
TD-16065
2022-05-27 18:40:41 +08:00
Ganlin Zhao 25eb6dbeef fix(query): diff function first param can only be column
TD-16067
2022-05-27 18:27:24 +08:00
Ganlin Zhao 0b9c9834f5 fix(query): diff function ignore_negative param can only be 0 or 1
TD-16066
2022-05-27 18:11:03 +08:00
Ganlin Zhao ecb3d055da
Merge pull request #13084 from taosdata/fix/TD-16034
fix(queyr): fix tail function parameter restriction
2022-05-27 17:44:31 +08:00
Ganlin Zhao 8035d02d92 fix(queyr): fix tail function parameter restriction
TD-16035
2022-05-27 15:07:12 +08:00
Ganlin Zhao f4272b5ae4
Merge pull request #13033 from taosdata/fix/TD-15957
fix(query): fix first(*) result incorrect for all NULL entry tables
2022-05-26 22:13:29 +08:00
Ganlin Zhao 45bbfbfdf7
Merge pull request #13029 from taosdata/fix/TD-16018
fix(query): fix elapsed function time_unit cannot be smaller than db precision
2022-05-26 21:42:20 +08:00
Haojun Liao 593c79d512 fix(query): add finalize for first function. 2022-05-26 18:15:20 +08:00
Ganlin Zhao b7729cf6e3 fix(query): fix first(*) result incorrect for all NULL entry tables;
TD-15957
2022-05-26 17:58:46 +08:00
Ganlin Zhao f08365e2b0 fix(query): fix cast function error msg
TD-16016
2022-05-26 17:30:00 +08:00
Ganlin Zhao ed6eae4d58 fix(query): fix elapsed function time_unit cannot be smaller than db
precision

TD-16018
2022-05-26 17:13:13 +08:00
Ganlin Zhao 067731b763 Merge branch '3.0' into feature/3.0_glzhao 2022-05-26 12:22:56 +08:00
Haojun Liao a02bf52295
Merge pull request #12989 from taosdata/feature/3_liaohj
fix(query): check for invalid parameters of substr function.
2022-05-26 11:03:50 +08:00
Ganlin Zhao 0f27d39156
Merge pull request #12971 from taosdata/fix/TD-15977
fix(query): restrict top/bottom function column type and first param must be column
2022-05-26 09:51:42 +08:00
Haojun Liao e5bb56752a fix(query): check for invalid parameters of substr function. 2022-05-25 23:09:03 +08:00
Xiaoyu Wang 6d3f066540 feat: sql command 'drop cgroup' 2022-05-25 21:23:13 +08:00
Xiaoyu Wang 070f60409b feat: sql command 'drop cgroup' 2022-05-25 21:20:11 +08:00
Ganlin Zhao 1a784b3c01 fix(query): restrict top/bottom function column type and first param
must be column

TD-15977
2022-05-25 14:44:27 +08:00
Ganlin Zhao def5680ee6
Merge pull request #12968 from taosdata/enh/TD-15976
enh(query): reserve aggregate function constant param as value node in client.
2022-05-25 14:20:02 +08:00
Ganlin Zhao 220253e604 enh(query): reserve aggregate function constant param as value node in
client.

TD-15976
2022-05-25 13:30:26 +08:00
Ganlin Zhao 635711669f Revert "enh(query): reserve aggregate function constant param as value node in"
This reverts commit e0224da580.
2022-05-25 11:01:46 +08:00
Ganlin Zhao e0224da580 enh(query): reserve aggregate function constant param as value node in
client.

TD-15976
2022-05-25 10:59:27 +08:00
54liuyao 0778bf8857 stream session operator 2022-05-25 09:05:03 +08:00
Ganlin Zhao 424ff4a685 Merge branch '3.0' into feature/3.0_glzhao 2022-05-24 10:44:02 +08:00
Ganlin Zhao 011bd32330 feat(query): add apercentile function 2022-05-23 22:48:15 +08:00
Xiaoyu Wang f95639227e
Merge pull request #12874 from taosdata/feature/3.0_wxy
feat: tag index filter plan
2022-05-23 20:29:25 +08:00
Xiaoyu Wang 8da52cbb04 feat: tag index filter plan 2022-05-23 19:50:08 +08:00
dapan1121 0c22c548d8 fix constant reserve issue 2022-05-23 19:06:22 +08:00
Xiaoyu Wang 89562acb01 feat: the length of binary/nchar type value is the same as that of column 2022-05-21 18:09:31 +08:00
Ganlin Zhao 98092217ee fix: fix windows compilation error 2022-05-20 14:58:04 +08:00
Ganlin Zhao 3d34f7850e fix(query): change unique function type to non-standard sql function 2022-05-20 13:59:20 +08:00
Ganlin Zhao bf4826d9a8 feat(query): add unique function 2022-05-19 22:42:30 +08:00
Ganlin Zhao 8daaea58de feat(query): fix ci 2022-05-18 18:51:40 +08:00
Ganlin Zhao 98a6792b99 Merge branch '3.0' into feature/3.0_glzhao 2022-05-18 16:54:19 +08:00
Ganlin Zhao e948d5a248 enh(query): support avg(NULL), stddev(NULL) 2022-05-18 16:35:13 +08:00
Ganlin Zhao 26c618e5ad enh(query): support sum(NULL), max(NULL), min(NULL) 2022-05-18 16:03:59 +08:00
Haojun Liao 325959bd27 fix(query): add parameters check for top/bottom functoin. 2022-05-18 11:01:39 +08:00
Ganlin Zhao 1b0b410f98 feat(query): add elapsed function 2022-05-17 21:22:21 +08:00
Ganlin Zhao 1eb59a2fed feat(query): add hll function 2022-05-17 11:36:12 +08:00
Ganlin Zhao 67e93ef90c Revert "feat(query): add HYPERLOGLOG function"
This reverts commit 267ed293d7.
2022-05-17 10:33:58 +08:00
Ganlin Zhao 267ed293d7 feat(query): add HYPERLOGLOG function 2022-05-17 10:33:19 +08:00
Ganlin Zhao ede4a57c99 enh(query): tail function handle offset param 2022-05-16 19:36:04 +08:00
Ganlin Zhao 4be158b391 feat(query): add tail function 2022-05-16 14:29:12 +08:00
Ganlin Zhao 3ef067ff03 feat(query): add tail function 2022-05-16 11:03:15 +08:00
Shengliang Guan 253651a521
Merge pull request #12449 from taosdata/feature/3.0_glzhao
feat(query): add sample function using reservoir sampling method
2022-05-13 23:27:07 +08:00
Ganlin Zhao c1666e7e02 feat(query): add sample function 2022-05-13 22:08:37 +08:00
Ganlin Zhao d24254fb84 feat(query): add sample function 2022-05-13 21:13:35 +08:00
Ganlin Zhao 8b9dd500bd
Merge pull request #12401 from taosdata/feature/3.0_glzhao
feat(query): add mavg function
2022-05-12 22:53:36 +08:00
Ganlin Zhao 8d21c662aa feat(query): add mavg function 2022-05-12 21:16:34 +08:00
Ganlin Zhao 818e3636d6 feat(query): add mavg function 2022-05-12 20:40:17 +08:00
Ganlin Zhao aba7e4a6f6
Merge pull request #12376 from taosdata/feature/3.0_glzhao
feat(query): add csum function
2022-05-12 15:18:49 +08:00
Ganlin Zhao 71e43677f7 feat(query): add csum function 2022-05-12 14:38:56 +08:00
Xiaoyu Wang 385068caf9
Merge pull request #12350 from taosdata/feature/3.0_wxy
fix: some problems of parser
2022-05-11 20:33:42 +08:00
Xiaoyu Wang 510283290d fix: some problems of parser 2022-05-11 19:49:04 +08:00
Xiaoyu Wang 41e36dddb7 fix: some problems of parser 2022-05-11 19:03:59 +08:00
Ganlin Zhao 93b0cd8047
Merge pull request #12343 from taosdata/feature/3.0_glzhao
feat(query): add state_duration function
2022-05-11 17:02:24 +08:00
Ganlin Zhao 977c3fe400 feat(query): add state_duration function 2022-05-11 15:42:31 +08:00
Ganlin Zhao 6a94ad7346
Merge pull request #12321 from taosdata/feature/3.0_glzhao
feat(query): add state_count function
2022-05-11 09:50:56 +08:00
Haojun Liao a4015fdb2c
Merge pull request #12315 from taosdata/feature/3.0_liaohj
refactor: do some internal refactor.
2022-05-10 22:07:02 +08:00
Xiaoyu Wang 8975c6e042 Merge remote-tracking branch 'origin/3.0' into feature/3.0_wxy 2022-05-10 21:00:18 +08:00
Xiaoyu Wang 2745113a77 fix: some problems of parser 2022-05-10 20:59:10 +08:00
Ganlin Zhao 57cd462000 Merge branch '3.0' into feature/3.0_glzhao 2022-05-10 20:44:57 +08:00
Ganlin Zhao 85adb8611c feat(query): add state_count function 2022-05-10 20:32:03 +08:00
Haojun Liao 8c47b350dc fix(query): Pseudo time window result expands to multiple rows in case of multiple rows aggregates function existing. 2022-05-10 18:21:54 +08:00
Ganlin Zhao 15055fe9e3
Merge pull request #12281 from taosdata/feature/3.0_glzhao
feat(query): add leastsquares function
2022-05-10 10:13:51 +08:00
Shengliang Guan fe4c1eed05
Merge pull request #12283 from taosdata/feature/3.0_wxy
fix: problem of parser and planner
2022-05-10 09:35:32 +08:00
Xiaoyu Wang 4c914c2960 fix: problem of parser and planner 2022-05-09 20:20:05 +08:00
Ganlin Zhao 79570c93a3 feat(query): add leastsquares function 2022-05-09 19:37:16 +08:00
Haojun Liao ea18b8a7dc feature(query): bottom function is available. 2022-05-09 17:48:23 +08:00
Haojun Liao a030a9f32f enh(query):support selectivity function and normal column data query. 2022-05-09 16:06:15 +08:00
Haojun Liao 9025a5d735 Merge branch '3.0' into feature/3.0_liaohj 2022-05-08 00:14:02 +08:00
Haojun Liao 5c60c6046d refactor: do some internal refactor. 2022-05-07 23:01:56 +08:00
54liuyao 599ea89a53 stream scan 2022-05-07 18:10:45 +08:00
Ganlin Zhao 2139ccceb0
Merge pull request #12191 from taosdata/feature/3.0_glzhao
feat(query): add histogram param parsing
2022-05-07 14:08:01 +08:00
Ganlin Zhao 660b610f04 fix(query): fix histogram function output 2022-05-07 11:35:03 +08:00
Ganlin Zhao d36a9286b5
Merge pull request #12172 from taosdata/feature/3.0_glzhao
feat(query): add histogram function
2022-05-06 21:42:56 +08:00
Haojun Liao 809a3eda25 fix(query): set the correct result field length for first/last query. 2022-05-06 18:16:16 +08:00
Ganlin Zhao ea88da15db feat(query): add histogram function 2022-05-06 15:51:18 +08:00
Haojun Liao e4f0a0fc67 fix(query): enable table name query for super table. 2022-05-05 23:47:44 +08:00
Xiaoyu Wang 1361bf4eed fix: plan problem of tag scanning 2022-05-05 14:49:00 +08:00
Xiaoyu Wang 3b4f9b91cf feat: sql commadn 'select max(c1), c2 from t2' 2022-05-01 08:38:17 +08:00
Xiaoyu Wang 022f5bfc14 feat: rewrite timeline function 2022-04-29 20:06:26 +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
Ganlin Zhao d8f8e075e1 feat(query): add spread function
TD-14297
2022-04-28 21:27:46 +08:00
Xiaoyu Wang ac754dce90 fix: some problems of tag query and sma 2022-04-26 18:15:06 +08:00
Xiaoyu Wang cc231653ad enh: format code 2022-04-26 12:59:53 +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 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
Ganlin Zhao 770be0364f Merge branch '3.0' into feature/3.0_glzhao 2022-04-24 20:15:26 +08:00
Haojun Liao d83ce4044a
Merge pull request #11754 from taosdata/feature/3.0_liaohj
fix(driver): the user specified port that is in taos_connect API isn't active.
2022-04-22 19:33:23 +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
Ganlin Zhao 05f1e64108 Merge branch '3.0' into feature/3.0_glzhao 2022-04-22 17:17:46 +08:00
Ganlin Zhao b96d372e81 feat(query): add avg function
TD-14295
2022-04-22 16:56:04 +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
Haojun Liao e28b75b8d4 refactor(query): do some internal refactor. 2022-04-22 15:07:20 +08:00
Haojun Liao fc799fa115 other: merge 3.0 2022-04-21 17:51:00 +08:00
Haojun Liao 9a038322b6 refactor(query): do some internal refactor. 2022-04-21 17:44:08 +08:00
Haojun Liao e14142d114 refactor(query): do some internal refactor. 2022-04-21 13:57:32 +08:00
Haojun Liao 46a3a58fac refactor:do some internal refactor. 2022-04-20 20:41:53 +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
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
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 43aecff7ea fix(query): fix timezone function with trailing characters 2022-04-19 20:15:29 +08:00
Ganlin Zhao f9947be46f refactor(query): refactor cast function
TD-14837
TD-14843
TD-14904
2022-04-19 18:22:59 +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 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
wangmm0220 24f805c5c2 refactor: add to_json function 2022-04-18 15:54:40 +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
Haojun Liao 30602b8cfb Merge remote-tracking branch 'origin/3.0' into feature/3.0_liaohj 2022-04-16 19:02: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
Haojun Liao d40f830b77 enh(query): optimize the data block load algorithm in table scan operator. 2022-04-16 16:06:48 +08:00
Haojun Liao be4d72bf80 refactor(query): refactor executor module to optimization the block load filter routine. 2022-04-16 15:15:28 +08:00
Ganlin Zhao ad7323166a Merge branch '3.0' into feature/TD-14243 2022-04-16 12:51:49 +08:00
Xiaoyu Wang e2164bf8cb feat: CREATE STREAM statement implement, and syntax of JSON data type implement. 2022-04-15 19:35:46 +08:00
Xiaoyu Wang ba1f3f7815 feat: CREATE STREAM statement implement, and syntax of JSON data type implement. 2022-04-15 18:30:01 +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
Xiaoyu Wang 9e05fdbd7b enh(query): increase the validity check of function parameters 2022-04-14 18:18:23 +08:00
Xiaoyu Wang 64790e4de9 enh(query): increase the validity check of function parameters 2022-04-14 16:19:29 +08:00
Xiaoyu Wang 8118a20649 enh(query): increase the validity check of function parameters 2022-04-14 15:49:57 +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
Xiaoyu Wang 5a70bddb6f
Merge pull request #11411 from taosdata/feature/3.0_wxy
enh(query):optimize scanning through SQL functions
2022-04-12 13:34:03 +08:00
Xiaoyu Wang 93d379638c enh(query):optimize scanning through SQL functions 2022-04-12 13:10:47 +08:00
Ganlin Zhao a59b558331 feat(query): add cast function
TD-14242
2022-04-11 20:22:53 +08:00
Xiaoyu Wang 147675c71f
Merge pull request #11385 from taosdata/feature/3.0_wxy
enh: set datablock desc timestamp precision, and fix the bug of constant calculation
2022-04-11 18:05:43 +08:00
Haojun Liao 115ac26c8e
Merge pull request #11379 from taosdata/feature/3.0_liaohj
fix[query]:enable sum function to be applied to bool data type.
2022-04-11 15:49:50 +08:00
Haojun Liao 6b681d79d4 fix[query]:enable sum function to be applied to bool data type. 2022-04-11 15:25:19 +08:00
Xiaoyu Wang cd75d1121a constant calc bugfix 2022-04-11 14:48:07 +08:00
Ganlin Zhao 03cce69b75 <feat>[query]: add cast function SQL syntax
TD-14242
2022-04-10 19:13:44 +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 78b1bf27b6 [td-14393] refactor. 2022-04-06 10:09:14 +08:00
Haojun Liao 6eb3f15cd0 [td-14393] merge 3.0. 2022-04-04 15:13:47 +08:00
Haojun Liao f7ba0c31d8 [td-14393] refactor. 2022-04-04 14:54:39 +08:00
Haojun Liao e7e5fd4345 [td-14393] support percentile function. 2022-04-02 23:42:00 +08:00
Haojun Liao b0310c90eb [td-14393] support percentile. 2022-04-02 20:13:48 +08:00
Ganlin Zhao f74771cd3f
Merge pull request #11221 from taosdata/feature/3.0_glzhao
[TD-14241]: add string functions
2022-04-02 18:50:11 +08:00
Ganlin Zhao 8bcdf8e200 [TD-14241]<feature>: refactor string functions 2022-04-02 18:34:17 +08:00
Haojun Liao 6f77eeccce [td-13039] support stddev. 2022-04-02 16:59:02 +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
Xiaoyu Wang 9e9805f7b7 condition bugfix 2022-04-02 01:13:20 -04:00
Ganlin Zhao 5a1548bf15 [TD-14241]: substr function adoption 2022-04-02 10:40:15 +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 6f6d0e4a09 [TD-14241]: concat function adoption 2022-03-31 22:30:16 +08:00
Ganlin Zhao 89abd4e349 [TD-14241]: add string functions 2022-03-30 16:08:38 +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
Ganlin Zhao ab831ee814 Merge branch 'feature/3.0_liaohj' of github.com:taosdata/TDengine into feature/3.0_liaohj 2022-03-29 17:31:37 +08:00
Xiaoyu Wang 420ccc949c
Merge pull request #11069 from taosdata/feature/3.0_wxy
sort bugfix, and pseudo column implement
2022-03-28 19:38:55 +08:00
Xiaoyu Wang a0ef66528c sort bugfix, and pseudo column implement 2022-03-28 07:26:06 -04: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
Ganlin Zhao 303a853c0c [TD-14240]<feature>: add math functions 2022-03-25 20:09:26 +08:00
Haojun Liao d82e66b7c2 [td-13039] merge 3.0 and fix bug. 2022-03-22 23:29:38 +08:00
Haojun Liao 3a6be84b80 [td-13039] support group by. 2022-03-22 18:17:04 +08:00
Haojun Liao 84818987b3 [td-13039] fix bug in show tables; 2022-03-21 15:25:13 +08:00
Haojun Liao cf1e4507f3 [td-13039] refactor. 2022-03-19 23:12:58 +08:00
Haojun Liao 309076de1f [td-13039] add first/last query. 2022-03-11 14:11:34 +08:00
Xiaoyu Wang 54afca4d57 TD-13747 bugfix 2022-03-10 03:34:31 -05:00
Haojun Liao ddbe4095ed [td-13039] fix bug in agg query of ordinary table. 2022-03-10 15:24:05 +08:00
Haojun Liao 8345a5429b [td-13039] add min/max/systable-scanner. 2022-03-10 11:12:44 +08:00
Xiaoyu Wang 921500dbec
Merge pull request #10658 from taosdata/feature/3.0_query_integrate_wxy
TD-13704 super table plan split
2022-03-09 19:57:45 +08:00
Xiaoyu Wang b91899e757 TD-13704 super table plan split 2022-03-09 04:32:12 -05:00
Haojun Liao 459b0ef442 [td-13039] refactor. 2022-03-09 10:22:53 +08:00
Xiaoyu Wang 7377c27367 TD-13495 physical plan refactoring 2022-02-25 03:29:40 -05:00
dapan1121 8f7b375b54 feature/qnode 2022-02-21 19:31:14 +08:00
Xiaoyu Wang 0ef0e1655b TD-13338 SELECT statement translate code 2022-02-08 20:03:32 -05:00