Commit Graph

31 Commits

Author SHA1 Message Date
Jing Sima 410324746b
feat:[TS-4897] virtual table (#30098)
* feat: [TS-4897] Support create/drop/alter/show/describe vtable

* feat: [TS-4897] Support vtable's query

* feat: [TS-4897] Support create virtual supertable

* feat: [TS-4897] Support explain analyze / where / count(*) and only select ts of vtable.

* feat: [TS-4897] Add create test and fix bugs

* feat: [TS-4897] Add alter/drop test and fix bugs

* feat: [TS-4897] Add describe/show test and fix bugs

* feat: [TS-4897] Add auth test and fix bugs

* feat: [TS-4897] Fix meta/catalog/cache bugs

* feat: [TS-4897] Support select tag from virtual child table

* feat: [TS-4897] Add select test and fix plenty of bugs

* feat: [TS-4897] Add optimize rule for vtable scan / support create vtable cross database / remove enterprise constraint / fix bugs.

* feat: [TS-4897] Fix 'schema is old'

* feat: [TS-4897] Support virtual stable query

* feat: [TS-4897] Add tests and Fix bugs

* feat: [TS-4897] resolve conflict.
2025-03-15 14:10:46 +08:00
liuyao 2de6736160
feat(stream): add new trigger continuous_window_close (#30125)
* opt stream build twa result

* opt force window close memory

* feat(stream):optimize new interval and scan operator

* adj log

* opt code

* opt code

* fill history

* fix issue for fill history

* add ci

* feat(stream): add new stream nonblock interval operator

* adjust code

* use new scan operator

* use new scan operator

* add log

* fix issue

* recover stream scan next function

* fix issue

* fix issue

* fix issue

* ignore disorder data

* fix issue

* fix issue for interval sliding

* fix issue

* fix ci issue

* fix ci issue

* fix ci issue

* add semi && final nonblock interval operator

* fix issue

* fix issue

* fix issue

* fix issue

* fix issue

* fix issue

* fix issue

* fix issue

* refactor(stream): track the msgId for each upstream tasks.

* fix(stream): fix race condition.

* fix(stream): update the task last msgId when putting into input queue succ.

* fix issue

* fix issue

* put recalculate data to rocksdb

* fix issue

* fix issue

* enh(query)[TD-33071]: add support for saving and restoring tsdbReader scan progress

- Implement functionality to save scan progress during tsdbReader operations
- Enable resuming scans from the last saved position

* fix issue

* fix issue

* fix issue

* fix issue

* fix issue

* add rec interval check

* enh(stream):add recalculate tasks.

* enh(stream): support the re-calculate the tasks.

* fix issue && do refactor

* do refactor

* fix issue

* fix issue

* update backend opt

* add new interface

* add new session operator

* support blob

* add new session operator

* fix issue

* add rec state for rec task

* fix invalid read

* add new session window

* enh(stream): update the stream tasks backend.

* new session operator

* add pull data

* fix(stream): fix error in expand stream backend.

* fix issue

* fix issue

* fix issue

* merge code

* fix issue

* fix(stream): check for null ptr.

* fix(stream): add more check.

* fix issue

* fix issue

* fix issue

* add debug code

* fix issue

* fix issue

* fix issue

* set rec end flag

* fix(stream): opt re-calculate stream tasks.

* fix issue

* fix issue

* add new operator

* enh(stream): dispatch recalculate block to agg tasks.

* fix issue

* fix issue

* fix(stream): adjust filter.

* fix issue

* refactor

* refactor(stream): adjust the recalculate end block.

* fix issue

* fix(stream): set correct create trigger block.

* fix issue

* fix(stream): fix error in build recalculate end block.

* fix(stream): check null ptr.

* add stream client && fix issue

* fix mem leak

* fix(stream): free msg.

* add stream client

* fix(stream): fix error.

* add stream client && fix issue

* add stream client

* refactor(stream): set the recalculate task complete.

* add wend and group_id for session window dest table

* feat(stream): refactor and set the recalcul agg task complete.

* add cfg for adapter

* fix issue

* add state && event operator

* feat(stream): support fill-history task.

* add new fill operator

* fix(stream): set correct backend when updating fill-history task to recalculate task.

* add new fill operator

* fix(stream): s2025-03-06 11:10:31.272
et ops always open in scan tsdb

* fix(stream):set the correct taskType for sink task.

* new fill operator

* adj stream fill operator

* fix issue

* fix issue

* fix issue

* fix issue

* fix issue

* fix issue

* fix issue

* fix issue

* adj test

* fix issue

* fix(stream): fix issue

* fix(steam): fix issue

* fix(steam): fix issue

* fix(steam): fix issue

* fix(steam): fix issue

* fix(stream): fix issue

* fix(stream): fix issue

* fix(stream): fix issue

* fix: ut com error

* fix(stream): fix mem leak and adjust operator type check rule

* fix(stream): fix mem leak and adjust test case

* refactor code

* fix(stream): free items.

* fix(stream): free fix memory leak.

* fix(stream): fix syntax error.

* fix: ignore unexpect block

* fix: adjust op type

---------

Co-authored-by: Haojun Liao <hjliao@taosdata.com>
Co-authored-by: Jinqing Kuang <kuangjinqingcn@gmail.com>
Co-authored-by: yihaoDeng <luomoxyz@126.com>
2025-03-14 20:14:01 +08:00
dapan1121 84c37d501a enh: support ? in limit clause 2025-01-22 11:45:12 +08:00
kailixu eaf5978b2c Merge branch '3.0' into feat/TD-30268 2024-12-10 18:49:15 +08:00
dapan1121 d77147d296 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-12-06 17:43:19 +08:00
wangmm0220 0165684131 feat:[TD-32642] merge from 3.0 2024-12-05 23:47:46 +08:00
wangmm0220 0e2a16d70f feat:[TD-32642] add charset for connection support 2024-11-27 14:25:34 +08:00
54liuyao 22023575ba opt stream force fill op 2024-11-26 19:46:36 +08:00
dapan1121 85fc4dfc2b fix: data sink memory issues 2024-11-15 10:16:15 +08:00
dapan1121 34cfca745b fix: duplicated clientId issue 2024-11-13 19:19:00 +08:00
54liuyao 0c30b3cf3c fix ci issue 2024-11-01 10:25:14 +08:00
dapan1121 cea25e7f9d fix: scheduler ut issues 2024-10-28 18:47:15 +08:00
dapan1121 8cd994645b fix: subplan test compile issue 2024-10-24 15:30:47 +08:00
dapan1121 7a45984c96 fix: table seq scan issue 2024-10-24 15:28:09 +08:00
dapan1121 f795e415e5 fix: add subplan test 2024-10-24 15:01:49 +08:00
dapan1121 e52628ab57 fix: scheduler validate plan issues 2024-10-23 19:13:15 +08:00
dapan1121 a2665ebc82 fix: add plan validation in scheduler 2024-10-22 09:04:12 +08:00
dapan1121 6a9fd0c95e enh: add operator 2024-10-21 19:24:52 +08:00
dapan1121 cde86c2e32 enh: add plan ut case 2024-10-18 18:18:10 +08:00
dapan1121 44726fe42a enh: add subplan test 2024-10-17 11:28:05 +08:00
dapan1121 041f3380ba enh: add more rand plan 2024-10-16 19:24:42 +08:00
dapan1121 ab61e05194 enh: add rand query plan 2024-10-15 19:19:21 +08:00
dapan1121 01a4256d0a fix: add merge join 2024-10-10 11:32:37 +08:00
dapan1121 ff5e7556c4 enh: add merge join ut 2024-10-09 14:29:56 +08:00
dapan1121 bde18abb60 enh: add projection plan 2024-09-30 18:07:14 +08:00
dapan1121 1b6bb5e4b9 fix: random test issues 2024-09-30 16:30:47 +08:00
dapan1121 1143adce33 fix: add random case 2024-09-30 09:54:37 +08:00
dapan1121 a068f807a2 fix: add random test case 2024-09-29 17:04:57 +08:00
dapan1121 65985c7aaa enh: add tag scan test 2024-09-27 18:08:36 +08:00
dapan1121 8be15d5b13 enh: add plan test cases 2024-09-26 16:29:57 +08:00
dapan1121 7bbe197e47 enh: add query plan test 2024-09-20 08:49:02 +08:00