Commit Graph

1689 Commits

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