Commit graph

163 commits

Author SHA1 Message Date
Haojun Liao
59d190508d fix(query):check return code 2024-08-06 16:46:40 +08:00
Haojun Liao
4d8064c950 fix(tsdb):fix invalid return code. 2024-07-23 19:16:06 +08:00
Haojun Liao
3bddd051ca other: merge 3.0 2024-07-23 17:18:55 +08:00
Haojun Liao
7497f193c7 fix(stream): check return value, and do some internal refactor. 2024-07-23 14:47:29 +08:00
Shungang Li
50e802d1d8 fix: tsdbRetrieveCacheRows free memory issue 2024-07-23 10:13:24 +08:00
Shungang Li
44fa1636f2 fix: (last cache) compare pk when merging ctb data 2024-07-22 16:58:13 +08:00
Haojun Liao
dd590f36e2 refactor: do some refactor. 2024-07-15 23:53:12 +08:00
Haojun Liao
51e9723d66 refactor: do some refactor. 2024-07-15 19:37:52 +08:00
Shungang Li
7ae4415890 fix: refactor lastcache ser/des for compatibility 2024-05-09 19:04:11 +08:00
Haojun Liao
59a3e8ca40 fix(tsdb): overlap check take pk into consideration. 2024-04-25 23:25:24 +08:00
Haojun Liao
ac860f7fe8 fix(query): add ts in cache_scan_operator if pk exists and only retrieve ts column. 2024-04-25 09:29:42 +08:00
Haojun Liao
ace5e12e65 fix(tsdb): set the correct lflag when creating tsdbCache reader. 2024-04-23 19:25:51 +08:00
Haojun Liao
1e89b86827 refactor: do some internal refactor. 2024-04-12 13:51:29 +08:00
Haojun Liao
980382d433 fix(tsdb): fix memory error. 2024-04-10 11:18:08 +08:00
Shungang Li
bc1c7545a8 mock commit for pk last read, need to revert 2024-04-07 17:31:06 +08:00
Haojun Liao
f61596706d fix(tsdb): add attributes for cache scan optr. 2024-03-26 17:34:30 +08:00
Hongze Cheng
710a8ccbf2 fix more code 2024-03-08 13:14:54 +08:00
Hongze Cheng
4b71031014 more code 2024-02-21 14:29:10 +08:00
dapan1121
53094f62d8
Merge pull request #24359 from taosdata/FIX/TD-27003
Fix : use last row scan when select last_row, last
2024-01-16 08:50:23 +08:00
fullhonest
fafb5b1f03 Fix TD-28018: last row num error where partition by null column 2024-01-15 18:29:41 +08:00
fullhonest
cb2ab749b5 Fix TD-27003: use last row scan when select last_row, last 2024-01-15 15:22:29 +08:00
wangjiaming0909
a6c876bbc1 fix: last/last_row crash with dropped column 2023-12-05 14:16:01 +08:00
wangjiaming0909
a6600ab23a correct colid in blockinfo 2023-11-09 15:41:01 +08:00
wangjiaming0909
3e850df3c2 fix: last(ts2), ts2, ts caused data err 2023-11-08 14:43:11 +08:00
wangjiaming0909
fc6c4fba90 feat: cache scan for select last(c), ts/c 2023-11-08 13:39:28 +08:00
Minglei Jin
ec908fa4d0 fix(cache/reader): use int64 max instead of uint 2023-11-06 15:34:28 +08:00
Minglei Jin
93438ed838 fix(tsdb/carch reader): reset current fileset in cache reader 2023-10-09 15:24:24 +08:00
Minglei Jin
82fc1f41fb fix(tsdb/cache read): remove all null row 2023-08-29 16:15:00 +08:00
Haojun Liao
6609882f9f fix(tsdb): add stt statistics block buffer, and do some internal refactor. 2023-08-16 10:55:07 +08:00
Minglei Jin
0e51277521 cache/reader: cleanup contiue nex row 2023-08-02 12:43:57 +08:00
Minglei Jin
7fca057a81 cache/reader: move pLastCols into single block 2023-08-02 11:10:12 +08:00
Minglei Jin
95cc540d9b cache/reader: clean uid in all loop 2023-08-02 10:48:55 +08:00
Minglei Jin
ed76525c4f cache/reader: cleanup uid in signle loop 2023-08-02 10:28:13 +08:00
Minglei Jin
29b2f32821 cache reader: cleanup stt init 2023-08-02 09:49:41 +08:00
Minglei Jin
7d294cac5f tsdb/cache: load current fileset's brinblk once 2023-08-01 18:56:10 +08:00
Minglei Jin
c0a0e07597 cache/read: lazy init uidList when laoding from tsdb 2023-08-01 16:02:09 +08:00
Minglei Jin
b3fae65d90 enh(tsdb/cache/read): lazy init table map hash and entries 2023-08-01 15:53:42 +08:00
Minglei Jin
48222f5dc3 tsdb/cache: move data file reader for fs iter to cache reader 2023-07-20 09:11:26 +08:00
Minglei Jin
185081a948 tsdb/fsreader: clear last fileset's resources 2023-07-19 11:04:28 +08:00
Minglei Jin
a127e91534 tsdb/cache skyline: first round implementation of cache skyline 2023-07-18 17:17:06 +08:00
Minglei Jin
9f9efe9a5e tsdb/cache reader: remove dataf & dataf last readers 2023-07-18 15:30:31 +08:00
Minglei Jin
998fbe574d tsdb/cache reader: move suid into reader's info field 2023-07-17 19:10:33 +08:00
Minglei Jin
a05383e29e tsdb/cache: new load tomb callback from tsdb mergetree 2023-07-17 15:07:10 +08:00
Minglei Jin
27b8671f97 tsdb/cache: new cacheReader field for tsdb & cache reader 2023-07-17 14:27:27 +08:00
Minglei Jin
9b0b4061e0 tsdb/cache: relayout cache row reader 2023-07-17 14:16:54 +08:00
Minglei Jin
2b21c5e0f6 tsdb2: adapt cache with tsdb2 API 2023-07-17 08:50:54 +08:00
Haojun Liao
5301c5756a other: merge main into 3.0. 2023-06-01 09:29:18 +08:00
Minglei Jin
6e29d7879f cache/var-data: realloc var data 2023-05-26 14:13:01 +08:00
Minglei Jin
26bfa4363d fix(cache/read): associate tbname with primary ts column 2023-05-24 11:01:47 +08:00
Minglei Jin
6d620a7d7c fix(cache/read): set none to null instead of skipping column 2023-05-23 14:51:26 +08:00