Commit Graph

737 Commits

Author SHA1 Message Date
Haojun Liao a5955c3dae fix(query): add more check for fetch rsp, and set the correct start time window for fill. 2022-07-11 15:49:13 +08:00
Haojun Liao 75ace4f4ed
Merge pull request #14746 from taosdata/feature/3_liaohj
fix(query): handle the indefinit function  output with partition by
2022-07-11 13:49:13 +08:00
Haojun Liao 9af4cd3165
Merge branch '3.0' into feature/3_liaohj 2022-07-11 11:36:19 +08:00
Haojun Liao 4527447b60 fix(query): handle the indefinit function output with partition by 2022-07-11 11:13:49 +08:00
Xiaoyu Wang ed66440c5c Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-11 10:08:54 +08:00
Haojun Liao 5c3c418c7f fix(query): set correct the fill column value for in case of no primary timestamp column exists. 2022-07-10 20:59:56 +08:00
Haojun Liao e4446354e9 fix(query): update the timerange. 2022-07-10 20:12:14 +08:00
54liuyao 2465620245 feat(stream): support expressions 2022-07-10 18:31:52 +08:00
54liuyao 75ed474f09 ci(stream): add session test 2022-07-10 18:30:30 +08:00
Xiaoyu Wang 5f0005a7b7 merge 3.0 2022-07-10 17:47:31 +08:00
Xiaoyu Wang b542b8f49a fix: some problem of parser and planner 2022-07-10 17:31:15 +08:00
Haojun Liao b2a8eec15d
Merge pull request #14718 from taosdata/feature/3_liaohj
fix(query): set correct stddev merge input rows.
2022-07-10 17:25:41 +08:00
Liu Jicong 5640036f66 refactor(stream) 2022-07-10 14:48:16 +08:00
Liu Jicong 2225411edc refactor(stream) 2022-07-10 13:57:17 +08:00
Haojun Liao 3ee9d160d9 fix(query): set correct stddev merge input rows. 2022-07-10 11:02:54 +08:00
Haojun Liao 40380ef9c1 refactor: do internal refactor. 2022-07-10 10:15:27 +08:00
Haojun Liao c3d702fe7c refactor: do some internal refactor. 2022-07-10 09:40:35 +08:00
Haojun Liao 3c49b6a633 fix(query): set correct query time window. 2022-07-09 23:32:33 +08:00
Liu Jicong 938868e39f merge from 3.0 2022-07-08 17:57:11 +08:00
Liu Jicong 3cd5a35054 refactor(stream): internal refactor 2022-07-08 17:48:34 +08:00
shenglian-zhou 89757d85d5
Merge pull request #14684 from taosdata/szhou/feature/push-project-condition
feat: add filter to operator merge aligned interval agg
2022-07-08 17:01:17 +08:00
slzhou@taodata.com 16b6ce82a4 feat: add filter to operator merge aligned interval agg 2022-07-08 16:20:02 +08:00
dapan1121 0925064d24 Merge branch 'feature/3.0_debug_wxy' into feature/insertselect 2022-07-08 10:28:53 +08:00
Liu Jicong 7872b16d31
Merge pull request #14657 from taosdata/feature/stream
refactor(stream): internal refactor
2022-07-07 21:42:04 +08:00
Liu Jicong 866e4c4be0 refactor(stream): internal refactor 2022-07-07 17:56:52 +08:00
slzhou c8104d5141 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/push-project-condition 2022-07-07 15:31:46 +08:00
slzhou 4482b2dda7 feat: add doFilter to indef operator 2022-07-07 15:26:29 +08:00
Liu Jicong 6b479f4a1f
Merge pull request #14592 from taosdata/feature/stream
refactor(stream): stream reader created in scanner
2022-07-07 14:30:39 +08:00
slzhou cddc989808 feat: add filter to fill operator 2022-07-07 14:30:08 +08:00
slzhou f3c3b0f148 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/push-project-condition 2022-07-07 11:41:56 +08:00
Haojun Liao 82640b2157
Merge pull request #14626 from taosdata/feature/3_liaohj
fix(query): fix memory leak.
2022-07-07 11:26:04 +08:00
slzhou f32cbdee72 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/push-project-condition 2022-07-07 10:26:27 +08:00
slzhou 90b3912061 fix: add filter to session/state/interval operator 2022-07-07 09:29:51 +08:00
dapan1121 d4696ef31f Merge branch '3.0' into feature/insertselect 2022-07-07 09:02:09 +08:00
dapan1121 e1ed9317d4 feat: insert from query 2022-07-07 08:53:23 +08:00
Liu Jicong baa48489b7 merge from 3.0 2022-07-06 21:25:34 +08:00
Liu Jicong db23b07ae1 merge from 3.0 2022-07-06 21:12:46 +08:00
54liuyao 888f79d3f4 feat(stream): session delete 2022-07-06 20:42:54 +08:00
Haojun Liao 1237f9cf15 Merge branch '3.0' into feature/3_liaohj 2022-07-06 18:09:49 +08:00
Haojun Liao d28518b41e fix(query): set correct query time window. 2022-07-06 18:08:23 +08:00
shenglian-zhou 7aebf05699
Merge pull request #14605 from taosdata/szhou/feature/push-project-condition
feat: push condition down the tree
2022-07-06 17:45:37 +08:00
Minglei Jin d843a8ac89
Merge pull request #14486 from taosdata/feat/tsdb_refact
Feat/tsdb refact
2022-07-06 17:43:22 +08:00
dapan1121 0d4fb5bb80 feat: support insert from query 2022-07-06 16:29:51 +08:00
slzhou c710eede6f feat: add filter to interval agg operator 2022-07-06 14:57:53 +08:00
slzhou bd819f5c88 feat: add filter to sort operator 2022-07-06 14:42:56 +08:00
Liu Jicong 8c5dbde918 refactor(stream): stream reader created in scanner 2022-07-06 14:20:07 +08:00
slzhou c040659a4f feat: add filter to aggregate operator 2022-07-06 13:54:11 +08:00
Haojun Liao 29949a965b other: merge 3.0. 2022-07-06 13:46:24 +08:00
Haojun Liao 5f93b8db89 fix(query): copy the column that will not output. 2022-07-05 23:54:51 +08:00
Haojun Liao 15d8ae0fee other: merge 3.0 2022-07-05 19:22:50 +08:00
54liuyao b7bf2bf808 feat(stream):stream interval delete data 2022-07-05 18:17:43 +08:00
slzhou 73e0e09dd8 feat: split join on condition into merge condition and on condition 2022-07-05 13:42:49 +08:00
dapan1121 39a31e8d25 fix: remove mock code 2022-07-05 10:52:33 +08:00
slzhou 024796599c Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/push-cond-child-proj 2022-07-04 20:14:15 +08:00
slzhou a380e0cd7c feat: merge condition, on condition and other conditions 2022-07-04 19:49:16 +08:00
Hongze Cheng 38ca993452 make merge compile 2022-07-04 05:21:02 +00:00
Hongze Cheng ddb198de23 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-07-04 03:42:50 +00:00
54liuyao c9f133a5e4 ci(stream): add ignore expired data 2022-07-02 14:17:50 +08:00
Liu Jicong 4a2b266612 feat(stream): support ignore expired flag 2022-07-02 10:59:29 +08:00
Liu Jicong 52d09b4173 refactor(wal) 2022-07-01 14:39:21 +08:00
Liu Jicong 94f07836d6 fix(tmq): set scan rsp offset correctly 2022-06-30 17:25:19 +08:00
Liu Jicong 4695dc2dae feat(tmq): add snapshot test 2022-06-30 14:41:50 +08:00
Liu Jicong 0f0fe6276a merge from 3.0 2022-06-29 21:33:10 +08:00
liuyao 7069332321
Merge pull request #14349 from taosdata/feature/TD-16874
feat(stream): ignore close window
2022-06-29 17:15:31 +08:00
Haojun Liao 3a566d5e5e refactor(query): do some internal refactor. 2022-06-29 17:14:00 +08:00
Haojun Liao 0fc154982f
Merge pull request #14353 from taosdata/feature/3_liaohj
enh(query): add api to extract scan  status
2022-06-29 16:50:49 +08:00
54liuyao 5e0cbdf0b7 feat(stream): ignore close window 2022-06-29 16:49:45 +08:00
Haojun Liao 1b8c5d9269 enh(query): add api to extract scan status 2022-06-29 16:19:19 +08:00
Haojun Liao 5efd5a3b6d fix(query):adjust api for retrieve lastrow in executor. 2022-06-28 23:24:20 +08:00
dapan1121 bd7a2adc5f add mock code 2022-06-28 17:13:51 +08:00
Liu Jicong 58803fafcf fix(query): check datablock should check output flag 2022-06-28 16:05:00 +08:00
Haojun Liao 4a59e1300b other: merge 3.0. 2022-06-28 15:22:32 +08:00
slzhou 11f8d302fa feat: multiway merge handles group+mergekeys, group and only merge keys 2022-06-27 17:51:50 +08:00
Xiaoyu Wang 87b8131409
Merge pull request #14266 from taosdata/feature/3.0_debug_wxy
feat: tail function rewrite to statement
2022-06-27 17:16:37 +08:00
slzhou b67c65313b fix: add group to multi-merge operator 2022-06-27 16:25:14 +08:00
Cary Xu e2ec8b57d9 Merge branch '3.0' into feature/TD-11274-3.0 2022-06-27 14:47:31 +08:00
Cary Xu e6dd04f573 refactor: rsma restore 2022-06-27 14:47:14 +08:00
Haojun Liao 2e5d563ec0 other: merge 3.0. 2022-06-27 10:11:11 +08:00
Haojun Liao ff72e66dba fix(query): support scalar function before applying interval aggregate. 2022-06-27 10:07:48 +08:00
Cary Xu 0597f3b9cd refactor: rsma resource release 2022-06-26 18:44:49 +08:00
Liu Jicong bdd4134fc1
Revert "fix(sma): drop stream when drop sma" 2022-06-25 18:11:11 +08:00
Liu Jicong 3210fdc367 merge from 3.0 2022-06-25 17:49:25 +08:00
Liu Jicong 47ae534c0f fix(sma): drop stream when drop sma 2022-06-25 17:44:54 +08:00
54liuyao 10e90ce973 feat(stream): auto pull data 2022-06-25 16:44:14 +08:00
Haojun Liao 916adb82c6 enh(query): add user name when retrieving meta-data from mnode. 2022-06-25 12:10:34 +08:00
wangmm0220 a95f98f7e7 feat:merge from 3.0 2022-06-23 20:50:48 +08:00
wangmm0220 26cceaf172 feat:sort table group if needed 2022-06-23 19:58:12 +08:00
Liu Jicong 71bda7e658 feat(tmq): add with meta config 2022-06-23 15:56:54 +08:00
wangmm0220 a28bfd0804 fix:confilct merge from 3.0 2022-06-23 10:21:04 +08:00
WANG MINGMING 9012834531
Merge branch 'feature/3.0_wxy' into 3.0 2022-06-23 10:16:58 +08:00
shenglian-zhou bacd7b6057
Merge pull request #14136 from taosdata/szhou/feature/sort-group-2
feat: add group sort operator
2022-06-23 08:15:25 +08:00
shenglian zhou faf5424b18 feat: add group sort operator 2022-06-22 23:01:55 +08:00
shenglian-zhou d88615f9ad
Merge pull request #14132 from taosdata/szhou/feature/sort-group-2
feat: add multiple group tsdb reads to table merge scan
2022-06-22 21:00:59 +08:00
shenglian zhou 8a8d3f160b feat: add multiple group tsdb reads to table merge scan 2022-06-22 20:26:44 +08:00
shenglian-zhou cc3543d4e3
Merge pull request #14126 from taosdata/szhou/feature/sort-group-2
feat: prepare for multiple group tsdb reads
2022-06-22 19:20:41 +08:00
shenglian zhou c1f5f825b7 feat: prepare for multiple group tsdb reads 2022-06-22 18:51:16 +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
shenglian-zhou 0f67b17f3f
Merge pull request #14106 from taosdata/szhou/feature/merge-interval-2
feat: add merge interval operator
2022-06-22 13:32:38 +08:00
shenglian zhou 0941a4640b fix: add merge interval operator for select mode(expr) + interval 2022-06-22 13:08:20 +08:00
shenglian-zhou 17603ba292
Merge pull request #14098 from taosdata/szhou/feature/merge-interval-2
fix: change merge interval to merge aligned interval
2022-06-22 11:27:41 +08:00
Haojun Liao ac656dcc46
Merge pull request #14090 from taosdata/feature/3_liaohj
fix(query): reserve correct buffer before loading data
2022-06-22 10:55:47 +08:00
shenglian zhou 84ea04ea2a fix: change merge interval to merge aligned interval 2022-06-22 10:53:22 +08:00
shenglian zhou fadc11b685 feat: add compare parameter that enable/disable group id comparision 2022-06-22 10:21:05 +08:00
Haojun Liao 1568722e8e fix(query): reserve correct buffer size before retrieve datablock from vnode. 2022-06-22 09:31:45 +08:00
wangmm0220 e7faf69981 feat:support tagCond & tagIndexCond 2022-06-21 20:53:19 +08:00
Haojun Liao d8c778e468 feature(query):add lastrow scan operator. 2022-06-21 16:15:17 +08:00
Haojun Liao bbe1deaf00 other: merge 3.0 2022-06-21 09:44:37 +08:00
Haojun Liao 1bf7fbbc0b feature(query): support interp function, and do some internal refactor. 2022-06-20 23:22:28 +08:00
shenglian-zhou 0f3fc6cff0
Merge pull request #14030 from taosdata/szhou/feature/sort-group
feat: order group by group id generated by partition
2022-06-20 20:55:51 +08:00
shenglian zhou 48d22c359f feat: order group by group id generated by partition 2022-06-20 20:17:56 +08:00
shenglian-zhou e05a6ca7fa
Merge pull request #13973 from taosdata/szhou/feature/project-elimation
feature: eliminate projection optimization
2022-06-20 17:48:27 +08:00
shenglian zhou a28a275dff fix: fix eliminate projection bugs 2022-06-20 16:39:19 +08:00
Haojun Liao a2cec0e488
Merge pull request #14004 from taosdata/feature/3_liaohj
feature(query): support show table block distribution.
2022-06-20 15:13:10 +08:00
Haojun Liao ad0595b9ec Merge branch '3.0' into feature/3_liaohj 2022-06-20 14:08:21 +08:00
Haojun Liao b66e0e718b fix(query): fix output column in show super table block distribution. 2022-06-20 13:42:59 +08:00
Haojun Liao 659e429b87 feature(query): support show table block distribution. 2022-06-20 12:54:46 +08:00
Hongze Cheng bdc427dc78 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-06-20 01:26:31 +00:00
54liuyao 8c47a18dbf feat(stream): semi session operator 2022-06-18 19:57:08 +08:00
Hongze Cheng afb5be516f Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-06-18 10:35:57 +00:00
Haojun Liao 956173e2e1 refactor: do some internal refactor. 2022-06-18 14:49:27 +08:00
Haojun Liao f2a27f5842 refactor: do some internal refactor. 2022-06-18 12:00:41 +08:00
Hongze Cheng 2e590c3036 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-06-18 01:53:01 +00:00
Haojun Liao 2cf8e30241 fix(query): fix syntax error. 2022-06-18 09:35:30 +08:00
Haojun Liao 820d6d1332 refactor: do some internal refactor. 2022-06-17 23:23:37 +08:00
Haojun Liao 0f92fb02f9 enh(query): add new api. 2022-06-17 20:07:55 +08:00
Haojun Liao 11267a0032 other: merge 3.0 2022-06-17 19:05:39 +08:00
Haojun Liao 78d1f75c9b refactor(query): do some internal refactor. 2022-06-17 19:01:45 +08:00
Hongze Cheng 9bc64e80b5 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-06-17 09:36:32 +00:00
Haojun Liao 1c52b59344 refactor: do some internal refactor. 2022-06-17 15:48:32 +08:00
54liuyao 61153b7637 feat(stream): distribute stream session plan 2022-06-17 15:39:19 +08:00
Hongze Cheng f3baaf1a60 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-06-16 10:25:19 +00:00
Hongze Cheng 5bd3732adf refact more code 2022-06-16 09:53:07 +00:00
Haojun Liao bd518f3f71 fix(query): remove group info during sort. 2022-06-16 17:39:33 +08:00
Hongze Cheng 3c18269c29 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-06-16 08:34:43 +00:00
Hongze Cheng 07792850cb refact code 2022-06-16 06:29:28 +00:00
Haojun Liao 2360f072a8 fix(query): add indef process procedure. 2022-06-16 11:43:11 +08:00
Haojun Liao 63884b554b fix(query): set correct sort buffer page size. 2022-06-16 10:51:29 +08:00
Haojun Liao 6b2d4a6aca other: merge 3.0 2022-06-15 23:05:55 +08:00
Haojun Liao f2de1af904 enh(query): partition by support arithmetic expr, and do some internal refactor. 2022-06-15 23:00:31 +08:00
Haojun Liao efd28728df
Merge pull request #13779 from taosdata/feature/3_liaohj
enh(query): add derivative function.
2022-06-15 22:35:30 +08:00
shenglian-zhou 39ac85b1f3
Merge pull request #13842 from taosdata/szhou/feature/multi-tb-merge-scan
feat: add table merge scan operator
2022-06-15 21:26:47 +08:00
slzhou 040093bee8 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/multi-tb-merge-scan 2022-06-15 16:43:34 +08:00
54liuyao 87bcbe003e feat(stream): stream state&session support partition by 2022-06-15 16:40:45 +08:00
Haojun Liao 771065952e other: merge 3.0 2022-06-15 16:32:28 +08:00
Haojun Liao ec97183737 fix(query): add refId for exchange operator. 2022-06-15 16:26:43 +08:00
54liuyao d8c2a68f27 feat(stream): update data fo partition by 2022-06-15 15:35:51 +08:00
shenglian zhou a38f70ba7c fix: select * from t core dump 2022-06-14 23:34:50 +08:00
Haojun Liao 83ee553615 refactor(query): do some internal refactor. 2022-06-14 21:01:08 +08:00
shenglian zhou 1b1d1d1c4a feature: add table merge scan operator 2022-06-14 18:17:18 +08:00
Haojun Liao c56be8f871 enh(query): add interp function. 2022-06-14 14:45:17 +08:00
wangmm0220 cb85ee6d3c opt: optimize generating groupid in partition/group by tag 2022-06-14 13:36:54 +08:00
Haojun Liao 531b85ce22 enh(query): add interp function. 2022-06-14 11:54:13 +08:00
wangmm0220 fc32f71628 opt: optimize group by tag 2022-06-13 19:59:30 +08:00
Haojun Liao 1ad2b5c92b fix(query): fix memory leak. 2022-06-12 23:37:29 +08:00
Haojun Liao a91053300c other: merge 3.0 2022-06-11 14:54:31 +08:00
Haojun Liao 0fbf30ce6d refactor: do some internal refactor, and add some check before create exchange operator. 2022-06-11 14:51:54 +08:00
54liuyao ee5517d5ee feat(stream): combine function spread\elapsed\histogram\hll 2022-06-11 10:28:44 +08:00
shenglian zhou c0ae56483a Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/merge-interval 2022-06-10 14:04:20 +08:00
shenglian zhou 546c077213 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/merge-interval 2022-06-10 11:28:17 +08:00
Haojun Liao 24cca6cbcd Merge branch '3.0' into feature/3_liaohj 2022-06-10 11:28:10 +08:00
shenglian zhou 7a4534a06a feat: before merge origin 3.0 2022-06-10 11:20:00 +08:00
shenglian zhou b3ce29dc4a add time window operator 2022-06-10 11:09:31 +08:00
Haojun Liao 85d4ee6031 refactor: do some internal refactor. 2022-06-10 10:29:53 +08:00
shenglian zhou c97dcbcf76 feature: add merge interval operator 2022-06-10 09:55:14 +08:00
shenglian zhou 25636d6201 feature: add merge interval operator 2022-06-09 19:34:43 +08:00
54liuyao 016a7b698f feat(stream): stream state window support top and bottom 2022-06-09 17:45:40 +08:00
shenglian zhou 80a29a6a31 fix: add group id to sorted merge operator 2022-06-09 10:09:49 +08:00
shenglian zhou 414b3242a7 fix: add group id to sort operator 2022-06-09 09:51:00 +08:00
shenglian zhou 6522ff199a Revert "Revert "feat: add group id to multiway-sort-merge operator""
This reverts commit d5a29fc413.
2022-06-08 18:23:03 +08:00
shenglian zhou e12576ed1c Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/multiwaymerge 2022-06-08 18:14:09 +08:00
shenglian zhou d5a29fc413 Revert "feat: add group id to multiway-sort-merge operator"
This reverts commit b2d066521b.
2022-06-08 18:11:16 +08:00
Yihao Deng 0d665b57d2
Merge pull request #13605 from taosdata/enh/jsonIdx1
Enh/json idx1
2022-06-08 17:21:14 +08:00
yihaoDeng 6b39c690d2 json idx 2022-06-08 16:13:52 +08:00
shenglian zhou b2d066521b feat: add group id to multiway-sort-merge operator 2022-06-08 14:58:50 +08:00
shenglian zhou 3a9b5cc6f4 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/multiwaymerge 2022-06-08 13:43:56 +08:00
54liuyao 262a221c12 distributed interval 2022-06-08 09:33:11 +08:00
shenglian zhou a0d96f9b98 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/multiwaymerge 2022-06-07 17:41:27 +08:00
shenglian zhou eb6250de4f feat: support multiway sort merge 2022-06-07 17:41:11 +08:00
wangmm0220 652035d8b2 Merge branch 'fix/jsonIdx' of github.com:taosdata/TDengine into fix/jsonIdx 2022-06-07 16:29:30 +08:00
wangmm0220 7ab66e5b6b fix:memory leak in doFilter 2022-06-07 16:29:00 +08:00
yihaoDeng b5c813f259 Merge branch 'nidx' into dev 2022-06-07 16:04:27 +08:00
wangmm0220 324977a981 feat:add filter for tag scan 2022-06-07 14:07:44 +08:00
dapan1121 16b84f575f Merge branch '3.0' into featuer/delete 2022-06-07 09:13:47 +08:00
dapan1121 33a7a83d65 feature delete data 2022-06-06 20:59:36 +08:00
Xiaoyu Wang 6de91932ea
Merge pull request #13472 from taosdata/feature/3.0_bug16060
feat: add physical plannode of indefinite rows func
2022-06-06 20:47:40 +08:00
shenglian zhou c438b699c9 feat: support multiway sort merge 2022-06-06 15:12:07 +08:00
shenglian zhou a8be204254 feat: add multiwaysort merge operator 2022-06-06 14:37:00 +08:00
Xiaoyu Wang 0b5c08edb9 merge 3.0 2022-06-06 11:47:20 +08:00
Haojun Liao 52ae8f0efa other: merge 3.0 2022-06-05 15:45:01 +08:00
Haojun Liao 7df1727a7b refactor(query): do some internal refactor. 2022-06-05 15:24:57 +08:00
Haojun Liao 6fcbcabdfc refactor: do some internal refactor. 2022-06-05 14:48:15 +08:00
Xiaoyu Wang 8ba9496471 feat: add physical plannode of indefinite rows func 2022-06-04 22:57:01 +08:00
54liuyao 5400507245 feat(stream): stream state operator 2022-06-04 20:36:28 +08:00
Haojun Liao 0244c4ff94 enh(query): add a new operator. 2022-06-04 19:19:49 +08:00
Haojun Liao 64c171d7b3
Merge pull request #13465 from taosdata/feature/3_liaohj
fix(query): enable filter in projection operator.
2022-06-04 17:03:01 +08:00
Haojun Liao 01e198231d fix(query): enable filter in projection operator. 2022-06-04 16:30:42 +08:00
wangmm0220 5ed0c48af0 feat:merge from 3.0 2022-06-02 22:49:53 +08:00
Liu Jicong 77fe6a4ef7
Merge branch '3.0' into feature/3_liaohj 2022-06-02 15:05:49 +08:00
dapan1121 717acef00d
Merge branch '3.0' into feature/qnode 2022-05-31 17:50:50 +08:00
54liuyao 901ff9bf18 feat(sma):files factor 2022-05-31 16:14:56 +08:00
dapan1121 52988b6da6 Merge branch '3.0' into feature/qnode 2022-05-31 14:04:47 +08:00
dapan1121 496ae4ca89 schedule based on qnode's load 2022-05-31 14:03:47 +08:00
wangmm0220 6c38d716a1 feat:add test for operator encode/decode 2022-05-30 12:00:51 +08:00
WANG MINGMING 99966e73ae
Merge pull request #13177 from taosdata/3.0
3.0
2022-05-29 00:23:37 +08:00
wangmm0220 5ebd2ec810 feat:add encode/decode for operator 2022-05-28 23:26:22 +08:00
54liuyao aa20cfedcd feat(stream): watermark and trigger 2022-05-28 18:19:36 +08:00
Haojun Liao 4bc5466bbd fix(query): add tags in stream scanner. 2022-05-28 17:28:47 +08:00
wangmm0220 780644c135 feat:add encode/decode for operator 2022-05-27 23:21:41 +08:00
wangmm0220 955679276f feat:optimize for group by tag 2022-05-27 22:05:53 +08:00
slzhou 589ecd75ba Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/sma 2022-05-27 21:30:24 +08:00
slzhou 860f7270fb ehance: table scan operator accepts many time ranges 2022-05-27 19:50:22 +08:00
slzhou 7a459a26a8 enhance:modify table scan operator that can accept several scan ranges 2022-05-27 17:59:27 +08:00
Haojun Liao 955c37a483
Merge pull request #13066 from taosdata/feature/3_liaohj
refactor(query): set the block groupId for stream block.
2022-05-27 14:29:37 +08:00
Haojun Liao d87bb5f3fa refactor(query): set the block groupId for stream block. 2022-05-27 10:03:45 +08:00
WANG MINGMING dfe0440c5f
Merge pull request #13044 from taosdata/3.0
3.0
2022-05-26 21:42:21 +08:00
Haojun Liao 0e2505936b Merge branch '3.0' into feature/3_liaohj 2022-05-26 17:51:34 +08:00
Haojun Liao 2ced335b04 fix(query): set the proper buffer page size. 2022-05-26 17:48:07 +08:00
Haojun Liao a2a7674021 fix(query): do some internal refactor. 2022-05-26 17:18:56 +08:00
54liuyao 270771e39e feat(stream): stream final session operator 2022-05-26 16:55:54 +08:00
wangmm0220 051020f932 fix: remove table group code in 2.x 2022-05-26 16:05:27 +08:00
Haojun Liao f6e8276475 fix(query): free the cursor when all data retrieved immediately. 2022-05-26 11:51:32 +08:00
Haojun Liao 53527cfe59
Merge pull request #12975 from taosdata/feature/3_liaohj
enh(query): add detailed sort exec information in analysis of operator.
2022-05-25 17:08:51 +08:00
Haojun Liao 84f6898fcd enh(query): add detailed sort exec information in analysis of operator. 2022-05-25 15:22:34 +08:00
54liuyao 0778bf8857 stream session operator 2022-05-25 09:05:03 +08:00
Haojun Liao e8c03c576a other: merge 3.0 2022-05-24 11:32:48 +08:00
Haojun Liao 60e7e2ae6f enh(query): add more information regarding analyze sql execution. 2022-05-24 11:29:51 +08:00
yihaoDeng 7da509b2f2 enh: index filter interface 2022-05-23 17:31:36 +08:00
Haojun Liao a7feca23fe other: merge 3.0 2022-05-30 23:32:00 +08:00
Haojun Liao 70927458e5 refactor(query): do some internal refactor. 2022-05-30 20:10:30 +08:00
Haojun Liao 1652cd0ec2 enh(query): enable twa function in select clause. 2022-05-29 12:35:11 +08:00
Haojun Liao 25e2a9dd72 refactor: do some internal refactor, and set the correct intermediate buffer size for average function. 2022-05-20 23:58:34 +08:00
Haojun Liao 14998af2b8
Merge pull request #12669 from taosdata/feature/3_liaohj
enh(query): record and return the schema version and tags version of the queried table.
2022-05-19 16:48:37 +08:00
Haojun Liao 47e6e95866 enh(query): record and return the schema version and tags version of current queried table. 2022-05-18 20:39:00 +08:00
54liuyao 5ca0e81bba stream final interval operator 2022-05-18 19:41:29 +08:00
Haojun Liao c508c89a92 enh(query): filter the child table that are not belongs to current super table when adding into candidate list. 2022-05-17 16:02:03 +08:00
Haojun Liao eb6f95c7dd enh(query): reverse scan table to generated interval results. 2022-05-17 12:16:44 +08:00
Haojun Liao 745f64aff6 refactor(query): do some internal refactor. 2022-05-16 17:16:20 +08:00
Haojun Liao 8242cac94a fix(query): fill the pseudo column before applying filter in table scanner. 2022-05-14 19:21:12 +08:00
Haojun Liao d760f981a3
Merge pull request #12437 from taosdata/feature/3.0_liaohj
fix(query): set the correct state value key index.
2022-05-13 21:58:32 +08:00
Haojun Liao 5dadb26070 fix(query): set the correct state value key index. 2022-05-13 18:18:54 +08:00
54liuyao 4b564b2ebd add stream ci 2022-05-13 15:37:31 +08:00
Haojun Liao 38d52c69dc fix(query): fix syntax errors in executorimpl.c 2022-05-13 10:12:03 +08:00
liuyao 426200a71b
Merge pull request #12384 from taosdata/feature/TD-15379
feat(stream): stream reprocess window
2022-05-13 09:19:22 +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
54liuyao 42f27e99d0 steam reprocess window 2022-05-12 22:15:13 +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
slzhou@taodata.com ed1a71f1a0 Merge branch '3.0' of github.com:taosdata/TDengine into feature/udf 2022-05-12 09:57:55 +08:00
slzhou@taodata.com d37d4e5b5e error processing of executor when calling aggregate function 2022-05-12 09:57:43 +08:00
yihaoDeng f3bf12c711 enh(index): update index filter UT 2022-05-11 23:20:01 +08:00
Haojun Liao 6c30d170ea refactor: do some internal refactor. 2022-05-10 17:46:45 +08:00
Shengliang Guan 2c694a5080 refactor: remove rpc client in executor and scanoperator 2022-05-09 18:14:12 +08:00
Shengliang Guan 0dfac36f5e Merge remote-tracking branch 'origin/3.0' into feature/dnode 2022-05-09 16:40:16 +08:00
Haojun Liao 0f9f52e78b fix(query): remove false assert. 2022-05-08 16:37:12 +08:00
Haojun Liao f6be0f0dfe other: merge with 3.0. 2022-05-08 16:06:47 +08:00
Shengliang Guan 963813b5e6 Merge remote-tracking branch 'origin/3.0' into feature/dnode 2022-05-07 20:19:54 +08:00
Shengliang Guan c8865f3a05 refactor: remove rpc client in executor and scanoperator 2022-05-07 20:19:40 +08:00
Haojun Liao 6ce36a083e
Merge pull request #12214 from taosdata/feature/3.0_liaohj
fix(query): remove a false assert.
2022-05-07 19:00:29 +08:00
Haojun Liao cdc2002e70 refactor(query): do some internal refactor. 2022-05-07 18:15:17 +08:00
54liuyao 599ea89a53 stream scan 2022-05-07 18:10:45 +08:00
Haojun Liao f867e8ea91 fix(query): eliminate memory leak. 2022-05-07 17:23:05 +08:00
Haojun Liao 6115d3dbe8 fix(query): update the column match strategy. 2022-05-07 11:04:38 +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
Haojun Liao c1659805b6 fix(query): do perform arithmetic operator before apply the sort procedure. 2022-05-05 18:54:19 +08:00
Haojun Liao 05bd6a52c2 refactor: do some internal refactor. 2022-05-03 23:52:17 +08:00
Haojun Liao ad3075db1e refactor: do some internal refactor. 2022-05-03 23:23:49 +08:00
Haojun Liao 231b0c6cb5 fix(query): set the correct primary timestamp column for state window operator. 2022-05-03 15:33:24 +08:00
Haojun Liao 3438ed13f3 refactor: do some internal refactor. 2022-05-03 15:27:13 +08:00
Haojun Liao 9adc1ed8ac refactor: do some internal refactor. 2022-05-03 15:04:34 +08:00
Haojun Liao 0799a5eaf7 refactor: do some internal refactor. 2022-05-03 14:43:53 +08:00
Haojun Liao ffbf455fee enh(query): time window interpolation for interval query. 2022-05-02 23:52:32 +08:00
54liuyao b2dd293568 stream supports filter 2022-04-29 16:30:43 +08:00
Haojun Liao d9aa35ecfe fix(query): revise the output data column info in the exchange operator to be adaptable for the case of extensive datablocks. 2022-04-28 18:08:56 +08:00
Haojun Liao 47a9b26507 fix(query): show tables in information_schema db. 2022-04-28 15:30:18 +08:00
Haojun Liao d62ddcf2db enh(query): add more information for the result of show tables. 2022-04-27 15:17:15 +08:00
Haojun Liao 09fc0b791d refactor: do some internal refactor. 2022-04-26 20:26:32 +08:00
Hongze Cheng 15127f3a97 Merge branch '3.0' of https://github.com/taosdata/TDengine into vnode_refact_merge 2022-04-26 09:19:30 +00:00
Hongze Cheng 1c968f0bb0 make mrege compilable 2022-04-26 05:53:18 +00:00
Haojun Liao 13feb7dad9 refactor(query): do some internal refactor. 2022-04-26 13:53:11 +08:00
Hongze Cheng 6fe299cdcd Merge branch '3.0' of https://github.com/taosdata/TDengine into vnode_refact_merge 2022-04-26 05:49:42 +00:00
Haojun Liao 9b40ec72d6 fix(query): handle the optimized order by in tablescan operator. 2022-04-26 13:09:29 +08:00
Haojun Liao 57b492624b refactor(query): do some internal refactor. 2022-04-25 16:44:48 +08:00
Haojun Liao 199a3610f7 fix: fix some syntax errors. 2022-04-25 09:44:39 +08:00
Haojun Liao 1d681a9e4b enh(query): Add the group id in the serialized block format to support the multi-table(super table) interval query. 2022-04-24 20:48:42 +08:00
Hongze Cheng 588fd84853 refact meta 2022-04-24 06:19:12 +00:00
Haojun Liao e28b75b8d4 refactor(query): do some internal refactor. 2022-04-22 15:07:20 +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
Haojun Liao 343988beeb refactor: do some internal refactor. 2022-04-20 14:59:06 +08:00
Haojun Liao f25a72e5c3 fix(query): fix the crash caused by the complex having clause in which an scalar function is nested with an aggregate function in group by query. 2022-04-19 18:45:28 +08:00
Haojun Liao 2305b05869 refactor(query): do some internal refactor for executor. 2022-04-19 10:12:30 +08:00
Haojun Liao 9864e367bb refactor(query): do some internal refactor in executor. 2022-04-18 18:47:59 +08:00
Haojun Liao 781fbce942 fix(query): fix bug caused by new completed query function. 2022-04-18 12:07:04 +08:00
Haojun Liao 7429f37c0c fix(query): fix bug in calculating the aggregate function with constant numeric value as input parameter. 2022-04-18 10:46:07 +08:00
Haojun Liao f0463a6a58 test: temporarily disable some invalid cases. 2022-04-16 22:50:08 +08:00
Haojun Liao 902fcb0c0b refactor(query): refactor code. 2022-04-16 19:10:21 +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
Haojun Liao fd9e520865 other: merge 3.0 branch to resolve conflict. 2022-04-16 10:07:28 +08:00
Haojun Liao 597cba3aff fix(query): enable to employ the scalar function as the parameter of the aggregate function. 2022-04-16 10:00:25 +08:00
Haojun Liao e6a4af8ed8 refactor(query): refactor the executor module of query. 2022-04-15 23:02:26 +08:00