Commit graph

47 commits

Author SHA1 Message Date
Haojun Liao
7c7b2f1cef fix(query): fix memory leak. 2022-11-22 18:06:01 +08:00
Minglei Jin
93190003a3 fix: reset last load info when close dataf reader for stt last files 2022-11-03 15:19:21 +08:00
Minglei Jin
0bbe049e58 fix: set fs and last dataf reader to null when resetting 2022-11-03 09:14:51 +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
4774baa635 fix(query): handle the case of the single block in last files. 2022-10-27 22:43:42 +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
Minglei Jin
b52ad0f740 tsdb/cache: new separate dataf reader for last file reading 2022-10-26 08:58:38 +08:00
Minglei Jin
441fe8119c Merge branch '3.0' into fix/TD-19468-2 2022-10-25 10:51:35 +08:00
Minglei Jin
89f7ad2920 fix: optimize tsdb cache loading speed 2022-10-25 10:36:30 +08:00
Haojun Liao
2f5ed16cb8 fix(query): remove redundant ts cols in cache scan. 2022-10-24 13:26:54 +08:00
Haojun Liao
abff4fb1f2
Merge pull request #17336 from taosdata/feature/3_liaohj
other:merge 3.0, and support last query cache
2022-10-20 18:15:38 +08:00
Haojun Liao
70adc0ea33 fix(query): fix coverity issues. 2022-10-20 11:27:33 +08:00
Haojun Liao
b20e2ed5af fix(query): set correct last value. 2022-10-19 17:43:23 +08:00
Haojun Liao
116d1451e4 fix(query): do some internal refactor. 2022-10-19 15:43:58 +08:00
Haojun Liao
74305814f0 fix(query): fix coverity issues. 2022-10-19 13:38:01 +08:00
Haojun Liao
5dcd319d3b fix(query): update last_row callback function. 2022-10-19 10:07:20 +08:00
Haojun Liao
c7c99ae346 fix(query): update last_row callback function. 2022-10-19 09:33:54 +08:00
Haojun Liao
d7e01b30c7 fix(query): update last_row callback function. 2022-10-18 19:13:42 +08:00
Haojun Liao
60e7f2800b fix(query): fix bug in cached last query. 2022-10-18 17:39:28 +08:00
Haojun Liao
c8b180b129 fix(query): update the cached last query. 2022-10-17 19:14:06 +08:00
Haojun Liao
da9df99461 fix(query): opt last query. 2022-10-17 17:59:43 +08:00
Minglei Jin
b62fa20b53 tsdb/cache: return last row as array of SLastCol 2022-10-17 17:20:32 +08:00
Minglei Jin
997dfb41d9 fix(meta): use rwlock to favor writers 2022-10-10 11:00:55 +08:00
Haojun Liao
c9286fed25 fix(query): fix memory leak. 2022-09-30 13:03:25 +08:00
Haojun Liao
5c1f55f6ca other:merge 3.0 2022-09-26 11:35:19 +08:00
Haojun Liao
60d9acb7b4 feature(query): support last function cache and retrieve data. 2022-08-26 15:27:19 +08:00
Haojun Liao
fd2dec280b fix(query): fix memory leak. 2022-07-15 11:18:26 +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
Minglei Jin
0cd7d1fb13 fix: fix last row reader close memory issues 2022-07-13 15:28:21 +08:00
Haojun Liao
649cf7e55d fix(query): support last_row(tags) for super table query. 2022-07-13 14:21:44 +08:00
Haojun Liao
6f2ac5ba72 fix(query): always generated results for last_row query if rows exists. 2022-07-12 21:07:12 +08:00
Haojun Liao
e99231c1c8 fix(query): set correct output buffer. 2022-07-12 17:59:25 +08:00
Haojun Liao
6e709dc2e0 fix(query): check if table exists during creating lastrow reader. 2022-07-12 16:30:34 +08:00
Haojun Liao
b253d4a07a refactor: do some internal refactor. 2022-07-12 16:26:55 +08:00
Minglei Jin
23fc0f0008 tsdbCache/last: save ts info of each column 2022-07-08 15:54:11 +08:00
Minglei Jin
1c42970747 fix: use column schema's type 2022-07-06 17:56:05 +08:00
Haojun Liao
ddb71ed095 refactor: do some internal refactor. 2022-07-06 13:33:21 +08:00
Minglei Jin
8d00f1139a tsdbRead: fix None display to NULL instead of 0 2022-07-04 14:46:00 +08:00
Minglei Jin
caf6e8439f tsdbCache: remove deprecated & bugged get last row implementation 2022-06-30 20:44:52 +08:00
Minglei Jin
5e793c2f3f tsdbCacheRead: use new H version api of last_row 2022-06-29 18:10:25 +08:00
Haojun Liao
5efd5a3b6d fix(query):adjust api for retrieve lastrow in executor. 2022-06-28 23:24:20 +08:00
Haojun Liao
21f494a4c5 fix(query): set correct table uid. 2022-06-28 16:29:36 +08:00
Haojun Liao
be08ccaedc refactor:do internal refactor. 2022-06-28 15:35:51 +08:00
Haojun Liao
4a59e1300b other: merge 3.0. 2022-06-28 15:22:32 +08:00
Minglei Jin
c999aead58 last_row/del-skyline: first round skyline building 2022-06-23 23:14:18 +08:00
Haojun Liao
4a132aecef fix(query): add query cache implementation file 2022-06-21 16:29:19 +08:00