Commit Graph

1183 Commits

Author SHA1 Message Date
Haojun Liao d238f387ce other: merge 3.0 2022-11-09 00:00:14 +08:00
Ganlin Zhao 6aca4b8a5c enh: interp fill linear ignore null values during calculation 2022-11-08 14:51:32 +08:00
Ganlin Zhao a7d21c9ee7 enh: interp fill linear ignore null values during calculation 2022-11-08 14:50:03 +08:00
Liu Jicong bc469f7f7b fix(stream): delete tb should be checked in write thread 2022-11-08 11:30:29 +08:00
Haojun Liao 9863879951 refactor: do some internal refactor. 2022-11-08 09:21:43 +08:00
Haojun Liao 9932fa6bf0 refactor: refactor to avoid spin operator in exchange operator. 2022-11-07 17:48:27 +08:00
Haojun Liao fea40da5dc other: merge 3.0 2022-11-07 14:31:01 +08:00
Haojun Liao cd29972a4d enh(query): add cache for table meta. 2022-11-07 11:53:23 +08:00
Haojun Liao be5b72b25d enh(query): add cache for table meta entry in table scan. 2022-11-07 10:17:42 +08:00
Haojun Liao 270404318c other: merge 3.0 2022-11-07 09:28:22 +08:00
Haojun Liao 341112923b fix(query): init filter in group operator. 2022-11-06 23:42:04 +08:00
Haojun Liao 8c4be7dc21 refactor: do some internal refactor. 2022-11-04 22:13:40 +08:00
Haojun Liao 03f4918b3b refactor: do some internal refactor. 2022-11-04 18:46:48 +08:00
Shengliang Guan 18f7d658d9
Merge pull request #17804 from taosdata/feature/3_liaohj
refactor: add some logs.
2022-11-01 16:46:24 +08:00
Shengliang Guan 68f1641991
Merge pull request #17800 from taosdata/feature/stream
refactor(stream): fill history
2022-11-01 16:15:07 +08:00
Haojun Liao cff5d9295e refactor: add some logs. 2022-11-01 15:00:02 +08:00
Liu Jicong 8ca5f0bd9c Merge branch '3.0' into feature/stream 2022-11-01 13:20:20 +08:00
Liu Jicong 5e253cc8ea refactor(stream): fill history 2022-11-01 11:56:14 +08:00
Haojun Liao c17a921a03 fix(query): set the correct buffer to accommodate the tag values. 2022-10-31 23:19:40 +08:00
Haojun Liao f790d91b45 fix(query): check null before free resource, and some internal refactor. 2022-10-31 10:41:25 +08:00
Haojun Liao 864e2c60a7 fix(query): invoke the different api for extract queried table list. 2022-10-31 09:48:23 +08:00
Haojun Liao 46a6d9ab99 refactor: do some internal refactor. 2022-10-30 22:23:27 +08:00
Haojun Liao f990ceab6e refactor: do some internal refactor. 2022-10-30 22:13:49 +08:00
Haojun Liao e4de732285 fix(query): always build hash map from uid to keyinfo 2022-10-29 18:15:00 +08:00
Haojun Liao 9b99c69785 fix(query): support partition by + limit push down. 2022-10-28 19:56:32 +08:00
Haojun Liao 4b2fa43dae
Revert "fix(query): handle partition by in table scan operator" 2022-10-28 18:05:19 +08:00
Haojun Liao d0a7a43e6f other:merge 3.0 2022-10-28 18:02:50 +08:00
Haojun Liao 407a3453ca fix(query): set fetch block info. 2022-10-28 14:45:35 +08:00
Haojun Liao 2c896012df fix(query): check status before add table uid in hash map. and do some other refactor. 2022-10-28 10:43:25 +08:00
Haojun Liao 4774baa635 fix(query): handle the case of the single block in last files. 2022-10-27 22:43:42 +08:00
yihaoDeng 6a978be730 opt mem 2022-10-27 20:38:57 +08:00
Haojun Liao a7ca29c627 other: merge 3.0 2022-10-27 18:04:28 +08:00
Haojun Liao 5a971dd03a fix(query): handle partition by in table scan operator with limit/offset value. 2022-10-27 16:58:32 +08:00
Haojun Liao c5c5b5aa9f
Merge pull request #17662 from taosdata/feature/3_liaohj
enh(query): enable the limit clause to be push down
2022-10-27 10:46:21 +08:00
Haojun Liao 376e7ea5b9 fix(query): support limit/offset in merge sort operator. 2022-10-26 19:23:05 +08:00
Haojun Liao 81d795c293 fix(query): enable limit in grouped scan. 2022-10-26 17:11:56 +08:00
Haojun Liao 8cf3339b25 enh(query): enable the limit clause to be push down to the table scan operator. 2022-10-26 11:31:31 +08:00
Liu Jicong 52b4b510a8 merge 3.0 2022-10-26 09:18:29 +08:00
Liu Jicong 75e5e490fd refactor(stream): recover and fill history 2022-10-26 00:31:00 +08:00
Haojun Liao e654f3f92c refactor: do some internal refactor. 2022-10-24 16:44:44 +08:00
Haojun Liao b06870f70f Merge branch '3.0' into fix/liao_cov 2022-10-24 14:07:59 +08:00
Haojun Liao 2f5ed16cb8 fix(query): remove redundant ts cols in cache scan. 2022-10-24 13:26:54 +08:00
Shengliang Guan 9903bbc527
Merge pull request #17577 from taosdata/fix/liao_cov
fix(query): fix coverity issues.
2022-10-23 23:12:36 +08:00
Haojun Liao 6ebf6b29bd fix(query): fix coverity issues. 2022-10-23 15:20:29 +08:00
Shengliang Guan e86cdc8cde
Merge pull request #17381 from taosdata/feature/addIdxToSysTable
Feature/addIdxToSysTable
2022-10-23 14:38:37 +08:00
yihaoDeng 79ac1153ce avoid invalid read/write 2022-10-22 16:02:09 +08:00
Liu Jicong 5571ebee0f
Merge pull request #17542 from taosdata/feature/stream
enh(stream): internal optimize
2022-10-21 14:31:42 +08:00
Liu Jicong 035e6b13c8 enh(stream): internal optimize 2022-10-21 10:29:05 +08:00
Haojun Liao bcb3dcc7dc refactor: remove some comments. 2022-10-20 18:12:27 +08:00
Haojun Liao 6e15719ccb other: merge 3.0 2022-10-20 18:10:44 +08:00
Haojun Liao 14fe065528 fix(query): fix no-fill expression calculation bug. 2022-10-20 18:07:38 +08:00
Haojun Liao c41713cf21
Merge pull request #17495 from taosdata/fix/liao_cov
refactor: remove redundant codes and do some internal refactor.
2022-10-20 13:16:02 +08:00
Haojun Liao 70adc0ea33 fix(query): fix coverity issues. 2022-10-20 11:27:33 +08:00
Liu Jicong 8357c7342b fix(stream): stream state and session support partition tbname 2022-10-19 11:43:01 +08:00
54liuyao 8efd7e8763 feat(stream):replace disk buff 2022-10-18 18:13:47 +08:00
dapan1121 0df311a78f
Merge pull request #17264 from taosdata/refact/query_opt
refactor:do some internal refactor to optimize the query performance.
2022-10-14 19:51:46 +08:00
Liu Jicong 6f8d4d6955 fix(tmq): push msg 2022-10-14 13:31:05 +08:00
Haojun Liao f5f0a7026f other: merge 3.0 2022-10-13 14:20:51 +08:00
Hongze Cheng d5255f1eb7 more format 2022-10-13 13:41:36 +08:00
Haojun Liao d3b37ef294 other:merge 3.0 2022-10-11 22:56:54 +08:00
Liu Jicong 11ca4ddf8c
Merge pull request #17288 from taosdata/feature/stream
refactor(stream): state/session map id to tbname
2022-10-11 16:07:22 +08:00
Liu Jicong 26fae13c61 refactor(stream): state/session map id to tbname 2022-10-11 15:27:56 +08:00
Haojun Liao 7c3ddc4920 other:merge 3.0 2022-10-10 15:35:38 +08:00
Haojun Liao 9eab350e90
Merge pull request #17248 from taosdata/feature/3_liaohj
enh(query): support scalar expressions in the state window aggregate.
2022-10-10 11:31:12 +08:00
Liu Jicong 57d1406096 add tbname column into stream special block 2022-10-09 22:49:37 +08:00
Haojun Liao 4bc94300a5 enh(query): support scalar expressions in the state window aggregate. 2022-10-09 21:49:40 +08:00
Liu Jicong 2b3ff12521 fix bad merge 2022-10-09 18:39:23 +08:00
Liu Jicong eafe8666f7 merge 3.0 2022-10-09 17:00:18 +08:00
Liu Jicong 2f9aeeb5fc feat(stream): support define table name 2022-10-09 16:54:27 +08:00
54liuyao 9c170ecfa8 fix(stream): filter error occurred when data was modified 2022-10-09 14:52:39 +08:00
Haojun Liao f8a84a1d19 other:merge 3.0 2022-09-30 13:47:21 +08:00
54liuyao 46c99915bc feat(stream): distribute interval disc buff 2022-09-30 10:01:51 +08:00
Liu Jicong cde4085a6d optimize msg batch 2022-09-28 20:24:02 +08:00
Haojun Liao 5a2c583c32 other:merge 3.0 2022-09-28 18:00:04 +08:00
Liu Jicong 1ad4d16373 Merge branch '3.0' into feature/tq 2022-09-28 10:57:59 +08:00
Liu Jicong 0e8aaf4c9e feat(tmq): push optimization 2022-09-28 10:38:49 +08:00
Haojun Liao bd6cf3137f other:merge 3.0 2022-09-27 18:12:54 +08:00
54liuyao 747297bd28 feat(stream): stream fill 2022-09-27 18:11:44 +08:00
Xiaoyu Wang 1d62834e5c feat(stream): tag and child table name improvement 2022-09-26 18:39:47 +08:00
Haojun Liao 54712ae302 other:merge 3.0 2022-09-26 14:50:51 +08:00
dapan1121 3fb3aa7bea Merge remote-tracking branch 'origin/3.0' into enh/clientPolicy 2022-09-23 13:33:11 +08:00
Xiaoyu Wang 2a978bae09 Merge remote-tracking branch 'origin/3.0' into refact/query_opt 2022-09-21 13:58:34 +08:00
Haojun Liao ed0b92bb33 refactor(query): opt perf. 2022-09-20 14:12:39 +08:00
54liuyao 7eb75fea47 feat(steam):optimize window close 2022-09-20 10:45:38 +08:00
Haojun Liao bf33be4207 refactor(query):add some logs. 2022-09-20 10:41:35 +08:00
54liuyao 955838d1f6 feat(stream): optimize disc buff 2022-09-19 17:13:13 +08:00
dapan1121 4048c99282 Merge remote-tracking branch 'origin/3.0' into enh/clientPolicy 2022-09-15 14:50:35 +08:00
Haojun Liao 36c4b981f4
Merge pull request #16813 from taosdata/feature/3_liaohj
refactor(query): do some internal refactor.
2022-09-14 13:32:42 +08:00
Haojun Liao 0bb1dc9d1f fix(query): reset the output buffer when results have been produced. 2022-09-14 11:00:44 +08:00
Haojun Liao 632a26d0fe refactor(query): do some internal refactor. 2022-09-13 17:39:43 +08:00
54liuyao d4d4d2c086 feat(stream):optimize delete window 2022-09-13 16:50:27 +08:00
dapan1121 1427a8f3b0 enh: support client query policy 2022-09-09 19:03:42 +08:00
slzhou 41250383e2 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-09-08 15:30:04 +08:00
slzhou ea5ab9f8fd fix: add _wstart when _wstart does not appear in select projection list 2022-09-08 15:29:46 +08:00
54liuyao 1f5d9a38e7 feat(stream):change single interval disc buff and interval delete 2022-09-07 14:48:14 +08:00
54liuyao f35f5d5f4f feat(stream): refactor single interval 2022-09-05 13:19:40 +08:00
Haojun Liao 2224df24f7 other:merge 3.0 2022-09-05 10:24:03 +08:00
Haojun Liao 06282bcbe0 fix(query): remove invalid assert. 2022-09-05 10:19:31 +08:00
Haojun Liao d9d7c81872
Merge branch '3.0' into refact/tsdb_optimize 2022-09-03 10:14:48 +08:00
Liu Jicong d653da7971 feat(stream): support delete data 2022-09-02 15:46:41 +08:00
Haojun Liao a170796f66 fix(query): fix invalid read/write. 2022-09-02 14:34:30 +08:00
54liuyao 83e62c3849 feat(stream):stream partition by column 2022-09-01 15:05:24 +08:00
Liu Jicong 1fe4ab2341 feat(taox): support auto create sub table 2022-09-01 11:45:00 +08:00
Liu Jicong c4dcc994fb remove queue scan 2022-08-31 11:35:25 +08:00
Haojun Liao 45616c6548 fix(query):fix syntax error. 2022-08-30 09:47:42 +08:00
Haojun Liao 37618513a6
Merge branch '3.0' into feature/3_liaohj 2022-08-29 22:47:18 +08:00
Haojun Liao d2ed6ff0e8 fix(query): set correct page buffer id. 2022-08-29 22:42:15 +08:00
wade zhang 2ad31384f6
Merge pull request #15818 from taosdata/feature/TD-14761
feat: get meta and data from tmq using snapshot
2022-08-29 09:49:35 +08:00
Shengliang Guan c581212712
Merge pull request #16439 from taosdata/feature/3_liaohj
feature(query): support last function cache and retrieve data.
2022-08-28 21:27:13 +08:00
Cary Xu 5dcfa5a241 other: code format optimization 2022-08-26 17:00:50 +08:00
Cary Xu 4abb6e1411 enh: use simple hash to save agg result 2022-08-26 16:52:12 +08:00
Haojun Liao 60d9acb7b4 feature(query): support last function cache and retrieve data. 2022-08-26 15:27:19 +08:00
Haojun Liao 13563f1733
Merge pull request #16412 from taosdata/feature/3_liaohj
refactor(query): check table in uid order when handling the last block, and some internal refactor.
2022-08-26 10:44:27 +08:00
wangmm0220 6b61d3c23b fix:conflicts from 3.0 2022-08-25 16:57:19 +08:00
Haojun Liao b09ee742d5 refactor(query): check table in uid order when handling the last block, and some internal refactor. 2022-08-25 15:31:48 +08:00
Haojun Liao da1dd5e137
Merge pull request #16396 from taosdata/feature/3_liaohj
fix(query): check return value and do some internal refactor.
2022-08-25 12:47:23 +08:00
Haojun Liao 1c06206000 other:merge 3.0 2022-08-25 11:01:36 +08:00
Haojun Liao 909529bb7b fix(query): check return value and do some internal refactor. 2022-08-25 10:55:28 +08:00
wangmm0220 c7bf08d5af feat: get snapshot data for taosX 2022-08-24 17:42:33 +08:00
Xiaoyu Wang 99490c063e feat: system table visible permission 2022-08-24 17:36:10 +08:00
Haojun Liao a23f5f59ea refactor(query): do some internal refactor. 2022-08-24 17:09:33 +08:00
wangmm0220 2afc23a120 fix:conflicts from 3.0 2022-08-24 13:59:51 +08:00
Shengliang Guan 4c287f602d
Merge pull request #16352 from taosdata/feature/stream
feat(stream): support tdb state backend
2022-08-24 13:24:09 +08:00
Haojun Liao b62e0c0235
Merge pull request #16354 from taosdata/feature/3_liaohj
refactor(query): do some internal refactor.
2022-08-24 10:25:27 +08:00
Haojun Liao 20b06a7ec7 refactor(query): do some internal refactor. 2022-08-23 19:44:59 +08:00
Liu Jicong de041f45b5 Merge branch '3.0' into feature/stream 2022-08-23 19:41:16 +08:00
Liu Jicong 2d628491b2 feat(stream): support tdb state backend 2022-08-23 19:30:04 +08:00
54liuyao b8a1a7f175 fix(stream): state window update 2022-08-23 12:46:42 +08:00
wangmm0220 43862ccd74 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/TD-14761 2022-08-22 16:53:53 +08:00
wade zhang 7a77f4258a
Merge pull request #16258 from taosdata/feature/3.0_query_optimize
opti: group by tag
2022-08-22 16:39:05 +08:00
Haojun Liao e4881423b8 fix(query): add one more condition check when merge file block and last block. 2022-08-22 11:09:12 +08:00
wangmm0220 90a3b68d68 fix:conflict from 3.0 2022-08-20 16:00:56 +08:00
Hui Li d0e0c222ba
Merge pull request #16251 from taosdata/feature/stream
refactor(stream): optimize interval
2022-08-19 20:48:28 +08:00
wangmm0220 38f0eccaad opti: group by tag 2022-08-19 20:31:28 +08:00
Liu Jicong d251180fae refactor(stream): optimize interval 2022-08-19 18:06:54 +08:00
wangmm0220 f2912a17ba fix:conflicts from 3.0 2022-08-19 16:38:23 +08:00
Xiaoyu Wang 98fc185e92 fix: escape character problem in auto create table insert 2022-08-18 18:53:23 +08:00
wangmm0220 fbc69a10c4 Merge branch '3.0' into feature/TD-14761 2022-08-18 16:45:06 +08:00
Cary Xu 7e73f36173 other: code format revert 2022-08-18 10:08:22 +08:00
wangmm0220 78c9f245b1 fix:conflicts from 3.0 2022-08-16 15:18:11 +08:00
Cary Xu 34e14f770f enh: rsma batch process 2022-08-15 09:39:55 +08:00
Cary Xu 8c75274e13 Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-08-12 21:04:20 +08:00
Cary Xu ae7550eb86 enh: rsma exec in async mode 2022-08-12 21:00:48 +08:00
Haojun Liao dc991a9040 other:merge 3.0 2022-08-12 14:51:52 +08:00
Haojun Liao 166cdcec7c fix(query): fix bug in fill. 2022-08-12 14:04:43 +08:00
Cary Xu a4a7022caf
Merge pull request #15976 from taosdata/feature/3.0_interval_hash_optimize
enh: rsma fetch optimization
2022-08-11 23:20:01 +08:00
Cary Xu e890bcc6f4 enh: tsimplehash remove/iter/ut 2022-08-11 19:12:24 +08:00
shenglian-zhou a96193cfc6
Merge pull request #15983 from taosdata/szhou/fixbug
fix: add multi-timeline support for session and state
2022-08-11 17:15:09 +08:00
slzhou 009777a727 fix: add multi-timeline support for session and state 2022-08-11 16:23:53 +08:00
54liuyao 7836b581a7 feat(stream): delete result 2022-08-11 14:25:16 +08:00
Liu Jicong a28c0781be
Merge pull request #15971 from taosdata/feature/stream
feat(stream): session window trigger delete
2022-08-11 14:10:18 +08:00
Liu Jicong c191f44b14 feat(stream): session window trigger delete 2022-08-11 12:01:20 +08:00
liuyao e1047b4b27
Merge pull request #15965 from taosdata/feature/TD-18091
feat(stream):optimzie stream interval
2022-08-11 11:06:06 +08:00
Ganlin Zhao c6699e19fb
Merge pull request #15941 from taosdata/fix/TD-18115
fix(query): fix linear interpolation issue between two blocks
2022-08-11 10:21:28 +08:00
54liuyao 44123ec8f0 feat(stream):optimzie stream interval 2022-08-11 10:20:42 +08:00
Ganlin Zhao 6fc38165fb fix(query): fix linear interpolation issue between two blocks
TD-18309
2022-08-10 16:29:55 +08:00
wangmm0220 c381ffd38c fix:error in tmq for snapshot 2022-08-09 19:06:24 +08:00
Xiaoyu Wang 07ef00e89f merge 3.0 2022-08-09 11:36:08 +08:00
Ganlin Zhao 35a9e11ed1
Merge pull request #15867 from taosdata/fix/TD-18115
fix(query): interp + fill(linear) not working
2022-08-09 10:25:58 +08:00
Ganlin Zhao 26648a909f fix(query): interp + fill(linear) not working
TD-18220
2022-08-08 20:09:20 +08:00
Haojun Liao 4d8842c21f other:merge 3.0 2022-08-08 16:37:37 +08:00
Ganlin Zhao 1ee558fb63 fix(query): interp + fill(linear) not working
TD-18220
2022-08-08 15:20:12 +08:00
Haojun Liao 447b2cb9f1 fix(query): update the load data log. 2022-08-08 12:56:03 +08:00
wangmm0220 9f9788c205 Merge branch '3.0' into feature/TD-14761 2022-08-08 10:04:03 +08:00
Haojun Liao a74c830125 fix(query): support scalar function in fill operator. 2022-08-06 19:34:15 +08:00
wangmm0220 1309c489e2 fix:error in tmq for snapshot 2022-08-06 19:31:53 +08:00
dapan1121 10281b36ae
Merge pull request #15811 from taosdata/fix/TD-18137
fix: fix taosd memory leak issue
2022-08-06 18:47:38 +08:00
dapan1121 fd654b126a fix: fix taosd memory leak issue 2022-08-06 18:00:26 +08:00
Ganlin Zhao 784752010a fix(query): fix interp fill(next) result errors 2022-08-06 16:18:11 +08:00
Haojun Liao 0d60d54a4a other: merge 3.0 2022-08-06 15:26:15 +08:00
Haojun Liao bf08d7dd0b fix(query): fix bug in fill 2022-08-06 15:23:03 +08:00
wangmm0220 f28155714e fix:confilcts from 3.0 2022-08-06 12:31:15 +08:00
wangmm0220 45e7597df3 feat:get data from snapshot for taosx 2022-08-05 21:12:18 +08:00
Haojun Liao 0e4748771a enh(query): support combine multi datablock to pass to upstream operators 2022-08-05 14:10:45 +08:00
Haojun Liao 3a5fcefc8d other: merge 3.0 2022-08-04 17:24:51 +08:00
shenglian zhou 2f27d0152d fix: get result row add forUpdate parameter 2022-08-04 16:23:54 +08:00
wangmm0220 c3cd858a63 feat:add snapshot for tmq in stable and db 2022-08-04 15:01:59 +08:00
Haojun Liao 4cd7af0ecf other: merge 3.0 2022-08-03 19:02:43 +08:00
slzhou cf9030fab1 fix: prevent result row page swapping so that the result is preserved 2022-08-03 17:03:50 +08:00
Cary Xu 2f19c2d0a5 other: rsma replica restore and memory leak 2022-08-03 10:58:01 +08:00
Haojun Liao 77ed2bc1e1 enh(query): add merge attribute in explain. 2022-08-02 21:25:55 +08:00
shenglian-zhou 16357345ef
Merge pull request #15678 from taosdata/szhou/fix/join
fix: make multi-table table join test case pass CI
2022-08-02 17:02:00 +08:00
slzhou 2a17deec7c fix: extract time condition corretly when join tables together 2022-08-02 16:18:55 +08:00
Haojun Liao 258d50306f refactor: do some internal refactor. 2022-08-02 15:43:45 +08:00
Haojun Liao 781c494c2b refactor: merge data belongs to different data group. 2022-08-02 13:58:54 +08:00
Haojun Liao 8da7aa19b5 fix(query): fix memory leak. 2022-08-01 20:41:03 +08:00
54liuyao b3d104349f feat(stream):optimize stream update scan 2022-08-01 17:09:46 +08:00
Haojun Liao 7bc773b8cd fix(query): remove invalid time window close ops. 2022-07-30 18:11:44 +08:00
Haojun Liao ed57347579 fix(query): fix memory leak. 2022-07-30 11:30:31 +08:00
Haojun Liao d29a60499a
Merge pull request #15554 from taosdata/feature/3_liaohj
refactor: do some internal refactor and opt query performance.
2022-07-29 22:34:37 +08:00
Haojun Liao 9ee13ca254 other: merge 3.0 2022-07-29 18:03:42 +08:00
Haojun Liao 0ff775c46f fix(query): keep order info in fill operator. 2022-07-29 14:33:50 +08:00
Haojun Liao 26e5a7c796 refactor: do some internal refactor. 2022-07-29 13:54:14 +08:00
Haojun Liao 915e4e40c7 fix(query): add attribute to control output order. 2022-07-29 11:00:36 +08:00
Haojun Liao 78bbfcb4bc refactor: do some internal refactor and opt query performance. 2022-07-29 09:56:03 +08:00
Cary Xu 0dcb3a5da1 fix: assign uid for rsma by physical plan 2022-07-28 17:07:47 +08:00
Liu Jicong 3167f158d1
Merge pull request #15454 from taosdata/feature/stream
fix(stream): dispatch
2022-07-27 12:39:37 +08:00
Liu Jicong 3fa5791889 fix(stream): dispatch 2022-07-27 10:52:25 +08:00
54liuyao db8ed3087c feat(stream): free the memory 2022-07-27 10:34:30 +08:00
shenglian zhou 56f067229c Merge branch '2.0' of github.com:taosdata/TDengine into szhou/fix/udf 2022-07-26 17:58:31 +08:00
shenglian zhou cdcb1a368d feat: add input ts order for join operator 2022-07-26 16:05:42 +08:00
shenglian-zhou fd2a53d174
Merge pull request #15415 from taosdata/szhou/fix/udf
fix: set null when all inputs are null for leastsquare function
2022-07-26 15:57:25 +08:00
shenglian zhou b870b6381f fix: save sort exec info into table merge scan struct and use it when explain 2022-07-26 11:14:17 +08:00
54liuyao 35ddd56691 feat(stream): refector some log 2022-07-26 09:55:21 +08:00
Xiaoyu Wang 20cb18d8b0 merge 3.0 2022-07-25 16:59:28 +08:00
Xiaoyu Wang bf18385e00 merge szhou/fix/udf 2022-07-25 15:34:58 +08:00
Xiaoyu Wang 015193e816 feat: super table order by primary key optimization 2022-07-25 15:17:53 +08:00
Haojun Liao baca08d05d refactor: do some internal refactor. 2022-07-25 14:15:49 +08:00
Haojun Liao 6d86ef0c33 other: merge 3.0 2022-07-25 11:22:09 +08:00
Haojun Liao 9bddf99d7d refactor(query): do some internal refactor. 2022-07-25 11:17:45 +08:00
dapan1121 dfe4ed92e3 fix: fix disk page direty issue 2022-07-25 09:01:40 +08:00
Haojun Liao e00528eead refactor: do some internal refactor. 2022-07-23 09:59:37 +08:00
Haojun Liao e9936db95e other: merge 3.0 2022-07-23 09:37:23 +08:00
Haojun Liao 4a7a85ab07 other: merge 3.0 2022-07-23 00:02:53 +08:00
Haojun Liao 4d4a52245d fix(query): update the time range after filter data block. 2022-07-22 23:52:48 +08:00
Haojun Liao 998dedb9fa other: merge 3.0 2022-07-22 21:16:52 +08:00
54liuyao b28553395f feat(stream): adjust stream scan 2022-07-22 20:13:37 +08:00
Ganlin Zhao 51ac32e8ea Merge branch '3.0' into feat/TD-17552 2022-07-22 17:41:48 +08:00
Ganlin Zhao 68854bdea5 enh(query): add wal version to agg result datablock
TD-17552
2022-07-22 17:39:59 +08:00
54liuyao 47cb043f4c feat(stream):optimize update scan range 2022-07-22 16:55:14 +08:00
Haojun Liao 6f4851a6a2 refactor: do some internal refactor. 2022-07-22 14:38:28 +08:00
Haojun Liao 7522c2edf3 refactor: do some internal refactor. 2022-07-21 20:44:36 +08:00
Haojun Liao 9d565752c4 fix(query): extract schema before creating stream scanner. 2022-07-21 13:51:39 +08:00
Haojun Liao ee34c3bb3e fix(query): add query involved column info 2022-07-21 11:20:30 +08:00
Haojun Liao df58a9bb30 fix(query): handle fraction of ts in add ts offset. 2022-07-20 15:30:52 +08:00
Haojun Liao facf3c8648 fix(query): add limit/offset for order by operator. 2022-07-20 14:07:48 +08:00
Haojun Liao 179709f814 fix(query): assign the subplan to belong to task struct 2022-07-19 17:37:40 +08:00
Haojun Liao eebbbce4f3 fix(query): filter new added child table for stream scan operator. 2022-07-18 15:31:39 +08:00
Haojun Liao fc67efb5aa fix(query): fix memory leak. 2022-07-18 13:52:33 +08:00
Haojun Liao f0d1f393fd fix(query): add limit/offset implementation in exchange operator. 2022-07-16 23:24:59 +08:00
54liuyao 352db0febb feat(stream): optimize interval plan 2022-07-16 09:28:15 +08:00
Liu Jicong af0f398121
Merge pull request #14960 from taosdata/feature/stream
feat(stream): recover from failure
2022-07-15 18:32:48 +08:00
Liu Jicong 9394e3380f feat(stream): recover from failure 2022-07-15 17:58:53 +08:00
Haojun Liao 505e14892e
Merge pull request #14932 from taosdata/feature/3_liaohj
fix(query): handle multi group last_row query.
2022-07-15 15:03:10 +08:00
Haojun Liao b9a471624d fix(query): handle multi group last_row query. 2022-07-15 11:19:00 +08:00
Haojun Liao 159d6c47c8
Merge pull request #14911 from taosdata/feature/3_liaohj
fix(query): fix memory leak.
2022-07-14 20:36:30 +08:00
Haojun Liao 5ca810a985 fix(query): fix memory leak. 2022-07-14 19:09:40 +08:00
Haojun Liao 34c973387d
Merge pull request #14904 from taosdata/feature/3_liaohj
fix(query): handle the grouped fill.
2022-07-14 18:36:18 +08:00
Haojun Liao dc4052bd7b fix(query): handle the grouped fill. 2022-07-14 17:04:22 +08:00
Liu Jicong d75e9b8f6a merge from 3.0 2022-07-14 15:35:00 +08:00
Liu Jicong 9ea0ad57ec refactor(stream): destroy stream task 2022-07-14 15:32:21 +08:00
Haojun Liao 2974d826ef
Merge pull request #14850 from taosdata/feature/3_liaohj
fix(query): support last_row(tags) for super table query.
2022-07-13 23:14:57 +08:00
Liu Jicong 8a6e4b877a refactor(stream): simple batch 2022-07-13 16:37:33 +08:00
Haojun Liao 649cf7e55d fix(query): support last_row(tags) for super table query. 2022-07-13 14:21:44 +08:00
54liuyao ab2b1bbf47 feat(stream): sliding window 2022-07-12 17:27:44 +08:00
Haojun Liao 4d73720fb8 fix(query): set the ts to be the time window start key value when filling timestamp column. 2022-07-12 13:45:41 +08:00
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