Commit Graph

620 Commits

Author SHA1 Message Date
Hongze Cheng d52b8966fc perf: optimize block data operation 2022-11-07 16:56:35 +08:00
Haojun Liao d200fe5145 refactor: do some internal refactor. 2022-11-06 01:34:04 +08:00
Haojun Liao 4959529127 fix(query): set the last key of each tablescan info 2022-11-03 19:00:13 +08:00
Haojun Liao 7a14bc05ea fix(query): fix some issues about the initialization of SColumnInfoData. 2022-11-03 10:57:05 +08:00
Shengliang Guan 9de4bfb230
Merge pull request #17834 from taosdata/fix/liao_cov
fix(query): update the lastkey for each table during table scanning.
2022-11-03 09:29:55 +08:00
Haojun Liao fc20be8699 fix(query): get if the correct rows in last block exists, and set the correct flag to denote if the last blocks index have been loaded or not. 2022-11-02 22:27:23 +08:00
Ganlin Zhao 215257f7f1 fix: fix reverse table scan when checking if block from file overlap
with skyline deletion result error
2022-11-02 16:58:36 +08:00
Haojun Liao ecad94c419 fix(query): add one more check. 2022-11-02 14:59:34 +08:00
Haojun Liao f83b863cf9 fix(query): update the lastkey for each table during table scanning. 2022-11-02 14:36:00 +08:00
Haojun Liao 698ae90e5b fix(query): set correct value in hash map reset. 2022-11-01 23:37:51 +08:00
Haojun Liao b610b23981 fix(query): check for null value. 2022-11-01 21:47:12 +08:00
Haojun Liao 026b82145e Merge branch '3.0' into feature/3_liaohj 2022-11-01 18:49:51 +08:00
Haojun Liao 68db9b1cc9 fix(query): optimize the performance of tsdbread. 2022-11-01 18:48:57 +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
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
Cary Xu 8a5f94d35c fix: set search key according to order 2022-10-31 20:03:21 +08:00
Haojun Liao f29127a15e ehn(query): do some internal refactor. 2022-10-31 18:04:58 +08:00
Haojun Liao 1fa5eafa8a ehn(query): keep the time window for each block to avoid repeatly parsing the compressed data block meta info. 2022-10-31 17:49:50 +08:00
Haojun Liao fac516a196 refactor: do some internal refactor. 2022-10-31 17:20:27 +08:00
Haojun Liao 9703ab510b enh(query): avoid parse the mapdata to improve the performance by keep the offset of each block. 2022-10-31 17:19:15 +08:00
Haojun Liao ba37a58192 enh(query): reduce the number of malloc. 2022-10-31 15:39:16 +08:00
Haojun Liao f38e9664f9 other:merge 3.0 2022-10-31 15:32:48 +08:00
Haojun Liao adf085ab46 refactor: do some internal refactor. 2022-10-31 14:17:57 +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 ab2c7c575b Merge branch '3.0' into feature/3_liaohj 2022-10-30 11:18:36 +08:00
Haojun Liao afdb1467b7 refactor: do some internal refactor. 2022-10-29 18:27:22 +08:00
Haojun Liao d583f1fab6 other: merge 3.0 2022-10-29 13:05:35 +08:00
Haojun Liao bae6d824c2 fix(query): init blockscanInfo correctly. 2022-10-29 12:54:39 +08:00
Haojun Liao 9b99c69785 fix(query): support partition by + limit push down. 2022-10-28 19:56:32 +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 6c19e886df fix(query): move the init function for different reader. 2022-10-28 17:58:59 +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
Haojun Liao 4774baa635 fix(query): handle the case of the single block in last files. 2022-10-27 22:43:42 +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 d8102fc8d8 fix(query): fix invalid number of tables check. 2022-10-27 18:58:10 +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
54liuyao 012dd30baa fix(stream): read preversion data with delete many times 2022-10-27 14:18:48 +08:00
54liuyao 442f89783f fix(stream): read preversion data for delete 2022-10-27 10:55:32 +08:00
Haojun Liao d06bcb2219 refactor: fix typo and do some internal refactor. 2022-10-26 09:47:11 +08:00
Haojun Liao 6acdfdd9ab refactor: do some internal refactor. 2022-10-25 16:20:51 +08:00
Haojun Liao a87f915ebf fix(query):set correct column match info size. 2022-10-25 15:30:41 +08:00
Haojun Liao 319cd8af85 fix(query): refactor and fix some coverity issues. 2022-10-24 15:02:17 +08:00
Haojun Liao 6ebf6b29bd fix(query): fix coverity issues. 2022-10-23 15:20:29 +08:00
Haojun Liao b53cc7f3dd fix(query): fix coverity issues. 2022-10-21 14:00:46 +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 12e81869bc fix(query): remove invalid free. 2022-10-20 11:52:30 +08:00
Haojun Liao 70adc0ea33 fix(query): fix coverity issues. 2022-10-20 11:27:33 +08:00
Shengliang Guan 228640af3b fix: compile error 2022-10-19 20:51:25 +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
Haojun Liao 74305814f0 fix(query): fix coverity issues. 2022-10-19 13:38:01 +08:00
Benguang Zhao 3b0968d7f9 enh: enable the -Wformat=2 compiler option 2022-10-19 09:24:15 +08:00
Haojun Liao 95dd30be57 fix(query): fix coverity issues. 2022-10-18 11:43:58 +08:00
Haojun Liao 4639051e68 fix(query): fix coverity issues. 2022-10-17 16:03:45 +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
Haojun Liao bcb3d41d08 fix(query): fix coverity issues. 2022-10-16 13:46:21 +08:00
Haojun Liao f5f0a7026f other: merge 3.0 2022-10-13 14:20:51 +08:00
Hongze Cheng 5f010843a6 more code format 2022-10-13 16:58:43 +08:00
Haojun Liao 3d9e284913 other:merge 3.0 2022-10-13 12:01:47 +08:00
Haojun Liao fbd3aac007 fix(query):set the correct active block index and add some logs. 2022-10-13 11:59:14 +08:00
Haojun Liao cee7185450 fix(query): update the copy function. 2022-10-11 18:02:46 +08:00
Haojun Liao 7c3ddc4920 other:merge 3.0 2022-10-10 15:35:38 +08:00
Minglei Jin 997dfb41d9 fix(meta): use rwlock to favor writers 2022-10-10 11:00:55 +08:00
Haojun Liao fac464792d other:merge 3.0 2022-09-30 17:54:03 +08:00
Haojun Liao 6faf1af5f5 fix(query): handle the block read case. 2022-09-30 14:44:42 +08:00
Haojun Liao f8a84a1d19 other:merge 3.0 2022-09-30 13:47:21 +08:00
dapan1121 45fb658cec fix: fix rows missed in query result issue 2022-09-28 19:06:43 +08:00
Haojun Liao 14412f2811 refactor(query): do some internal refactor. 2022-09-28 11:16:52 +08:00
Haojun Liao 04f087793e refactor(query): do some internal refactor. 2022-09-28 10:54:54 +08:00
Haojun Liao 59b7435170 fix(query): fix memory copy 2022-09-27 19:17:35 +08:00
Haojun Liao 7818bed189 Merge branch 'feature/3_liaohj' into refact/query_opt 2022-09-27 18:51:42 +08:00
Haojun Liao c565c4cb63 fix(query): remove the primary timestamp column in the required column list. 2022-09-27 18:50:51 +08:00
Haojun Liao e2fa878136 other:merge 3.0 2022-09-27 18:39:03 +08:00
Haojun Liao 398c23edec enh(query): only load the required columns. 2022-09-27 18:37:02 +08:00
Haojun Liao bd6cf3137f other:merge 3.0 2022-09-27 18:12:54 +08:00
Haojun Liao 144a0c573b fix(query): set schema info for inner reader. 2022-09-27 16:17:03 +08:00
Haojun Liao cbe91fd4c3 fix(query): initialize the blockdata before load last block. 2022-09-27 13:48:53 +08:00
Hongze Cheng 4bfdfe89a5 adjust api 2022-09-27 11:02:04 +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
Haojun Liao 4ebee6b232 refactor(query): do some internal refactor. 2022-09-26 11:22:26 +08:00
Hongze Cheng f0fea204f2 enh: col value optimize 2022-09-23 18:55:27 +08:00
Haojun Liao 74ca7abf95
Merge pull request #17027 from taosdata/feature/3_liaohj
fix(query): update remove check condition.
2022-09-23 15:11:55 +08:00
Haojun Liao be3459d882 fix(query): update remove check condition. 2022-09-23 14:34:40 +08:00
Haojun Liao 4935b8f391 fix(query): update check. 2022-09-23 14:33:52 +08:00
Cary Xu 9ddbe54d0d Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-09-22 17:25:13 +08:00
Haojun Liao c9bc7c3972 fix(query): update check condition. 2022-09-22 16:16:33 +08:00
Haojun Liao 092805b41f fix(query): update check condition. 2022-09-22 15:41:58 +08:00
Haojun Liao 6bd5cbbfc3 fix(query): set correct page id list. 2022-09-22 15:24:33 +08:00
Haojun Liao 976b36631e fix(query): keep last key for interp query. 2022-09-22 10:31:17 +08:00
Haojun Liao 50ee0dabbf refactor(query): do some internal refactor. 2022-09-20 10:02:20 +08:00
Haojun Liao 78f03e993d other:merge 3.0 2022-09-19 10:30:55 +08:00
Cary Xu 2f5e197dbe Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-09-16 17:45:12 +08:00
Haojun Liao 15f656e683 refactor(query): add some logs. 2022-09-16 13:06:57 +08:00
Haojun Liao 188c3a9881 Merge remote-tracking branch 'origin/feature/3_liaohj' into feature/3_liaohj 2022-09-15 17:44:57 +08:00