Commit Graph

737 Commits

Author SHA1 Message Date
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