Commit Graph

452 Commits

Author SHA1 Message Date
wangmm0220 443aa2ee3f fix:modify influxdb parse logic for sml 2022-12-07 11:05: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
Haojun Liao 392fe988a0 fix(query): remove invalid assert for mac&win. 2022-12-03 20:16:56 +08:00
kailixu e360094f8a chore: code format 2022-12-03 20:15:31 +08:00
kailixu 42b17760a2 refact: tsma result adaption 2022-12-03 20:06:55 +08:00
kailixu 11684ceb82 refact: resource mgmt when build block for rsma 2022-12-03 15:00:40 +08:00
kailixu e918982a5a refact: rsma adaption for new SSubmitReq 2022-12-03 14:23:58 +08:00
kailixu d3a88ea517 refactor: row and submit msg of rsma/tsdb 2022-12-03 13:33:30 +08:00
Haojun Liao fa43f86fe1 refactor: add an assert. 2022-12-03 12:43:03 +08:00
Haojun Liao b6199d8d99 enh(query): update the aligned bits for colInfodata 2022-12-03 12:37:42 +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
Haojun Liao 83782fb27b fix(query): fix invalid tag fill and clear nullbitmp 2022-12-02 10:07:48 +08:00
Haojun Liao f8a2ab8338 refactor: do some internal refactor. 2022-12-01 17:24:26 +08:00
Haojun Liao cefe4be1ab refactor: do some internal refactor. 2022-12-01 00:34:06 +08:00
Haojun Liao ae81633144 enh(query): optimize query perf. 2022-11-30 14:55:27 +08:00
Haojun Liao 445c4f28f0 enh(query): optimize the perf. 2022-11-29 23:34:22 +08:00
Shengliang Guan d65e55558f
Merge pull request #18540 from taosdata/main
merge from main to 3.0 branch
2022-11-29 14:43:36 +08:00
MysticBoy 4b668a4153
修改可能导致读取额外内容 2022-11-28 17:47:37 +08:00
Haojun Liao 6e81e8cc73 refactor: do some internal refactor. 2022-11-28 12:32:40 +08:00
Haojun Liao 203ea1f9c8 fix(query): fix error 2022-11-27 14:57:44 +08:00
Haojun Liao 7fe4cf7bbe
Merge branch '3.0' into feature/3_liaohj 2022-11-25 22:24:59 +08:00
Ganlin Zhao 0ea961b659 fix: [ASAN] fix nullpointer issue in tdatablock.c 2022-11-24 21:24:11 +08:00
Haojun Liao 9a208b2d09 other: merge 3.0 2022-11-24 17:08:15 +08:00
Shengliang Guan 335a572d86
Revert "Revert "enh: row optimize2"" 2022-11-24 10:12:25 +08:00
Hongze Cheng ffbb04d40a
Revert "enh: row optimize2" 2022-11-24 09:21:26 +08:00
Shengliang Guan d31be656e3
Merge pull request #18401 from taosdata/fix/TD-20605
fix: [ASAN] fix null pointer in tdatablock.c
2022-11-24 08:04:01 +08:00
Haojun Liao 611ab8b394 refactor: make sure the memory is aligned to 32 bytes. 2022-11-23 21:52:51 +08:00
kailixu 4e739b45fb fix: flen/offset adaption for trow 2022-11-23 21:29:16 +08:00
Ganlin Zhao 516cb116c0 fix: [ASAN] fix null pointer in tdatablock.c 2022-11-23 18:32:22 +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 0d60f24db5 refactor: do some internal refactor. 2022-11-22 22:42:44 +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
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
Alex Duan 031ceda752 createOneDataBlock rowsize must reset to zero 2022-11-17 14:58:53 +08:00
Cary Xu 1d795f5c62 fix: null pointer when merge col data of varchar 2022-11-14 16:27:02 +08:00
Haojun Liao 7b53b8142e refactor: do some internal refactor. 2022-11-12 16:03:47 +08:00
Shengliang Guan 29db4d67f8 fix: null pointer passed as argument , which is declared to never be null 2022-11-12 15:39:19 +08:00
Haojun Liao b48752686e refactor: do some internal refactor. 2022-11-09 13:45:46 +08:00
Haojun Liao a1a2bae25c fix(query): allocate memory for null value columns. 2022-11-07 10:29:58 +08:00
Haojun Liao cc9532c76a fix(query): set correct helper buffer. 2022-11-06 18:39:57 +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 d200fe5145 refactor: do some internal refactor. 2022-11-06 01:34:04 +08:00
Haojun Liao 03f4918b3b refactor: do some internal refactor. 2022-11-04 18:46:48 +08:00
Haojun Liao 9c33d10ad9 refactor: remove the unnecessary function. 2022-11-04 09:15:14 +08:00
Haojun Liao e7d58625b9 fix(query): add memset after malloc memory. 2022-11-04 09:09:37 +08:00
Haojun Liao abfa8c1d87 fix(query): add api to memset buffer for filtering data. 2022-11-03 22:05:08 +08:00
Haojun Liao 53e1c19acb enh(query): remove the memset. 2022-11-03 10:28:52 +08:00
dapan1121 079704599c
Merge pull request #17840 from taosdata/feature/TD-19844
fix(function):if data is null, apercentile function should return null
2022-11-02 17:57:09 +08:00
54liuyao 43918a27f9 fix(function):if data is null, apercentile function should return null 2022-11-02 16:37:23 +08:00
Shengliang Guan b5f0041af1 refact: adjust error code in vnode 2022-11-02 15:28:32 +08:00
Shengliang Guan 68f1641991
Merge pull request #17800 from taosdata/feature/stream
refactor(stream): fill history
2022-11-01 16:15:07 +08:00
Haojun Liao 83495ed5d3 fix(query): set the correct buffer to accommodate the tag values. 2022-11-01 13:49:02 +08:00
Haojun Liao c17a921a03 fix(query): set the correct buffer to accommodate the tag values. 2022-10-31 23:19:40 +08:00
Liu Jicong 2e640c38a2 refactor: stream and tmq message 2022-10-31 18:37:28 +08:00
slzhou bc0f120fb0 fix: set values before add it to array 2022-10-25 14:16:31 +08:00
slzhou 211ab7f367 fix: set var meta length to data length when decode data block 2022-10-25 13:34:51 +08:00
Cary Xu 4f5a38b786 fix: null column value when build rsma result 2022-10-22 18:01:43 +08:00
Cary Xu 951d110b3b fix: coverity scan for trow 2022-10-20 09:31:17 +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
54liuyao 8efd7e8763 feat(stream):replace disk buff 2022-10-18 18:13:47 +08:00
Liu Jicong fbfae317b3 refactor 2022-10-11 02:09:15 +08:00
Liu Jicong 57d1406096 add tbname column into stream special block 2022-10-09 22:49:37 +08:00
Liu Jicong 2f9aeeb5fc feat(stream): support define table name 2022-10-09 16:54:27 +08:00
54liuyao 3a21da6e46 fix(stream): data block capacity and function byte 2022-09-22 15:54:44 +08:00
Haojun Liao 01adee2f53 fix(query): add an assert 2022-09-19 14:36:55 +08:00
Haojun Liao 597ea1c2bf fix(query): add value check. 2022-09-04 11:58:02 +08:00
Liu Jicong d653da7971 feat(stream): support delete data 2022-09-02 15:46:41 +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
slzhou f3890f7421 feat: support udf merge in udfd 2022-08-26 14:27:15 +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 78c9f245b1 fix:conflicts from 3.0 2022-08-16 15:18:11 +08:00
wangmm0220 61a19b80d7 Merge branch '3.0' into feature/3.0_query_optimize 2022-08-12 14:41:08 +08:00
wangmm0220 eec58b8ef0 opti:use suid+uid->tags index to optimize time cost 2022-08-12 13:53:24 +08:00
Cary Xu d9c10a2f0f other: rsma submit 2022-08-11 19:59:47 +08:00
Cary Xu d71e238d48 fix: code optimization 2022-08-11 15:25:31 +08:00
Cary Xu 113b29ed12 fix: taos array get pointer 2022-08-11 15:03:10 +08:00
Cary Xu 6cd2e52d1a enh: code optimization 2022-08-11 14:43:17 +08:00
Cary Xu 15544a2207 enh: rsma fetch 2022-08-11 11:14:31 +08:00
wangmm0220 e039334792 opti: logic in get table list 2022-08-10 20:18:54 +08:00
Haojun Liao 41d2c92231 fix(query): copy null value. 2022-08-09 16:54:05 +08:00
Xiaoyu Wang 07ef00e89f merge 3.0 2022-08-09 11:36:08 +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
Cary Xu 0aac37a45c enh: rsma fetch logic optimization 2022-08-08 11:25:32 +08:00
wangmm0220 9f9788c205 Merge branch '3.0' into feature/TD-14761 2022-08-08 10:04:03 +08:00
wangmm0220 1309c489e2 fix:error in tmq for snapshot 2022-08-06 19:31:53 +08:00
54liuyao 214d3609b2 fix(stream):set num of stream session child 2022-08-06 15:14:11 +08:00
Haojun Liao 0e4748771a enh(query): support combine multi datablock to pass to upstream operators 2022-08-05 14:10:45 +08:00
Haojun Liao 3a5fcefc8d other: merge 3.0 2022-08-04 17:24:51 +08:00
Cary Xu f1790b2776 enh: adjust numOfRows in SubmitBlk from int16_t to int32_t 2022-08-03 21:03:27 +08:00
Haojun Liao 4cd7af0ecf other: merge 3.0 2022-08-03 19:02:43 +08:00
Cary Xu a3166507a5 enh: don't read bitmap when all col is normal 2022-08-03 15:58:28 +08:00
Cary Xu 99cb9bb60e
Merge pull request #15687 from taosdata/feature/TD-11274-3.0
fix: handle rsma resource leak
2022-08-02 20:42:38 +08:00
Shengliang Guan 590266067b
Merge pull request #15680 from taosdata/fix/dnode
refactor: adjust logs
2022-08-02 19:37:07 +08:00
Cary Xu cecec01b75 fix: handle rsma resource leak 2022-08-02 19:21:27 +08:00
Shengliang Guan 56f2e49764 refactor: adjust logs 2022-08-02 17:12:07 +08:00
Cary Xu 602d2aa377 other: rsma snapshot and misc update 2022-08-02 16:13:36 +08:00
Haojun Liao bb869800f6
Merge pull request #15661 from taosdata/feature/3_liaohj
refactor: optimize the build block perf.
2022-08-02 13:04:00 +08:00
54liuyao fdcf9f1aa6 feat(stream):add log 2022-08-02 10:56:02 +08:00
54liuyao fbf83d06a8 feat(stream): add log 2022-08-02 09:52:54 +08:00
Haojun Liao bbcba1855d Merge branch '3.0' into feature/3_liaohj 2022-08-01 20:09:42 +08:00
Haojun Liao fe6772f940 refactor: do some internal refactor. 2022-08-01 20:09:10 +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
Haojun Liao a2a2dbd68a refactor: optimize the build block perf. 2022-08-01 13:11:32 +08:00
Haojun Liao 4b4cc03fc6
Merge pull request #15581 from taosdata/feature/3_liaohj
fix(query): fix memory leak.
2022-07-30 14:00:15 +08:00
Haojun Liao ed57347579 fix(query): fix memory leak. 2022-07-30 11:30:31 +08:00
Cary Xu 466e7965ed feat: rsma1/rsma2 support replication 2022-07-30 00:38:11 +08:00
Cary Xu 0dcb3a5da1 fix: assign uid for rsma by physical plan 2022-07-28 17:07:47 +08:00
54liuyao 35ddd56691 feat(stream): refector some log 2022-07-26 09:55:21 +08:00
Cary Xu 135d2673d6 fix: add data len for multiple rows 2022-07-25 14:50:13 +08:00
Haojun Liao 72574b69de test: update the block merge. 2022-07-23 14:09:26 +08:00
Haojun Liao b9b53f04c1 fix(query):ignore null type. 2022-07-23 13:18:36 +08:00
Haojun Liao 72bbc27e8c fix(query): remove the invalid update ops. 2022-07-22 10:50:54 +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
Ganlin Zhao e5aadc9323 Merge branch '3.0' into fix/TD-17381 2022-07-18 17:34:28 +08:00
Ganlin Zhao 1ab22f9d9e fix(query): fix taosd crashed when using first(col+null)
TD-17381
2022-07-18 17:29:40 +08:00
afwerar fa96e64ee0 os: win format negative timestamp error 2022-07-18 16:53:20 +08:00
Haojun Liao ad058e8c97 Merge branch '3.0' into feature/3_liaohj 2022-07-17 11:06:49 +08:00
Haojun Liao f0d1f393fd fix(query): add limit/offset implementation in exchange operator. 2022-07-16 23:24:59 +08:00
54liuyao 069778c676 feat(stream): add log 2022-07-16 17:32:40 +08:00
54liuyao 352db0febb feat(stream): optimize interval plan 2022-07-16 09:28:15 +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
Haojun Liao 6fd4684a26 fix(query): ensure buffer before load data. 2022-07-14 11:16:15 +08:00
Haojun Liao 083de75afc fix(query):fix memory leak. 2022-07-13 23:15:58 +08: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
dapan1121 25f80f8d3e fix: fix null bytes issue 2022-07-12 17:10:55 +08:00
Liu Jicong d637ffe22c refactor(tmq): prepare only needed 2022-07-12 14:10:22 +08:00
54liuyao 66f0c47ec3 feat(stream): adjust print log 2022-07-11 17:34:28 +08:00
slzhou@taodata.com 0fb06cbc4c fix: set capacity for newly created datablock 2022-07-11 11:40:44 +08:00
54liuyao 2465620245 feat(stream): support expressions 2022-07-10 18:31:52 +08:00
Shengliang Guan c53a84b733 Merge remote-tracking branch 'origin/3.0' into fix/valgrind 2022-07-09 20:13:26 +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
Ganlin Zhao 8cbd88b6f4
Merge pull request #14675 from taosdata/fix/TD-17155
fix(query): taosd crash in stream when use max(cast())
2022-07-08 17:03:17 +08:00
Ganlin Zhao f8ff52b451 fix(query): taosd crash in stream when use max(cast())
TD-17155
2022-07-08 14:29:32 +08:00
dapan1121 0925064d24 Merge branch 'feature/3.0_debug_wxy' into feature/insertselect 2022-07-08 10:28:53 +08:00
54liuyao c35e9d0dd3 fix(rmsa): print datablock crash 2022-07-07 10:59:11 +08:00
dapan1121 d4696ef31f Merge branch '3.0' into feature/insertselect 2022-07-07 09:02:09 +08:00
dapan1121 d625cc2e47 feat: insert from query 2022-07-06 21:00:31 +08:00
dapan1121 0d4fb5bb80 feat: support insert from query 2022-07-06 16:29:51 +08:00
Cary Xu 6ef9f0c9e9 fix: rsma version adjust 2022-07-05 14:57:01 +08:00
Xiaoyu Wang 8b486765d3 fix: sort operator exception error 2022-07-04 16:23:38 +08:00