Commit graph

5189 commits

Author SHA1 Message Date
54liuyao
e03deeaed8 feat:add stream delete mark 2023-01-17 16:21:51 +08:00
Haojun Liao
f69e8509c3 fix(query): disable some warnings. 2023-01-16 19:17:37 +08:00
Haojun Liao
abc8c0fda1 refactor: do some internal refactor. 2023-01-16 18:40:44 +08:00
Haojun Liao
59e25c0191
Merge pull request #19576 from taosdata/fix/liaohj
test: add new sim to CI.
2023-01-16 18:17:39 +08:00
Xiaoyu Wang
0b1bb7a1fb merge 3.0 2023-01-16 17:55:35 +08:00
Haojun Liao
138d1d26f0 refactor: opt hash perf. 2023-01-16 17:55:25 +08:00
Haojun Liao
e3248d0053 refactor: disable warning. 2023-01-16 16:02:23 +08:00
dapan1121
62b64631dc
Merge pull request #19547 from taosdata/fix/TD-21648
fix:add interface for odbc
2023-01-16 13:29:15 +08:00
Haojun Liao
9f61d3ebab
Merge pull request #19559 from taosdata/fix/liaohj
fix(query): use the recycled blocks to reduce the cached buffer.
2023-01-16 11:34:38 +08:00
Haojun Liao
82f4db302e refactor: do some internal refactor. 2023-01-14 23:17:57 +08:00
Haojun Liao
9997362cf7 fix(query): use the recycled blocks to reduce the cached buffer. 2023-01-14 01:12:15 +08:00
Haojun Liao
eea9d4f21d enh(query): prepare the buffer on the stack, instead of heap. 2023-01-13 14:34:15 +08:00
Xiaoyu Wang
9a0c2805f4 merge main 2023-01-13 13:54:04 +08:00
shenglian zhou
50bb847ff9 fix: no stable null group when no normal table 2023-01-12 09:06:58 +08:00
wangmm0220
8af5230bc8 fix:add logic for ins_columns 2023-01-11 23:55:53 +08:00
wangmm0220
672378f000 fix:add logic for ins_columns 2023-01-11 18:54:43 +08:00
Haojun Liao
fc42143c47 fix(query): fix error in generated the group results. 2023-01-11 18:53:20 +08:00
Haojun Liao
e9fc109edf enh(query): opt query perf. 2023-01-11 18:47:45 +08:00
Haojun Liao
7efdc9e27a fix(query): fix memory leak. 2023-01-11 18:00:36 +08:00
Haojun Liao
67a291955e fix(query): initialize output buffer for each output. 2023-01-11 17:36:01 +08:00
Haojun Liao
53f27901a5 Merge branch 'main' into feature/3_liaohj 2023-01-11 15:42:34 +08:00
wangmm0220
19e72938f6 fix:add logic for ins_columns 2023-01-11 15:06:42 +08:00
wangmm0220
3e7aaf6adc fix:add logic for ins_columns 2023-01-11 14:27:36 +08:00
Haojun Liao
78f49db0ad other: merge main. 2023-01-11 13:31:41 +08:00
Haojun Liao
e0dbe22199 fix(query): fix uninitialized memory buffer accessed. 2023-01-11 10:27:23 +08:00
wangmm0220
3b4ff4d094 fix:add logic for scan ins_columns 2023-01-10 20:32:31 +08:00
Liu Jicong
fcbac7236e fix: reset table scan status 2023-01-10 13:47:18 +08:00
Haojun Liao
1354eac985 Merge branch 'main' into feature/3_liaohj 2023-01-10 13:21:49 +08:00
54liuyao
d5ade95b31 feat(stream):user define tag 2023-01-10 10:13:56 +08:00
dapan1121
71d5916030 fix: error code not returned issue 2023-01-09 13:22:11 +08:00
Liu Jicong
c79b722372 remove state commit 2023-01-09 10:12:24 +08:00
Shengliang Guan
d90eef6656 Merge branch '3.0' into merge/mainto3.0_0108 2023-01-08 09:54:21 +08:00
Shengliang Guan
8c042f0eef
Merge pull request #19338 from taosdata/fix/TD-21697
fix: td-21697
2023-01-07 10:55:09 +08:00
Haojun Liao
972f9b6948 refactor: do some internal refactor. 2023-01-07 00:59:05 +08:00
wangmm0220
e1020b7967 fix:add interface for taos_get_current_db 2023-01-06 19:20:31 +08:00
Haojun Liao
d208282a2b refactor: do some internal refactor. 2023-01-06 13:17:22 +08:00
Haojun Liao
9dd07cc1e1 other:merge main. 2023-01-06 12:54:26 +08:00
Haojun Liao
264383c2be enh(query): disable an error log. 2023-01-05 18:59:36 +08:00
Shengliang Guan
3016f35e9f Merge branch '3.0' into merge/mainto3.0_0105 2023-01-05 16:08:23 +08:00
wangmm0220
730fbe42cb fix:add logic for system table ins_columns 2023-01-05 14:34:07 +08:00
Haojun Liao
44e103a6a9 enh(query): remove unnecessary malloc. 2023-01-05 09:38:01 +08:00
Haojun Liao
b0885dddba fix(query): update the hash function for varchar data. 2023-01-04 18:47:12 +08:00
Liu Jicong
5ee7e7aed9 fix: init tsdb read snap 2023-01-04 17:55:00 +08:00
Haojun Liao
c6512b09e8 fix(query): memset the resultrow info 2023-01-04 17:29:02 +08:00
Haojun Liao
c7020e0b82 fix(query): add error check. 2023-01-04 17:08:40 +08:00
Haojun Liao
fbf728f807 enh(query):init result row size. 2023-01-04 17:02:56 +08:00
Minglei Jin
625bf9992f
Merge branch '3.0' into fix/long_query 2023-01-04 15:15:51 +08:00
Liu Jicong
e30c00875c enh: close tsdb reader 2023-01-04 15:14:00 +08:00
Shengliang Guan
848b16b8f6
Merge pull request #19345 from taosdata/feature/3_liaohj
enh(query): opt filter perf.
2023-01-04 13:22:24 +08:00
Haojun Liao
5a343bd01c fix(query): increase the index when handling the var data type. 2023-01-04 11:48:54 +08:00
Xiaoyu Wang
fdde287ca9 merge main 2023-01-04 11:43:20 +08:00
dapan1121
efa994f445
Merge pull request #19339 from taosdata/fix/TD-21659
fix: drop task while task executing issue
2023-01-04 10:35:57 +08:00
Haojun Liao
e07c30be1c fix(query): clear the length before append var data. 2023-01-04 00:49:38 +08:00
Haojun Liao
1a97a659bc fix(query): fix error in filter. 2023-01-04 00:19:04 +08:00
Haojun Liao
00c2d382b1 fix(query): opt filter perf. 2023-01-03 22:45:02 +08:00
yihaoDeng
d383dcd59d fix mem leak 2023-01-03 21:57:00 +08:00
yihaoDeng
b5dbc8439f fix mem leak 2023-01-03 20:35:26 +08:00
Haojun Liao
5c0fd80195 fix(query): fix memory leak. 2023-01-03 19:45:41 +08:00
Haojun Liao
05a2eeed44 fix(query): fix memory leak. 2023-01-03 19:36:53 +08:00
Haojun Liao
bf70cdb474 enh(query): opt filter perf. 2023-01-03 19:35:38 +08:00
Haojun Liao
4dce537a8a enh(query): opt filter perf. 2023-01-03 19:27:16 +08:00
Minglei Jin
b020383046 fix(tsdb): comment qlist out to please CI 2023-01-03 18:30:50 +08:00
dapan1121
1477ce97a7 fix: drop task while task executing issue 2023-01-03 18:07:18 +08:00
Haojun Liao
169a6703d1 enh(query): support event window. 2023-01-03 17:51:50 +08:00
yihaoDeng
68d84a1c37 fix mem leak 2023-01-03 17:49:07 +08:00
yihaoDeng
2fbede75a3 fix mem leak 2023-01-03 17:46:17 +08:00
Haojun Liao
53c3cbd661 enh(query): support event window. 2023-01-03 17:41:10 +08:00
Minglei Jin
07f16b1660 Merge branch 'v3.0' into fix/long_query 2023-01-03 17:21:10 +08:00
dapan1121
47e885da07 fix: evac page failed issue cause of disk full 2023-01-03 15:40:40 +08:00
Haojun Liao
e7b1a7dc78 enh(query): support event window. 2023-01-03 13:15:09 +08:00
Minglei Jin
e4e72dd9e9 fix(tsdb/read): new tsdbReleaseDataBlock api from release reader's lock 2023-01-03 09:43:29 +08:00
dapan1121
d33bcc9977
Merge pull request #19280 from taosdata/fix/TD-21547
fix: insert into select with disorder column issue
2023-01-03 09:24:04 +08:00
Alex Duan
2439c345d9 enh: clear assert remove tbuffer.h 2022-12-30 18:04:54 +08:00
dapan1121
98a2eb03f0 fix: index not updated issue 2022-12-30 17:48:24 +08:00
dapan1121
d674bae88e fix: fix index not update issue 2022-12-30 17:47:06 +08:00
dapan1121
ad777cc793 fix: insert into select with disorder column issue 2022-12-30 14:34:02 +08:00
dapan1121
ee719d02b4 fix: insert into select with disorder column issue 2022-12-30 14:31:56 +08:00
54liuyao
4c6702ab73 fix:modify parameter type 2022-12-30 13:29:29 +08:00
dapan1121
e6c5fd874a
Merge pull request #19175 from taosdata/szhou/fixbugs2
enhance: remove assert
2022-12-30 09:53:59 +08:00
Shengliang Guan
25e9d94f5b
Merge pull request #19244 from taosdata/feature/stream_main
enh: put func state into tdb
2022-12-29 17:17:29 +08:00
Liu Jicong
7721353b6b enh: put func state into tdb 2022-12-29 12:39:07 +08:00
dapan1121
4a142018da
Merge pull request #19224 from taosdata/fix/TD-21561
fix(query): fix count/hyperloglog return additional row in group by when queryPolicy is set to 3.
2022-12-29 12:28:28 +08:00
Ganlin Zhao
24b2ee0fff fix(query): fix count/hyperloglog return additional row in group by
when queryPolicy is set to 3.
2022-12-28 17:29:07 +08:00
54liuyao
c90a632f42 fix:fill operator fill next issue 2022-12-28 15:00:57 +08:00
Shengliang Guan
78c14a2c88 Merge remote-tracking branch 'origin/3.0' into merge/mainto3.0_1228 2022-12-28 14:59:02 +08:00
Shengliang Guan
d342ebcd77
Merge pull request #18720 from taosdata/refact/submit_req
Refact/submit req
2022-12-28 10:29:00 +08:00
Haojun Liao
5dd9322cbf enh(query): add event window. 2022-12-28 09:16:10 +08:00
dapan1121
79c5b20ba6
Merge pull request #19187 from taosdata/fix/TD-21553
fix:calculate next sliding window error
2022-12-27 18:51:16 +08:00
54liuyao
e5c4196c98 fix:calculate next sliding window error 2022-12-27 17:19:47 +08:00
Shengliang Guan
f9d643dd0b
Merge pull request #19178 from taosdata/fix/set_scan_limit
enh: set scan limit
2022-12-27 16:53:41 +08:00
Shengliang Guan
c844922aef
Merge pull request #19172 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2022-12-27 16:07:23 +08:00
Liu Jicong
39eb62d80d enh: set scan limit 2022-12-27 14:52:41 +08:00
54liuyao
962fab4ff3 fix:remove assert 2022-12-26 17:32:41 +08:00
slzhou
0bef5fdc38 fix: rename symbol 2022-12-26 14:42:36 +08:00
slzhou
5aec2f3ba8 Merge branch 'main' into szhou/fixbugs 2022-12-26 14:39:13 +08:00
slzhou
e1b1ae575b fix: select tbname from system tables 2022-12-26 14:39:00 +08:00
Haojun Liao
8a4fb244fb fix(query): fix coverity issues. 2022-12-26 14:20:05 +08:00
Haojun Liao
f54f6201be fix(query): fix coverity issues. 2022-12-26 14:07:22 +08:00
Haojun Liao
1a07451bc3 refactor: do some internal refactor. 2022-12-26 13:45:25 +08:00
Haojun Liao
723efba79b
Merge branch '3.0' into refact/submit_req 2022-12-26 13:25:25 +08:00
Liu Jicong
cc81892db1
Merge branch '3.0' into feature/stream_3.0 2022-12-26 13:22:24 +08:00
Haojun Liao
a5165ab5e7 refactor: do some internal refactor. 2022-12-26 10:58:17 +08:00
Shengliang Guan
664dcb6b4e Merge branch 'main' into merge/mainto3.0_1226 2022-12-26 09:26:54 +08:00
Shengliang Guan
028cc52846
Merge pull request #19116 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2022-12-26 09:12:35 +08:00
dapan1121
8ea246e549
Merge pull request #19120 from taosdata/fix/TD-21448
fix: interval + fill desc order result different issue
2022-12-25 15:29:10 +08:00
dapan1121
94677762f6 fix: interval + fill desc order result different issue 2022-12-23 18:19:29 +08:00
Xiaoyu Wang
0c269c317b merge 3.0 2022-12-23 17:50:05 +08:00
Haojun Liao
224f5a72c2 refactor: do some internal refactor. 2022-12-23 17:45:12 +08:00
Haojun Liao
a4213aedf0 refactor: do some internal refactor. 2022-12-23 17:23:31 +08:00
Liu Jicong
b1bd24d15a enh: scan exec set limit 2022-12-23 16:35:40 +08:00
dapan1121
1858b8ec36 Merge branch 'fix/TS-2286' into fix/TS-2324 2022-12-23 16:09:12 +08:00
dapan1121
1ae71a858b fix: fix none fill column value issue 2022-12-23 16:01:13 +08:00
dapan1121
c318be9214 fix: duplicated groups result in group by 2022-12-23 12:04:20 +08:00
dapan1121
2c63901782
Merge pull request #19090 from taosdata/fix/TD-21439
fix: invalid interval query result
2022-12-23 09:58:27 +08:00
dapan1121
9ab98f0230 fix: fill value issue 2022-12-22 20:56:23 +08:00
dapan1121
d83883d20e fix: get ts column when data loaded 2022-12-22 20:02:43 +08:00
54liuyao
7c84ddd46d fix:timestampe is out of order 2022-12-22 16:48:33 +08:00
dapan1121
98b2307eb3 fix: invalid interval query result 2022-12-22 16:31:16 +08:00
dapan1121
dacb2cd533 fix: fill null value issue 2022-12-22 14:59:41 +08:00
Liu Jicong
2a7de0cd46 refactor: remove assert 2022-12-21 13:54:14 +08:00
dapan1121
be4361c872 fix: interp takes too much time issue 2022-12-21 11:41:18 +08:00
dapan1121
294a437657 fix: fix percentile + interval res error 2022-12-20 19:50:09 +08:00
dapan1121
32e8202a25 enh: refact insert into select processing 2022-12-20 16:55:11 +08:00
Liu Jicong
c734d040f1 fix(query): projection for null input 2022-12-20 10:24:44 +08:00
Haojun Liao
60b8ce329b Merge branch 'refact/submit_req' of github.com:taosdata/tdengine into refact/submit_req 2022-12-19 11:42:04 +08:00
Haojun Liao
fdade6d6a3
Merge branch '3.0' into refact/submit_req 2022-12-19 11:24:00 +08:00
Ganlin Zhao
09061bcc57 Merge branch '3.0' into feat/TS-2158 2022-12-19 09:23:32 +08:00
Haojun Liao
364e023ba5 fix(query): fix memory leak. 2022-12-16 19:07:09 +08:00
Haojun Liao
28559dc41c fix(query): fix the invalid decode. 2022-12-16 00:43:19 +08:00
Ganlin Zhao
702054c345 feat(query): add _isfilled pseudocolumn to indicate data is origin
or filled.
2022-12-14 17:16:52 +08:00
Shengliang Guan
04750d9078
Merge pull request #18905 from taosdata/feature/3_liaohj
refactor: do multiple refactor and improve some query perf.
2022-12-14 08:01:42 +08:00
Haojun Liao
8b1f452312 fix(query): set data load flag for multi-way merge . 2022-12-13 22:37:29 +08:00
Haojun Liao
9afdee5fd3 fix(query): set data load flag. 2022-12-13 01:30:10 +08:00
Haojun Liao
e3e42cdfbd fix(query): set update ts flag for stream. 2022-12-13 00:16:40 +08:00
Haojun Liao
d7edcfd207 fix(query): set dataload flag. 2022-12-12 18:33:44 +08:00
Haojun Liao
48f7fc5c3d
Merge branch '3.0' into refact/submit_req 2022-12-12 18:11:17 +08:00
Haojun Liao
c31f36d841 fix(query): set data load flag for multi-way merge . 2022-12-12 15:06:40 +08:00
Haojun Liao
2bf21e6a17 fix(query): set flag for merged block. 2022-12-12 14:33:39 +08:00
Haojun Liao
1d9514d6d8 refactor(query): add an assert. 2022-12-12 14:28:08 +08:00
Haojun Liao
6283581cb8 fix(query): remove invalid update block timestamp range. 2022-12-12 13:19:59 +08:00
Haojun Liao
4b5f4e5175 fix(query): fix error in check if load block is needed 2022-12-12 13:07:30 +08:00
Ganlin Zhao
3c777c492d fix: fix taosd crash caused by assert 2022-12-12 10:20:03 +08:00
Shengliang Guan
aa512f1d55
Merge pull request #18874 from taosdata/fix/TD-21117
fix: control rpc qitem memory
2022-12-10 15:58:31 +08:00
Shengliang Guan
066cb34a2d Merge branch 'fix/liao_cov' of https://github.com/taosdata/TDengine into fix/liao_cov 2022-12-10 15:34:30 +08:00
Haojun Liao
7563ba2dfc fix(query): keep the correct value. 2022-12-10 14:07:34 +08:00
Shengliang Guan
50b66df39f fix: control rpc qitem memory 2022-12-10 14:02:57 +08:00
Shengliang Guan
f866f5d294
Merge pull request #18871 from taosdata/main
release: build 3.0.2.0
2022-12-10 12:56:59 +08:00
Shengliang Guan
0c6abb71c8
Merge pull request #18873 from taosdata/fix/liao_cov
fix(query): remove invalid assert and fix the error in memcpy data.
2022-12-10 12:27:41 +08:00
Haojun Liao
c1a68f7f3b fix(query): remove invalid assert and fix the error in memcpy data. 2022-12-10 12:09:07 +08:00
Shengliang Guan
585efa1ffd
Merge pull request #18864 from taosdata/fix/metaCacheMemLeak
fix:fix mem leak
2022-12-10 11:28:29 +08:00
yihaoDeng
e7e34456fb fix mem leak 2022-12-09 22:25:26 +08:00
54liuyao
8caca97568 feat:add delete mark for sma 2022-12-09 11:34:58 +08:00
Haojun Liao
27ebafdbaa other: merge 3.0 2022-12-09 10:19:05 +08:00
kailixu
096e7054f0 refact: tsma/rsma process 2022-12-08 14:16:57 +08:00
Liu Jicong
74a253eac4 refactor 2022-12-08 13:34:42 +08:00
54liuyao
942152947b fix:stream update data 2022-12-08 11:36:34 +08:00
dapan1121
5b21a2394c
Merge pull request #18779 from taosdata/fix/TD-20958-3.0
fix(query): ensure the SMA  SArray*  capacity is enough big to save all the columns for scanning
2022-12-08 09:13:04 +08:00
Shengliang Guan
1bb1025f7d enh: add tassert 2022-12-07 22:24:47 +08:00
Shengliang Guan
6d94afe48f
Revert "refact: adjust some assert cases" 2022-12-07 21:51:17 +08:00
Shengliang Guan
4172acf95d git lo 2022-12-07 19:39:53 +08:00
Shengliang Guan
cc87f99854
Merge pull request #18778 from taosdata/feature/3_liaohj
fix(query):fix the invalid write operation.
2022-12-07 19:34:33 +08:00
Liu Jicong
25df820419 refactor: support submitreq2 2022-12-07 19:06:16 +08:00
Shengliang Guan
d5126d469a refact: replcase ASSERT with tAssert 2022-12-07 18:42:48 +08:00
Shengliang Guan
f69a188f7e refact: replcase ASSERT with tAssert 2022-12-07 18:37:40 +08:00
Haojun Liao
0c8bbf5496 fix(query):add an assert. 2022-12-07 18:16:12 +08:00
Liu Jicong
9e7bbf622a refactor: support submitreq2 2022-12-07 17:54:09 +08:00
Alex Duan
15b8b28972 fix(query): SMA ensure support info pColAgg capacity over column numfor this table 2022-12-07 17:52:49 +08:00
Liu Jicong
c5dc7e8227 refactor: support submitreq2 2022-12-07 16:39:46 +08:00
Liu Jicong
b133a56219 refactor: support submitreq2 2022-12-07 15:19:34 +08:00
Hongze Cheng
2d85c7c451 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-12-07 09:04:00 +08:00
Shengliang Guan
24619fef78
Merge pull request #18747 from taosdata/fix/TD-21017
fix: fix tbnameIn bug on normal table
2022-12-06 19:38:11 +08:00
dapan1121
2eb496e9d0
Merge pull request #18741 from taosdata/fix/TD-20929
fix:read data and compute group id
2022-12-06 19:04:47 +08:00
yihaoDeng
2af319ac0a fix tbnameIn bug on normal table 2022-12-06 17:16:34 +08:00
54liuyao
99975ae524 fix:read data and compute group id 2022-12-06 16:26:33 +08:00
Hongze Cheng
899d7b0bcc Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-12-06 14:37:22 +08:00
Liu Jicong
619bbdfd82 refactor: support submitreq2 2022-12-06 05:58:28 +08:00
Haojun Liao
7c66b80045 Merge branch '3.0' into feature/3_liaohj 2022-12-04 22:21:49 +08:00
dapan1121
f9f60a8f39
Merge pull request #18646 from taosdata/fix/TD-20684-3.0
feat(api): add new api int64_t taos_affected_rows64
2022-12-04 16:47:51 +08:00
Shengliang Guan
241638de33
Merge pull request #18661 from taosdata/fix/liao_cov
enh(query): improve the performance and add some todo
2022-12-03 21:41:38 +08:00
Haojun Liao
4a121d40d6 fix(query): fix syntax error. 2022-12-03 13:47:51 +08:00
Haojun Liao
658cb393a7 enh(query): improve the performance and add some todo 2022-12-03 12:11:20 +08:00
Shengliang Guan
d9c261cd13 refact: remove some error codes 2022-12-03 10:17:02 +08:00
Haojun Liao
de0022b473 fix(query): fix error in record the created time. 2022-12-02 23:38:05 +08:00
Haojun Liao
5e77b3eca3 refactor: add function for extract the required buffer during query. 2022-12-02 23:10:03 +08:00
dapan1121
94ab465b15
Merge pull request #18621 from taosdata/fix/removeInvalidTab
fix: remove invalid table
2022-12-02 21:07:43 +08:00
dapan1121
84eb77e124
Merge pull request #18590 from taosdata/szhou/table-count-scan
enhancement: table count scan
2022-12-02 21:07:28 +08:00
Shengliang Guan
6d70f48802
Merge pull request #18592 from taosdata/feature/3_liaohj
enh(query): optimize query perf.
2022-12-02 21:00:35 +08:00
Alex Duan
855b0c8cbe feat(api): add int64 affected rows modify tmsg.h struct 2022-12-02 20:57:46 +08:00
Alex Duan
9fb4fa0a7f feat(api): add int64 affected rows modify tmsg.h struct 2022-12-02 20:48:39 +08:00
Alex Duan
878f2a2c19 fix(shell): reset dataDispatcher mistake modify 2022-12-02 17:01:40 +08:00
Alex Duan
39482b24db feat(shell): supported affected rows int64_t 2022-12-02 16:42:38 +08:00
Haojun Liao
42a512c39f refactor: do some internal refactor. 2022-12-02 15:52:32 +08:00
Xiaoyu Wang
85ea8bbbb3 Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-12-02 14:04:50 +08:00
dapan1121
dff4c36092
Merge branch '3.0' into fix/TD-20802 2022-12-02 10:11:39 +08:00
Haojun Liao
83782fb27b fix(query): fix invalid tag fill and clear nullbitmp 2022-12-02 10:07:48 +08:00
Haojun Liao
1faf616f1d fix(query): fix null ptr access in evaluation block distribution. 2022-12-01 22:17:53 +08:00
Haojun Liao
24614d03bd fix(query): set correct sma retrieve procedure. 2022-12-01 21:35:01 +08:00
yihaoDeng
1750b5cc92 remove invalid table 2022-12-01 20:34:06 +08:00
Haojun Liao
efcc3b06bb fix(query): fix memory leak. 2022-12-01 20:01:09 +08:00
slzhou
ee5d0a384f fix: refactor table scan count 2022-12-01 19:05:33 +08:00
Haojun Liao
740daefdc5 fix(query): fix a typo. 2022-12-01 18:39:15 +08:00
Haojun Liao
8c62d5f9fa fix(query): fix bug in tsdbread. 2022-12-01 18:34:26 +08:00
Haojun Liao
f8a2ab8338 refactor: do some internal refactor. 2022-12-01 17:24:26 +08:00
slzhou
a2de81e908 fix: fill scan type for select count(*) from ins_tables 2022-12-01 16:58:47 +08:00
slzhou
b8ed0459a6 fix: change the paramter instead of table name 2022-12-01 16:50:23 +08:00
54liuyao
bccb31aced fix:stream crash && add debug log 2022-12-01 14:15:50 +08:00
dapan1121
6e73c89e50 fix: executor returns kill task error code 2022-12-01 12:22:03 +08:00
slzhou
58c75dde6f fix: add seperate group for normal table when group by db_name/stbable_name 2022-12-01 11:38:34 +08:00
dapan1121
b430f653b9 Merge remote-tracking branch 'origin/3.0' into fix/TD-20802 2022-12-01 09:22:31 +08:00
slzhou
903718940d Merge branch '3.0' of github.com:taosdata/TDengine into szhou/table-count-scan 2022-12-01 09:14:10 +08:00
Haojun Liao
cefe4be1ab refactor: do some internal refactor. 2022-12-01 00:34:06 +08:00
Shengliang Guan
6304959f9b
Merge pull request #18580 from taosdata/fix/TS-2163
fix(query): fix interp with fill(prev) error
2022-11-30 23:21:51 +08:00
Shengliang Guan
5c2ac1a625
Merge pull request #18591 from taosdata/fix/liao_cov
refactor: do some internal refactor.
2022-11-30 22:12:56 +08:00
Haojun Liao
26ab0894a8 fix(query): fix syntax error. 2022-11-30 21:56:02 +08:00
Haojun Liao
2c8b962b5a refactor: do some internal refactor. 2022-11-30 21:04:58 +08:00
slzhou
45ecc2ba52 fix: no result for table cout scan group by dbname,stable_name for systable 2022-11-30 19:52:29 +08:00
Ganlin Zhao
ef054d9ddc fix(query): fix interp with fill(prev) error 2022-11-30 18:01:20 +08:00
slzhou
323e52b8c5 Merge branch 'enh/3.0_planner_optimize' into szhou/table-count-scan 2022-11-30 15:43:41 +08:00
slzhou
259b893f0a fix: integration test of table count scan 2022-11-30 15:42:45 +08:00
54liuyao
b30c56bf7c fix:stream scan handles empty datablcok 2022-11-30 15:21:43 +08:00
dapan1121
45cf5acc32
Merge pull request #18501 from taosdata/fix/TS-2149
fix(query): handle countAlwaysReturnValue behavior
2022-11-30 13:20:51 +08:00
Liu Jicong
89119c6247 Merge branch '3.0' into feature/stream 2022-11-30 09:50:22 +08:00
Haojun Liao
a8703c7fc2 enh(query): optimize the perf. 2022-11-30 00:11:21 +08:00
Liu Jicong
548684e5ac fix(stream): delete multiple row 2022-11-29 23:39:58 +08:00
Haojun Liao
445c4f28f0 enh(query): optimize the perf. 2022-11-29 23:34:22 +08:00
slzhou
6d86fb5b51 Merge branch 'enh/3.0_planner_optimize' into szhou/table-count-scan 2022-11-29 22:19:36 +08:00
Ganlin Zhao
900fe01f0e fix error 2022-11-29 19:32:51 +08:00
Ganlin Zhao
2956eec51f fix partition/group by tag count should not have output 2022-11-29 19:01:09 +08:00
Ganlin Zhao
8c3ff15342 fix partition by column 2022-11-29 18:00:44 +08:00
54liuyao
0b91b5b2b3 fix:calculate the correct deletion range 2022-11-29 17:24:52 +08:00
dapan1121
8ee170bef1 enh: add retry for vnode closed case 2022-11-29 16:17:05 +08:00
dapan1121
d3bf2c3abb
Merge pull request #18527 from taosdata/fix/TD-20667-3.0
fix(query): memory leak with pPageIdList on sort
2022-11-29 12:08:41 +08:00
Haojun Liao
63d5fd4ef2 Merge branch '3.0' into feature/3_liaohj 2022-11-29 11:39:14 +08:00
Haojun Liao
a1585f16f1 ehn(query): improve the merge sort performance. 2022-11-29 11:06:20 +08:00
Haojun Liao
797af5373d enh(query): improve the multi-way merge performance. 2022-11-29 10:59:40 +08:00
Ganlin Zhao
daeeacb450 fix compilation error 2022-11-28 23:54:42 +08:00
Ganlin Zhao
682b3b60ef Merge branch '3.0' into fix/TS-2149 2022-11-28 23:42:16 +08:00
Ganlin Zhao
0597511460 fix scalar error 2022-11-28 22:54:27 +08:00
Alex Duan
0b3f21bef7 fix(query): memory leak with pPageIdList on sort1 2022-11-28 21:51:43 +08:00
Alex Duan
48f4d26acd fix(query): memory leak with pPageIdList on sort1 2022-11-28 21:49:29 +08:00
Alex Duan
cab48ced20 fix(query): memory leak with pPageIdList on sort 2022-11-28 21:40:46 +08:00
Shengliang Guan
b56b9414a3
Merge pull request #18516 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2022-11-28 20:56:33 +08:00
Shengliang Guan
1f77b78de7
Merge pull request #18515 from taosdata/feature/stream
fix(stream): fill combine with subtable
2022-11-28 16:46:16 +08:00
Haojun Liao
3878af10c9 refactor: do some internal refactor. 2022-11-28 16:13:18 +08:00
Liu Jicong
95e4a4812e fix(stream): fill combine with subtable 2022-11-28 15:04:35 +08:00
Haojun Liao
e802fb47ad fix(query): update the copy function. 2022-11-28 14:36:55 +08:00
Haojun Liao
6e81e8cc73 refactor: do some internal refactor. 2022-11-28 12:32:40 +08:00
slzhou
b289adce9b fix: save work 2022-11-28 11:12:06 +08:00
Ganlin Zhao
8fba0b631c Merge branch '3.0' into fix/TS-2149 2022-11-28 01:02:57 +08:00
Haojun Liao
d8da10f2bb refactor: do some internal refactor. 2022-11-28 00:51:18 +08:00
Ganlin Zhao
ab86b6ba47 fix hyperloglog bugs 2022-11-28 00:30:39 +08:00
Haojun Liao
87d9836a75 refactor: do some internal refactor. 2022-11-28 00:28:29 +08:00
Haojun Liao
b0ee829db2 refactor: do some internal refactor. 2022-11-28 00:27:49 +08:00
Shengliang Guan
e6aed5195d
Merge pull request #18468 from taosdata/feature/3_liaohj
refactor: improve the perf in query
2022-11-27 23:10:00 +08:00
Ganlin Zhao
c019645193 fix bugs 2022-11-27 20:38:39 +08:00
Ganlin Zhao
294af08f7a fix(query): handle countAlwaysReturnValue behavior
when input data is empty
2022-11-27 16:04:36 +08:00
Haojun Liao
e29e477b0c fix(query): update api to avoid deadlock. 2022-11-27 15:46:31 +08:00
Haojun Liao
203ea1f9c8 fix(query): fix error 2022-11-27 14:57:44 +08:00
slzhou
b5b6fff68b feature: save work 2022-11-27 13:50:36 +08:00
Haojun Liao
31c2aa89ef fix(query): do some internal refactor. 2022-11-27 01:59:49 +08:00
slzhou
2cccfe2be4 feature: save work 2022-11-26 23:03:12 +08:00
Haojun Liao
0948216ca9 fix(query): fix dead lock. 2022-11-26 21:13:34 +08:00
Haojun Liao
9997ff9ada fix(query): fix one typo 2022-11-26 15:33:53 +08:00
Haojun Liao
965ee9a6c8 fix(query): keep block order in exchange operator. 2022-11-26 15:32:36 +08:00
Haojun Liao
257137e55e fix(query): fix memory leak. 2022-11-26 12:15:49 +08:00
Shengliang Guan
ccc2407fe6
Merge pull request #18459 from taosdata/feature/stream
enh(stream): new api for stream queue
2022-11-26 09:26:01 +08:00
Shengliang Guan
7eb5ac340b
Merge pull request #18464 from taosdata/fix/liao_cov
fix(query): check the error code, if the downstream is an exchange operator.
2022-11-26 09:24:30 +08:00
Haojun Liao
0015e65f5b fix(query): remove invalid free 2022-11-26 02:13:46 +08:00
Haojun Liao
802ca0f607 fix(query): fix memory leak. 2022-11-26 00:58:29 +08:00
Haojun Liao
86fda9f3da fix(query): fix error in windows and darwin system. 2022-11-25 23:06:32 +08:00
slzhou
c2a7404b42 save work in case it losts 2022-11-25 23:00:14 +08:00
Haojun Liao
7fe4cf7bbe
Merge branch '3.0' into feature/3_liaohj 2022-11-25 22:24:59 +08:00
dapan1121
5cce33b45b
Merge pull request #18458 from taosdata/fix/TD-20654-3.0
fix: asan problems for rsma
2022-11-25 19:49:51 +08:00
Haojun Liao
ead69f7779 refactor: do some internal refactor. 2022-11-25 18:22:09 +08:00
Haojun Liao
46e1438c2a fix(query): check the error code, if the downstream is an exchange operator. 2022-11-25 18:16:27 +08:00
Liu Jicong
48894c8bdb enh(stream): new api for stream queue 2022-11-25 18:03:40 +08:00
kailixu
a70583c4af fix: asan problems for rsma 2022-11-25 16:15:15 +08:00
54liuyao
4108d8f898 fix:support scalar function with fill 2022-11-25 14:59:11 +08:00
Shengliang Guan
397a92ee56
Merge pull request #18450 from taosdata/fix/liao_cov
fix(query): check for null ptr before extracting info
2022-11-25 13:36:37 +08:00
Haojun Liao
b39153101a fix(query): check for null ptr before extract sort execution information. 2022-11-25 11:42:38 +08:00
Haojun Liao
e5e817ae55 other: merge 3.0 2022-11-24 17:24:24 +08:00
Haojun Liao
8dd780b486 other: merge 3.0 2022-11-24 17:17:53 +08:00
Haojun Liao
f745dec5ec other: merge 3.0 2022-11-24 17:17:22 +08:00
Haojun Liao
9a208b2d09 other: merge 3.0 2022-11-24 17:08:15 +08:00
Shengliang Guan
130d6e3b6c
Merge pull request #18419 from taosdata/fix/TD-20664
fix:Explicit null dereferenced
2022-11-24 16:50:16 +08:00
Xiaoyu Wang
5956d8f4fd enh: group by tbname optimize 2022-11-24 15:38:48 +08:00
Haojun Liao
1e22adeabc fix(query): set correct data source flag. 2022-11-24 15:11:24 +08:00
54liuyao
e0e663c6fa fix:Explicit null dereferenced 2022-11-24 14:51:15 +08:00
Shengliang Guan
631dc756b1
Merge pull request #18426 from taosdata/fix/liao_cov
fix(query): fix error in seq fetch data block.
2022-11-24 13:44:07 +08:00
Haojun Liao
5d5538a12c fix(query): fix error in seq fetch data block. 2022-11-24 12:36:14 +08:00
Shengliang Guan
7d91f3565d
Merge pull request #18395 from taosdata/fix/liao_cov
refactor: enable continue query when the buffer of sink node is empty
2022-11-24 11:47:07 +08:00
Haojun Liao
b460974f43 fix(query): fix syntax error. 2022-11-24 10:32:31 +08:00
54liuyao
b27faba7ef fix:initialize maxts 2022-11-24 10:29:01 +08:00
Shengliang Guan
7f4a14fbb7
Merge pull request #18369 from taosdata/szhou/fixbugs
fix: build data from mem/imem first when large nchar column incur …eBlockShouldLoad since SDataBlockToLoadInfo.moreThanCapacity
2022-11-24 08:24:41 +08:00
Shengliang Guan
962aa4aff4
Merge pull request #18383 from taosdata/feature/stream
fix(stream): memory leak
2022-11-24 08:17:40 +08:00
Liu Jicong
a02919495b fix(stream): set tbname for parition 2022-11-24 03:59:50 +08:00
slzhou
8d77b0cfb7 fix: save work 2022-11-23 20:42:00 +08:00
shenglian zhou
7f6ff39648 feat: table merge scan save work 2022-11-23 19:47:24 +08:00
slzhou
8b9c34504d fix: core dump when left data block id is equal to right data block id 2022-11-23 16:38:59 +08:00
Haojun Liao
05f84c184e fix(query): fix syntax error. 2022-11-23 15:36:38 +08:00
dapan1121
b85fc92771
Merge pull request #18375 from taosdata/fix/TS-2091-V30
fix(shell): output redirect to file need not call fflush
2022-11-23 15:10:27 +08:00
Haojun Liao
c623336b6e refactor: enable continue query when the buffer of sink node is lower or empty. 2022-11-23 13:59:38 +08:00
dapan1121
188e6e6c7d
Merge pull request #18325 from taosdata/enh/msgRefactor2
enh: refact some messages
2022-11-23 13:53:37 +08:00
Haojun Liao
f92c1d4271 refactor: add some logs. 2022-11-23 13:48:15 +08:00
Haojun Liao
6b53003f94 refactor: add some logs. 2022-11-23 12:18:38 +08:00
Alex Duan
3ad83db5b7 fix(query): remove 2.6 test code 2022-11-23 10:55:28 +08:00
Shengliang Guan
fda726df0c
Merge pull request #18371 from taosdata/fix/liao_cov
refactor: do some internal refactor.
2022-11-23 09:25:13 +08:00
Haojun Liao
ee371ba6c3 Merge branch '3.0' into fix/liao_cov 2022-11-23 09:09:32 +08:00
dapan1121
2a1e6bf244
Merge pull request #18362 from taosdata/fix/TD-20584
fix: crash issue caused by insert from query clause
2022-11-23 08:43:16 +08:00
Haojun Liao
50a64b1ee8 refactor: do some internal refactor. 2022-11-22 22:46:06 +08:00
Haojun Liao
0d60f24db5 refactor: do some internal refactor. 2022-11-22 22:42:44 +08:00
Shengliang Guan
d588cd37f8
Merge pull request #18357 from taosdata/fix/liao_cov
fix(query): fix memory leak.
2022-11-22 20:49:33 +08:00
Shengliang Guan
a2138bfc62
Merge pull request #18353 from taosdata/fix/TD-20620
fix:Direct leak in timewindowoperator.c
2022-11-22 19:45:56 +08:00
dapan1121
842217e77d fix: crash issue caused by insert from query clause 2022-11-22 18:53:48 +08:00
dapan1121
e1ea03fbda
Merge pull request #18345 from taosdata/fix/TD-20591
fix:  crash caused by elect null and issues found in asan
2022-11-22 18:49:19 +08:00
Haojun Liao
7c7b2f1cef fix(query): fix memory leak. 2022-11-22 18:06:01 +08:00
54liuyao
5b8d3d57bb fix:Direct leak in timewindowoperator.c 2022-11-22 17:01:59 +08:00
54liuyao
2020ea0a76 fix:stream fill crash 2022-11-22 16:28:55 +08:00
dapan1121
e42f895fea fix: fix select null crash issue and asan issues 2022-11-22 16:07:04 +08:00
dapan1121
dd5b2b73b3
Merge pull request #18336 from taosdata/fix/TD-20563
fix [ASAN] memory leak while tdbRealloc
2022-11-22 15:48:22 +08:00
Haojun Liao
2da5a6106e refactor: do some internal refactor. 2022-11-22 15:31:20 +08:00
54liuyao
d3fe6f0ba3 fix [ASAN] memory leak while tdbRealloc 2022-11-22 14:36:27 +08:00
dapan1121
19852ba85b Merge remote-tracking branch 'origin/3.0' into enh/msgRefactor2 2022-11-22 10:45:11 +08:00
dapan1121
cafc5e4cae enh: refact fetch message 2022-11-22 10:43:56 +08:00
Haojun Liao
6d5a256774 fix(query): fix some memory leaks. 2022-11-21 22:40:20 +08:00
Haojun Liao
1bd0cc4a5a refactor: do some internal refactor, and update the logs. 2022-11-21 15:09:18 +08:00
dapan1121
d3a75048c2
Merge pull request #17972 from taosdata/fix/TD-20246
refactor: optimize interp linear interpolation ignore NULL values during calculation
2022-11-21 10:15:37 +08:00
Haojun Liao
5c60bf9a47 fix(query): disable limit in table merge scan. 2022-11-18 23:16:33 +08:00
Haojun Liao
f24eb634ef fix(query): fix memory leak. 2022-11-18 22:38:50 +08:00
Haojun Liao
e09ea90b97 other: merge 3.0 2022-11-18 22:19:32 +08:00
Shengliang Guan
0312833e48
Merge pull request #18270 from taosdata/fix/TD-20413
fix: fix memleak
2022-11-18 21:04:48 +08:00
Shengliang Guan
9eca87aceb
Merge pull request #18234 from taosdata/szhou/fixbugs
fix: scalar mnode for in set more than 10 and print only 1000 groups …
2022-11-18 20:01:50 +08:00
Shengliang Guan
a12cf7f91d
Merge pull request #18266 from taosdata/feature/stream
enh(stream): put user defined tb name into stream state
2022-11-18 19:56:56 +08:00
yihaoDeng
6775888545 fix memleak 2022-11-18 18:21:22 +08:00
Haojun Liao
54e7335477 fix(query): set the scan flag. 2022-11-18 17:27:05 +08:00
Liu Jicong
9a603e5663 enh(stream): put user defined tb name into stream state 2022-11-18 17:21:50 +08:00
Haojun Liao
a39dc7b2bb fix(query): init cache. 2022-11-18 17:07:09 +08:00
slzhou
9994a9f2c5 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-11-18 16:24:49 +08:00
Ganlin Zhao
4703ccc4bc fix fill prev/next error 2022-11-18 15:54:25 +08:00
Ganlin Zhao
7291f2bd5a change interp linear behavior 2022-11-18 14:35:44 +08:00
Haojun Liao
f26a492c67 fix(query): check result size before store it. 2022-11-18 14:00:27 +08:00
Haojun Liao
8b1e13af5e refactor: do some internal refactor. 2022-11-18 13:40:03 +08:00
Haojun Liao
875989aa30 refactor: do some internal refactor. 2022-11-18 11:24:56 +08:00
dapan1121
48d5e13ae3
Merge pull request #18233 from taosdata/fix/TS-2069-3.0
fix(query): createOneDataBlock rowsize must reset to zero
2022-11-18 11:11:48 +08:00
slzhou
83ee245715 fix: only set scan info information when the interp input operator is table scan 2022-11-18 10:12:21 +08:00
Haojun Liao
2055879deb refactor: do some internal refactor. 2022-11-18 09:47:26 +08:00
Ganlin Zhao
c8f069c647 change interp linear behavior 2022-11-18 09:43:40 +08:00
Shengliang Guan
fa6705df7a Merge branch '3.0' into fix/TD-20458 2022-11-17 21:23:42 +08:00
Haojun Liao
786caafab5 fix: check correct error code. 2022-11-17 19:01:16 +08:00
Haojun Liao
e9aae51d85 fix(query): set correct error code. 2022-11-17 18:59:15 +08:00
Haojun Liao
4cb8d1b16c Merge branch '3.0' into fix/liao_cov 2022-11-17 18:45:36 +08:00
54liuyao
2635ec27b4 fix:memory leak while drop stream 2022-11-17 18:45:12 +08:00
Haojun Liao
05ce262277 refactor:set the correct error code. 2022-11-17 17:30:57 +08:00
dapan1121
6aed8932a9
Merge pull request #18231 from taosdata/fix/TD-20428
fix:fill operator core
2022-11-17 17:05:05 +08:00
Haojun Liao
4cb7b369ac refactor: suppress one error. 2022-11-17 16:11:42 +08:00
Shengliang Guan
9b29fa0cc6
Merge pull request #18223 from taosdata/feature/stream
fix(stream): stop scan when no output
2022-11-17 13:44:36 +08:00
54liuyao
507aa0c7f8 fix:fill operator core 2022-11-17 13:35:23 +08:00
Ganlin Zhao
8a19e84fe4 Merge branch '3.0' into fix/TD-20246 2022-11-17 11:20:33 +08:00
Liu Jicong
5161eca70f fix(stream): stop scan when no output 2022-11-17 10:30:05 +08:00
Shengliang Guan
bffe0eea2a
Merge pull request #18216 from taosdata/feature/stream
fix(stream): skip check update for scalar
2022-11-16 19:53:03 +08:00
Liu Jicong
e2005cfa86 fix(stream): skip check update for scalar 2022-11-16 18:48:08 +08:00
Shengliang Guan
c8f9707d5a
Merge pull request #18203 from taosdata/feature/stream
enh(stream): add tbname map cache
2022-11-16 17:15:30 +08:00
Alex Duan
28c692b52f fix(query): fixed build error 2022-11-16 16:10:22 +08:00
Alex Duan
8b82fdf0e8 fix(query): correct calc sort page size 2022-11-16 16:00:37 +08:00
Haojun Liao
42f8abcc0e refactor: do some internal refactor. 2022-11-16 15:24:30 +08:00
Haojun Liao
819235dd3b refactor: do some internal refactor. 2022-11-16 15:21:33 +08:00
Haojun Liao
2ee5fa87d0 refactor: do some internal refactor. 2022-11-16 15:19:15 +08:00
Liu Jicong
ab57d069d4 enh(stream): add tbname map cache 2022-11-16 15:18:31 +08:00
Haojun Liao
fade0507fa refactor: do some internal refactor. 2022-11-16 15:17:13 +08:00
Haojun Liao
82f22e407d refactor: do some internal refactor. 2022-11-16 15:13:54 +08:00
Haojun Liao
23da7bc5e9 refactor: add some logs. 2022-11-16 15:13:38 +08:00
Haojun Liao
2320c0d2bd refactor: update some logs. 2022-11-16 14:40:39 +08:00
Haojun Liao
7d00b7a6c4 refactor: add tag filter cache. 2022-11-16 14:23:12 +08:00
slzhou
8f6ba995a5 fix: get group id from the group list when last row scan 2022-11-16 13:27:53 +08:00
Shengliang Guan
7d443b1679
Merge pull request #18174 from taosdata/feature/stream
refactor: stream meta ref count
2022-11-15 20:07:42 +08:00
Shengliang Guan
53167df712
Merge pull request #18175 from taosdata/fix/TD-20444
fix stack-buffer-overflow in timewindowoperator.c
2022-11-15 19:47:35 +08:00
Liu Jicong
a9bf05bc01 refactor: stream meta ref count 2022-11-15 19:11:42 +08:00
54liuyao
d696745e00 fix stack-buffer-overflow in timewindowoperator.c 2022-11-15 18:42:10 +08:00
dapan1121
49a3623f1a
Merge pull request #18112 from taosdata/fix/TD-19892
fix(query): report error if certain function query stable has duplicate timestamps
2022-11-15 17:24:08 +08:00
Cary Xu
6c1361ef80 fix: null pointer check when invoke memcpy 2022-11-15 13:59:00 +08:00
Liu Jicong
efde22f081 fix: memory leak 2022-11-15 11:59:29 +08:00
Shengliang Guan
1312b9c785
Merge pull request #18125 from taosdata/fix/liao_cov
fix(query): fix errors found by asan.
2022-11-14 20:55:25 +08:00
Alex Duan
b2f9eeb5bb fix(query): fill operator memory leak fixed 2022-11-14 18:49:11 +08:00
Haojun Liao
cf56c38e7a fix(query): fix errors found by asan. 2022-11-14 17:10:25 +08:00
Haojun Liao
c35f668c17 refactor: increase the initial buffer size. 2022-11-14 14:37:28 +08:00
Haojun Liao
c888cbf068 refactor: do some internal refactor. 2022-11-14 14:14:24 +08:00
dapan1121
14a1f4e373
Merge pull request #18074 from taosdata/fix/TD-20300
fix: fix query thread quit issue
2022-11-14 11:28:30 +08:00
Haojun Liao
7b53b8142e refactor: do some internal refactor. 2022-11-12 16:03:47 +08:00
Shengliang Guan
48c0358e98
Merge pull request #18073 from taosdata/feature/stream
fix(query): set tbname for stream session delete
2022-11-12 09:42:18 +08:00
Haojun Liao
ab52d28cb0 refactor: do some internal refactor. 2022-11-11 22:18:06 +08:00
dapan1121
56b33e9200 Merge remote-tracking branch 'origin/3.0' into fix/TD-20300 2022-11-11 18:57:12 +08:00
dapan1121
f60441e2dd fix: fix query thread quitting issue 2022-11-11 18:44:59 +08:00
Haojun Liao
6ae82b071e refactor: do some internal refactor. 2022-11-11 18:28:16 +08:00
dapan1121
7af2444300
Merge pull request #18065 from taosdata/fix/TD-20333
fix:avoid duplicate results
2022-11-11 18:16:20 +08:00
Haojun Liao
f3be445412 refactor: do some internal refactor. 2022-11-11 18:09:38 +08:00
Liu Jicong
0a298fb23d fix(query): set tbname for stream session delete 2022-11-11 18:06:41 +08:00
Shengliang Guan
b33d0e05f7
Merge pull request #18060 from taosdata/fix/set_offset_for_empty_record
fix(query): set offset for empty record
2022-11-11 17:30:38 +08:00
dapan1121
89c13efba8 fix: fix query thread quit issue 2022-11-11 17:13:55 +08:00
54liuyao
7ea790021f fix:avoid duplicate results 2022-11-11 16:18:54 +08:00
Liu Jicong
265bb81b49 fix(query): set offset for empty record 2022-11-11 15:35:17 +08:00
Ganlin Zhao
1cba568604 fix(query): report error if certain function query stable has duplicate
timestamps

TD-19892
2022-11-11 15:22:00 +08:00
Shengliang Guan
b28f05e6fb
Merge pull request #18037 from taosdata/feature/stream
fix(stream): tbname max len to 192
2022-11-11 11:08:40 +08:00
Liu Jicong
df4fd528c0 fix(stream): tbname max len to 192 2022-11-11 10:09:46 +08:00
dapan1121
0eb89b1bd7
Merge pull request #18022 from taosdata/fix/TS-2038
fix(operator):Operator double free
2022-11-11 09:38:44 +08:00
54liuyao
1ca9839170 fix(operator):Operator double free 2022-11-10 15:47:07 +08:00
Liu Jicong
4afa56eb38 merge 3.0 2022-11-10 15:38:30 +08:00
Haojun Liao
9f5cf450de refactor: do some internal refactor. 2022-11-10 15:37:18 +08:00
Liu Jicong
cebc6b6697 fix(stream): state and session agg partition tbname 2022-11-10 14:43:37 +08:00
Shengliang Guan
5fb254739c
Merge pull request #18013 from taosdata/feature/stream
fix(stream): partition tbname reset to null
2022-11-10 11:22:06 +08:00
Liu Jicong
d56dc950e4 fix(stream): partition tbname reset to null 2022-11-10 10:02:45 +08:00
Haojun Liao
a2cec238ec fix(query): set correct operator type. 2022-11-09 22:16:56 +08:00
Haojun Liao
015f1a1df8 other: merge 3.0 2022-11-09 19:17:45 +08:00
Haojun Liao
2402fd1d48 refactor: do some internal refactor. 2022-11-09 19:14:27 +08:00
Haojun Liao
dc67c5041a refactor: do some internal refactor. 2022-11-09 13:46:19 +08:00
Haojun Liao
b48752686e refactor: do some internal refactor. 2022-11-09 13:45:46 +08:00
54liuyao
da13891ca4 fix(stream):partition operator memory leak 2022-11-09 12:52:17 +08:00
Shengliang Guan
0d4239af46
Merge pull request #17976 from taosdata/feature/3_liaohj
enh(query): optimize the query perf.
2022-11-09 11:41:17 +08:00
dapan1121
7af6a0feaa
Merge pull request #17963 from taosdata/feature/stream_ly
fix(stream): state window, error result after deleting data
2022-11-09 11:18:25 +08:00
Haojun Liao
68f2f92116 fix(query): fix the syntax errors. 2022-11-09 09:07:21 +08:00
Haojun Liao
d238f387ce other: merge 3.0 2022-11-09 00:00:14 +08:00
Ganlin Zhao
b902ab0d61 refactor code 2022-11-08 18:48:22 +08:00
Ganlin Zhao
f19f620136 interp fill linear do not output NULL value 2022-11-08 18:25:38 +08:00
dapan1121
884144ba23
Merge pull request #17960 from taosdata/fix/TD-20267
fix: filter merge issue
2022-11-08 17:52:31 +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
54liuyao
f66eded1e1 fix(stream): state window, error result after deleting data 2022-11-08 14:40:44 +08:00
dapan1121
d09351da68 fix: filter merge issue 2022-11-08 14:22:00 +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
1da67a569d fix(query): set correct status. 2022-11-08 00:23:40 +08:00
Haojun Liao
b16853983e fix(query): count the correct number of completed sources. 2022-11-07 19:27:35 +08:00
Haojun Liao
d016fc9d47 fix(query): set retrieve completed flag for exchange operator. 2022-11-07 18:27:26 +08:00
Haojun Liao
9932fa6bf0 refactor: refactor to avoid spin operator in exchange operator. 2022-11-07 17:48:27 +08:00
Haojun Liao
0e11d344cc fix(query): increase the buffer size to 128Kb. 2022-11-07 16:04:13 +08:00
Haojun Liao
088a61bee5 fix(query): release the handle 2022-11-07 16:02:53 +08:00
Haojun Liao
c86427c771 fix(query): enable update buf. 2022-11-07 15:27:09 +08:00
Haojun Liao
fea40da5dc other: merge 3.0 2022-11-07 14:31:01 +08:00
Haojun Liao
2a49fed4ad fix(query): remove invalid free. 2022-11-07 14:02:23 +08:00
Haojun Liao
558cf28ae7 other: add log. 2022-11-07 13:26:10 +08:00
Haojun Liao
8ec132be6e other: add log. 2022-11-07 13:25:09 +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
c1794e0252 refactor: do some internal refactor. 2022-11-07 09:38:44 +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
2c4c9e69de fix(query): init filter in sys table scan. 2022-11-06 23:15:23 +08:00
Haojun Liao
f44dd569cc fix(query): remove the invalid capacity changing. 2022-11-06 16:09:19 +08:00
Haojun Liao
10cd3c0f29 fix(query): remove the invalid capacity changing. 2022-11-06 15:18:33 +08:00
Haojun Liao
9d1998d7d2 fix(query): temporarily disable assert. 2022-11-06 11:53:07 +08:00
Haojun Liao
e3d0bc6bf7 other: merge 3.0. 2022-11-06 11:37:21 +08:00
Haojun Liao
d200fe5145 refactor: do some internal refactor. 2022-11-06 01:34:04 +08:00
dapan1121
91ff489813
Merge pull request #17899 from taosdata/fix/TD-20170
fix: fix interval query memory leak
2022-11-05 16:44:15 +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
8ce2e12423
Merge pull request #17886 from taosdata/feature/3_liaohj
fix(query): set the last key of each tablescan info
2022-11-04 18:46:17 +08:00
Shengliang Guan
8886785be1
Merge pull request #17853 from taosdata/fix/liao_cov
refactor(query): do some internal  refactor.
2022-11-04 15:58:11 +08:00
dapan1121
69d545fb8d fix: fix interval query memory leak 2022-11-04 13:55:54 +08:00
Haojun Liao
0315414623 other: merge 3.0 2022-11-03 19:03:09 +08:00
Haojun Liao
4959529127 fix(query): set the last key of each tablescan info 2022-11-03 19:00:13 +08:00
Shengliang Guan
33d64b67ff
Merge pull request #17865 from taosdata/feature/stream
refactor(stream): stream deploy and state transfer
2022-11-03 15:24:39 +08:00
dapan1121
62ca522b80
Merge pull request #17861 from taosdata/fix/TD-20086
fix: fix taosd memory leak issue
2022-11-03 15:05:57 +08:00
Liu Jicong
15ad147c40 Merge branch '3.0' into feature/stream 2022-11-03 13:37:59 +08:00
Liu Jicong
2fbc8e6306 refactor(stream): stream deploy and state transfer 2022-11-03 13:22:23 +08:00
dapan1121
499a266daf
Merge pull request #17855 from taosdata/fix/TD-20087
fix: fix tbname in crash issue
2022-11-03 11:48:31 +08:00
dapan1121
d282e511e3 fix: fix taosd memory leak issue 2022-11-03 11:47:15 +08:00
Haojun Liao
7a14bc05ea fix(query): fix some issues about the initialization of SColumnInfoData. 2022-11-03 10:57:05 +08:00
Haojun Liao
e83159f0d9 refactor: increase the buffer for each agg operator, and make the pointer attributes in SColumnInfoData to be aligned to 8bit in memory to speedup the execution of memmove & memset. 2022-11-03 10:47:55 +08:00
dapan1121
4039e99d96
Merge pull request #17816 from taosdata/fix/TD-19686
fix: return err code when query fail
2022-11-03 10:45:54 +08:00
dapan1121
1eef25620d fix: fix tbname in crash issue 2022-11-03 10:09:36 +08:00
Haojun Liao
9f5a0f01ea Merge branch '3.0' into fix/liao_cov 2022-11-03 10:02:23 +08:00
Haojun Liao
11c4878ca1 refactor(query): do some internal refactor. 2022-11-03 10:01:11 +08:00
yihaoDeng
7fba18bbbd merge 2022-11-02 09:50:55 +08:00
dapan1121
c19a915ec3
Merge pull request #17809 from taosdata/feature/TD-20100
fix(executor): Batch Partition Operator memory leak
2022-11-02 09:07:32 +08:00
yihaoDeng
12be1a8b22 merge 2022-11-01 21:47:58 +08:00
yihaoDeng
f8695563f0 fix TD-19686 2022-11-01 19:27:35 +08:00
yihaoDeng
fafdfc73ca fix TD-19686 2022-11-01 19:13:07 +08:00
Liu Jicong
60bb2c18dc Merge branch '3.0' into feature/stream 2022-11-01 18:19:15 +08:00
Liu Jicong
94e7c79ca0 fix(tmq): handle adding subtable for subscribing stb 2022-11-01 18:18:26 +08:00
54liuyao
a1c4572ad8 fix(executor): Batch Partition Operator memory leak 2022-11-01 17:25:05 +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
Liu Jicong
92804d317e Merge branch '3.0' into feature/stream 2022-11-01 15:47:37 +08:00
Haojun Liao
cff5d9295e refactor: add some logs. 2022-11-01 15:00:02 +08:00
Haojun Liao
b78249c548 other: merge 3.0 2022-11-01 13:52:08 +08:00
Haojun Liao
83495ed5d3 fix(query): set the correct buffer to accommodate the tag values. 2022-11-01 13:49:02 +08:00
Liu Jicong
5ff701ef1d fix(query):reset tsdb reader 2022-11-01 13:35:23 +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
e533794cb7 Merge branch '3.0' into fix/liao_cov 2022-11-01 09:08:46 +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
1fd3ad502a fix(query): ensure the capacity before loading tags value. 2022-10-31 19:01:28 +08:00
54liuyao
b8e451d272 fix(stream): scalar stream update data 2022-10-31 18:33:30 +08:00
Haojun Liao
f29127a15e ehn(query): do some internal refactor. 2022-10-31 18:04:58 +08:00
Haojun Liao
08c2b3ff05 fix(query): set correct error code. 2022-10-31 16:40:03 +08:00
Haojun Liao
f38e9664f9 other:merge 3.0 2022-10-31 15:32:48 +08:00
Haojun Liao
7135f35b21 refactor: do some internal refactor. 2022-10-31 15:06:51 +08:00
Haojun Liao
a1db402500 refactor: do some internal refactor. 2022-10-31 14:38:01 +08:00
Haojun Liao
adf085ab46 refactor: do some internal refactor. 2022-10-31 14:17:57 +08:00
Haojun Liao
c4f4e008d0 fix(query): add null ptr check. 2022-10-31 11:53:35 +08:00
Haojun Liao
79ea4c2c79 fix(query): add null ptr check. 2022-10-31 11:43:00 +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
a3ed903dfd refactor: do some internal refactor. 2022-10-30 22:26:11 +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
365e6eec80 refactor: do some internal refactor. 2022-10-30 11:29:55 +08:00
Haojun Liao
41c99c02ef refactor: do some internal refactor. 2022-10-30 11:17:07 +08:00
Haojun Liao
2c524cad4a refactor: do some internal refactor. 2022-10-30 03:08:33 +08:00
Haojun Liao
52c3777823 refactor: do some internal refactor. 2022-10-30 03:01:40 +08:00
Haojun Liao
4e74782799 refactor: do some internal refactor. 2022-10-29 20:47:14 +08:00
Haojun Liao
6fc0e1b60d refactor: do some internal refactor. 2022-10-29 18:32:17 +08:00
Haojun Liao
1886087e7b refactor: do some internal refactor. 2022-10-29 18:17:43 +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
4cd14c4163 fix(query): fix memory leak. 2022-10-29 10:25:14 +08:00
Haojun Liao
d7f3ddf2dd fix(query): set correct reader handle. 2022-10-29 10:17:41 +08:00
Haojun Liao
61634070ec other: merge 3.0 2022-10-28 23:23:53 +08:00
Haojun Liao
307b7e0ac8 other: merge 3.0 2022-10-28 22:27:57 +08:00
Haojun Liao
029a4a85b3 fix(query): support partition by + limit push down. 2022-10-28 22:21:02 +08:00
Haojun Liao
9b99c69785 fix(query): support partition by + limit push down. 2022-10-28 19:56:32 +08:00
Haojun Liao
0035bb1966
Merge branch '3.0' into feature/3_liaohj 2022-10-28 19:43:47 +08:00
Haojun Liao
cb0adb0e9b refactor: remove some codes. 2022-10-28 19:40:55 +08:00
Haojun Liao
c52dc709f1 refactor: remove some codes. 2022-10-28 19:39:25 +08:00
Haojun Liao
d1097b7c2d other:merge 3.0 2022-10-28 19:37:43 +08:00
Haojun Liao
5b7855eb87 other:merge 3.0 2022-10-28 19:35:31 +08:00
Haojun Liao
335cb6513e other:merge 3.0 2022-10-28 19:32:57 +08:00
Haojun Liao
9ccf7addb3 other:merge 3.0 2022-10-28 18:46:08 +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
8c3b4db944 fix(query): add check for return value. 2022-10-28 17:23:43 +08:00
Shengliang Guan
8a8aa3efea
Merge pull request #17723 from taosdata/enh/optQueryMem
enh: opt query mem
2022-10-28 17:09:17 +08:00
Haojun Liao
3fe3c3d2b7 fix(query): add check for return value. 2022-10-28 16:06:27 +08:00
Haojun Liao
407a3453ca fix(query): set fetch block info. 2022-10-28 14:45:35 +08:00
yihaoDeng
419e501002 refactor reader 2022-10-28 14:21:00 +08:00
yihaoDeng
63827f7551 use sys mem 2022-10-28 13:56:55 +08:00
54liuyao
7d8a282258 fix(stream):tqBuildDeleteReq error 2022-10-28 11:19:26 +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
yihaoDeng
f8e0ff86d3 opt mem 2022-10-28 08:48:52 +08:00
yihaoDeng
29dedb5c8c opt mem 2022-10-27 23:18:04 +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
07d8ece370 opt mem 2022-10-27 22:19:47 +08:00
yihaoDeng
9de0afc8ea opt mem 2022-10-27 21:22:36 +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
Liu Jicong
52d8f7bd35
Merge pull request #17701 from taosdata/feature/stream
fix(query): set block capacity
2022-10-27 13:38:46 +08:00
Liu Jicong
6cd8361a0a refactor(sma) 2022-10-27 11:06:16 +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
Liu Jicong
fc1b85bba1 fix(query): set block capacity 2022-10-27 10:28:41 +08:00
Shengliang Guan
3b6c636583
Merge pull request #17653 from taosdata/fix/rmDebugLog
fix: rm debug log
2022-10-27 10:14:34 +08:00
Haojun Liao
376e7ea5b9 fix(query): support limit/offset in merge sort operator. 2022-10-26 19:23:05 +08:00
54liuyao
8fb78fd7fd feat(stream):add ci 2022-10-26 17:40:07 +08:00
Haojun Liao
81d795c293 fix(query): enable limit in grouped scan. 2022-10-26 17:11:56 +08:00
Haojun Liao
8d2de8d723 fix(query): handle the offset value. 2022-10-26 16:25:33 +08:00
wade zhang
d3e8ec9342
Merge pull request #17665 from taosdata/fix/TD-19858
fix(query): fix interp crash issue
2022-10-26 16:11:36 +08:00
Haojun Liao
b13e7c150d fix(query): remove invalid code check. 2022-10-26 13:44:53 +08:00
Ganlin Zhao
88e5fa75e6 fix(query): fix interp crash issue
TD-19858
2022-10-26 12:43:29 +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
b56e7a0f8c
Merge pull request #17650 from taosdata/feature/stream
refactor(stream): recover and fill history
2022-10-26 11:10:03 +08:00
Haojun Liao
339c93021f
Merge pull request #17654 from taosdata/fix/liao_cov
refactor: fix typo and do  some internal  refactor.
2022-10-26 10:41:00 +08:00
Liu Jicong
8d8fd2b2bc refactor(stream): recover and fill history 2022-10-26 10:20:33 +08:00
Hongze Cheng
4b15cd5efe
Merge pull request #17621 from taosdata/fix/TD-19468-2
fix: optimize tsdb cache loading speed
2022-10-26 09:47:50 +08:00
Haojun Liao
d06bcb2219 refactor: fix typo and do some internal refactor. 2022-10-26 09:47:11 +08:00
yihaoDeng
cc03ab2edd rm debug log 2022-10-26 09:23:35 +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
54liuyao
796cf764f4 fix(executor):add lock to hash map 2022-10-25 17:54:01 +08:00
Shengliang Guan
414fe9c03d
Merge pull request #17629 from taosdata/feature/stream_ly
fear(stream): add log
2022-10-25 17:46:27 +08:00
Minglei Jin
c84618ea3f
Merge branch '3.0' into fix/TD-19468-2 2022-10-25 17:36:56 +08:00
Haojun Liao
0a007131d1
Merge pull request #17631 from taosdata/fix/liao_cov
fix(query):set correct column match info size.
2022-10-25 17:35:19 +08:00
Shengliang Guan
7ebf2d5de0
Merge pull request #17614 from taosdata/opt/optSysIdxPerf
enh: opt sys idx perf
2022-10-25 16:25:47 +08:00
Haojun Liao
a87f915ebf fix(query):set correct column match info size. 2022-10-25 15:30:41 +08:00
54liuyao
d9615c7d4c fear(stream): add log 2022-10-25 15:17:42 +08:00
Minglei Jin
441fe8119c Merge branch '3.0' into fix/TD-19468-2 2022-10-25 10:51:35 +08:00
yihaoDeng
2092430556 opt trans on no-windows 2022-10-25 10:45:47 +08:00
Minglei Jin
89f7ad2920 fix: optimize tsdb cache loading speed 2022-10-25 10:36:30 +08:00
yihaoDeng
0905f16294 opt trans on no-windows 2022-10-25 10:17:05 +08:00
Haojun Liao
e0d72e4749 refactor: do some internal refactor, and reduce the number of bufferred intermediate blocks. 2022-10-24 19:10:50 +08:00
yihaoDeng
6ee7b412ed opt sys index 2022-10-24 18:35:59 +08:00
Haojun Liao
992a130860 refactor: do some internal refactor. 2022-10-24 17:24:20 +08:00
Haojun Liao
e654f3f92c refactor: do some internal refactor. 2022-10-24 16:44:44 +08:00
Haojun Liao
319cd8af85 fix(query): refactor and fix some coverity issues. 2022-10-24 15:02:17 +08:00
Haojun Liao
b06870f70f Merge branch '3.0' into fix/liao_cov 2022-10-24 14:07:59 +08:00
Haojun Liao
9f722438d2 fix(query): remove redundant codes. 2022-10-24 13:30:04 +08:00
Haojun Liao
2f5ed16cb8 fix(query): remove redundant ts cols in cache scan. 2022-10-24 13:26:54 +08:00
Shengliang Guan
7947882614
Merge pull request #17589 from taosdata/fix/sysTableIdx
fix: fix sys idx bug
2022-10-24 12:38:44 +08:00
yihaoDeng
bac0f359ee fix sys idx bug 2022-10-24 10:31:49 +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
edc0f38921 avoid invalid read/write 2022-10-23 10:11:20 +08:00
yihaoDeng
3cd517cd19 avoid invalid read/write 2022-10-22 23:23:28 +08:00
yihaoDeng
e5be6663c8 avoid invalid read/write 2022-10-22 23:06:41 +08:00
yihaoDeng
471b581cea avoid invalid read/write 2022-10-22 22:13:21 +08:00
yihaoDeng
48604314e6 avoid invalid read/write 2022-10-22 21:19:25 +08:00
yihaoDeng
8e08d8dcc0 avoid invalid read/write 2022-10-22 20:03:20 +08:00
yihaoDeng
e2465387c6 avoid invalid read/write 2022-10-22 18:40:54 +08:00
yihaoDeng
79ac1153ce avoid invalid read/write 2022-10-22 16:02:09 +08:00
Shengliang Guan
93557c3670
Merge pull request #17557 from taosdata/feature/stream_ly
feat(stream):change stream mode & add ci
2022-10-22 08:15:41 +08:00
Shengliang Guan
5d293869a9
Merge pull request #17553 from taosdata/fix/liao_cov
fix(query): fix coverity issues.
2022-10-22 08:14:44 +08:00
54liuyao
308c3cad11 feat(stream):change stream mode & add ci 2022-10-21 17:46:15 +08:00
Haojun Liao
5899d1d619 refactor: do some internal refactor. 2022-10-21 14:59:10 +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
Haojun Liao
b53cc7f3dd fix(query): fix coverity issues. 2022-10-21 14:00:46 +08:00
54liuyao
d9beaeb3a3 fix(stream):session window max_delay crash 2022-10-21 11:49:45 +08:00
yihaoDeng
69531c11d0 add executor to systable filter 2022-10-21 11:44:28 +08:00
Liu Jicong
035e6b13c8 enh(stream): internal optimize 2022-10-21 10:29:05 +08:00
Haojun Liao
5a9d81b10f
Merge pull request #17536 from taosdata/fix/liao_cov
fix(query): fix no-fill expression calculation bug.
2022-10-20 21:27:21 +08:00
yihaoDeng
38747697b2 fix create_time idx bug 2022-10-20 21:12:52 +08:00
yihaoDeng
1898656a41 add executor to systable filter 2022-10-20 19:02:04 +08:00
Haojun Liao
abff4fb1f2
Merge pull request #17336 from taosdata/feature/3_liaohj
other:merge 3.0, and support last query cache
2022-10-20 18:15:38 +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
yihaoDeng
19958284e2 add executor to systable filter 2022-10-20 17:56:30 +08:00
yihaoDeng
c4f7607e8c opt sys query 2022-10-20 14:04:18 +08:00
yihaoDeng
f612eafee8 opt sys query 2022-10-20 13:53:04 +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
3fcd60e627 fix(query): remove invalid check. 2022-10-20 12:18:56 +08:00
Haojun Liao
70adc0ea33 fix(query): fix coverity issues. 2022-10-20 11:27:33 +08:00
Shengliang Guan
91302965eb
Merge pull request #17497 from taosdata/feature/TD-19666
feat(stream):optimize state window disc buff
2022-10-20 11:05:37 +08:00
dapan1121
991da95643 fix: fix coverity issues 2022-10-20 09:06:18 +08:00
54liuyao
368f5134c5 feat(stream):optimize state window disc buff 2022-10-20 09:04:51 +08:00
Shengliang Guan
097a047b61 Merge remote-tracking branch 'origin/3.0' into FIX/TD-19593-3.0 2022-10-19 20:08:49 +08:00
yihaoDeng
54c7d6cbb9 merge 3.0 2022-10-19 20:03:55 +08:00
yihaoDeng
66a3269c6b add pre check 2022-10-19 19:57:31 +08:00
Shengliang Guan
308dd56537
Merge pull request #17486 from taosdata/fix/liao_cov
refactor: remove redundant codes.
2022-10-19 19:51:59 +08:00
yihaoDeng
12ec7d7193 add pre check 2022-10-19 17:54:06 +08:00
Haojun Liao
b20e2ed5af fix(query): set correct last value. 2022-10-19 17:43:23 +08:00
Benguang Zhao
2aa7afe7fa Merge branch '3.0' into FIX/TD-19593-3.0 2022-10-19 16:31:13 +08:00
Haojun Liao
325712fdf9 fix(query): add some init functions. 2022-10-19 15:54:43 +08:00
Liu Jicong
213a12c0c5
Merge pull request #17473 from taosdata/feature/stream
fix(query): project pass partition name
2022-10-19 15:53:13 +08:00
Liu Jicong
b51ef11dde fix(query): project pass partition name 2022-10-19 15:05:07 +08:00
Xiaoyu Wang
8cd36d9045 merge 3.0 2022-10-19 14:01:57 +08:00
Xiaoyu Wang
601f0f3edf fix: handle coverity scan 2022-10-19 13:56:39 +08:00
yihaoDeng
526f46dbfb add pre check 2022-10-19 13:54:12 +08:00
Haojun Liao
74305814f0 fix(query): fix coverity issues. 2022-10-19 13:38:01 +08:00
Shengliang Guan
87586431f9
Merge pull request #17465 from taosdata/feature/stream
fix(stream): stream state and session support partition tbname
2022-10-19 12:48:03 +08:00
Liu Jicong
8357c7342b fix(stream): stream state and session support partition tbname 2022-10-19 11:43:01 +08:00
Haojun Liao
12fd11c481 fix(query): fix syntax error. 2022-10-19 11:41:30 +08:00
Haojun Liao
f7fdeecc44
Merge branch '3.0' into feature/3_liaohj 2022-10-19 11:23:55 +08:00
Benguang Zhao
00a066443f Merge branch '3.0' into FIX/TD-19593-3.0 2022-10-19 09:38:36 +08:00
Benguang Zhao
3b0968d7f9 enh: enable the -Wformat=2 compiler option 2022-10-19 09:24:15 +08:00
dapan1121
53e73511b5 Merge remote-tracking branch 'origin/3.0' into fix/coverity.pw 2022-10-19 09:16:13 +08:00
dapan1121
20085e5b72 fix:fix coverity issues 2022-10-19 09:15:04 +08:00
Shengliang Guan
5849f99710
Merge pull request #17446 from taosdata/feature/stream_ly
feat(stream):replace disk buff
2022-10-19 09:05:51 +08:00
dapan1121
99fd3284df
Merge pull request #17439 from taosdata/fix/coverity.pw
fix: fix coverity issues
2022-10-18 22:15:20 +08:00
54liuyao
8efd7e8763 feat(stream):replace disk buff 2022-10-18 18:13:47 +08:00
dapan1121
fe5b898ee5
Merge pull request #17430 from taosdata/fix/TD-19609
fix: fix case when crash issue
2022-10-18 17:37:37 +08:00
yihaoDeng
f0d2f145e2 add pre check 2022-10-18 17:25:13 +08:00
dapan1121
0fe14f0b16 fix: fix coverity issues 2022-10-18 16:33:27 +08:00
yihaoDeng
e74881c17c add systable filter 2022-10-18 15:26:29 +08:00
dapan1121
ab7a00abbe fix: fix case when crash issue 2022-10-18 11:54:30 +08:00
Haojun Liao
2e4dca1171 fix: remove a typo 2022-10-18 11:53:22 +08:00
Haojun Liao
91c376ab63 other: merge 3.0 2022-10-18 11:52:44 +08:00
Shengliang Guan
3ff1ae2bd5
Merge pull request #17421 from taosdata/feature/stream_ly
fix(stream): coverity scan, memory leak
2022-10-18 11:49:14 +08:00
Haojun Liao
95dd30be57 fix(query): fix coverity issues. 2022-10-18 11:43:58 +08:00
yihaoDeng
0c6ada5eea Merge branch 'n2' into new 2022-10-18 11:42:00 +08:00
Xiaoyu Wang
78589248f2
Merge branch '3.0' into fix/3.0_bugfix_wxy 2022-10-18 09:53:08 +08:00
54liuyao
5fc475b960 fix(stream): coverity scan, memory leak 2022-10-18 09:40:19 +08:00
Haojun Liao
7e1521ba0a
Merge pull request #17401 from taosdata/fix/liao_cov
fix(query): fix coverity  issues.
2022-10-17 22:45:02 +08:00
dapan1121
1992925d8d Merge remote-tracking branch 'origin/3.0' into fix/coverity.pw 2022-10-17 19:50:37 +08:00
dapan1121
cf9abe7258 fix: fix coverity check issues 2022-10-17 19:48:36 +08:00
Haojun Liao
c8b180b129 fix(query): update the cached last query. 2022-10-17 19:14:06 +08:00
Haojun Liao
6d965b8b81 fix(query): fix coverity issues. 2022-10-17 16:27:44 +08:00
Shengliang Guan
ced97588d1
Merge pull request #17395 from taosdata/szhou/fixbugs
fix: reserve enough capacity for inter/final result block when performing scalar calculation of fill operator
2022-10-17 16:26:24 +08:00
Haojun Liao
89f80436c6 fix(query): fix coverity issues. 2022-10-17 16:17:16 +08:00
Xiaoyu Wang
9abea76791 fix: do coverity scan 2022-10-17 15:43:42 +08:00
slzhou
4c2896236f fix: reserve enough capacity for inter/final result block when performing scalar calculation of fill operator 2022-10-17 14:34:34 +08:00
Haojun Liao
ed9ec795eb fix(query): fix coverity issues. 2022-10-17 14:05:40 +08:00
Haojun Liao
87516ea332 fix(query): fix bug in group by tag. 2022-10-17 13:00:31 +08:00
yihaoDeng
1132f72440 Merge branch 'n2' into new 2022-10-16 21:33:12 +08:00
yihaoDeng
4ff0b21bb4 opt systable query 2022-10-16 21:30:53 +08:00
Haojun Liao
bcb3d41d08 fix(query): fix coverity issues. 2022-10-16 13:46:21 +08:00
Haojun Liao
aa9c99fa53 Merge branch '3.0' into feature/3_liaohj 2022-10-16 12:50:05 +08:00
Hongze Cheng
329b750701
Revert "enh(query): opt group by tag perf." 2022-10-15 16:14:50 +08:00
Haojun Liao
77cafebd63
Merge pull request #17368 from taosdata/refact/tag_agg_opt
enh(query): opt group by tag perf.
2022-10-14 23:26:34 +08:00
yihaoDeng
044f025bc6 opt systable query 2022-10-14 19:54:05 +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
Haojun Liao
aa04aee7fd enh(query): opt group by tag perf. 2022-10-14 18:49:19 +08:00
dapan1121
fdffc2883f fix: fix code merge issue 2022-10-14 17:05:18 +08:00
Liu Jicong
cface2840e
Merge pull request #17349 from taosdata/feature/stream
fix(tmq): push msg
2022-10-14 14:18:17 +08:00
Liu Jicong
6f8d4d6955 fix(tmq): push msg 2022-10-14 13:31:05 +08:00
yihaoDeng
bd5b94cb94 Merge branch 'd3' into new 2022-10-14 10:06:21 +08:00
dapan1121
f3919c4450 Merge remote-tracking branch 'origin/3.0' into feat/caseWhen 2022-10-14 09:14:01 +08:00
yihaoDeng
b5c2ee1dc7 add index to ins_tables 2022-10-13 22:21:20 +08:00
yihaoDeng
974bc4b7c6 add systable filterr 2022-10-13 21:49:53 +08:00
Haojun Liao
d234681b74 other:merge 3.0 2022-10-13 15:39:06 +08:00
Haojun Liao
18740e7b48 other:merge 3.0, and support last query cache 2022-10-13 15:35:51 +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
Hongze Cheng
bd2546a765
Merge pull request #17303 from taosdata/fix/TD-19482
fix(meta): META_READER_NOLOCK with inner meta readers
2022-10-13 13:19:57 +08:00
Minglei Jin
060eb307a9 fix(mac): new metaReaderReleaseLock api to keep reader's buffer 2022-10-13 12:02:18 +08:00
dapan1121
5e4148e1cf feat: add more case when test cases 2022-10-12 16:02:21 +08:00
dapan1121
a13f553868 Merge remote-tracking branch 'origin/3.0' into feat/caseWhen 2022-10-12 13:33:41 +08:00
Liu Jicong
69352e6e89 fix tbanme length check 2022-10-12 10:50:54 +08:00
Haojun Liao
d3b37ef294 other:merge 3.0 2022-10-11 22:56:54 +08:00
Minglei Jin
0d52e92210 fix(meta): META_READER_NOLOCK with inner meta readers 2022-10-11 20:18:08 +08:00
Haojun Liao
c71810c887 fix(query): fix memory leak. 2022-10-11 19:37:06 +08:00
Liu Jicong
14c4ff1d94 add demo for stream user defined table name 2022-10-11 16:48:13 +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
Liu Jicong
596ea98c2f
Merge pull request #17281 from taosdata/feature/stream
refactor(stream)
2022-10-11 09:27:49 +08:00
Liu Jicong
fbfae317b3 refactor 2022-10-11 02:09:15 +08:00
Shengliang Guan
b98c9672aa
Merge pull request #17265 from taosdata/szhou/fixbugs
fix: fix no stop error when interval fill order by desc
2022-10-10 18:50:13 +08:00
Haojun Liao
ad16acda14 fix(query): fix syntax error. 2022-10-10 18:23:26 +08:00
shenglian zhou
9324ad288e fix: fix _wend computation error 2022-10-10 16:53:17 +08:00
shenglian zhou
5ccc7aa98e fix: fix no stop error when interval fill order by desc 2022-10-10 16:16:54 +08:00
Shengliang Guan
f9df999a05
Merge pull request #17262 from taosdata/fix/TD-19416
fix(query): new META_READER_NOLOCK flag for metaReaderInit
2022-10-10 15:55:20 +08:00
Haojun Liao
7c3ddc4920 other:merge 3.0 2022-10-10 15:35:38 +08:00
Minglei Jin
9a410b96ef fix(query): new META_READER_NOLOCK flag for metaReaderInit 2022-10-10 15:04:33 +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
Shengliang Guan
f298119e31
Merge pull request #17224 from taosdata/fix/TD-19314
fix(query): fix infinite interpolation results generated when sliding window is smaller than interval window in descending time order
2022-10-09 13:36:42 +08:00
Haojun Liao
fba30d0a9e
Merge pull request #17233 from taosdata/feature/3_liaohj
fix(query): clean result block before loading new results.
2022-10-09 13:27:54 +08:00
Haojun Liao
a8d2e22ac2 fix(query): clean result block before loading new results. 2022-10-09 11:45:10 +08:00
wade zhang
5be42222dc
Merge pull request #17199 from taosdata/fix/tbNameInvalidTag
fix(query): fix invalid tag value
2022-10-09 09:50:16 +08:00
Ganlin Zhao
e9f30db0ab fix(query): fix infinite interpolation results generated when sliding
window is smaller than interval window in descending time order
2022-10-08 19:22:31 +08:00
Ganlin Zhao
2f3536bacd fix(query): fix infinite interpolation results generated when sliding
window is smaller than interval window in descending time order
2022-10-08 18:28:09 +08:00
yihaoDeng
27003dfaa5 fix invalid tag value 2022-10-08 15:48:52 +08:00
54liuyao
f569355d06 fix(stream):memory leak 2022-10-08 11:04:36 +08:00
dapan1121
05a3997731 Merge remote-tracking branch 'origin/3.0' into feat/caseWhen 2022-10-08 09:21:39 +08:00
yihaoDeng
c62b1985d7 fix invalid tag value 2022-10-05 18:32:30 +08:00
yihaoDeng
16c1473823 enh(query): opt get table meta 2022-10-01 13:49:30 +08:00
dapan1121
50b396c818 fix: fix case when issues 2022-09-30 18:13:55 +08:00
Haojun Liao
fac464792d other:merge 3.0 2022-09-30 17:54:03 +08:00
Shengliang Guan
94e07d238c
Merge pull request #17178 from taosdata/feature/TD-18820
fix(stream): sliding error
2022-09-30 16:23:47 +08:00
54liuyao
f3b2067675 fix(stream): sliding error 2022-09-30 15:37:43 +08:00
shenglian zhou
99befe4a89 fix: ins_tags table name optimization error 2022-09-30 15:08:21 +08:00
Haojun Liao
f8a84a1d19 other:merge 3.0 2022-09-30 13:47:21 +08:00
Haojun Liao
1f57a5a1cc
Merge pull request #17172 from taosdata/feature/3_liaohj
fix(query): fix memory leak.
2022-09-30 13:45:01 +08:00
Shengliang Guan
d17884f7c7
Merge pull request #17163 from taosdata/enh/optTbnameIN
opt(query): opt tbname_in query
2022-09-30 13:36:52 +08:00
Haojun Liao
c9286fed25 fix(query): fix memory leak. 2022-09-30 13:03:25 +08:00
yihaoDeng
f41b494ac6 opt tbname in 2022-09-30 10:19:56 +08:00
54liuyao
46c99915bc feat(stream): distribute interval disc buff 2022-09-30 10:01:51 +08:00
Shengliang Guan
e6ac8ed3a9
Merge pull request #17121 from taosdata/szhou/fixbugs
enhance: optimize when select from ins_tags when table_name='xxxx'
2022-09-30 09:39:27 +08:00
yihaoDeng
0d3da10954 fix invalid read 2022-09-30 09:31:19 +08:00
yihaoDeng
d74779805a opt tbname in 2022-09-29 23:13:54 +08:00
yihaoDeng
1148ae8f6e opt tbname in 2022-09-29 21:53:39 +08:00
yihaoDeng
02310d5952 fix invalid read 2022-09-29 21:35:14 +08:00
yihaoDeng
47234dfeec opt tbname in 2022-09-29 20:37:23 +08:00
yihaoDeng
50478a31cc opt tbname in 2022-09-29 20:30:32 +08:00
yihaoDeng
4977e2e676 opt tbname in 2022-09-29 18:35:12 +08:00
Ganlin Zhao
3af613ac73 Merge branch 'fix/TD-19273' of github.com:taosdata/TDengine into fix/TD-19273 2022-09-29 17:07:09 +08:00
Ganlin Zhao
49ce849aa2 Merge branch '3.0' into fix/TD-19273 2022-09-29 17:03:28 +08:00
Ganlin Zhao
3abf6abad6 fix(query): fix group_key output mismatch with multiple rows output functions
TD-19273
2022-09-29 17:02:16 +08:00
Liu Jicong
bb1165f1e9 optimize projection return 2022-09-29 12:14:41 +08:00
yihaoDeng
88ac809f87 Merge branch '3.0' of https://github.com/taosdata/TDengine into dv3 2022-09-29 11:09:02 +08:00
yihaoDeng
5b4d0eaabe enh: opt tbname in 2022-09-29 11:07:32 +08:00
yihaoDeng
1286f7473c QRY: opt tbname in 2022-09-28 22:07:16 +08:00
Liu Jicong
057edd92c3
Merge branch '3.0' into feature/tq 2022-09-28 20:27:09 +08:00
Liu Jicong
cde4085a6d optimize msg batch 2022-09-28 20:24:02 +08:00
Haojun Liao
193e5ed3d2 fix(query): fix syntax error. 2022-09-28 18:46:02 +08:00
Haojun Liao
5a2c583c32 other:merge 3.0 2022-09-28 18:00:04 +08:00
Haojun Liao
71e3993185
Merge pull request #17114 from taosdata/feature/3_liaohj
refactor(query): do some internal refactor.
2022-09-28 17:36:01 +08:00
slzhou
00fc74acc9 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-09-28 16:39:33 +08:00
slzhou
ed0d08192d fix: fix bugs of condition is null 2022-09-28 16:39:06 +08:00
slzhou
99bc329384 enhance: optimize select from ins_tags where table_name='tablename' without iterating through meta tdb 2022-09-28 16:30:40 +08:00
dapan1121
d7d2dabfe8
Merge pull request #17115 from taosdata/feat/TD-18842
feat(query): interp support return timestamp with pseudo column _irowts
2022-09-28 16:00:47 +08:00
Liu Jicong
01c94a775b feat(tmq): push optimization 2022-09-28 14:55:19 +08:00
Ganlin Zhao
41c1f0e43b fix code format 2022-09-28 14:54:08 +08:00
Ganlin Zhao
5738ba08dc feat(query): interp support return timestamp with pseudo column _irowts
TD-18842
2022-09-28 14:07:12 +08:00
Haojun Liao
76fe2e8b29 fix(query): check if free is required. 2022-09-28 12:57:25 +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
4058ae1f9b Merge branch '3.0' into feature/3_liaohj 2022-09-27 18:16:26 +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
Haojun Liao
aa055abd7c refactor:do some internal refactor. 2022-09-27 10:52:55 +08:00
Xiaoyu Wang
1d62834e5c feat(stream): tag and child table name improvement 2022-09-26 18:39:47 +08:00
Haojun Liao
927478bff6 refactor(query): do some internal refactor. 2022-09-26 15:55:26 +08:00
Haojun Liao
54712ae302 other:merge 3.0 2022-09-26 14:50:51 +08:00
Haojun Liao
5c1f55f6ca other:merge 3.0 2022-09-26 11:35:19 +08:00
Ganlin Zhao
a020c1b78f Merge branch '3.0' into fix/TD-19093 2022-09-23 17:36:51 +08:00
Ganlin Zhao
74c40f01fa fix(query): fix invalid read for interp query 2022-09-23 17:35:22 +08:00
dapan1121
3fb3aa7bea Merge remote-tracking branch 'origin/3.0' into enh/clientPolicy 2022-09-23 13:33:11 +08:00
Liu Jicong
ab94dafed4 optimize block cache 2022-09-23 11:37:50 +08:00
Liu Jicong
7bcb5992e4 merge 3.0 2022-09-23 10:40:08 +08:00
Haojun Liao
aa62d4430b
Merge pull request #16970 from taosdata/feature/3_liaohj
refactor(query): do some internal refactor about  the filter  and  interp  query.
2022-09-22 17:09:30 +08:00
54liuyao
3a21da6e46 fix(stream): data block capacity and function byte 2022-09-22 15:54:44 +08:00
Haojun Liao
1f7821e64b Merge branch '3.0' into feature/3_liaohj 2022-09-22 15:48:41 +08:00
Haojun Liao
7ee2449a73 Merge branch '3.0' into feature/3_liaohj 2022-09-22 14:03:17 +08:00
dapan1121
88b4f9d9a8 fix: fix nchar compare issue 2022-09-22 13:23:16 +08:00
Haojun Liao
976b36631e fix(query): keep last key for interp query. 2022-09-22 10:31:17 +08:00
Liu Jicong
7ade2b3b8d fix double free in sma 2022-09-21 18:54:49 +08:00
54liuyao
5ca1dc1005 fix(stream): free array 2022-09-21 16:34:16 +08:00
Liu Jicong
ae294b98c2 enh(stream): blocklist do not copy 2022-09-21 15:15:01 +08:00
Xiaoyu Wang
2a978bae09 Merge remote-tracking branch 'origin/3.0' into refact/query_opt 2022-09-21 13:58:34 +08:00
Liu Jicong
72fba5a8ce fix(stream): check delete uid 2022-09-21 11:54:44 +08:00
Haojun Liao
33c075542d refactor(query): do some internal refactor. 2022-09-21 10:26:55 +08:00
Haojun Liao
7f47840ddc refactor:disable some logs. 2022-09-20 14:42:33 +08:00
Haojun Liao
1f53ee8bc2 other:merge 3.0 2022-09-20 14:39:43 +08:00
Haojun Liao
af36cb37e6 refactor(query): do some internal refactor. 2022-09-20 14:37:50 +08:00
Haojun Liao
ed0b92bb33 refactor(query): opt perf. 2022-09-20 14:12:39 +08:00
Haojun Liao
b567a1ebc3 refactor: opt filter perf. 2022-09-20 13:40:40 +08:00
Shengliang Guan
69e1edb344
Merge pull request #16898 from taosdata/fix/TD-18740
feat:Complete the automatic table creation function for taosX
2022-09-20 11:35:18 +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
Haojun Liao
50ee0dabbf refactor(query): do some internal refactor. 2022-09-20 10:02:20 +08:00
54liuyao
97ca09689c Merge branch 'feature/stream' into feature/TD-18820 2022-09-19 19:31:41 +08:00
Shengliang Guan
fc0418fc20
Merge pull request #16914 from taosdata/feature/3_liaohj
fix(query): add null ptr check.
2022-09-19 18:48:05 +08:00
54liuyao
955838d1f6 feat(stream): optimize disc buff 2022-09-19 17:13:13 +08:00
wangmm0220
345b68ccee fix: cols num error in tmq for query 2022-09-19 15:28:28 +08:00
Haojun Liao
f88d80844e Merge remote-tracking branch 'origin/feature/3_liaohj' into feature/3_liaohj 2022-09-19 14:09:19 +08:00
Haojun Liao
e5e21bf635 fix(query): add null ptr check. 2022-09-19 14:08:30 +08:00
Haojun Liao
78f03e993d other:merge 3.0 2022-09-19 10:30:55 +08:00
Liu Jicong
e848dc716b fix test case 2022-09-16 23:49:07 +08:00
wangmm0220
e3bc2487b3 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-18740 2022-09-16 19:00:49 +08:00
wangmm0220
a54f71a03c fix:error in auto create table for taosX 2022-09-16 18:57:33 +08:00
dapan1121
8ddb142474
Merge branch '3.0' into enh/clientPolicy 2022-09-16 18:10:12 +08:00
wangmm0220
dfc5ce23a0 fix:error in auto create table for taosX 2022-09-16 17:01:41 +08:00
Haojun Liao
15f656e683 refactor(query): add some logs. 2022-09-16 13:06:57 +08:00
Haojun Liao
22afbb5035
Merge branch '3.0' into feature/3_liaohj 2022-09-15 16:56:39 +08:00
dapan1121
a85a73e2de fix: fix memory leak issues 2022-09-15 16:30:21 +08:00
Haojun Liao
79b0d1fcbd fix(query): fix memory leak. 2022-09-15 15:02:23 +08:00
dapan1121
4048c99282 Merge remote-tracking branch 'origin/3.0' into enh/clientPolicy 2022-09-15 14:50:35 +08:00
dapan1121
9e44816bcc enh: support client local merge policy 2022-09-15 14:46:15 +08:00
Liu Jicong
367552b914 fix delete 2022-09-15 10:12:53 +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
00908a649c fix(query): reset buffer after group results generated. 2022-09-14 11:44:39 +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
7f03ffcd75 fix(query): set correct group id. 2022-09-14 09:57:37 +08:00
Haojun Liao
3dec6668a9 fix(query): return correct error code. 2022-09-13 18:33:45 +08:00
Haojun Liao
ad45c0a848 fix(query): set the group id. 2022-09-13 18:22:58 +08:00
Haojun Liao
60574763a9 refactor(query): do some internal refactor. 2022-09-13 17:41:31 +08:00
Haojun Liao
632a26d0fe refactor(query): do some internal refactor. 2022-09-13 17:39:43 +08:00
Shengliang Guan
e5da5802e8
Merge pull request #16808 from taosdata/feature/TD-18948
feat(stream):optimize delete window
2022-09-13 17:38:47 +08:00
54liuyao
d4d4d2c086 feat(stream):optimize delete window 2022-09-13 16:50:27 +08:00
Liu Jicong
b8a7c8b2aa feat(stream): support hash suffix and prefix 2022-09-13 15:21:26 +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
3cbd3db8ce feat(stream): stream delete for session&state 2022-09-08 14:14:52 +08:00
dapan1121
febe603191
Merge pull request #16716 from taosdata/feature/TD-18820
feat(stream):change single interval disc buff and interval delete
2022-09-07 15:27:20 +08:00
54liuyao
1f5d9a38e7 feat(stream):change single interval disc buff and interval delete 2022-09-07 14:48:14 +08:00
dapan1121
4a563b6d50 fix: fix now in alter tag value 2022-09-06 19:17:11 +08:00
54liuyao
f35f5d5f4f feat(stream): refactor single interval 2022-09-05 13:19:40 +08:00
Haojun Liao
229e1ba710
Merge pull request #16656 from taosdata/feature/3_liaohj
fix(query): remove invalid assert.
2022-09-05 12:16:52 +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
Cary Xu
407773b67b fix: double free for stream input block data 2022-09-05 09:44:51 +08:00
Cary Xu
38b62ddd7f other: merge 3.0 2022-09-04 20:53:40 +08:00
Cary Xu
59912fedf1 fix: stream input data block memory leak 2022-09-04 20:14:21 +08:00
Shengliang Guan
1a764d64ce
Merge pull request #16620 from taosdata/feature/TD-14761
fix:<TD-18803> taosX core dump if schema is null
2022-09-04 18:19:05 +08:00
Shengliang Guan
67e09ead5d
Merge pull request #16633 from taosdata/fix/TD-18856
fix: fix taosd order by crash issue
2022-09-04 18:12:16 +08:00
Haojun Liao
597ea1c2bf fix(query): add value check. 2022-09-04 11:58:02 +08:00
Shengliang Guan
c09e6f6236 Merge branch '3.0' into feature/TD-14761 2022-09-04 09:01:43 +08:00
Haojun Liao
d9d7c81872
Merge branch '3.0' into refact/tsdb_optimize 2022-09-03 10:14:48 +08:00
dapan1121
50efa37691 fix: fix taosd order crash issue 2022-09-02 19:01:26 +08:00
54liuyao
ad49f13159 fix(stream):min max function error 2022-09-02 18:53:54 +08:00
Liu Jicong
004a84ac81 fix memory leak 2022-09-02 16:41:32 +08:00
wangmm0220
796342dabb fix:<TD-18803> taosX core dump if schema is null 2022-09-02 16:05:22 +08:00
Hongze Cheng
fc538f436a Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_optimize 2022-09-02 15:59:03 +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
Liu Jicong
48036e83c8
Merge pull request #16596 from taosdata/feature/stream
refactor(taosx): filter meta
2022-09-02 11:54:42 +08:00
Liu Jicong
739e7ae76f Merge branch '3.0' into feature/stream 2022-09-02 11:10:38 +08:00
Liu Jicong
502d75302e refactor(taosx): filter meta 2022-09-02 10:00:15 +08:00
Haojun Liao
52c5992c87 other:merge 3.0 2022-09-02 09:58:16 +08:00
Haojun Liao
d1b7d07790 refactor:do some internal refactor. 2022-09-02 09:54:22 +08:00
Shengliang Guan
8686b228ee
Merge pull request #16582 from taosdata/feature/3_liaohj
fix(query): check node type when extract column info.
2022-09-01 19:24:34 +08:00
Haojun Liao
4af80fa0aa fix(query): check node type when extract column info. 2022-09-01 18:39:12 +08:00
54liuyao
83e62c3849 feat(stream):stream partition by column 2022-09-01 15:05:24 +08:00
Shengliang Guan
900f5cf534
Merge pull request #16557 from taosdata/feature/stream
feat(taox): support auto create sub table
2022-09-01 14:47:34 +08:00
Liu Jicong
1fe4ab2341 feat(taox): support auto create sub table 2022-09-01 11:45:00 +08:00
Shengliang Guan
4401080328 enh: make cmake .. -DCMAKE_BUILD_TYPE=Release work 2022-08-31 18:06:17 +08:00
Liu Jicong
1c99eb1d4d fix set schema and tbname 2022-08-31 15:27:41 +08:00
Liu Jicong
e9d1733e8c fix tbname 2022-08-31 14:37:18 +08:00
Liu Jicong
c4dcc994fb remove queue scan 2022-08-31 11:35:25 +08:00
Haojun Liao
707c20c46c
Merge pull request #16495 from taosdata/feature/3_liaohj
refactor(query): do some internal refactor.
2022-08-30 17:58:40 +08:00
Haojun Liao
825858b52e fix(query): reset the default page id. 2022-08-30 17:04:09 +08:00
Haojun Liao
dba4188f8a fix(query): reset the page id. 2022-08-30 14:33:03 +08:00
Shengliang Guan
beb08d4cea
Merge pull request #16478 from taosdata/feature/3.0_interval_hash_optimize
fix: race condition between fetch all and optr serialize
2022-08-30 10:40:24 +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
Haojun Liao
ba8b10e27b refactor(query): do some internal refactor. 2022-08-29 18:47:46 +08:00
wangmm0220
bf3231ab9f fix: cols num error in tmq for query 2022-08-29 17:30:50 +08:00
Cary Xu
66199e4e7a Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-08-29 14:53:39 +08:00
Cary Xu
167e58578a enh: add check for tpagebuf 2022-08-29 14:53:13 +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
17acc9bc05
Merge pull request #16458 from taosdata/szhou/fixbugs
fix: clean up intermediate result of scalar computation just before applying scalar function in fill operator
2022-08-28 21:27:30 +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
1dd53e9e41 fix: return data ptr when iterate remove for simple hash 2022-08-27 23:01:19 +08:00
shenglian zhou
47f80f0d21 fix: clean up intermediate result of scalar computation before applying scalar function in fill operator 2022-08-27 22:10:22 +08:00
Cary Xu
36d6b1e560 Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-08-27 18:11:19 +08:00
Cary Xu
680199f9f5 other: simple hash code optimization 2022-08-27 18:08:01 +08:00
Cary Xu
451e621a94 fix: simple hash iterate remove and clear 2022-08-27 18:04:33 +08:00
shenglian zhou
a574ef5c98 fix: pass CI test 2022-08-27 08:10:18 +08:00
Haojun Liao
655dbb47c1 refactor(query): do some internal refactor. 2022-08-26 19:19:48 +08:00
slzhou
2a9faaa326 fix: enable add open window only when interval interpolation 2022-08-26 19:05:37 +08:00
slzhou
c9a7f27e7c Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-08-26 18:51:32 +08:00
slzhou
d1eb14dccc fix: interval operator _wstart error and interval operator close window for interpolation on different group id 2022-08-26 18:47:09 +08:00
Cary Xu
4ee28bfc2c fix: only iterate next when delete the specified node 2022-08-26 17:29:54 +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
cb4969513c fix:conflicts from 3.0 2022-08-25 17:36:00 +08:00
Haojun Liao
755176d28f fix(query): add the null ptr check. 2022-08-25 17:32:27 +08:00
wangmm0220
6b61d3c23b fix:conflicts from 3.0 2022-08-25 16:57:19 +08:00
wangmm0220
4cc2d361e1 fix:error in getting snapshot for taosX 2022-08-25 16:55:12 +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
Shengliang Guan
e41a000261
Merge pull request #16397 from taosdata/fix/TD-18617
fix(query): fix multiple interp used result number of rows incorrect
2022-08-25 13:33:02 +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
Ganlin Zhao
6b9ace9c35 Merge branch '3.0' into fix/TD-18617 2022-08-25 11:08:14 +08:00
Shengliang Guan
0758d32964
Merge pull request #16382 from taosdata/feat/3.0_systable_privilege_wxy
feat: system table visible permission
2022-08-25 11:08:12 +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
Ganlin Zhao
c72c972c5f fix(query): fix multiple interp used result number of rows incorrect
TD-18617
2022-08-25 10:55:14 +08:00
shenglian zhou
dc6baa13a6 fix: fill if window pseudo column 2022-08-25 09:07:44 +08:00
Haojun Liao
033b251994 test: update the unit test cases. 2022-08-24 18:48:03 +08:00
Haojun Liao
b87535734f refactor:do some internal refactor. 2022-08-24 18:47:23 +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
shenglian zhou
1540881cb6 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/save-op-state 2022-08-24 17:05:49 +08:00
shenglian zhou
b250efeee4 fix: support window pseduo column for fill operator 2022-08-24 17:05:38 +08:00
Shengliang Guan
e0ac102795
Merge pull request #16376 from taosdata/feature/stream
refactor(stream): refine stream backend interface
2022-08-24 16:40:20 +08:00
Liu Jicong
24261cc90b refactor(stream): refine stream backend interface 2022-08-24 15:53:29 +08:00
wangmm0220
2afc23a120 fix:conflicts from 3.0 2022-08-24 13:59:51 +08:00
wangmm0220
632c8b4a1a fix:error in snapshot for taosX 2022-08-24 13:58:18 +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
wangmm0220
53e0e168e6 fix:add log 2022-08-24 10:36:46 +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
wangmm0220
f477e94dda fix:error in snapshot from taosx 2022-08-24 10:24:19 +08:00
Liu Jicong
c296dd0a63 fix compile 2022-08-24 01:48:00 +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
Haojun Liao
36eb46fa4d
Merge pull request #16342 from taosdata/feature/3_liaohj
refactor(query): do some internal refactor.
2022-08-23 19:28:50 +08:00
wangmm0220
514711e54c feat:get data from snapshot for taosx 2022-08-23 17:28:49 +08:00
Haojun Liao
2889b8d913 refactor(query): do some internal refactor. 2022-08-23 17:28:08 +08:00
Xiaoyu Wang
717f837cbb fix: auto create table insert statement check table name 2022-08-23 15:24:50 +08:00
54liuyao
b8a1a7f175 fix(stream): state window update 2022-08-23 12:46:42 +08:00
wangmm0220
1134319570 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/TD-14761 2022-08-23 10:45:51 +08:00
Shengliang Guan
04ce95fe72
Merge pull request #16303 from taosdata/szhou/fixbugs
fix: fill desc order support
2022-08-22 19:16:11 +08:00
Shengliang Guan
a3348f716e
Merge pull request #16299 from taosdata/fix/3.0_bugfix_wxy
fix: the syntax problem of querying the state value in the state window
2022-08-22 18:48:28 +08:00
slzhou
4ef090f495 fix: fill desc order support 2022-08-22 18:37:23 +08:00
Xiaoyu Wang
4cf9bd6ac1 fix: the syntax problem of querying the state value in the state window 2022-08-22 17:46:57 +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
wangmm0220
23d8ebf129 fix:error in grou by tag 2022-08-22 15:15:03 +08:00
54liuyao
25b735f0e3 feat(stream): delete result 2022-08-22 14:05:19 +08:00
Shengliang Guan
e16a2a5027
Merge pull request #16278 from taosdata/feature/3_liaohj
fix(query): add one more condition check when merge file block and last block.
2022-08-22 12:58:38 +08:00
wangmm0220
36b60ab082 opti:grou by tag 2022-08-22 11:28:58 +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
36ff7e4242 opti:grou by tag 2022-08-22 10:14:40 +08:00
Shengliang Guan
4bc8e086a8
Merge pull request #16262 from taosdata/feature/3.0_interval_hash_optimize
enh: rsma batch process and code optimization
2022-08-21 23:57:58 +08:00
wangmm0220
90a3b68d68 fix:conflict from 3.0 2022-08-20 16:00:56 +08:00
wangmm0220
2743ac6193 opti: group by tag 2022-08-20 15:45:56 +08:00
Cary Xu
4dc30fb55a Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-08-19 22:16:11 +08:00
Hongze Cheng
67d45c6b62 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_last 2022-08-19 21:54:48 +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
shenglian zhou
c8bd3c6da4 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-08-19 17:27:42 +08:00
shenglian zhou
3b9d44e05a fix: check tags when it is not regular table 2022-08-19 17:27:18 +08:00
Cary Xu
59739e0cb7 Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-08-19 17:20:08 +08:00
Cary Xu
441ce21677 enh: rsma batch process 2022-08-19 17:19:50 +08:00
Hongze Cheng
cc116b21f9 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_last 2022-08-19 17:14:06 +08:00
wangmm0220
f2912a17ba fix:conflicts from 3.0 2022-08-19 16:38:23 +08:00
Hui Li
43881c1469
Merge pull request #16238 from taosdata/fix/TD-18392
fix(query): fix interp + fill(linear) datapoints outside interpolation window are included
2022-08-19 16:16:07 +08:00
Hongze Cheng
e3eee2352c Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_last 2022-08-19 15:36:13 +08:00
Hui Li
af22a928c6
Merge pull request #16223 from taosdata/fix/3.0_bugfix_wxy
fix: escape character problem in auto create table insert
2022-08-19 15:16:35 +08:00
Hongze Cheng
324de6e4dc Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_last 2022-08-19 14:26:59 +08:00
Hui Li
e7bba75f93
Merge pull request #16233 from taosdata/feature/stream
enh(stream): optimize output
2022-08-19 14:22:25 +08:00
Ganlin Zhao
f20887ee97 fix(query): fix interp + fill(linear) datapoint outside interpolation window
will be included

TD-18392
2022-08-19 12:28:27 +08:00
Liu Jicong
692fdf3397 enh(stream): optimize output 2022-08-19 11:31:52 +08:00
Xiaoyu Wang
09cb575300 fix: escape character problem in auto create table insert 2022-08-19 11:10:56 +08:00
Hongze Cheng
972ad9e70b Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_last 2022-08-19 09:53:45 +08:00
Hui Li
240747abed
Merge pull request #16222 from taosdata/feature/stream
fix(query): memory leak
2022-08-19 09:31:09 +08:00
shenglian zhou
ff22c97d99 fix: user tags scan filter produces zero row will not end the sys table scan operator 2022-08-19 08:39:19 +08:00
shenglian zhou
4e5315f1ac fix: process remaining rows out of loop 2022-08-18 20:41:25 +08:00
Xiaoyu Wang
98fc185e92 fix: escape character problem in auto create table insert 2022-08-18 18:53:23 +08:00
Liu Jicong
2b092f6551 fix(query): memory leak 2022-08-18 18:39:21 +08:00
“happyguoxy”
1a8fb96182 fix: reset row number when filter produces zero row 2022-08-18 18:30:03 +08:00
shenglian zhou
e93461c949 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-08-18 18:01:05 +08:00
shenglian zhou
3e6ccb8357 fix: filter producing zero rows will not be treated as sys table scan operator completion 2022-08-18 18:00:03 +08:00
Hongze Cheng
e9bb654a4a Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_last 2022-08-18 17:14:51 +08:00
Hui Li
1a5ae2bfdf
Merge pull request #16207 from taosdata/feature/3.0_query_optimize
fix: get meta null if table does not exists
2022-08-18 16:54:19 +08:00
wangmm0220
fbc69a10c4 Merge branch '3.0' into feature/TD-14761 2022-08-18 16:45:06 +08:00
Hui Li
8681f6399b
Merge pull request #16186 from taosdata/fix/TD-18445
fix(query): fix interp pResBlock->rows > capacity cause assert failure
2022-08-18 16:36:39 +08:00
Hui Li
35af88cbaa
Merge pull request #16195 from taosdata/feature/3.0_interval_hash_optimize
enh: rsma batch process
2022-08-18 16:07:14 +08:00
Cary Xu
214acb74c3 Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-08-18 16:02:01 +08:00
wangmm0220
03bb9e7f01 fix: get meta null if table does not exists 2022-08-18 15:44:28 +08:00
Ganlin Zhao
e33be23e10 Merge branch '3.0' into fix/TD-18445 2022-08-18 15:14:10 +08:00
Ganlin Zhao
fb2bb0481e fix(query): fix interp pResBlock->rows > capacity cause assert failure 2022-08-18 13:22:59 +08:00
Hongze Cheng
c7d492dae1 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_last 2022-08-18 11:36:23 +08:00
Haojun Liao
e70cfbbd00 fix(query): add jmp macro define. 2022-08-18 10:58:39 +08:00
wangmm0220
44ce4f1cf3 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/TD-14761 2022-08-18 10:45:45 +08:00
wangmm0220
d2727b6252 feat:merge from 3.0 2022-08-18 10:45:20 +08:00
Cary Xu
7e73f36173 other: code format revert 2022-08-18 10:08:22 +08:00
Cary Xu
69580893a7 other: merge 3.0 2022-08-17 20:20:02 +08:00
wangmm0220
e3c11172ec fix:error in get table list by tag filter 2022-08-17 19:01:22 +08:00
Ganlin Zhao
13f5acd4b9 fix(query): fix interp pResBlock->rows > capacity cause assert failure
TD-18445
2022-08-17 16:04:58 +08:00
wangmm0220
359fa4bc56 fix:error in get table list by tag filter 2022-08-17 15:50:33 +08:00
wangmm0220
4f16771de4 fix:error in get table list by tag filter 2022-08-17 14:45:31 +08:00
wangmm0220
171ce325c7 fix:error in get table list by tag filter 2022-08-17 11:47:59 +08:00
wangmm0220
2bf2d5e6e1 fix:error in get table list by tag filter 2022-08-17 11:39:55 +08:00
wangmm0220
d5a8b397f0 fix:merge from 3.0 2022-08-17 11:09:49 +08:00
slzhou
2d60150cd9 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-08-17 10:38:56 +08:00
slzhou
b888c90054 fix: change the interval data load status when scan 2022-08-17 10:38:40 +08:00
Hui Li
57b9eee4c7
Merge pull request #16139 from taosdata/szhou/fixbugs
fix: source ts column error
2022-08-17 09:51:02 +08:00
Cary Xu
0ade372145 Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-08-17 09:46:49 +08:00
Liu Jicong
27e2ba79c0 Merge branch '3.0' into feature/stream 2022-08-17 01:11:18 +08:00
Cary Xu
d170adf214 enh: rsma batch process 2022-08-16 20:22:45 +08:00
Shengliang Guan
4dd7a5f2bd Merge branch '3.0' into fix/release 2022-08-16 20:01:13 +08:00
Liu Jicong
b2b0f2f8fa Merge branch '3.0' into feature/stream 2022-08-16 18:26:04 +08:00
Liu Jicong
02d2588d86 enh(stream): reduce table scan 2022-08-16 17:16:56 +08:00
slzhou
3f3c1b9e8d Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-08-16 16:45:42 +08:00
wangmm0220
78c9f245b1 fix:conflicts from 3.0 2022-08-16 15:18:11 +08:00
wangmm0220
c4d25ccb90 fix:remove log for time cost 2022-08-16 14:48:31 +08:00
wangmm0220
19c5051b8c fix:confilcts from 3.0 2022-08-16 14:42:19 +08:00
wangmm0220
4eccd81e94 fix:error in tag filter optimization 2022-08-16 14:39:03 +08:00
slzhou
c4a065d643 fix: fix source ts column index error of fill operator 2022-08-16 14:00:56 +08:00
Cary Xu
7216384d2f Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-08-16 13:44:52 +08:00
Hui Li
0280c93d23
Merge pull request #16134 from taosdata/feature/stream
enh(stream): reduce table scan
2022-08-16 13:33:20 +08:00
Liu Jicong
2ced6c280c enh(stream): reduce table scan 2022-08-16 12:11:56 +08:00
slzhou
9e2fd1d695 fix: pass windows compilation 2022-08-15 16:48:06 +08:00
slzhou
e61156d316 fix: set time window overlapping to true when windows end past block end 2022-08-15 15:35:39 +08:00
Cary Xu
34e14f770f enh: rsma batch process 2022-08-15 09:39:55 +08:00
Cary Xu
dab6c81769 enh: rsma batch process 2022-08-15 00:16:44 +08:00
Haojun Liao
fd385a99d1
Merge pull request #16095 from taosdata/feature/3.0_fill_enh
fix(query): set ignore flag when skip current datablock.
2022-08-14 01:17:26 +08:00
Haojun Liao
0572256eaa fix(query): set ignore flag when skip current datablock. 2022-08-13 22:51:54 +08:00
wangmm0220
37f6d1195c fix:error in get table list 2022-08-12 21:57:29 +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
Shengliang Guan
8d8f26a4c1
Merge pull request #16067 from taosdata/feature/TD-17811
fix(stream): session delete
2022-08-12 20:34:28 +08:00
Shengliang Guan
3319c0937b
Merge pull request #15801 from taosdata/feature/3.0_fill_enh
fix(query): fix bug in fill
2022-08-12 20:04:33 +08:00
Shengliang Guan
839d04d4bc
Merge pull request #16050 from taosdata/szhou/fixbug
fix: set operator complete early when select * from stb limit n
2022-08-12 19:59:27 +08:00
54liuyao
77a710cfeb fix(stream): session delete 2022-08-12 19:28:29 +08:00
Haojun Liao
f96aa3e2ff fix(query): fix memory leak. 2022-08-12 19:11:10 +08:00
slzhou
126e3d0b4c fix: add special case for partition by + limit 2022-08-12 18:56:12 +08:00
Haojun Liao
d08841d747
Merge pull request #16053 from taosdata/feature/3_liaohj
fix(query): return error code instead of assert.
2022-08-12 18:48:24 +08:00
Haojun Liao
77b109dfdc fix(query): return error code instead of assert. 2022-08-12 17:37:55 +08:00
slzhou
d7a9f69cb5 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbug 2022-08-12 17:20:58 +08:00
slzhou
99030690c2 fix: set operator early when select * from stb limit n 2022-08-12 17:19:56 +08:00
wangmm0220
4f97d72502 fix:memory leak 2022-08-12 15:02:34 +08:00
Haojun Liao
dc991a9040 other:merge 3.0 2022-08-12 14:51:52 +08:00
Yihao Deng
1bfa9d2333
Merge pull request #16040 from taosdata/fix/operMemCorrupt
fix operator double free
2022-08-12 14:51:37 +08:00
Haojun Liao
7084c765d0 fix(query): set correct fill column index. 2022-08-12 14:45:06 +08:00
wangmm0220
61a19b80d7 Merge branch '3.0' into feature/3.0_query_optimize 2022-08-12 14:41:08 +08:00
wangmm0220
78e87a0aae fix:memory leak 2022-08-12 14:38:54 +08:00
Haojun Liao
166cdcec7c fix(query): fix bug in fill. 2022-08-12 14:04:43 +08:00
wangmm0220
eec58b8ef0 opti:use suid+uid->tags index to optimize time cost 2022-08-12 13:53:24 +08:00
yihaoDeng
d4e11c0620 fix operator double free 2022-08-12 13:40:24 +08:00
Yihao Deng
4971b0fc22
Merge pull request #16035 from taosdata/fix/operMemCorrupt
fix: operator double free mem
2022-08-12 13:14:43 +08:00
dapan1121
46a6b37779
Merge pull request #16033 from taosdata/fix/TD-18075
fix: fix taosd put blocks to sink error
2022-08-12 11:48:55 +08:00
wangmm0220
95ef68bbc1 opti:use suid+uid->tags index to optimize time cost 2022-08-12 11:39:19 +08:00
wangmm0220
e102f81f92 opti:use suid+uid->tags index to optimize time cost 2022-08-12 11:33:53 +08:00
yihaoDeng
bd929582f5 fix operator double free 2022-08-12 11:22:41 +08:00
dapan1121
effb4f20d3 fix: fix taosd put blocks to sink error 2022-08-12 11:00:21 +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
dapan1121
df4f4300d3
Merge pull request #15991 from taosdata/fix/TD-18281
fix: fix exchange operator memory leak
2022-08-11 20:52:10 +08:00
Ganlin Zhao
73f57290b4 Merge branch '3.0' into fix/TD-18331 2022-08-11 19:54:44 +08:00
Ganlin Zhao
7409cc9513 fix(query): fix memory leak in doTimeslice operator 2022-08-11 19:53:49 +08:00
Ganlin Zhao
e128350ab4 fix(query): fix memory leak in doTimeslice operator 2022-08-11 19:43:57 +08:00
Cary Xu
133beb4d49 other: make test case pass 2022-08-11 19:18:55 +08:00
Cary Xu
e890bcc6f4 enh: tsimplehash remove/iter/ut 2022-08-11 19:12:24 +08:00
wangmm0220
32f9bc0dd0 opti:logic for get table list 2022-08-11 18:29:28 +08:00
Ganlin Zhao
465dd745d7 fix(query): fix invalid read in doTimeslice operator 2022-08-11 18:18:45 +08:00
liuyao
9776404998
Merge pull request #15984 from taosdata/feature/TD-17811
feat(stream):delete window
2022-08-11 17:43:51 +08:00
dapan1121
0e56dc9a7b fix: fix exchange operator memory leak 2022-08-11 17:23:08 +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
54liuyao
c10a1adbd3 feat(stream):delete window 2022-08-11 16:33:35 +08:00
slzhou
009777a727 fix: add multi-timeline support for session and state 2022-08-11 16:23:53 +08:00
54liuyao
cc49ae28bb fix(stream): free map 2022-08-11 15:39:17 +08:00
Cary Xu
d71e238d48 fix: code optimization 2022-08-11 15:25:31 +08:00
liuyao
15a7062df4
Merge pull request #15973 from taosdata/feature/TD-17811
feat(stream): delete result
2022-08-11 15:21:54 +08:00
dapan1121
8ad76f4307
Merge pull request #15962 from taosdata/enh/tbHashPerf
enh: optimize getting table hash performance
2022-08-11 15:01:10 +08:00
Cary Xu
6cd2e52d1a enh: code optimization 2022-08-11 14:43:17 +08:00
wangmm0220
4f03e2e4f5 opti:logic for get table list 2022-08-11 14:35:38 +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
Cary Xu
15544a2207 enh: rsma fetch 2022-08-11 11:14:31 +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
Cary Xu
a6a1cfddd5
Merge pull request #15946 from taosdata/feature/3.0_row_optimize
enh: row iter and fetch optimization
2022-08-11 09:46:27 +08:00
dapan1121
c1539bc064 enh: optimize getting table hash performance 2022-08-11 09:45:47 +08:00
shenglian-zhou
d9621d0f09
Merge pull request #15942 from taosdata/szhou/fixbug
fix: return init agg failure when create operators to avoid coredump
2022-08-11 07:54:42 +08:00
wangmm0220
8be1396268 opti: add log for time cost 2022-08-10 21:31:08 +08:00
wangmm0220
e7f4755386 opti: add log for time cost 2022-08-10 20:26:59 +08:00
wangmm0220
e039334792 opti: logic in get table list 2022-08-10 20:18:54 +08:00
Haojun Liao
d8455841e0 refactor: do some internal refactor. 2022-08-10 20:12:32 +08:00
Haojun Liao
ebf8755d9d fix(query): remove invalid sma filter. 2022-08-10 19:58:23 +08:00
54liuyao
4cd1452e61 fix(stream): check udf 2022-08-10 17:55:04 +08:00
Cary Xu
1d6d0aa2db enh: row iter and fetch optimization 2022-08-10 17:26:44 +08:00
Haojun Liao
6250c1b157
Merge pull request #15851 from taosdata/feature/3.0_query_optimize
ehn(query): optimize the query performance.
2022-08-10 16:51:46 +08:00
shenglian zhou
5f7b7a55df fix: fix memory leaks 2022-08-10 16:33:12 +08:00
Ganlin Zhao
6fc38165fb fix(query): fix linear interpolation issue between two blocks
TD-18309
2022-08-10 16:29:55 +08:00
shenglian zhou
788735f7e6 fix: add qerror log when create disk based result buf failed 2022-08-10 16:25:00 +08:00
shenglian zhou
304056c276 fix: return init agg failure when create operators to avoid coredump 2022-08-10 16:20:44 +08:00
Ganlin Zhao
249e2b12f6 fix(query): fix interp + fill interpolation after last datablock 2022-08-10 14:21:31 +08:00
Haojun Liao
abc9065094 fix(query): set correct raw block info. 2022-08-10 13:13:25 +08:00
Cary Xu
3e626d56d1 fix: set none if cols not full 2022-08-09 20:32:02 +08:00
wangmm0220
c381ffd38c fix:error in tmq for snapshot 2022-08-09 19:06:24 +08:00
Haojun Liao
7b70f54a6e test: add log. 2022-08-09 18:47:23 +08:00
Haojun Liao
d680da3380 fix(query): fix sma info in query procesing. 2022-08-09 18:35:10 +08:00
Haojun Liao
bddb3e356d fix(query): expand the sink buffer. 2022-08-09 17:55:00 +08:00
Haojun Liao
8b86d7342d fix(query): check the sma load status, and return if succeed. 2022-08-09 17:21:31 +08:00
Ganlin Zhao
1d90aff252 fix(query): fix interp linear interpolation after range issue 2022-08-09 16:13:51 +08:00
Haojun Liao
b9c6e0cdf9 refactor: stream invoke previous APIs. 2022-08-09 13:55:51 +08:00
Haojun Liao
a2a1da06dd other:merge 3.0 2022-08-09 13:45:44 +08:00
Xiaoyu Wang
07ef00e89f merge 3.0 2022-08-09 11:36:08 +08:00
Ganlin Zhao
38f3cc3e78 fix(query): interp fill(linear) after data range do not fill 2022-08-09 11:16:40 +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
e16b2fafbe fix(query): fix interp + fill(linear) start from middle of interpolation
range issue
2022-08-08 21:09:25 +08:00
Ganlin Zhao
7aeaa79f4e fix(query): fix interp + fill(linear) before inter range issue 2022-08-08 20:28:09 +08:00
Ganlin Zhao
26648a909f fix(query): interp + fill(linear) not working
TD-18220
2022-08-08 20:09:20 +08:00
dapan1121
63eea61cae fix: fix show stables in sysdb result error 2022-08-08 18:13:35 +08:00
Haojun Liao
0aef734a20 fix(query): fix syntax error. 2022-08-08 17:56:26 +08:00
Haojun Liao
4d8842c21f other:merge 3.0 2022-08-08 16:37:37 +08:00
Haojun Liao
200a669542 refactor: do some internal refactor. 2022-08-08 16:34:11 +08:00
Ganlin Zhao
1ee558fb63 fix(query): interp + fill(linear) not working
TD-18220
2022-08-08 15:20:12 +08:00
slzhou
07b88a35d5 fix: ensure capacity before join left and right 2022-08-08 13:44:23 +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
shenglian zhou
03aae25b63 fix: function rename and trigger ci test 2022-08-07 06:39:26 +08:00
shenglian zhou
be8c3628c5 fix: trigger ci test 2022-08-07 06:08:12 +08:00
shenglian zhou
28eda93ab3 Merge branch '2.0' of github.com:taosdata/TDengine into szhou/fix/nullgroup 2022-08-06 21:50:05 +08:00
shenglian zhou
81d3a2c385 fix: last/first must return not null values 2022-08-06 21:39:53 +08:00
shenglian zhou
a16a6b73c8 fix: force at least one row for agg/window group 2022-08-06 20:11:12 +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
2e3a1cfdde Merge branch '3.0' into fix/TD-18115 2022-08-06 16:46:54 +08:00
Ganlin Zhao
78fb4f51b0 fix(query): fix interp fill(next) result errors 2022-08-06 16:44:14 +08:00
Ganlin Zhao
8c3cc0161a fix(query): fix interp fill(next) result errors 2022-08-06 16:22:40 +08:00
Ganlin Zhao
784752010a fix(query): fix interp fill(next) result errors 2022-08-06 16:18:11 +08:00
Haojun Liao
ebe8192d7e refactor(query): do some internal refactor. 2022-08-06 16:15:15 +08:00
Haojun Liao
c7b511ed69 fix(query): set src block for function. 2022-08-06 16:13:18 +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
54liuyao
214d3609b2 fix(stream):set num of stream session child 2022-08-06 15:14:11 +08:00
Ganlin Zhao
70f3967993 fix(query): fix interp + fill(prev) result error 2022-08-06 14:42:48 +08:00
wangmm0220
f28155714e fix:confilcts from 3.0 2022-08-06 12:31:15 +08:00
Ganlin Zhao
d5d873c7f8 fix(query): fix interp fill(prev) issue 2022-08-06 11:32:29 +08:00
Ganlin Zhao
0afea835fc Merge branch '3.0' into fix/TD-18115 2022-08-06 10:09:03 +08:00
Ganlin Zhao
b3e53c651e fix(query): fix interp + fill interpolation behavior
TD-18173
TD-18174
2022-08-06 10:04:56 +08:00
wangmm0220
45e7597df3 feat:get data from snapshot for taosx 2022-08-05 21:12:18 +08:00
Ganlin Zhao
06b4177940
Merge pull request #15762 from taosdata/fix/TD-18115
fix(query): fix interp function core dump
2022-08-05 20:35:23 +08:00
Haojun Liao
1063064a59 enh(query): support filter by SMA. 2022-08-05 17:40:40 +08:00
Cary Xu
2524779057
Merge pull request #15775 from taosdata/feature/TD-11274-3.0
fix: memory leaks in taosd when use metaGetTableEntryByUid
2022-08-05 17:28:50 +08:00
Cary Xu
14d396b081 fix: memory leaks in taosd when use metaGetTableEntryByUid 2022-08-05 16:22:57 +08:00
Minglei Jin
ab6e7604a3 fix: clear reader's coder memory 2022-08-05 15:42:45 +08:00
Haojun Liao
0ac1b85a0e refactor: add some logs. 2022-08-05 15:09:43 +08:00
Haojun Liao
0e4748771a enh(query): support combine multi datablock to pass to upstream operators 2022-08-05 14:10:45 +08:00
Ganlin Zhao
e808f67518 Merge branch '3.0' into fix/TD-18115 2022-08-05 10:03:17 +08:00
Cary Xu
862e7c8e36 fix: conditional comparison 2022-08-05 09:47:50 +08:00
Cary Xu
a179b6e64d fix: solve stream input data block leak 2022-08-05 01:37:54 +08:00
Cary Xu
82c440955a fix: solve rsma memory leak 2022-08-04 21:31:13 +08:00
Cary Xu
f0dff1f039 Merge branch '3.0' into feature/TD-11274-3.0 2022-08-04 21:27:17 +08:00
Cary Xu
1231c8014b fix: solve rsma memory leak 2022-08-04 21:27:01 +08:00
Haojun Liao
569c82886f fix(query): remove temp files. 2022-08-04 20:42:23 +08:00
Haojun Liao
be1d1c5f8e fix(query): clean temp files. 2022-08-04 20:37:36 +08:00
Haojun Liao
5dc9c9f2b1
Merge pull request #15750 from taosdata/feature/3_liaohj
fix(query): fix memory leak.
2022-08-04 20:17:58 +08:00
Haojun Liao
3a5fcefc8d other: merge 3.0 2022-08-04 17:24:51 +08:00
Haojun Liao
b04efe3c25 fix(query): fix memory leak. 2022-08-04 17:14:50 +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
Zhiqiang Wang
ca1b1d9e18
Merge pull request #15721 from taosdata/fix/ZhiqiangWang/TD-18093-fix-minimalDirGB-invalid-error
os: fix minimalDirGB invalid error
2022-08-04 10:44:33 +08:00
afwerar
e76f770fc8 os: fix minimalDirGB invalid error 2022-08-04 10:02:09 +08:00
Cary Xu
5ce5dd2da8
Merge pull request #15723 from taosdata/feature/TD-11274-3.0
enh: adjust numOfRows in SubmitBlk from int16_t to int32_t
2022-08-04 09:36:26 +08:00
Ganlin Zhao
6b6f85e22f fix(query): fix interp function core dump
TD-18115
2022-08-03 21:24:47 +08:00
Cary Xu
f1790b2776 enh: adjust numOfRows in SubmitBlk from int16_t to int32_t 2022-08-03 21:03:27 +08:00
Liu Jicong
e43d3d88b6 Merge branch '3.0' into feature/stream 2022-08-03 20:59:26 +08:00
Liu Jicong
cf5f06bd68 enh(stream): stream query is not limited by window count 2022-08-03 20:33:09 +08:00
Haojun Liao
4cd7af0ecf other: merge 3.0 2022-08-03 19:02:43 +08:00
Haojun Liao
2a8da022de refactor: do some internal refactor. 2022-08-03 19:01:06 +08:00
Haojun Liao
caa5378d8e refactor: do some internal refactor. 2022-08-03 17:12:10 +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
92b2d62a31 Merge branch 'feature/3.0_query_optimize' of github.com:taosdata/TDengine into feature/3.0_query_optimize 2022-08-03 15:58:51 +08:00
Cary Xu
a3166507a5 enh: don't read bitmap when all col is normal 2022-08-03 15:58:28 +08:00
Haojun Liao
074500805c refactor: set filter function for last_row function. 2022-08-03 15:34:42 +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
Shengliang Guan
590266067b
Merge pull request #15680 from taosdata/fix/dnode
refactor: adjust logs
2022-08-02 19:37:07 +08:00
Shengliang Guan
56f2e49764 refactor: adjust logs 2022-08-02 17:12:07 +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
Haojun Liao
70284f5b02 enh(query): support multi-groups result merge into one datablock. 2022-08-02 16:52:36 +08:00
slzhou
a3f95f566f fix: format code 2022-08-02 16:24:22 +08:00
slzhou
2a17deec7c fix: extract time condition corretly when join tables together 2022-08-02 16:18:55 +08:00
Xiaoyu Wang
f8bd778979 enh: the fill physical scheme distinguishes between interpolated and non-interpolated expressions 2022-08-02 16:18:53 +08:00
Haojun Liao
258d50306f refactor: do some internal refactor. 2022-08-02 15:43:45 +08:00
dapan1121
517b03a6fc
Merge pull request #15663 from taosdata/enh/addAppStat
enh: support app level stat
2022-08-02 15:07:26 +08:00
Haojun Liao
770cc74e7f refactor: do some internal refactor. 2022-08-02 14:19:15 +08:00
Haojun Liao
781c494c2b refactor: merge data belongs to different data group. 2022-08-02 13:58:54 +08:00
Haojun Liao
fe55671253 fix(query): fix syntax error. 2022-08-01 23:43:01 +08:00
Haojun Liao
6671420e49 fix(query): set correct json tag. 2022-08-01 23:30:25 +08:00
dapan1121
cc3a7375ed enh: support app level stat 2022-08-01 20:47:08 +08:00
Haojun Liao
8da7aa19b5 fix(query): fix memory leak. 2022-08-01 20:41:03 +08:00
Haojun Liao
bbcba1855d Merge branch '3.0' into feature/3_liaohj 2022-08-01 20:09:42 +08:00
shenglian-zhou
21308d7853
Merge pull request #15639 from taosdata/szhou/fix/join
fix: fix failed case of join.sim
2022-08-01 18:54:42 +08:00
Ganlin Zhao
56ca1ac288
Merge pull request #15643 from taosdata/fix/TD-18040
enh(query): add selectivity support for indefinite rows functions
2022-08-01 18:42:22 +08:00
slzhou
5ad27aabe7 fix: fix join error to remove the extra join 2022-08-01 17:47:31 +08:00
54liuyao
b3d104349f feat(stream):optimize stream update scan 2022-08-01 17:09:46 +08:00
Haojun Liao
24218752ab refactor: optimize tablescan perf. 2022-08-01 16:41:14 +08:00
Ganlin Zhao
14deef3ae8 fix comment 2022-08-01 15:42:35 +08:00
Ganlin Zhao
b0becf1ca9 fix(query): fix n-1 function if select column after function position
result row is incorrect.

fix/TD-18040
2022-08-01 14:15:16 +08:00
Haojun Liao
2531ee909c refactor: do some internal refactor. 2022-08-01 14:05:41 +08:00
Haojun Liao
a2a2dbd68a refactor: optimize the build block perf. 2022-08-01 13:11:32 +08:00
Haojun Liao
53686de955
Merge pull request #15606 from taosdata/feature/3_liaohj
fix(query): remove invalid time window close ops.
2022-07-30 20:54:10 +08:00
Haojun Liao
71b5cf5a39 refactor: do some internal refactor. 2022-07-30 18:23:04 +08:00
Haojun Liao
97c238875e refactor: do some internal refactor. 2022-07-30 18:19:14 +08:00
Haojun Liao
7bc773b8cd fix(query): remove invalid time window close ops. 2022-07-30 18:11:44 +08:00
Liu Jicong
c67f5f10a2
Merge pull request #15595 from taosdata/feature/stream
enh(wal): add lock to guarantee read behaviour
2022-07-30 17:09:20 +08:00
Haojun Liao
97d0e558bc refactor: add assert. 2022-07-30 14:05:39 +08:00
Liu Jicong
f24f2eff42 merge 3.0 2022-07-30 13:03:12 +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
Liu Jicong
6c250e75cd fix(stream): forbid histogram in stream 2022-07-29 21:28:18 +08:00
Haojun Liao
2261d689e4 fix(query): opt read data from file block. 2022-07-29 21:09:33 +08:00
Ganlin Zhao
8dbac0b001 Merge branch '3.0' into fix/TD-17958 2022-07-29 20:56:47 +08:00
Ganlin Zhao
344e821e87 fix: fix rsma writing historical data wal got overwritten by unrelated
SSDatablocks got from streamscan

TD- 17958
2022-07-29 20:53:45 +08:00
liuyao
df2736e61c
Merge pull request #15559 from taosdata/feature/TD-17811
feat(stream):Recycled Pages
2022-07-29 20:36:36 +08:00
Xiaoyu Wang
11bac6220c
Merge pull request #15523 from taosdata/feature/3.0_debug_wxy
enh: last function optimize
2022-07-29 20:14:21 +08:00
54liuyao
c8fbcb9672 feat(stream): Recycled Pages 2022-07-29 19:40:14 +08:00
Haojun Liao
cd5491fea1 fix(query): remove invalid code. 2022-07-29 19:00:12 +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
54liuyao
5e7e335169 feat(stream): free state memroy 2022-07-29 14:28:29 +08:00
Haojun Liao
26e5a7c796 refactor: do some internal refactor. 2022-07-29 13:54:14 +08:00
Cary Xu
e3efc089b4 fix: assign groupId for rsma uniformly 2022-07-29 12:15:19 +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
Xiaoyu Wang
d7a525f21f Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-29 09:28:52 +08:00
Xiaoyu Wang
9053645ab7 feat: super table order by primary key optimization 2022-07-28 20:24:49 +08:00
dapan1121
62f3adf7fc Merge branch '3.0' into fix/TD-17819 2022-07-28 19:11:08 +08:00
Cary Xu
21fba3cb1f other: revert the walWrite.c 2022-07-28 17:15:31 +08:00
dapan1121
fbdd8bfd39 fix: fix datablock windows error 2022-07-28 17:12:53 +08:00
Cary Xu
0dcb3a5da1 fix: assign uid for rsma by physical plan 2022-07-28 17:07:47 +08:00
slzhou@taodata.com
9cbd8c7bea fix: fix bugs related to join and nested query 2022-07-28 12:02:36 +08:00
slzhou@taodata.com
00fee07eae Merge branch '2.0' of github.com:taosdata/TDengine into szhou/fix/udf 2022-07-28 10:00:31 +08:00
slzhou@taodata.com
c962e9b8fd feat: add support for join operator when multiple rows with same ts 2022-07-28 09:58:16 +08:00
Liu Jicong
cf54ec5551
Merge pull request #15475 from taosdata/feature/stream
refactor(stream): remove option
2022-07-27 21:56:26 +08:00
shenglian zhou
c061cd2fe2 fix: multi row same ts join 2022-07-27 21:42:35 +08:00
WANG MINGMING
7badec9ecc
Merge pull request #15477 from taosdata/feature/TD-14761
feat:add ts,table name from SDeleterRes
2022-07-27 20:16:00 +08:00
Liu Jicong
ba0c1b3689 refactor(stream) 2022-07-27 20:11:03 +08:00
wangmm0220
2ba6ac5fba feat:add ts,table name from SDeleterRes 2022-07-27 17:11:57 +08:00
slzhou@taodata.com
6cb92ef6ee fix: support multi-rows with same ts for join operator 2022-07-27 17:09:24 +08:00
Liu Jicong
5e1bbe0e7e refactor(sma): remove option 2022-07-27 16:55:23 +08:00
slzhou@taodata.com
e1d5971e39 feat: add multi-rows merge join 2022-07-27 16:11:32 +08:00
shenglian-zhou
09218fefc8
Merge pull request #15465 from taosdata/szhou/fix/udf
fix: prepare for multirow join
2022-07-27 16:09:27 +08:00
Haojun Liao
089f045817
Merge pull request #15444 from taosdata/feature/3_liaohj
fix(query):fix memory leak.
2022-07-27 15:49:52 +08:00
slzhou@taodata.com
3469117732 fix: add input ts order to physical plan join node 2022-07-27 15:12:23 +08:00
Xiaoyu Wang
cd25d2dc60
Merge pull request #15456 from taosdata/feature/3.0_debug_wxy
fix: db options rename
2022-07-27 15:02:20 +08:00
slzhou@taodata.com
b941513479 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fix/udf 2022-07-27 14:28:15 +08:00
slzhou@taodata.com
70067fa939 fix: prepare for multirow join 2022-07-27 14:27:59 +08:00
Minglei Jin
51b367a32c fix: filter not exist child tables 2022-07-27 13:55:04 +08:00
Liu Jicong
3167f158d1
Merge pull request #15454 from taosdata/feature/stream
fix(stream): dispatch
2022-07-27 12:39:37 +08:00
Xiaoyu Wang
f977117c6c fix: db options rename 2022-07-27 11:55:19 +08:00
liuyao
23bc13a98d
Merge pull request #15445 from taosdata/feature/TD-17811
feat(stream): free the memory
2022-07-27 11:09:37 +08:00
WANG MINGMING
98fb54bf02
Merge pull request #15439 from taosdata/feature/TD-14761
feat:add tmq get data interface
2022-07-27 11:05:06 +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
633542914b fix: fix memory leak of fill operator 2022-07-26 19:19:24 +08:00
Haojun Liao
6c355184a9 Merge branch '3.0' into feature/3_liaohj 2022-07-26 19:09:37 +08:00
Haojun Liao
f021f29f02 fix(query): fix bug in limit/offset. 2022-07-26 19:07:43 +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
wangmm0220
915d3c4203 fix:conflicts from 3.0 2022-07-26 17:47:10 +08:00
wangmm0220
ba1962cacf feat:add tmq get data interface 2022-07-26 17:43:22 +08:00
shenglian zhou
4ab28c4da2 fix: fix mem leak of fill operator 2022-07-26 17:22:23 +08:00
shenglian zhou
a17015138c fix: fix fill operator memory leak 2022-07-26 17:18:08 +08:00
shenglian zhou
dab90f47bc fix: fix memory leak 2022-07-26 17:10:43 +08:00
Haojun Liao
97e3946a98
Merge pull request #15421 from taosdata/feature/3_liaohj
refactor: optimize the memory consumption in tsdbread
2022-07-26 16:49:14 +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
Haojun Liao
bd8fa53371 fix(query): set current SBlock before move to next block. 2022-07-26 15:52:47 +08:00
Ganlin Zhao
af305d1f51 Merge branch '3.0' into enh/TD-17659 2022-07-26 14:15:11 +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
liuyao
9adc6988a3
Merge pull request #15410 from taosdata/feature/TD-17811
feat(stream): refector some log
2022-07-26 10:34:21 +08:00
dapan1121
faedfb540b
Merge pull request #15409 from taosdata/fix/outofblockinsink
fix: fix load_table_info error
2022-07-26 10:32:51 +08:00
54liuyao
35ddd56691 feat(stream): refector some log 2022-07-26 09:55:21 +08:00
dapan1121
b97f9bfcad fix: fix load_table_info error 2022-07-26 09:48:43 +08:00
Liu Jicong
23f0feca92
Update projectoperator.c 2022-07-25 21:50:51 +08:00
jiajingbin
2964917125 fix: fix bug for TD-17801 2022-07-25 21:45:46 +08:00
jiajingbin
8833a8bdfb fix: fix bug for TD-17801 2022-07-25 21:39:12 +08:00
Haojun Liao
b4bb80ba9d
Merge pull request #15389 from taosdata/feature/3_liaohj
fix(query):disable merge for project operator in stream processing.
2022-07-25 20:16:18 +08:00
Ganlin Zhao
8794b0d464 Merge branch '3.0' into enh/TD-17659 2022-07-25 17:25:05 +08:00
Xiaoyu Wang
20cb18d8b0 merge 3.0 2022-07-25 16:59:28 +08:00
shenglian zhou
0494f4a6e9 fix: fix table merge scan memory leak 2022-07-25 16:41:32 +08:00
Haojun Liao
90b3e77698 fix(query):disable merge for project operator in stream processing. 2022-07-25 16:02:49 +08:00
Xiaoyu Wang
cf8bf7bd39 Merge remote-tracking branch 'origin/szhou/fix/udf' into feature/3.0_debug_wxy 2022-07-25 15:35:14 +08:00
Xiaoyu Wang
bf18385e00 merge szhou/fix/udf 2022-07-25 15:34:58 +08:00
Ganlin Zhao
db48f118a1 enh(query): add selectivity for diff function
TD-17659
2022-07-25 15:34:46 +08:00
shenglian zhou
66bad33c9e fix: fix compilation error 2022-07-25 15:34:11 +08:00
shenglian zhou
f208b507fc Merge branch '2.0' of github.com:taosdata/TDengine into szhou/fix/udf 2022-07-25 15:24:04 +08:00
shenglian zhou
9e9a12cb09 fix: fix memory leak of pseduo col computation in table merge scan 2022-07-25 15:23:43 +08:00
Haojun Liao
b87bb4c083 fix(query): remove invalid assert. 2022-07-25 15:23:13 +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
67266bd3a1
Merge branch '3.0' into feature/3_liaohj 2022-07-25 13:44:09 +08:00
Haojun Liao
6d86ef0c33 other: merge 3.0 2022-07-25 11:22:09 +08:00
54liuyao
86c4d34339 fix(stream): recover the overwritten code 2022-07-25 11:19:52 +08:00
Haojun Liao
9bddf99d7d refactor(query): do some internal refactor. 2022-07-25 11:17:45 +08:00
dapan1121
4831205807 Merge branch '3.0' into fix/TD-16880 2022-07-25 09:02:45 +08:00
dapan1121
dfe4ed92e3 fix: fix disk page direty issue 2022-07-25 09:01:40 +08:00
shenglian zhou
d3149ce8fd fix: change tag_type to string and remove quote from tag_value and normal notation is used for float/double 2022-07-24 19:59:19 +08:00
Liu Jicong
072fe10013
Merge pull request #15361 from taosdata/feature/tq
fix(tmq): correctly set reader status
2022-07-23 20:40:14 +08:00
Liu Jicong
095f6aa4e0 fix(tmq): correctly set reader status 2022-07-23 20:07:16 +08:00
54liuyao
f86ce16e36 fix(stream): push retrive datablock 2022-07-23 15:06:53 +08:00
Haojun Liao
cf572edcb4
Merge pull request #15323 from taosdata/feature/3_liaohj
fix(query): update the time range after filter data block.
2022-07-23 14:55:29 +08:00
Haojun Liao
950be95fdf fix(query): fix error in limit/offset 2022-07-23 10:40:58 +08:00
Haojun Liao
e00528eead refactor: do some internal refactor. 2022-07-23 09:59:37 +08:00
54liuyao
b7e84b3caf feat(stream): optimize result 2022-07-23 09:57:27 +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
Liu Jicong
43abf0d3f1
Merge pull request #15309 from taosdata/feature/tq
fix: memory leak
2022-07-22 19:12:15 +08:00
Cary Xu
39b768153f
Merge pull request #15308 from taosdata/feat/TD-17552
enh(query): add wal version to agg result datablock
2022-07-22 19:09:31 +08:00
Xiaoyu Wang
b97c440fe6
Merge pull request #15295 from taosdata/feature/3.0_debug_wxy
fix: plan problem when functions that requires a timeline is used directly in a super table
2022-07-22 18:50:27 +08:00
Liu Jicong
e1046c7a98 fix: memory leak 2022-07-22 18:11:29 +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
Xiaoyu Wang
1be414354d fix: plan problem when functions that requires a timeline is used directly in a super table 2022-07-22 17:06:08 +08:00
54liuyao
47cb043f4c feat(stream):optimize update scan range 2022-07-22 16:55:14 +08:00
Liu Jicong
0a47ebc580 merge 3.0 2022-07-22 16:06:57 +08:00
Liu Jicong
2441ec22bd feat(tmq): check alter for ntb 2022-07-22 16:05:28 +08:00
Xiaoyu Wang
ba0518e2b9 fix: plan problem when functions that requires a timeline is used directly in a super table 2022-07-22 15:06:01 +08:00
Haojun Liao
6f4851a6a2 refactor: do some internal refactor. 2022-07-22 14:38:28 +08:00
Xiaoyu Wang
dceec792bc
Merge pull request #15237 from taosdata/feature/3.0_debug_wxy
fix: plan problem caused by project eliminate optimize
2022-07-22 13:51:07 +08:00
Xiaoyu Wang
675c91cc6b fix: the problem of data loss when interval is used for outer query 2022-07-22 13:12:43 +08:00
Hongze Cheng
c47439970c fix: another coredump 2022-07-22 05:04:59 +00:00
Hongze Cheng
68acbb64b6 Merge branch 'fix/hzcheng_3.0' of https://github.com/taosdata/TDengine into fix/hzcheng_3.0 2022-07-22 05:04:22 +00:00
Hongze Cheng
cd762afe76 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/hzcheng_3.0 2022-07-22 04:50:24 +00:00
Haojun Liao
ab2ad2cc54
Merge pull request #15269 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2022-07-22 12:50:03 +08:00
Liu Jicong
f9563b5b74
Update scanoperator.c 2022-07-22 11:55:02 +08:00
Liu Jicong
ac2b13740b
Update executorMain.c 2022-07-22 11:50:10 +08:00
Haojun Liao
72bbc27e8c fix(query): remove the invalid update ops. 2022-07-22 10:50:54 +08:00
Hongze Cheng
65fc81c45b fix: more concurrency read/write 2022-07-22 02:45:11 +00:00
Hongze Cheng
613ca9c67d fix resource leak 2022-07-22 02:28:39 +00:00
Liu Jicong
c82bda25e2 refactor(tmq): add debug log 2022-07-21 21:48:05 +08:00
Haojun Liao
7522c2edf3 refactor: do some internal refactor. 2022-07-21 20:44:36 +08:00
Cary Xu
ada2eb232e fix: resource cleanup and rsma result build 2022-07-21 19:46:55 +08:00
shenglian-zhou
be16ab2243
Merge pull request #15223 from taosdata/szhou/fix/td-17645
fix: clean up block data to use it again as result data block in doApplyIndefinitFunction
2022-07-21 17:46:31 +08:00
Haojun Liao
0c326410fd fix(query): set value for varchar type in fill and check for null ptr before cleanup. 2022-07-21 16:54:07 +08:00
Haojun Liao
8e42bf85e8 fix(query): fix border check. 2022-07-21 15:47:22 +08:00
dapan1121
3621aa5540 fix: fix mac compile issue 2022-07-21 14:06:38 +08:00
Haojun Liao
72760b7f30 other: merge 3.0 2022-07-21 13:55:21 +08:00
slzhou@taodata.com
97e8e67d4e Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fix/td-17645 2022-07-21 13:52:56 +08:00
Haojun Liao
9d565752c4 fix(query): extract schema before creating stream scanner. 2022-07-21 13:51:39 +08:00
dapan1121
dd640885e6 Merge branch '3.0' into fix/TD-15197 2022-07-21 13:36:46 +08:00
shenglian-zhou
62ac50c854
Merge pull request #15231 from taosdata/szhou/fix/td-17624
fix: continue execution for next group after filter in project produces zero rows
2022-07-21 12:53:53 +08:00
slzhou@taodata.com
318360c287 fix: continue execution after filter in project produces zero rows for next group 2022-07-21 11:35:02 +08:00
Haojun Liao
c2d588a118 other:merge 3.0 2022-07-21 11:29:34 +08:00
Haojun Liao
ee34c3bb3e fix(query): add query involved column info 2022-07-21 11:20:30 +08:00
Minglei Jin
1cdde411c0
Merge pull request #15227 from taosdata/fix/TD-17582-v2
fix: error case handle when table was dropped
2022-07-21 11:17:42 +08:00
Haojun Liao
dae00fd10c
Merge pull request #15221 from taosdata/feature/3_liaohj
refactor(query): do some internal refactor and add some logs.
2022-07-21 11:14:56 +08:00
Minglei Jin
359622761a fix: error case handle when table was dropped 2022-07-21 10:39:32 +08:00
liuyao
d9f7c34a79
Merge pull request #15222 from taosdata/feature/TD-17357
feat(stream): adjust project operator
2022-07-21 10:12:01 +08:00
shenglian zhou
3828954f15 fix: clean up block data to use it again as result data block in doApplyIndefinitFunction 2022-07-21 09:43:06 +08:00
54liuyao
b620609608 feat(stream): adjust project operator 2022-07-21 09:23:16 +08:00
dapan1121
976d4670a9 Merge branch '3.0' into fix/TD-15197 2022-07-21 09:11:03 +08:00
Haojun Liao
abfa6d9162 refactor(query): do some internal refactor and add some logs. 2022-07-20 22:38:19 +08:00
shenglian zhou
4211db2ec4 fix: fix error in indef operator filter processing 2022-07-20 21:58:03 +08:00
Liu Jicong
86611cc08a
Merge pull request #15208 from taosdata/feature/stream
fix(stream): memory error
2022-07-20 21:08:55 +08:00
Liu Jicong
fb52cfa816 fix(stream): memory error 2022-07-20 19:31:56 +08:00
Haojun Liao
e6febe45dd
Merge pull request #15180 from taosdata/feature/3_liaohj
fix(query): fix time window generating bug.
2022-07-20 19:15:28 +08:00
54liuyao
736960e1d2 feat(stream): add log 2022-07-20 16:04:52 +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
dapan1121
7a62409dc1 fix: fix taosd mem leak 2022-07-20 13:54:06 +08:00
Haojun Liao
cfe0047145
Merge pull request #15169 from taosdata/feature/3_liaohj
fix(query): update the column data info.
2022-07-20 11:51:46 +08:00
Haojun Liao
2b4e861f8d fix(query): update the column data info. 2022-07-20 11:03:58 +08:00
54liuyao
4371165235 feat(stream): add result group id 2022-07-20 11:02:35 +08:00
dapan1121
d6afa5e2c7 fix: fix show stables issue 2022-07-20 09:46:53 +08:00
dapan1121
5ed719c727 fix: fix catalog memory leak 2022-07-20 09:39:58 +08:00
Haojun Liao
8e9d5129fe
Merge pull request #15155 from taosdata/feature/3_liaohj
fix(query): fix the timewindow calculate error.
2022-07-20 09:31:42 +08:00
Haojun Liao
dc92b27913 fix(query): fix the timewindow calculate error. 2022-07-19 20:32:55 +08:00
Liu Jicong
edaec52bca refactor: add debug flag 2022-07-19 19:59:07 +08:00
Liu Jicong
414673db57
Merge branch '3.0' into feature/stream 2022-07-19 19:46:36 +08:00
Haojun Liao
88f13276f8
Merge pull request #15121 from taosdata/feature/3_liaohj
fix(query): set the output column number for subscribe.
2022-07-19 19:40:26 +08:00
shenglian-zhou
b9490b2cac
Merge pull request #15129 from taosdata/szhou/fix/td-17429
fix: filter shall not be executed when the input block is empty
2022-07-19 18:44:09 +08:00
Liu Jicong
24bc71568e refactor(stream): batch optimization for submit msg 2022-07-19 18:29:12 +08:00
Haojun Liao
ef17baedbe fix(query): fix memory leak. 2022-07-19 17:58:24 +08:00
Haojun Liao
282630a394 Merge branch '3.0' into feature/3_liaohj 2022-07-19 17:42:45 +08:00
Haojun Liao
179709f814 fix(query): assign the subplan to belong to task struct 2022-07-19 17:37:40 +08:00
jiacy-jcy
5200a48107 fix: update 2022-07-19 16:54:19 +08:00
dapan1121
215dfb3019 Merge branch 'enh/transMemLeak' into fix/TD-15197 2022-07-19 16:52:21 +08:00
Haojun Liao
79b0240a87 fix(query): fix some memory leak. 2022-07-19 16:34:26 +08:00
shenglian zhou
40d472212a feat: add user tags comments 2022-07-19 16:22:05 +08:00
Haojun Liao
cd2eaf0152 fix(query): set the output column number for subscribe. 2022-07-19 16:01:28 +08:00
Haojun Liao
8751bcc0ea
Merge pull request #15109 from taosdata/feature/3_liaohj
fix(query): add check for deleting record
2022-07-19 15:56:41 +08:00
Liu Jicong
bc1af6deaf refactor(stream): batch optimization for submit msg 2022-07-19 15:52:08 +08:00
dapan1121
9a08b77e59 Merge branch '3.0' into fix/TD-15197 2022-07-19 15:19:08 +08:00
dapan1121
b027f0d431
Merge pull request #15050 from taosdata/fix/TD-15890.2
fix: fix taosc memory leak
2022-07-19 15:15:44 +08:00
54liuyao
8e41fc912b feat(stream): add num of children 2022-07-19 14:17:53 +08:00
Haojun Liao
2f199bd80b fix(query):revoke remove operation 2022-07-19 10:28:29 +08:00
dapan1121
666c6475ee fix: fix sql crash issue 2022-07-19 10:27:09 +08:00
dapan1121
3e2ded3973 fix: add debug info 2022-07-19 10:12:02 +08:00
dapan1121
c5f900f620 Merge branch '3.0' into fix/TD-15197 2022-07-19 09:16:33 +08:00
dapan1121
8d5bd9a83a fix: fix crash issue 2022-07-19 09:05:17 +08:00
Haojun Liao
484d043b44 fix(query):filter invisible columns 2022-07-18 20:58:52 +08:00
Haojun Liao
f3d7d6671b fix(query):filter invisible columns 2022-07-18 20:06:29 +08:00
shenglian-zhou
0e93b2b776
Merge pull request #15070 from taosdata/szhou/fix/td-17470
fix: remove the assert check of time window from when generating buffer for window computation
2022-07-18 17:18:56 +08:00
shenglian zhou
691856073b fix: remove the assert check of time window from when generating buffer for window computation 2022-07-18 16:41:24 +08:00
Haojun Liao
04b12ee74d
Merge pull request #15063 from taosdata/feature/3_liaohj
fix(query): filter new added child table for stream scan operator.
2022-07-18 16:05:23 +08:00
Haojun Liao
eebbbce4f3 fix(query): filter new added child table for stream scan operator. 2022-07-18 15:31:39 +08:00
Liu Jicong
f2e9d522a4
Merge pull request #15052 from taosdata/feature/stream
fix(tmq): table not found
2022-07-18 14:43:44 +08:00
dapan1121
4a54ce26d5 fix: fix sys table show stables issue 2022-07-18 14:25:00 +08:00
Haojun Liao
fc67efb5aa fix(query): fix memory leak. 2022-07-18 13:52:33 +08:00
Liu Jicong
158c6ae3e4 fix(tmq): table not found 2022-07-18 13:51:31 +08:00
dapan1121
03e9b15237 fix: fix taosc memory leak 2022-07-18 13:32:17 +08:00
Haojun Liao
95db2fb8a8
Merge branch '3.0' into feature/3_liaohj 2022-07-18 10:01:32 +08:00
dapan1121
077fbd6787
Merge pull request #15010 from taosdata/fix/TD-17460
fix: fix taosd mem leak
2022-07-18 09:18:43 +08:00
shenglian zhou
af1350a6dd feat: processing nchar and json columns of user tags 2022-07-17 21:37:59 +08:00
Haojun Liao
fc5544d42a fix(query):fix the invalid returned code in the compare function 2022-07-17 12:28:55 +08:00
Haojun Liao
ad058e8c97 Merge branch '3.0' into feature/3_liaohj 2022-07-17 11:06:49 +08:00
shenglian zhou
110aef1f12 feat: change bufSize for double digits 2022-07-17 05:30:20 +08:00
shenglian zhou
76f38ee03a feat: change bufSize to leave space for var string header 2022-07-17 05:19:01 +08:00
shenglian zhou
de1ca5b68f Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/user-tags 2022-07-17 05:07:17 +08:00
shenglian zhou
7570a4495d feat: add user tags 2022-07-17 04:57:16 +08:00
Haojun Liao
f0d1f393fd fix(query): add limit/offset implementation in exchange operator. 2022-07-16 23:24:59 +08:00
Haojun Liao
405c4c6305
Merge pull request #14991 from taosdata/feature/3_liaohj
fix(query):support multigroup in groupby operator.
2022-07-16 21:07:55 +08:00
Haojun Liao
6756c6515a fix(query): add null pointer check. 2022-07-16 19:54:14 +08:00
Haojun Liao
5a5e30c456 fix(query): remove invalid free. 2022-07-16 19:44:08 +08:00
dapan1121
9ec14ece62 fix: fix taosd mem leak 2022-07-16 18:58:29 +08:00
liuyao
e59942bdc7
Merge pull request #15003 from taosdata/feature/TD-17357
feat(stream): add log
2022-07-16 18:50:32 +08:00
dapan1121
4097b5ae56
Merge pull request #14986 from taosdata/fix/fixmsgorder
fix: fix msg disorder and other issues
2022-07-16 18:42:41 +08:00
54liuyao
069778c676 feat(stream): add log 2022-07-16 17:32:40 +08:00
shenglian zhou
97d30c6858 feat: add user tags to system table 2022-07-16 17:25:05 +08:00
Haojun Liao
76f451744a fix(query): fix memory leak. 2022-07-16 17:20:37 +08:00
Haojun Liao
83b44e2ffa fix(query):support multigroup in groupby operator. 2022-07-16 16:30:09 +08:00
shenglian zhou
96495363d7 feat: add user tags system table 2022-07-16 16:03:45 +08:00
dapan1121
320ca85a8f Merge branch '3.0' into fix/fixmsgorder 2022-07-16 15:40:50 +08:00
dapan1121
e0b56ea593 fix: fix query retry issue 2022-07-16 15:38:46 +08:00
Haojun Liao
46c6302a33 other: merge 3.0 2022-07-16 14:47:22 +08:00
shenglian zhou
9fccdce05a feat: add user tags to information schema 2022-07-16 14:38:03 +08:00
Haojun Liao
eeb8709241 fix(query): add returned code check. 2022-07-16 14:05:26 +08:00
liuyao
f41b7a6810
Merge pull request #14974 from taosdata/feature/TD-17357
feat(stream): optimize interval plan
2022-07-16 09:57:52 +08:00
Haojun Liao
5fb53520d2
Merge pull request #14971 from taosdata/feature/3_liaohj
fix(query): set correct sort buffer format
2022-07-16 09:50:32 +08:00
54liuyao
352db0febb feat(stream): optimize interval plan 2022-07-16 09:28:15 +08:00
shenglian zhou
fcc87f09fe feat: add user tags 2022-07-15 21:33:30 +08:00
Haojun Liao
e840cdaaac fix(query): set correct sort buffer format 2022-07-15 20:56:29 +08:00
Haojun Liao
09cf3cc8ce
Merge pull request #14957 from taosdata/feature/3_liaohj
fix(query): fix partition by bug for last_row query.
2022-07-15 20:13:26 +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
3f11c849cd refactor: do some internal refactor. 2022-07-15 17:34:54 +08:00
Haojun Liao
f60f821c13 fix(query): fix partition by bug for last_row query. 2022-07-15 15:04:22 +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
595c7dd4f3 Merge branch '3.0' into feature/3_liaohj 2022-07-15 13:36:14 +08:00
Haojun Liao
283b3eb3d9 fix(query): remove invalid check. 2022-07-15 13:25:15 +08:00
Haojun Liao
013f5031bc fix(query):update the time type check. 2022-07-15 11:53:32 +08:00
Haojun Liao
6c13a8e2e8 fix(query):fix syntax error. 2022-07-15 11:43:06 +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
707f0a837a fix(query): set correct fill output object. 2022-07-14 20:11:29 +08:00
Liu Jicong
e01297d09d refactor(query): optimize table scan by reusing reader 2022-07-14 19:29:34 +08:00
Haojun Liao
a911feeab7 fix(query): fix syntax error. 2022-07-14 19:18:15 +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
Liu Jicong
b33d6584c4
Merge pull request #14898 from taosdata/feature/stream
refactor(stream): destroy stream task
2022-07-14 18:36:09 +08:00
Haojun Liao
918df89b4f
Merge branch '3.0' into feature/3_liaohj 2022-07-14 17:56:15 +08:00
Liu Jicong
9847abf166 fix(sma): double free 2022-07-14 17:34:06 +08:00
Xiaoyu Wang
a497ad72fa
Merge pull request #14899 from taosdata/feature/3.0_debug_wxy
fix: some problems of planner
2022-07-14 17:31:50 +08:00
Haojun Liao
dc4052bd7b fix(query): handle the grouped fill. 2022-07-14 17:04:22 +08:00
Liu Jicong
c0639d3dc4 fix(query): double free 2022-07-14 16:24:12 +08:00
Xiaoyu Wang
ddb39a8dc2 fix: some problems of planner 2022-07-14 16:06:28 +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
b23e08db85
Merge pull request #14893 from taosdata/feature/3_liaohj
fix(query): set correct fill output column index and fix some memory leaks
2022-07-14 14:25:24 +08:00
Haojun Liao
75aca0b031 fix(query): set correct fill output column index, fix some memory leak, and do some internal refactor, 2022-07-14 13:53:23 +08:00
WANG MINGMING
e0ec9687c5
Merge pull request #14890 from taosdata/fix/TD-17356
fix:filter child table with tag
2022-07-14 13:29:09 +08:00
Haojun Liao
c638f9d53a
Merge pull request #14889 from taosdata/feature/3_liaohj
fix(query):fix invalid write in sample query processing.
2022-07-14 13:19:45 +08:00
wangmm0220
3c755c4834 opt:remove useless code 2022-07-14 11:41:34 +08:00
54liuyao
13519f8fd9 feat(stream): interval offset 2022-07-14 11:24:24 +08:00
Haojun Liao
6fd4684a26 fix(query): ensure buffer before load data. 2022-07-14 11:16:15 +08:00
wangmm0220
e8c041f098 fix:filter child table with tag 2022-07-14 10:49:09 +08:00
shenglian-zhou
5b1cb74c99
Merge pull request #14880 from taosdata/szhou/fix/td-17263
fix: set primary key target slot id through searching scan cols and finding colId that equals primary key id
2022-07-14 10:13:29 +08:00
Xiaoyu Wang
bc1251e0cb
Merge pull request #14855 from taosdata/feature/3.0_debug_wxy
feat: support pseudo columns such as _qstart, _qend and _qduration
2022-07-14 10:09:32 +08:00
Xiaoyu Wang
570f036c63 Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-14 09:52:51 +08:00
slzhou@taodata.com
414b27fb6a fix: set primary key target slot id through searching scan cols and find colId that equals primary key id 2022-07-14 09:19:36 +08:00
Haojun Liao
b2b69f1868 fix(query):fix invalid write. 2022-07-13 23:42:59 +08:00
Haojun Liao
38b395147a Merge branch '3.0' into feature/3_liaohj 2022-07-13 23:27:51 +08:00
Haojun Liao
76d713a3ba Merge remote-tracking branch 'origin/feature/3_liaohj' into feature/3_liaohj 2022-07-13 23:16:36 +08:00
Haojun Liao
083de75afc fix(query):fix memory leak. 2022-07-13 23:15:58 +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
Haojun Liao
d40191b62c fix(query): prepare the buffer before loading data. 2022-07-13 20:58:14 +08:00
Haojun Liao
afb20f79c7 fix(query): copy the value instead of assign data. 2022-07-13 19:58:07 +08:00
shenglian-zhou
876f6cdee7
Merge pull request #14868 from taosdata/szhou/fix/td-17263
fix: reset hasGroupId after outputing the previous group results
2022-07-13 19:00:18 +08:00
liuyao
dfaabf3d43
Merge pull request #14864 from taosdata/feature/TD-17357
feat(stream): optimize close window
2022-07-13 17:58:54 +08:00
slzhou@taodata.com
312dce4e21 fix: reset hasGroupId after outputing the previous group results 2022-07-13 17:57:59 +08:00
Liu Jicong
a717042acf refactor(stream): simple batch 2022-07-13 17:24:36 +08:00
54liuyao
32cb6755a2 feat(stream): optimize close window 2022-07-13 17:08:27 +08:00
Liu Jicong
8a6e4b877a refactor(stream): simple batch 2022-07-13 16:37:33 +08:00
Xiaoyu Wang
d2ce16a875 Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-13 15:37:21 +08:00
Xiaoyu Wang
43b5ca1efe feat: support pseudo columns such as _qstart, _qend and _qduration 2022-07-13 15:13:01 +08:00
Haojun Liao
56b1d11beb fix(query): prepare the output buffer before assign daata. 2022-07-13 15:06:27 +08:00
Haojun Liao
649cf7e55d fix(query): support last_row(tags) for super table query. 2022-07-13 14:21:44 +08:00
Hongze Cheng
a67c8560a0
Merge pull request #14787 from taosdata/feat/row_refact
refact: row format
2022-07-12 20:45:02 +08:00
Haojun Liao
ea5a68046e
Merge pull request #14825 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2022-07-12 20:13:20 +08:00
Hongze Cheng
a9b4c90def make compile 2022-07-12 11:58:13 +00:00
Hongze Cheng
fefa18c0ec Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/row_refact 2022-07-12 11:57:02 +00:00
Liu Jicong
a34d344225
Merge pull request #14808 from taosdata/feature/stream
refactor(tmq): prepare only needed
2022-07-12 18:09:31 +08:00
Liu Jicong
8e3f5135a6 fix(tsdb): close fd 2022-07-12 17:28:14 +08:00
54liuyao
ab2b1bbf47 feat(stream): sliding window 2022-07-12 17:27:44 +08:00
Liu Jicong
0fccdace56 fix(tmq): reset offset 2022-07-12 16:39:05 +08:00
Haojun Liao
6ff68dd67d refactor: do some internal refactor. 2022-07-12 16:24:26 +08:00
Haojun Liao
24090f0fc3 refactor: do some internal refactor. 2022-07-12 15:30:38 +08:00
Liu Jicong
7cf99d5359 refactor(tmq): prepare only needed 2022-07-12 15:11:14 +08:00
Liu Jicong
ac57956a56 Merge branch '3.0' into feature/stream 2022-07-12 14:12:18 +08:00
Liu Jicong
d637ffe22c refactor(tmq): prepare only needed 2022-07-12 14:10:22 +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
5d8f188067 refactor: do some internal refactor. 2022-07-12 10:10:39 +08:00
Hongze Cheng
59a83adf40 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/row_refact 2022-07-11 12:29:41 +00:00
Haojun Liao
08259f169a
Merge pull request #14780 from taosdata/feature/3_liaohj
fix(query): fix memory leak in query super table.
2022-07-11 20:11:26 +08:00
Hongze Cheng
f65e61148f more row refact 2022-07-11 11:52:37 +00:00
Haojun Liao
91c1ae4168 fix(query): fix memory leak in query super table. 2022-07-11 19:36:19 +08:00
Minglei Jin
77053a31da
Merge pull request #14775 from taosdata/fix/TD-17231
metaReader/decoder: clear to release tDecoderMalloc
2022-07-11 19:04:32 +08:00
Haojun Liao
31b5a07a74
Merge pull request #14772 from taosdata/feature/3_liaohj
refactor: update time window range .
2022-07-11 18:58:33 +08:00
Minglei Jin
2a38443640 metaReader/decoder: clear to release tDecoderMalloc 2022-07-11 18:01:55 +08:00
Haojun Liao
1346926168 fix(query): avoid double free. 2022-07-11 17:55:08 +08:00
Haojun Liao
5965b1dfc3 refactor: update time window range . 2022-07-11 17:50:57 +08:00
Haojun Liao
0b45f95211
Merge pull request #14762 from taosdata/feature/3_liaohj
fix(query): add more check for fetch rsp, and set the correct start time window for fill.
2022-07-11 17:49:04 +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
Cary Xu
c59478ec71 enh: tsma/rsma code optimization 2022-07-11 14:20:57 +08:00
Haojun Liao
4f43d7df43 Merge branch '3.0' into feature/3_liaohj 2022-07-11 14:06:44 +08:00
Haojun Liao
c7572cac7d refactor: remove some macro 2022-07-11 13:54:12 +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
35711aef0c Merge remote-tracking branch 'origin/feature/3_liaohj' into feature/3_liaohj 2022-07-11 11:55:18 +08:00
Haojun Liao
d83f875467 fix(query): ensure capacity of ssdatablock. 2022-07-11 11:55:02 +08:00
Haojun Liao
9af4cd3165
Merge branch '3.0' into feature/3_liaohj 2022-07-11 11:36:19 +08:00
Haojun Liao
dd20c34346 fix(query): fix a typo. 2022-07-11 11:28:45 +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
Liu Jicong
f9ba552496
Merge pull request #14739 from taosdata/feature/stream
fix(wal): read after rolling
2022-07-10 21:45:31 +08:00
Liu Jicong
219d966b25 fix(wal): read after rolling 2022-07-10 21:02:25 +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
651adca80f
Merge pull request #14685 from taosdata/feature/3.0_debug_wxy
fix: some problem of parser and planner
2022-07-10 18:17:51 +08:00
Xiaoyu Wang
5f0005a7b7 merge 3.0 2022-07-10 17:47:31 +08:00
Haojun Liao
ac8e9d103c other: merge 3.0 2022-07-10 17:40:55 +08:00
Haojun Liao
7dc7f478de refactor: do some internal refactor and fix some memory leak. 2022-07-10 17:34:21 +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
9189f886a9 feat(tmq): support consume from tsdb then wal 2022-07-10 16:34:45 +08:00
Liu Jicong
ff5f1aa1a5 refactor(stream) 2022-07-10 15:23:34 +08:00
Haojun Liao
c25c4964be fix(query): fix syntax error. 2022-07-10 15:03:57 +08:00
Liu Jicong
5640036f66 refactor(stream) 2022-07-10 14:48:16 +08:00
Haojun Liao
69e9a2ad5c
Merge branch '3.0' into feature/3_liaohj 2022-07-10 14:46:53 +08:00
Liu Jicong
bafa54778a refactor(stream) 2022-07-10 14:10:39 +08:00
Liu Jicong
2225411edc refactor(stream) 2022-07-10 13:57:17 +08:00
Liu Jicong
8afb54548f refactor(stream) 2022-07-10 13:21:37 +08:00
Liu Jicong
e9077c036f merge from 3.0 2022-07-10 11:24:37 +08:00
Liu Jicong
a2107992e2 refactor(stream) 2022-07-10 11:18:15 +08:00
Haojun Liao
3ee9d160d9 fix(query): set correct stddev merge input rows. 2022-07-10 11:02:54 +08:00
Haojun Liao
9738bb4aff Merge remote-tracking branch 'origin/feature/3_liaohj' into feature/3_liaohj 2022-07-10 10:16:41 +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
77cc6a1d63
Merge pull request #14714 from taosdata/feature/3_liaohj
fix(query): set correct query time window.
2022-07-10 09:10:17 +08:00
Haojun Liao
4a9e1e37ae fix(query): set correct query time window. 2022-07-09 23:33:03 +08:00
Haojun Liao
3c49b6a633 fix(query): set correct query time window. 2022-07-09 23:32:33 +08:00
Shengliang Guan
c53a84b733 Merge remote-tracking branch 'origin/3.0' into fix/valgrind 2022-07-09 20:13:26 +08:00
Haojun Liao
5a65047579 Merge branch '3.0' into feature/3_liaohj 2022-07-09 14:48:46 +08:00
Haojun Liao
5772b0bbf8 fix(query): add error code check. 2022-07-09 12:13:21 +08:00
Haojun Liao
21742bba09 fix(query): add error code check. 2022-07-09 12:00:48 +08:00
Haojun Liao
fceee02622
Merge branch '3.0' into feature/3_liaohj 2022-07-09 11:11:11 +08:00
Liu Jicong
eb005b9d10 fix(tmq): invalid free 2022-07-08 21:45:31 +08:00
Liu Jicong
8d01ae00cb fix(tmq): offset 2022-07-08 21:37:15 +08:00
Shengliang Guan
e4a855e591 Merge remote-tracking branch 'origin/3.0' into fix/valgrind 2022-07-08 19:54:26 +08:00
Shengliang Guan
a5e8ddbc56 refactor: adjust logs 2022-07-08 18:00:19 +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
Haojun Liao
3e81daf578 fix(query): fix memory leak. 2022-07-08 17:28:37 +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
dapan1121
50a6ef7f39
Merge pull request #14635 from taosdata/feature/insertselect
feat: support insert from query res
2022-07-08 16:59:21 +08:00
Shengliang Guan
fa77494a72 Merge remote-tracking branch 'origin/3.0' into fix/valgrind 2022-07-08 16:58:51 +08:00
Shengliang Guan
dca93b18cc refactor: adjust logs 2022-07-08 16:57:54 +08:00
Haojun Liao
1711d646c1
Merge pull request #14671 from taosdata/feature/3_liaohj
enh(query): add block sma for int type column data.
2022-07-08 16:23:13 +08:00
slzhou@taodata.com
16b6ce82a4 feat: add filter to operator merge aligned interval agg 2022-07-08 16:20:02 +08:00
Cary Xu
236ab7713e
Merge pull request #14680 from taosdata/feature/TD-11274-3.0
fix: set groupId for rsma and comment out rsma test case
2022-07-08 16:03:18 +08:00
dapan1121
ab5d9401d5 feat: insert from query 2022-07-08 15:38:27 +08:00
Cary Xu
301edfe79b fix: set groupId for rsma and comment out rsma test case 2022-07-08 15:23:11 +08:00
dapan1121
0f923bc8a3 feat: insert from query 2022-07-08 14:26:53 +08:00
54liuyao
adb90b68e3 fix(stream): window_close crash 2022-07-08 13:23:02 +08:00
Haojun Liao
91eaba87ef Merge branch '3.0' into feature/3_liaohj 2022-07-08 11:24:28 +08:00
dapan1121
0925064d24 Merge branch 'feature/3.0_debug_wxy' into feature/insertselect 2022-07-08 10:28:53 +08:00
dapan1121
b849252eed feat: insert from query 2022-07-08 10:27:17 +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
54liuyao
ce6e505084 feat(stream): stream state support delete 2022-07-07 17:27:49 +08:00
Haojun Liao
211985f03e refactor: do some internal refactor. 2022-07-07 17:23:54 +08:00
Haojun Liao
557873c1bc other: merge 3.0 2022-07-07 16:50:00 +08:00
Haojun Liao
41be3e4d04 refactor: do some internal refactor. 2022-07-07 15:56:43 +08:00
shenglian-zhou
fd48d2b68a
Merge pull request #14645 from taosdata/szhou/feature/push-project-condition
feat: add filter to fill operator
2022-07-07 15:51:28 +08:00
Haojun Liao
57bf509dee refactor: do some internal refactor. 2022-07-07 15:40:04 +08:00
Haojun Liao
aab82fc080 fix(query): check return code while loading sma 2022-07-07 15:38:17 +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
slzhou
9eb4f16792 feat: add filter to fill operator 2022-07-07 14:59:52 +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
dapan1121
99d80ddc90 feat: insert from query 2022-07-07 11:38:58 +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
c1fd5218d6 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/push-project-condition 2022-07-07 11:01:49 +08:00
Liu Jicong
82e0f77715 Merge branch '3.0' into feature/stream 2022-07-07 10:48:09 +08:00
Zhiqiang Wang
ac08c6eaa5
Merge pull request #14621 from taosdata/fix/ZhiqiangWang/TD-17006-fix-mac-ctest-error
test: fix Mac test error
2022-07-07 10:42:58 +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
dapan1121
f3c8bcb953 feat: insert from query 2022-07-07 09:42:20 +08:00
slzhou
90b3912061 fix: add filter to session/state/interval operator 2022-07-07 09:29:51 +08:00
Yihao Deng
31655c07d7
Merge pull request #14611 from taosdata/feat/idxFix1
enh: refactor idx code
2022-07-07 09:21:06 +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
Haojun Liao
5db0f7b1d8 fix(query): fix memory leak. 2022-07-06 22:25:59 +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
liuyao
6e5a6e701c
Merge pull request #14620 from taosdata/feature/TD-17132
feat(stream): session delete
2022-07-06 21:12:43 +08:00
Haojun Liao
dc90f22d99 Merge branch '3.0' into feature/3_liaohj 2022-07-06 21:09:39 +08:00
dapan1121
d625cc2e47 feat: insert from query 2022-07-06 21:00:31 +08:00
Liu Jicong
e51e261e01 fix(stream): create operator 2022-07-06 21:00:15 +08:00
afwerar
98641a8ff5 test: fix Mac test error 2022-07-06 20:47:38 +08:00
54liuyao
888f79d3f4 feat(stream): session delete 2022-07-06 20:42:54 +08:00
dapan1121
82dbf54719 Merge branch 'fix/dnode' of github.com:taosdata/TDengine into fix/dnode 2022-07-06 20:34:07 +08:00
dapan1121
a3bf5b96c4 fix: fix query redirect issue 2022-07-06 20:33:23 +08:00
yihaoDeng
1e5ddcb92f merge 3.0 2022-07-06 18:29:11 +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
ddb71ed095 refactor: do some internal refactor. 2022-07-06 13:33:21 +08:00
Haojun Liao
c89d588044
Merge pull request #14576 from taosdata/feature/3_liaohj
fix(query): copy the column that will not output.
2022-07-06 13:29:48 +08:00
dapan1121
8b896332d6
Merge pull request #14558 from taosdata/feature/insertselect
enh: refactor scheduler code
2022-07-06 09:44:38 +08:00
dapan1121
641531bc6d fix: fix compile issue 2022-07-06 09:09:34 +08:00
dapan1121
2304e12c49 fix: fix sch error handling issue 2022-07-06 08:57:10 +08:00
Minglei Jin
fc20a61c85
Merge branch '3.0' into feat/tsdb_refact 2022-07-06 00:37:21 +08:00
Haojun Liao
5f93b8db89 fix(query): copy the column that will not output. 2022-07-05 23:54:51 +08:00
Haojun Liao
e1f53d4c2f fix(query): release memory when operator is destroyed. 2022-07-05 23:14:16 +08:00
yihaoDeng
3d8e6d2e10 Merge branch 'dev' into idx 2022-07-05 21:28:30 +08:00
Haojun Liao
8c1b9ea60f
Merge pull request #14557 from taosdata/feature/3_liaohj
fix(query): set number of rows before assign column data.
2022-07-05 20:42:09 +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
Haojun Liao
2d27248043 fix(query): set number of rows before assign column data. 2022-07-05 18:02:38 +08:00
Haojun Liao
3bae30412c refactor: do some internal refactor. 2022-07-05 13:57:07 +08:00
slzhou
43047bc265 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/push-cond-child-proj 2022-07-05 13:43:11 +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
Haojun Liao
6bfe5df94a other: merge 3.0 2022-07-05 09:47:39 +08:00
Haojun Liao
c7559a81ca refactor: do some internal refactor. 2022-07-04 23:28:27 +08:00
Liu Jicong
d3a05cc260
Merge pull request #14525 from taosdata/feature/stream
fix(tmq): prepare scan should reset operator status
2022-07-04 21:10:36 +08:00
Liu Jicong
8127887dc4 fix(tmq): prepare scan should reset operator status 2022-07-04 20:47:56 +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
yihaoDeng
bd77e5b107 refactor index 2022-07-04 16:01:45 +08:00
yihaoDeng
1f74676954 refactor index 2022-07-04 15:41:36 +08:00
Haojun Liao
16d18b8046 refactor: do some internal refactor. 2022-07-04 14:10:29 +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
Shengliang Guan
361ff046a5
Merge pull request #14465 from taosdata/fix/tsim
refactor: temporarily comment out some code and use cases
2022-07-02 21:25:53 +08:00
Liu Jicong
31bbef82d1 fix(tmq): seek snapshot offset 2022-07-02 20:18:40 +08:00
Shengliang Guan
d28c97ba5a Merge remote-tracking branch 'origin/fix/dnode_wxy' into fix/tsim 2022-07-02 19:16:31 +08:00
Xiaoyu Wang
dd564e551c fix: a problem of show indexes 2022-07-02 19:16:03 +08:00
Xiaoyu Wang
ae0e956837 Merge remote-tracking branch 'origin/fix/dnode' into fix/dnode_wxy 2022-07-02 19:01:36 +08:00
Xiaoyu Wang
c08b3c9313 fix: a problem of show indexes 2022-07-02 19:01:16 +08:00
Zhiqiang Wang
b45702be6f
Merge pull request #14466 from taosdata/fix/ZhiqiangWang/TD-13064-add-Mac-compile-support
os: add Mac compile support
2022-07-02 18:02:28 +08:00
WANG MINGMING
e4a711975d
Merge pull request #14458 from taosdata/feature/TD-13041
fix: erro in json in operator
2022-07-02 17:52:43 +08:00
afwerar
b9a1c6744c os: add Mac compile support 2022-07-02 17:40:23 +08:00
54liuyao
0d10895721 fix(stream): project ignore retrive datablock 2022-07-02 15:40:15 +08:00
wangmm0220
3dafc6556c fix: erro in json in operator 2022-07-02 14:47:07 +08:00
54liuyao
c9f133a5e4 ci(stream): add ignore expired data 2022-07-02 14:17:50 +08:00
Liu Jicong
06514e13df
Merge pull request #14454 from taosdata/feature/stream
feat(stream): support ignore expired flag
2022-07-02 13:20:58 +08:00
Liu Jicong
4a2b266612 feat(stream): support ignore expired flag 2022-07-02 10:59:29 +08:00
slzhou
dbbff4ea2c feat: push cond to join child through generating plan 2022-07-01 20:00:01 +08:00
wangmm0220
75e5aebbec fix:error in json 2022-07-01 17:35:23 +08:00
wangmm0220
4e6b3d72ac Merge branch '3.0' into feature/TD-13041 2022-07-01 16:54:18 +08:00
shenglian-zhou
1920980d4c
Merge pull request #14432 from taosdata/szhou/feature/push-cond-child-proj
feat: push condition to child projection
2022-07-01 16:30:02 +08:00
slzhou
1003cd8549 feat: push condition to child projection 2022-07-01 15:25:02 +08:00
Haojun Liao
34e4980a51 refactor(query): do some internal refactor. 2022-07-01 15:19:02 +08:00
Liu Jicong
269b33c02d Merge branch '3.0' into feature/stream 2022-07-01 14:39:52 +08:00
Liu Jicong
52d09b4173 refactor(wal) 2022-07-01 14:39:21 +08:00
afwerar
4e8f3db596 os: replace win qsort func 2022-07-01 11:54:21 +08:00
liuyao
2f865a43ec
Merge pull request #14407 from taosdata/feature/TD-16874
feat(stream): ignore close window
2022-06-30 20:57:49 +08:00
Liu Jicong
c40c22c386
Merge pull request #14401 from taosdata/feature/stream
fix(tmq): reset window
2022-06-30 20:21:26 +08:00
54liuyao
68cfa54e26 feat(stream): ignore close window 2022-06-30 20:21:24 +08:00
Liu Jicong
4f107908db fix(tmq): reset window 2022-06-30 19:51:48 +08:00
shenglian-zhou
d6e1d1bcd0
Merge pull request #14389 from taosdata/szhou/feature/pushdown-agg-cond
feat: support push agg operator condition to scan
2022-06-30 19:07:06 +08:00
Xiaoyu Wang
8c2e9842e2
Merge pull request #14393 from taosdata/feature/3.0_debug_wxy
feat: support 'select *, expr from ...' syntax
2022-06-30 18:25:12 +08:00
dapan1121
068924cc62
Merge pull request #14385 from taosdata/feature/queryredirect
feat: support query redirect
2022-06-30 18:03:17 +08:00
Xiaoyu Wang
42fba6480c merge 3.0 2022-06-30 17:54:34 +08:00
slzhou
82bd8a560f fix: reserved column should not be copied 2022-06-30 17:28:49 +08:00
Liu Jicong
94f07836d6 fix(tmq): set scan rsp offset correctly 2022-06-30 17:25:19 +08:00
wangmm0220
77fcf17ae1 fix:error in lock meta if group by json tag, need unlock if error happens 2022-06-30 17:10:34 +08:00
Liu Jicong
ca1c961f9c fix(tmq): set last scan status 2022-06-30 16:40:17 +08:00
wangmm0220
e751e20c76 fix:merge from 3.0 2022-06-30 16:25:43 +08:00
Xiaoyu Wang
1530b33991 feat: support 'select *, expr from ...' syntax 2022-06-30 16:16:05 +08:00
Liu Jicong
4695dc2dae feat(tmq): add snapshot test 2022-06-30 14:41:50 +08:00
dapan1121
c28c77a099 Merge branch '3.0' into feature/queryredirect 2022-06-30 14:35:15 +08:00
dapan1121
a535df7590 feat: query redirect 2022-06-30 11:04:49 +08:00
Liu Jicong
0f0fe6276a merge from 3.0 2022-06-29 21:33:10 +08:00
Liu Jicong
c2955a807b feat(tmq): offset support snapshot 2022-06-29 21:04:51 +08:00
wangmm0220
06552626e0 fix:disable some json test cases 2022-06-29 20:15:49 +08:00
wangmm0220
3725adc861 fix:merge from 3.0 2022-06-29 18:45:34 +08:00
wangmm0220
665e1ddde8 fix:add switch for buffer page debug log 2022-06-29 18:11:28 +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
dapan1121
914e06e8cb feat: query redirect 2022-06-29 17:15:08 +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
wangmm0220
873546bee5 fix:add log 2022-06-29 15:03:17 +08:00
dapan1121
07b46f9e3c Merge branch '3.0' into feature/queryredirect 2022-06-29 10:53:52 +08:00
Haojun Liao
f2b83dfb4a fix(query):check null ptr. 2022-06-29 10:35:07 +08:00
Haojun Liao
5efd5a3b6d fix(query):adjust api for retrieve lastrow in executor. 2022-06-28 23:24:20 +08:00
dapan1121
b99fd13152 add mock code 2022-06-28 17:21:24 +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
03fa247a2d other: merge 3.0. 2022-06-28 15:38:54 +08:00
Haojun Liao
be08ccaedc refactor:do internal refactor. 2022-06-28 15:35:51 +08:00
Haojun Liao
4a59e1300b other: merge 3.0. 2022-06-28 15:22:32 +08:00
Liu Jicong
383e7a495b fix(query): enable output check 2022-06-28 13:45:50 +08:00
54liuyao
acb7f040aa fix(stream): taosd crash when partition by tbname 2022-06-28 11:48:10 +08:00
dapan1121
4a55ed07b3 feature: query redirect 2022-06-28 10:34:51 +08:00
dapan1121
7da915fa67 Merge branch '3.0' into feature/queryredirect 2022-06-28 09:31:03 +08:00
wangmm0220
e2f4a2a03c Merge branch 'feature/TD-13041' of github.com:taosdata/TDengine into feature/TD-13041 2022-06-27 21:21:22 +08:00
wangmm0220
b6b4455689 fix:error in group by tag 2022-06-27 21:21:08 +08:00
wangmm0220
8e5099c44c Merge branch '3.0' into feature/TD-13041 2022-06-27 20:02:00 +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
c55bef32ff Merge branch 'feature/3.0_debug_wxy' of github.com:taosdata/TDengine into feature/3.0_debug_wxy 2022-06-27 16:25:40 +08:00
slzhou
b67c65313b fix: add group to multi-merge operator 2022-06-27 16:25:14 +08:00
wangmm0220
5557c2ef93 fix: add limit for json operator 2022-06-27 16:17:58 +08:00
Xiaoyu Wang
a334337755 feat: merge and merge scan add group sort field 2022-06-27 15:57:02 +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
02e450c590 fix(query): fix invalid object type. 2022-06-27 11:34:06 +08:00
wangmm0220
c190fa5bd9 fix: keep n rows if limit n 2022-06-27 10:51:47 +08:00
Haojun Liao
dbd8c300fa refactor: do tsdbread refactor. 2022-06-27 10:46:20 +08:00
wangmm0220
9fb4f943e7 fix: enable group by test cases 2022-06-27 10:14:36 +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
dapan1121
e851977da0 Merge branch '3.0' into enh/stopquery 2022-06-26 15:19:35 +08:00
Yihao Deng
a081c7c154
Merge branch '3.0' into feat/idxFix 2022-06-25 20:40:16 +08:00
yihaoDeng
5a4b51a968 fix index bug 2022-06-25 20:36:38 +08:00
Liu Jicong
0c1a51bad6 enh(stream): refine tqRetrieveDataBlock api 2022-06-25 20:03:29 +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
liuyao
76596b0c17
Merge pull request #14243 from taosdata/feature/TD-16728
feat(stream): auto pull data
2022-06-25 17:08:14 +08:00
shenglian-zhou
6c7aaecbe0
Merge pull request #14237 from taosdata/szhou/feature/table-merge-scan-operator
fix: restore table merge scan operator
2022-06-25 17:07:33 +08:00
54liuyao
10e90ce973 feat(stream): auto pull data 2022-06-25 16:44:14 +08:00
shenglian-zhou
8e2b93f0e1
Merge pull request #14240 from taosdata/szhou/feature/merge-interval-2
fix: overlapping intervals problem
2022-06-25 16:13:28 +08:00
slzhou
6adc19d443 fix: overlapping intervals problem 2022-06-25 15:20:11 +08:00
slzhou
a9f094613a fix: restore table merge scan operator 2022-06-25 13:52:52 +08:00
Haojun Liao
916adb82c6 enh(query): add user name when retrieving meta-data from mnode. 2022-06-25 12:10:34 +08:00
Haojun Liao
377bed853a Merge branch '3.0' into feature/3_liaohj 2022-06-25 11:44:24 +08:00
WANG MINGMING
f0b50add27
Merge pull request #14184 from taosdata/feature/TD-13041
feat:sort table group if needed & optimize partition by tag
2022-06-25 09:41:30 +08:00
Haojun Liao
54283f8726 fix(query): fix memory leak. 2022-06-24 23:02:48 +08:00
Haojun Liao
6c49aecb70 fix(query): fix memory leak. 2022-06-24 22:54:06 +08:00
shenglian-zhou
1d68274ade
Merge pull request #14206 from taosdata/szhou/feature/merge-interval-2
fix: fix bugs of less output when interval overlaps
2022-06-24 18:57:27 +08:00
wangmm0220
62ce467711 fix:error in compile 2022-06-24 17:37:30 +08:00
slzhou
1d7bf59fe8 fix: fix iteration bugs of last window result 2022-06-24 17:24:01 +08:00
dapan1121
9c9e8057bd Merge branch '3.0' into hotfix/resetquerycache 2022-06-24 16:59:05 +08:00
Liu Jicong
f53521cb8c test(stream): partition by tbname 2022-06-24 16:50:11 +08:00
wangmm0220
ff3cb336d8 fix:merge from 3.0 2022-06-24 16:01:58 +08:00
wangmm0220
9ac0a34e72 fix: disable group by tag cases 2022-06-24 15:57:33 +08:00
slzhou
2cc9c69146 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/merge-interval-2 2022-06-24 15:29:59 +08:00
slzhou
01f64b4d17 fix: fix bugs of less output when interval overlaps 2022-06-24 15:28:37 +08:00
Liu Jicong
26c1388237
Merge pull request #14201 from taosdata/feature/stream
refactor(stream): seperate stream scheduling and persistence
2022-06-24 15:25:31 +08:00
dapan1121
be341e1daa Merge branch '3.0' into hotfix/resetquerycache 2022-06-24 15:22:24 +08:00
Liu Jicong
a9606ea0eb Merge branch '3.0' into feature/stream 2022-06-24 14:41:17 +08:00
Liu Jicong
b884ca9db7 refactor(stream): seperate stream scheduling and persistence 2022-06-24 14:19:12 +08:00
wangmm0220
0d9ed6d60a fix:merge from 3.0 2022-06-24 13:51:33 +08:00
Xiaoyu Wang
096c292d78
Merge pull request #14179 from taosdata/feature/3.0_debug_wxy
feat: sql command 'show consumers' and 'show subscriptions'
2022-06-24 12:51:21 +08:00
wangmm0220
4f305c74d1 fix: table group error in stream 2022-06-24 11:24:31 +08:00
Liu Jicong
35e234f1f0
Merge pull request #14187 from taosdata/feature/stream
fix(stream): memory leak
2022-06-24 09:39:53 +08:00
Liu Jicong
f2f5d68f3b fix(stream): memory leak 2022-06-23 22:05:00 +08:00
wangmm0220
a95f98f7e7 feat:merge from 3.0 2022-06-23 20:50:48 +08:00
wangmm0220
3799db4366 feat:sort table group if needed 2022-06-23 20:46:11 +08:00
shenglian-zhou
e7d86e2c24
Merge pull request #14162 from taosdata/szhou/feature/sort-group-2
fix: fix empty downstream input for group sort operator
2022-06-23 20:44:21 +08:00
shenglian-zhou
d76d8f87e3
Merge pull request #14172 from taosdata/szhou/feature/misc
fix: set correct operator blocking and add closing rpc trace to udfd
2022-06-23 20:44:05 +08:00
wangmm0220
26cceaf172 feat:sort table group if needed 2022-06-23 19:58:12 +08:00
shenglian zhou
55a927e2be Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/misc 2022-06-23 18:56:15 +08:00
Xiaoyu Wang
0b9eb79bf7 merge 3.0 2022-06-23 18:08:47 +08:00
Xiaoyu Wang
4fcd667bf6 feat: sql command 'show consumers' and 'show subscriptions' 2022-06-23 18:03:15 +08:00
Haojun Liao
e3c4215ac9 Merge branch '3.0' into feature/3_liaohj 2022-06-23 17:39:58 +08:00
liuyao
19fab3fe8f
Merge pull request #14165 from taosdata/feature/TD-16728
fix(stream): valgrind memory error
2022-06-23 17:21:34 +08:00
Liu Jicong
1d6682c535
Merge pull request #14166 from taosdata/feature/stream
feat(tmq): add with meta config
2022-06-23 16:54:09 +08:00
shenglian zhou
c449b7208a fix: set correct operator blocking and add closing rpc trace to udfd 2022-06-23 16:52:06 +08:00
54liuyao
d6ccf5720d fix(stream): valgrind memory error 2022-06-23 16:33:52 +08:00
Liu Jicong
bd64bebb63
Merge branch '3.0' into feature/3_liaohj 2022-06-23 16:00:17 +08:00
Liu Jicong
71bda7e658 feat(tmq): add with meta config 2022-06-23 15:56:54 +08:00
shenglian zhou
cbacd1fd45 fix: fix empty downstream input for group sort operator 2022-06-23 15:35:19 +08:00
Shengliang Guan
750a046e31
Merge pull request #14153 from taosdata/enh/delete
enh: modify delete output res
2022-06-23 14:52:33 +08:00
wangmm0220
c8f223a6ec fix:merge from 3.0 2022-06-23 14:26:26 +08:00
dapan1121
95c1b00056 enh: modify delete output res 2022-06-23 14:25:30 +08:00
Liu Jicong
2af4a4d250 merge from 3.0 2022-06-23 14:15:33 +08:00
dapan1121
9cee07bfca fix: fix reset query cache crash issue 2022-06-23 13:53:14 +08:00
shenglian zhou
f4ec009a00 Merge branch '3.0' of github.com:taosdata/TDengine into feature/3_liaohj 2022-06-23 13:49:10 +08:00
Liu Jicong
4ed47a0296 feat(tmq): scan tsdb as snapshot 2022-06-23 13:35:24 +08:00
dapan1121
b2ff536050
Merge pull request #14118 from taosdata/feature/showdnodevariables
feat: show dnode variables
2022-06-23 13:23:06 +08:00
Haojun Liao
4576b0a94d fix(query): fix syntax error. 2022-06-23 11:07:14 +08:00
Haojun Liao
2d31d3cb43 other: merge 3.0 2022-06-23 10:37:07 +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
Haojun Liao
ce7e7fe23d refactor:remove some debug info. 2022-06-23 10:13:35 +08:00
Haojun Liao
0457fab077 fix(query): adjust the capacity of ssdatablock. 2022-06-23 10:03:43 +08:00
Haojun Liao
673261a1bd fix(query): set correct varchar length. 2022-06-23 09:42:29 +08:00
slzhou
849cb8d1b3 feat: split session and state window on stable 2022-06-23 08:52:47 +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
Haojun Liao
a0795fdd10 fix(query): set correct varchar length. 2022-06-23 00:47:28 +08:00
Haojun Liao
d3d258caa9 fix(query): prepare buffer before copying data. 2022-06-22 23:05:34 +08:00
shenglian zhou
faf5424b18 feat: add group sort operator 2022-06-22 23:01:55 +08:00
shenglian-zhou
1047da047a
Merge pull request #14135 from taosdata/szhou/feature/sort-group-2
feat: add multiple group tsdb reads to table merge scan
2022-06-22 23:01:19 +08:00
Liu Jicong
ab01fec5e4
Merge pull request #14134 from taosdata/feature/stream
feat(stream): stream support multiple type input
2022-06-22 22:52:35 +08:00
shenglian zhou
fd79fcc481 feat: add multiple group tsdb reads to table merge scan 2022-06-22 22:32:29 +08:00
shenglian zhou
c99f7cac79 feat: add multiple group tsdb reads to table merge scan 2022-06-22 22:00:52 +08:00
shenglian zhou
df130c1bcb feat: add multiple group tsdb reads to table merge scan 2022-06-22 21:56:55 +08:00
Liu Jicong
14a488c92c feat(stream): stream support multiple type input 2022-06-22 21:21:39 +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
Haojun Liao
bf0caa2038 Merge branch '3.0' into feature/3_liaohj 2022-06-22 20:32:02 +08:00
shenglian zhou
8a8d3f160b feat: add multiple group tsdb reads to table merge scan 2022-06-22 20:26:44 +08:00
Haojun Liao
0a884d58bb refactor: remove unnecessary code. 2022-06-22 19:41:57 +08:00
Haojun Liao
b097e78708 fix(query): clear buffer before set data. 2022-06-22 19:40:59 +08:00
Haojun Liao
c79eda9f70 fix(query): prepare the buffer before serialize the retrieved data. 2022-06-22 19:34:56 +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
acb3d121f4 feat: prepare for multiple group tsdb reads 2022-06-22 18:53:00 +08:00
shenglian zhou
c1f5f825b7 feat: prepare for multiple group tsdb reads 2022-06-22 18:51:16 +08:00
wangmm0220
f967cff0fa feat: add table group info if need sort table by group 2022-06-22 18:14:26 +08:00
Haojun Liao
aa4d863598 fix(query): fix syntax error. 2022-06-22 17:36:48 +08:00
Haojun Liao
5c1e7f3114 Merge branch '3.0' into feature/3_liaohj 2022-06-22 17:23:57 +08:00
Haojun Liao
14ddf539e0 refactor(query): do some internal refactor. 2022-06-22 17:21:04 +08:00
dapan1121
66cfe3a3fc feat: show dnode variables 2022-06-22 17:17:18 +08:00
WANG MINGMING
15eb9c485e
Merge pull request #14069 from taosdata/3.0
feat:merge from 3.0
2022-06-22 16:33:15 +08:00
wangmm0220
db34294bed opt: filter by tag 2022-06-22 16:32:10 +08:00
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
Liu Jicong
45489e7481
Merge pull request #14101 from taosdata/feature/stream
fix(wal): return correct msg for open wal file
2022-06-22 13:28:22 +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
Liu Jicong
82a1cc8e41 fix(wal): return correct msg for open wal file 2022-06-22 11:21:33 +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
580a22d327 fix: reset prefetched datablock after it is used 2022-06-22 10:47:23 +08:00
shenglian zhou
fadc11b685 feat: add compare parameter that enable/disable group id comparision 2022-06-22 10:21:05 +08:00
shenglian zhou
aa46624bc5 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/sort-group-2 2022-06-22 09:46:40 +08:00
Liu Jicong
557d69d14a
Merge pull request #14087 from taosdata/feature/stream
fix(stream): convert datablk to submit blk
2022-06-22 09:43:48 +08:00
shenglian zhou
faebe29ab7 feat: group sort read child input during tsortOpen 2022-06-22 09:42:04 +08:00
Haojun Liao
1568722e8e fix(query): reserve correct buffer size before retrieve datablock from vnode. 2022-06-22 09:31:45 +08:00
Liu Jicong
5005ee3369
Merge branch '3.0' into feature/stream 2022-06-21 21:50:03 +08:00
Zhiqiang Wang
04771a6d82
Merge pull request #14079 from taosdata/fix/ZhiqiangWang/TD-16357-fix-sim-test-error
test: fix sim test error
2022-06-21 21:50:01 +08:00
Liu Jicong
f2b66cc16a fix(stream): convert datablk to submit blk 2022-06-21 21:48:24 +08:00
54liuyao
9f6a4b3ddb feat(stream): add delete type 2022-06-21 20:56:57 +08:00
wangmm0220
e7faf69981 feat:support tagCond & tagIndexCond 2022-06-21 20:53:19 +08:00
afwerar
9dff7b93c6 test: fix sim test error 2022-06-21 20:04:55 +08:00
slzhou
805ce63fdd feat: add sort group operator 2022-06-21 18:47:39 +08:00
54liuyao
038e6fbe66 fix(tmq): tmq assert 2022-06-21 18:46:15 +08:00
Haojun Liao
d8c778e468 feature(query):add lastrow scan operator. 2022-06-21 16:15:17 +08:00
wangmm0220
9883d670c6 opti: patition by tag 2022-06-21 13:52:07 +08:00
shenglian-zhou
0efc892933
Merge pull request #14042 from taosdata/szhou/feature/sort-group
fix: remove groupid comparision from msortCompare
2022-06-21 11:04:02 +08:00
wangmm0220
c79be2dac6 feat: merge from 3.0 2022-06-21 10:58:50 +08:00
wangmm0220
8494bf17be opt:partition by tag 2022-06-21 10:52:09 +08:00
Haojun Liao
e9b0d93907
Merge pull request #14041 from taosdata/feature/3_liaohj
feature(query): support interp function, and do some internal refactor.
2022-06-21 10:45:01 +08:00
slzhou
c17635214e Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/sort-group 2022-06-21 09:45:44 +08:00
slzhou
33ef665989 fix: remove groupid comparision from msortCompare 2022-06-21 09:45:27 +08:00
Haojun Liao
bbe1deaf00 other: merge 3.0 2022-06-21 09:44:37 +08:00
54liuyao
fe653c948e fix(stream): window close 2022-06-21 09:42:48 +08:00
Haojun Liao
e5d25f4634 fix(query): set correct ts column index in interp executor. 2022-06-21 09:41:35 +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
Liu Jicong
f5f8100d25
Merge branch '3.0' into feature/stream 2022-06-20 20:19:08 +08:00
Liu Jicong
450675f672 feat(stream): support snode 2022-06-20 20:18:34 +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
Cary Xu
565a11330d
Merge pull request #14010 from taosdata/feature/TD-14481-3.0
feat: fetch rsma result by timer supported
2022-06-20 17:12:43 +08:00
shenglian zhou
a28a275dff fix: fix eliminate projection bugs 2022-06-20 16:39:19 +08:00
Liu Jicong
1505667897
Merge branch '3.0' into feature/stream 2022-06-20 15:34:04 +08:00
Cary Xu
820cc89c3a Merge branch '3.0' into feature/TD-14481-3.0 2022-06-20 15:21:41 +08:00
Cary Xu
fcfd5c250d feat: fetch rsma result by timer supported 2022-06-20 15:21:30 +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
Liu Jicong
1daa62e7f7 merge from 3.0 2022-06-20 15:04:50 +08:00
Liu Jicong
53ef66961a feat(stream): support snode 2022-06-20 14:29:18 +08:00
shenglian zhou
056301fb7b fix: disable eliminate projection when repeat proj column name 2022-06-20 14:22:50 +08:00
Haojun Liao
ad0595b9ec Merge branch '3.0' into feature/3_liaohj 2022-06-20 14:08:21 +08:00
Haojun Liao
868185a3b9 refactor(query): do some internal refactor. 2022-06-20 13:47:13 +08:00
Haojun Liao
b66e0e718b fix(query): fix output column in show super table block distribution. 2022-06-20 13:42:59 +08:00
Hongze Cheng
a889ac3edc Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-06-20 05:13:12 +00:00
Haojun Liao
659e429b87 feature(query): support show table block distribution. 2022-06-20 12:54:46 +08:00
54liuyao
5301dece4e feat(stream): add ci 2022-06-20 11:35:05 +08:00
wangmm0220
742cccba55 feat: merge from 3.0 2022-06-20 10:42:40 +08:00
Hongze Cheng
21ea4e3a0b more work 2022-06-20 02:38:08 +00: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
shenglian zhou
8c955ef017 fix: limit/slimit would prevent optimization projection elimination 2022-06-20 07:52:29 +08:00
shenglian zhou
218d455dcc fix: elimate projection error 2022-06-19 22:32:26 +08:00
shenglian zhou
413d26ee30 fix: add column to datablock even no output 2022-06-19 22:00:57 +08:00
shenglian zhou
0e905bb3c1 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/project-elimation 2022-06-19 21:41:08 +08:00
shenglian zhou
8c402d2aa3 fix: column target/output desc match error 2022-06-19 21:39:35 +08:00
Xiaoyu Wang
c963f92dda
Merge pull request #13990 from taosdata/feature/3.0_debug_wxy
feat: sql function 'interp'
2022-06-19 20:09:15 +08:00
Xiaoyu Wang
bac6e27c20 feat: sql command 'interp' 2022-06-19 19:39:12 +08:00
WANG MINGMING
45a247c062
Merge pull request #13933 from taosdata/feature/TD-16524
feat: add ttl/comment function
2022-06-19 11:18:14 +08:00
wangmm0220
082a5de790 fix:merge from 3.0 2022-06-18 20:04:15 +08:00
Haojun Liao
2f4bcd2625 enh(query): add more info about tablescan. 2022-06-18 20:03:27 +08:00
54liuyao
8c47a18dbf feat(stream): semi session operator 2022-06-18 19:57:08 +08:00
wangmm0220
746f4759b0 fix:merge from 3.0 2022-06-18 19:40:36 +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
WANG MINGMING
a64013461f
Merge branch '3.0' into feature/TD-16524 2022-06-18 11:11:54 +08:00
Hongze Cheng
b1410cc52c merge make it compile 2022-06-18 02:09:14 +00: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
Hongze Cheng
a200ea85db Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-06-17 12:23:01 +00:00
Haojun Liao
d2f8a330e1 refactor(query): do some internal refactor. 2022-06-17 20:09:49 +08:00
Haojun Liao
0f92fb02f9 enh(query): add new api. 2022-06-17 20:07:55 +08:00
Haojun Liao
45d379473f fix(query): fix syntax error. 2022-06-17 19:49:43 +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
wangmm0220
6743b544e9 fix: error in json 2022-06-17 18:32:08 +08:00
dapan1121
211adf20af
Merge pull request #13875 from taosdata/feature/showapps
feat: support show apps command
2022-06-17 18:20:05 +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
liuyao
f9fe106a70
Merge pull request #13929 from taosdata/feature/TD-16616
feat(stream): distribute stream session plan
2022-06-17 16:30:01 +08: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
WANG MINGMING
b3d2daeb72
Merge branch '3.0' into feature/TD-16524 2022-06-17 14:51:33 +08:00
dapan1121
f0c53fb982 Merge branch '3.0' into feature/showapps 2022-06-17 14:44:44 +08:00
Hongze Cheng
189f99eb74 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-06-17 06:41:12 +00:00
Haojun Liao
9c6a9f1c92 fix(query): set correct source status in merge sort. 2022-06-17 14:25:53 +08:00
Hongze Cheng
6f80993d56 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-06-17 02:50:34 +00:00
Haojun Liao
1b907e847c other: merge 3.0 2022-06-17 09:26:16 +08:00
Haojun Liao
af7f3e3252 refactor(query): set correct buffer pages. 2022-06-17 09:20:19 +08:00
Haojun Liao
feebe90a1f fix(query): set correct buffer page size. 2022-06-17 09:18:53 +08:00
Haojun Liao
5837c141c9
Merge pull request #13914 from taosdata/feature/3_liaohj
fix(query): set null for null value in groupby
2022-06-16 22:35:10 +08:00
shenglian-zhou
9ebc581b6d
Merge pull request #13910 from taosdata/szhou/fix/table-merge-scan-buf-size
fix: table merge scan sort buf size
2022-06-16 22:11:31 +08:00
Haojun Liao
cc638a2236 fix(query): set null for null value in groupby 2022-06-16 21:13:18 +08:00
Haojun Liao
0fae75ebdd
Merge pull request #13904 from taosdata/feature/3_liaohj
fix(query): adjust group limitation.
2022-06-16 21:12:27 +08:00
dapan1121
b3f9f81b61 support show apps 2022-06-16 21:06:04 +08:00
wangmm0220
2bd2996e74 feat:add comment function 2022-06-16 20:45:00 +08:00
shenglian zhou
67540f2504 fix: table merge scan sort buf size 2022-06-16 19:49:42 +08:00
Hongze Cheng
9d58beb2f4 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-06-16 11:21:02 +00:00
Hongze Cheng
760905f632 refact 2022-06-16 11:14:56 +00:00
liuyao
39e2a646e9
Merge pull request #13901 from taosdata/feature/TD-16512
feat(stream): stream partition by
2022-06-16 18:39:34 +08:00
Haojun Liao
ab47de1dae fix(query): adjust group limitation. 2022-06-16 18:30:22 +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
0bdbf866c0 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-06-16 10:19:26 +00:00
54liuyao
7b98430906 feat(stream): stream partition by 2022-06-16 18:11:39 +08:00
Hongze Cheng
5bd3732adf refact more code 2022-06-16 09:53:07 +00:00
Haojun Liao
dfce7e7261 other:merge 3.0 2022-06-16 17:49:58 +08:00
Haojun Liao
bd518f3f71 fix(query): remove group info during sort. 2022-06-16 17:39:33 +08:00
Haojun Liao
6e328d42ca
Merge pull request #13897 from taosdata/feature/3_liaohj
fix(query): set correct error code.
2022-06-16 17:33:41 +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
Haojun Liao
87300b2ab0 fix(query): set correct error code. 2022-06-16 16:21:01 +08:00
Haojun Liao
2c746848fc
Merge pull request #13877 from taosdata/feature/3_liaohj
enh(query): partition by supports arithmetic expr
2022-06-16 16:18:50 +08:00
Haojun Liao
5492155009 fix(query): fix syntax error on windows platform. 2022-06-16 14:49:37 +08:00
Hongze Cheng
07792850cb refact code 2022-06-16 06:29:28 +00:00
Haojun Liao
75e0eaa53f fix(query): add null pointer check. 2022-06-16 13:53:02 +08:00
Haojun Liao
102fdf2916 fix(query): fix the syntax error in unit test. 2022-06-16 11:52:58 +08: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
Xiaoyu Wang
f6f4f65a56 merge 3.0 2022-06-16 09:55:32 +08:00
Xiaoyu Wang
e52429e31b merge 3.0 2022-06-16 09:31:22 +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
Haojun Liao
4f8c84cf02 fix(query): remove invalid colId check. 2022-06-15 20:48:12 +08:00
slzhou
8efaa65ade fix: use different datablock for each sort source 2022-06-15 20:12:04 +08:00
Xiaoyu Wang
7f78d4a79b feat: partition by tags optimize 2022-06-15 19:08:25 +08:00
liuyao
6e49b7bbd7
Merge pull request #13862 from taosdata/feature/TD-16512
feat(stream): stream state&session support partition by
2022-06-15 17:21:03 +08:00
slzhou
b6bddd3fb1 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/multi-tb-merge-scan 2022-06-15 17:13:09 +08:00
Liu Jicong
fd9bb8db73
Merge pull request #13860 from taosdata/feature/stream
feat(stream): trigger mode add max delay
2022-06-15 17:11:18 +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
slzhou
562ec27c7b feat: add merge table scan operator 2022-06-15 16:40:43 +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
Liu Jicong
8eb08fa0d4 feat(stream): trigger mode add max delay 2022-06-15 16:11:20 +08:00
54liuyao
d8c2a68f27 feat(stream): update data fo partition by 2022-06-15 15:35:51 +08:00
shenglian zhou
9f9a55f4f0 fix: change table scan to table merge scan 2022-06-15 08:56:45 +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
Haojun Liao
93dfebe071 refactor(query): do some internal refactor. 2022-06-14 19:47:25 +08:00
shenglian zhou
4fa20a1e76 feat: add table merge scan operator 2022-06-14 19:44:48 +08:00
shenglian zhou
1b1d1d1c4a feature: add table merge scan operator 2022-06-14 18:17:18 +08:00
WANG MINGMING
32fbb8aa59
Merge pull request #13801 from taosdata/feature/TD-15956
opt: optimize generating groupid in partition/group by tag
2022-06-14 15:55:38 +08:00
Haojun Liao
c56be8f871 enh(query): add interp function. 2022-06-14 14:45:17 +08:00
wangmm0220
7435221e32 opt: optimize generating groupid in partition/group by tag 2022-06-14 14:40:01 +08:00
wangmm0220
cb85ee6d3c opt: optimize generating groupid in partition/group by tag 2022-06-14 13:36:54 +08:00
liuyao
f218e73ffe
Merge pull request #13793 from taosdata/feature/TD-16512
feat(stream): partition by
2022-06-14 13:12:48 +08:00
Haojun Liao
531b85ce22 enh(query): add interp function. 2022-06-14 11:54:13 +08:00
54liuyao
22f86ee529 feat(stream): partition by 2022-06-14 11:15:10 +08:00
wangmm0220
fc32f71628 opt: optimize group by tag 2022-06-13 19:59:30 +08:00
Xiaoyu Wang
a5ce5192f2 merge 3.0 2022-06-13 18:37:25 +08:00
shenglian-zhou
5507931dee
Merge pull request #13766 from taosdata/szhou/feature/multiwaymerge
feature: explain mulitway merge and merge interval optimization
2022-06-13 16:34:55 +08:00
Haojun Liao
0166d40c68
Merge pull request #13759 from taosdata/feature/3_liaohj
fix(query): add check for data completed.
2022-06-13 15:10:46 +08:00
shenglian zhou
dc56c636ea Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/multiwaymerge 2022-06-13 15:08:26 +08:00
shenglian zhou
140e15bc8d fix: merge interval operator optimization and explain analyze multimerge operator 2022-06-13 15:07:54 +08:00
Xiaoyu Wang
1863bbee9a merge 3.0 2022-06-13 15:01:29 +08:00
Xiaoyu Wang
380a071551 fix: handle the memory leak of parser 2022-06-13 14:54:38 +08:00
dapan1121
2eed1d4f2f
Merge pull request #13690 from taosdata/feature/qnode
feat: support mnode/vnode epset update
2022-06-13 14:02:06 +08:00
Haojun Liao
0a414b4934 fix(query): add check for data completed. 2022-06-13 13:32:02 +08:00
Haojun Liao
3e5b18d4b8 fix(query): add null pointer check. 2022-06-13 10:23:16 +08:00
Haojun Liao
eee5408d25 Merge branch 'feature/3_liaohj' of github.com:taosdata/tdengine into feature/3_liaohj 2022-06-11 19:28:44 +08:00
Haojun Liao
0b8dd61f41 fix(query): fix some memory leaks. 2022-06-13 09:33:08 +08:00
Haojun Liao
1ad2b5c92b fix(query): fix memory leak. 2022-06-12 23:37:29 +08:00
dapan1121
0046593d4f
Merge branch '3.0' into feature/qnode 2022-06-11 17:58:53 +08:00
54liuyao
c8af8daa61 feat(stream): state\session max delay 2022-06-11 16:39:59 +08:00
dapan1121
d3a56d87ca
Merge branch '3.0' into feature/qnode 2022-06-11 16:34:21 +08:00
Haojun Liao
4ab97e81cf
Merge pull request #13717 from taosdata/feature/3_liaohj
refactor: do some internal refactor, and add some check before create exchange operator
2022-06-11 15:20:52 +08:00
liuyao
3097bf2af8
Merge pull request #13716 from taosdata/feature/TD-16435
feat(stream): stream max delay
2022-06-11 15:11:39 +08:00
Haojun Liao
a91053300c other: merge 3.0 2022-06-11 14:54:31 +08:00
Haojun Liao
9f4e89a7e2 Merge remote-tracking branch 'origin/feature/3_liaohj' into feature/3_liaohj 2022-06-11 14:52:33 +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
Haojun Liao
a80529e810
Merge pull request #13688 from taosdata/feature/3_liaohj
fix(query): fix invalid write.
2022-06-11 14:50:35 +08:00
54liuyao
d210ef1c0e feat(stream): stream max delay 2022-06-11 14:27:45 +08:00
Haojun Liao
94c8ca1e06 fix(query): add null pointer check. 2022-06-11 14:10:00 +08:00
Haojun Liao
514e86ff26 fix(query): clear flag before assign data. 2022-06-11 11:28:59 +08:00
dapan1121
23e26d569b Merge branch '3.0' into feature/qnode 2022-06-11 11:21:27 +08:00
54liuyao
ee5517d5ee feat(stream): combine function spread\elapsed\histogram\hll 2022-06-11 10:28:44 +08:00
Haojun Liao
afe612e369 refactor: remove unnecessary check. 2022-06-11 00:51:59 +08:00
Haojun Liao
516750bd42 refactor: remove unnecessary check. 2022-06-10 23:58:17 +08:00
dapan1121
7923d51f62 Merge branch '3.0' into feature/qnode 2022-06-10 20:04:19 +08:00
shenglian zhou
c038848f72 feature: output results in merge-interval agg buf when exhausted input stream 2022-06-10 18:33:24 +08:00
dapan1121
0e9203ebf6 Merge branch '3.0' into feature/qnode 2022-06-10 17:09:11 +08:00
dapan1121
1b196df8ed update epset 2022-06-10 17:07:24 +08:00
Haojun Liao
63269c19de fix(query): fix invalid write. 2022-06-10 16:45:26 +08:00
shenglian zhou
433286c0f9 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/merge-interval 2022-06-10 16:31:25 +08:00
liuyao
b5f6272bc8
Merge pull request #13682 from taosdata/feature/TD-16285
feat(stream): distribute stream interval
2022-06-10 16:23:06 +08:00
54liuyao
c790ac64d6 feat(stream): distribute stream interval 2022-06-10 15:54:20 +08:00
Liu Jicong
2be81daf2e
Merge pull request #13681 from taosdata/feature/stream
refactor(tsdb): tsdb reader open
2022-06-10 15:53:03 +08:00
Liu Jicong
6fcee0e244 refactor(tsdb): tsdb reader open 2022-06-10 15:20:57 +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
7917bfc296 fix(query): set the correct tag filter condition. 2022-06-10 10:49:21 +08:00
Haojun Liao
85d4ee6031 refactor: do some internal refactor. 2022-06-10 10:29:53 +08:00
shenglian zhou
62780bbfb4 feature: add merge interval operator 2022-06-10 10:24:52 +08:00
shenglian zhou
c97dcbcf76 feature: add merge interval operator 2022-06-10 09:55:14 +08:00
Haojun Liao
c55aae2c0c enh(query): block distribution query is supported. 2022-06-10 09:51:57 +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
WANG MINGMING
fe6014eaf1
Merge pull request #13632 from taosdata/fix/TD-16289
fix:err in tag scan
2022-06-09 16:43:16 +08:00
Liu Jicong
88313b9068
Merge pull request #13619 from taosdata/feature/stream
fix(query): decode
2022-06-09 13:03:35 +08:00
Liu Jicong
9e4b3adc7c fix(stream): msg dispatch 2022-06-09 11:45:06 +08:00
wangmm0220
ac5f09251d fix:err in tag scan 2022-06-09 11:09:23 +08:00
shenglian-zhou
0b549e9de8
Merge pull request #13629 from taosdata/szhou/feature/multiwaymerge
fix: add group id to sort operator
2022-06-09 10:46:04 +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
9afcca0355 fix: add group id to create initial source 2022-06-09 09:36:14 +08:00
shenglian-zhou
9239f6064b
Merge pull request #13626 from taosdata/szhou/feature/multiwaymerge
fix: add  group id to multiway merge operator
2022-06-09 09:33:52 +08:00
shenglian zhou
1783c971e9 fix: add group id to multiway merge operator 2022-06-09 08:47:19 +08:00
Liu Jicong
6733636a1a
Merge pull request #13601 from taosdata/feature/retrievemsg
refactor: do some internal refactor.
2022-06-08 21:27:16 +08:00
shenglian-zhou
a4ac8b1c03
Merge pull request #13613 from taosdata/szhou/feature/multiwaymerge
fix: compare group id first when choose from loser tree
2022-06-08 20:28:15 +08:00
shenglian zhou
eed875268c fix: compare group id first when choose tuple from loser tree 2022-06-08 18:59:26 +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
54liuyao
a8da3cfd14 feat(stream): stream state support apercentile 2022-06-08 18:20:43 +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
Haojun Liao
9bee5e2cee refactor: do some internal refactor. 2022-06-08 16:08:26 +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
Xiaoyu Wang
dd38da7982 merge 3.0 2022-06-08 10:46:11 +08:00
54liuyao
262a221c12 distributed interval 2022-06-08 09:33:11 +08:00
Xiaoyu Wang
08209f30ae Merge remote-tracking branch 'origin/3.0' into feature/3.0_wxy 2022-06-08 09:26:16 +08:00
Xiaoyu Wang
e8e68fab9a feat: physical plan add clone interface 2022-06-07 20:59:44 +08:00
Liu Jicong
931a763ebc
Merge pull request #13578 from taosdata/feature/stream
enh(stream): direct sink if not dispatch
2022-06-07 20:49:20 +08:00
Liu Jicong
46bea47b62 enh(stream): direct sink if not dispatch 2022-06-07 19:58:06 +08:00
shenglian zhou
a9f019f6f2 feat: multi-way merge sort 2022-06-07 18:52:54 +08:00
wangmm0220
9221513d97 fix:memory leak & memory problem & sml params 2022-06-07 18:37:35 +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
Hongze Cheng
f6c38f09db Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/row_refact 2022-06-07 05:52:19 +00:00
Hongze Cheng
6917ff2685 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/row_refact 2022-06-07 01:23:53 +00:00
dapan1121
16b84f575f Merge branch '3.0' into featuer/delete 2022-06-07 09:13:47 +08:00
dapan1121
42d02a7ea6 fix uidlist issue 2022-06-07 09:11:53 +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
Hongze Cheng
c28aac66dc more 2022-06-06 12:22:21 +00:00
Xiaoyu Wang
ce3aacf4d7 feat: order by distributed split 2022-06-06 18:07:34 +08:00
shenglian zhou
72c71141b2 feat: support multiway sort merge 2022-06-06 15:16:20 +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
Yihao Deng
6c57bb2b07
Merge pull request #13480 from taosdata/enh/json_index
Enh/json index
2022-06-05 22:34:30 +08:00
yihaoDeng
0ca6a5ae27 refactor json index 2022-06-05 21:46:07 +08:00
Xiaoyu Wang
1c3e02aa1f
Merge pull request #13476 from taosdata/feature/3.0_wxy
feat: sql command 'delete from'
2022-06-05 19:15:38 +08:00
Xiaoyu Wang
55d41c8f5c feat: sql command 'delete from' 2022-06-05 15:48:06 +08:00
Haojun Liao
52ae8f0efa other: merge 3.0 2022-06-05 15:45:01 +08:00
Haojun Liao
e25560b640 refactor: do some internal refactor. 2022-06-05 15:35:34 +08:00
Haojun Liao
6bd6822637 refactor: remove unused functions. 2022-06-05 15:26:25 +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
Haojun Liao
338f6eea71 fix(query): fix invalid free in exchange. 2022-06-05 00:47:03 +08:00
WANG MINGMING
8566917971
Merge pull request #13433 from taosdata/feature/TD-13041
feat:add json test case
2022-06-04 23:18:09 +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
Xiaoyu Wang
7fa2d3d0d0
Merge pull request #13467 from taosdata/feature/3.0_wxy
feat: sql command 'delete from'
2022-06-04 20:18:18 +08:00
Xiaoyu Wang
74026205a7 feat: sql command 'delete from' 2022-06-04 19:54:55 +08:00
wangmm0220
a2ebeda89c feat: add sort/group logic for json 2022-06-04 19:28:30 +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
a3033b59e6 fix:fix error in table scan by group 2022-06-04 11:19:38 +08:00
wangmm0220
f1860b7918 fix:fix error in table scan by group 2022-06-04 10:25:55 +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
Cary Xu
7fceb5a709 other: code optimization and do more check 2022-06-02 10:22:34 +08:00
wangmm0220
eb82ac04a0 fix:fix error in new tag format 2022-06-01 13:06:25 +08:00
wangmm0220
f99e66df32 fix:fix error in new tag format 2022-06-01 10:29:10 +08:00
wangmm0220
19b0932781 feat:merge from 3.0 2022-05-31 23:46:04 +08:00
dapan1121
d85457833f
Merge pull request #13289 from taosdata/feature/qnode
feat: scheduler based on load
2022-05-31 19:59:41 +08:00
Yihao Deng
a8845fff3b
Merge branch '3.0' into enh/supportTagFlt 2022-05-31 18:53:18 +08:00
yihaoDeng
64ffbc1eea enh: support tag filter 2022-05-31 18:34:17 +08:00
dapan1121
717acef00d
Merge branch '3.0' into feature/qnode 2022-05-31 17:50:50 +08:00
wangmm0220
816cea07f9 feat:add new logic for new tag format 2022-05-31 17:49:33 +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
Xiaoyu Wang
2dd1771f39 fix: problems of some function parameters with negative numbers 2022-05-30 19:08:14 +08:00
wangmm0220
6c38d716a1 feat:add test for operator encode/decode 2022-05-30 12:00:51 +08:00
wangmm0220
f37388514c feat:add encode/decode for operator 2022-05-29 00:26:50 +08:00
WANG MINGMING
99966e73ae
Merge pull request #13177 from taosdata/3.0
3.0
2022-05-29 00:23:37 +08:00
wangmm0220
650a6a85a7 feat:add encode/decode for operator 2022-05-28 23:48:31 +08:00
wangmm0220
5ebd2ec810 feat:add encode/decode for operator 2022-05-28 23:26:22 +08:00
dapan1121
5da1ead67b
Merge pull request #13174 from taosdata/feature/qnode
fix: fix memory leak
2022-05-28 22:44:00 +08:00
Yihao Deng
910b2b1a50
Merge pull request #13172 from taosdata/enh/rpcRefactor
enh: refactor rpc code
2022-05-28 22:15:47 +08:00
dapan1121
5ce7dd2a4d qnode load 2022-05-28 22:13:26 +08:00
Yihao Deng
e93714226a
Merge branch '3.0' into enh/rpcRefactor 2022-05-28 21:49:15 +08:00
yihaoDeng
1d2e13c985 enh: refactor rpc code 2022-05-28 21:10:09 +08:00
afwerar
7b540d91d9 fix(os): add win ctest 2022-05-28 21:08:50 +08:00
Yihao Deng
465278786a
Merge pull request #13159 from taosdata/enh/tagFlt
Enh/tag flt
2022-05-28 20:03:43 +08:00
Yihao Deng
7710766583
Merge branch '3.0' into enh/tagFlt 2022-05-28 18:40:54 +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
Cary Xu
9b4c9e4802 enh: tag refactor for normal tags 2022-05-28 17:16:04 +08:00
yihaoDeng
6acbe7e777 enh: support tag filter 2022-05-28 16:15:24 +08:00
slzhou
94c42b9230 fix: table scan operator change time windows index when reset read handle 2022-05-28 08:45:22 +08:00
wangmm0220
780644c135 feat:add encode/decode for operator 2022-05-27 23:21:41 +08:00
slzhou
ee9c4c6390 fix: table scan operator for reset read handle 2022-05-27 22:22:23 +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
yihaoDeng
9678b81725 enh: update index interface 2022-05-27 19:54:22 +08:00
slzhou
860f7270fb ehance: table scan operator accepts many time ranges 2022-05-27 19:50:22 +08:00
Haojun Liao
349ef38ce4
Merge pull request #13083 from taosdata/feature/3_liaohj
fix(query): set the gid for stream result.
2022-05-27 18:30:27 +08:00
yihaoDeng
c47371c877 change filter interface 2022-05-27 18:13: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
a78fd74dc6 fix(query): set group id in stream scanner. 2022-05-27 15:46:07 +08:00
Haojun Liao
285bf707e0 fix(query): set the gid for stream result. 2022-05-27 15:00:33 +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
wangmm0220
3e94a85629 fix: remove table group code in 2.x 2022-05-26 23:05:06 +08:00
wangmm0220
750b7ccec9 fix: remove table group code in 2.x 2022-05-26 21:45:49 +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
54liuyao
e87ba7d526 fix(stream): function error 2022-05-26 17:46:52 +08:00
liuyao
ed31fc754e
Merge branch '3.0' into feature/TD-16011 2022-05-26 17:33:59 +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
Hongze Cheng
b40e3671a4 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/two_versions 2022-05-26 08:32:35 +00:00
Hongze Cheng
fe22f0f6d3 use two version in server and refact 2022-05-26 08:29:52 +00: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
WANG MINGMING
dfbd780b5b
Merge pull request #13004 from taosdata/3.0
3.0
2022-05-26 09:56:37 +08:00
wangmm0220
8db0315341 feat: add tag condition 2022-05-25 22:35:24 +08:00
wangmm0220
71ec636c3c feat: add tag condition 2022-05-25 22:29:24 +08:00
wangmm0220
eea32f5f0a feat: add tag condition 2022-05-25 22:21:04 +08:00
Haojun Liao
b37ca86866
Merge pull request #12979 from taosdata/feature/3_liaohj
fix(query): set correct expression number in project operator.
2022-05-25 18:31:46 +08:00
Haojun Liao
356c9e9056 fix(query): set correct expression number in project operator. 2022-05-25 17:55:34 +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
3ac134adbe enh: free cursor if it is not a null pointer. 2022-05-24 23:10:51 +08:00
Haojun Liao
a4e38ed7ca enh(query): return open/total cost for each operator. 2022-05-24 15:54:39 +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
Xiaoyu Wang
dec850677b Merge remote-tracking branch 'origin/3.0' into feature/3.0_wxy 2022-05-23 19:50:33 +08:00
Xiaoyu Wang
8da52cbb04 feat: tag index filter plan 2022-05-23 19:50:08 +08:00
yihaoDeng
7da509b2f2 enh: index filter interface 2022-05-23 17:31:36 +08:00
dapan1121
403b2ba1c2
Merge pull request #12731 from taosdata/feature/async
feat: add catalog async api
2022-05-23 12:52:11 +08:00
54liuyao
42fcb433dc fix(stream):adjust bloom filter 2022-05-23 11:30:22 +08:00
dapan1121
9d6475fa09 Merge remote-tracking branch 'origin/3.0' into feature/async 2022-05-23 09:26:48 +08:00
yihaoDeng
fb4982f8ca merge 3.0 2022-05-22 21:41:55 +08:00
Haojun Liao
9cea8dbaf7 fix(query): remove duplicated function call. 2022-05-31 00:21:47 +08:00
Haojun Liao
a7feca23fe other: merge 3.0 2022-05-30 23:32:00 +08:00