Commit Graph

2056 Commits

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