Commit graph

146 commits

Author SHA1 Message Date
xinsheng Ren
6b22948da1
fix: exchangeId's type shouble be int64 (#33594) 2025-11-14 14:29:04 +08:00
Jing Sima
818bea5568
fix: [TD-34074] Forbid virtual table in tq and stmt and forbid supertable query's origin table from different databases.
fix: [TD-34074] Forbid virtual table in tq and stmt and forbid supertable query's origin table from different databases.
2025-03-20 22:42:10 +08:00
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
dapan1121
2bd493f77b fix: return code issues 2024-12-11 19:18:50 +08:00
dapan1121
34cfca745b fix: duplicated clientId issue 2024-11-13 19:19:00 +08:00
dapan1121
a8561fba4f Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-11-11 11:01:22 +08:00
dapan1121
411d61504f fix: remove taosMem calling 2024-11-11 09:09:40 +08:00
dapan1121
371094cc13 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-11-08 10:13:20 +08:00
Jinqing Kuang
43a337ef74 enh(query)[TD-32732]: add client Id generation and usage
To address the issue of non-unique identifiers for query tasks, a unique
client ID (cid) is now generated during client initialization. This cid
is included in every task message sent to the server. The server will
use a composite key of <qid, cid, tid, eid> to uniquely identify each
query task.
2024-11-07 08:47:31 +08:00
dapan1121
c5c85efeb5 enh: adjust mode and retire policy 2024-11-06 19:26:14 +08:00
54liuyao
6b2d338a20 enh(executor):avoid use dangerous functions 2024-10-25 13:47:09 +08:00
dapan1121
4f3484b823 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-10-24 16:49:38 +08:00
yihaoDeng
c4a8248f14 Merge remote-tracking branch 'origin/3.0' into enh/opt-transport 2024-10-15 14:24:12 +08:00
yihaoDeng
ae770e1dd0 Merge remote-tracking branch 'origin/3.0' into enh/opt-transport 2024-10-12 19:20:21 +08:00
yihaoDeng
a0324f41a6 Merge remote-tracking branch 'origin/3.0' into enh/opt-transport 2024-10-12 16:45:55 +08:00
yihaoDeng
514b04a6bd Merge remote-tracking branch 'origin/3.0' into enh/opt-transport 2024-10-11 16:43:56 +08:00
yihaoDeng
1ba3178a85 add config 2024-10-09 20:11:56 +08:00
yihaoDeng
e58f667611 add config 2024-10-09 20:11:21 +08:00
Pan Wei
159a625cc1
Merge pull request #28051 from taosdata/fix/TD-32258-3.0
fix(query)[TD-32258]. Fix error handling in operator interface functions
2024-09-25 09:45:08 +08:00
Jinqing Kuang
83f1a590b0 fix(query)[TD-32258]. Fix error handling in operator interface functions
- Contain errors within individual operators, preventing error
  propagation to upper-level operators
- Use longjmp to jump directly to the outermost error handler
  for unresolvable issues, avoiding unnecessary error code
  returns through multiple layers
- Simplify error-handling logic for better maintainability
2024-09-24 18:15:14 +08:00
lyh250-666
5f6802e0a1 enh:modify addede rror code passing 2024-09-24 16:29:28 +08:00
yihaoDeng
962d77db62 fix mem leak 2024-09-20 18:24:46 +08:00
lyh250-666
116844208d enh:modify error code passing 2024-09-20 13:23:44 +08:00
xsren
e226898e17 semphore 2024-09-11 20:36:03 +08:00
Haojun Liao
0236db51f6 fix(query): fix memory leak and do some internal refactor. 2024-09-06 15:44:25 +08:00
54liuyao
d3e4203dcb enh(query):remove void for operator 2024-09-04 18:37:41 +08:00
lyh250-666
9c8f630759 enh:modify error code passing in libs/executor/ 2024-09-03 11:01:02 +08:00
dapan1121
d1013b20f9 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-08-30 18:26:26 +08:00
xsren
d43df78537 fix: free operator 2024-08-29 19:43:59 +08:00
Haojun Liao
f510f2961b fix(query): fix memory leak. 2024-08-27 18:45:20 +08:00
Haojun Liao
c118df0ec4 fix(query): fix memory leak. 2024-08-27 17:04:44 +08:00
54liuyao
de4f09b8fd ehn(query): remove query executor assert 2024-08-23 11:01:45 +08:00
dapan1121
da72fca693 fix: local policy memory leak 2024-08-22 10:03:09 +08:00
dapan1121
21d7820bb5
Merge pull request #27283 from taosdata/fix/3.0/exchange_block
fix exchange operator blocked
2024-08-20 09:39:35 +08:00
wangjiaming0909
f7d4c274a8 fix exchange operator blocked 2024-08-16 18:03:16 +08:00
54liuyao
bb0aa6839f fix mem leak 2024-08-16 14:30:35 +08:00
54liuyao
a560f13c95 check error code 2024-08-14 11:12:50 +08:00
dapan1121
40af7fb836 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-08-13 09:36:28 +08:00
wangjiaming0909
4fd8688795 postfix exchange operator blocking due to addref failed 2024-08-09 14:43:50 +08:00
wangjiaming0909
efd1ece152 1. fix exchange operator dead lock due to no ret check for add ref
2. fix null pointer of FetchRpcHandle of exchangeoperator
2024-08-08 18:07:43 +08:00
54liuyao
5c859554d0 Merge branch '3.0' of github.com:taosdata/TDengine into fix/TD-31288 2024-08-08 10:36:09 +08:00
54liuyao
91ccd23f63 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-31297 2024-08-08 10:13:05 +08:00
54liuyao
bd5452c60c Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-31270 2024-08-08 08:40:38 +08:00
54liuyao
c91595c2cc Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-31297 2024-08-08 08:40:07 +08:00
54liuyao
3a7c4ab5a1 Merge branch '3.0' of github.com:taosdata/TDengine into fix/TD-31288 2024-08-07 16:59:45 +08:00
54liuyao
8ab78009a9 fix issue 2024-08-07 16:59:19 +08:00
dapan1121
dd28770bf7
Merge pull request #26914 from taosdata/fix/TD-31167
add new interface
2024-08-07 16:41:17 +08:00
54liuyao
db0c2e4be4 free operator 2024-08-07 15:53:23 +08:00
54liuyao
e6cc6a47e4 fix mem leak 2024-08-07 10:06:04 +08:00
wangjiaming0909
2b8115d308 fix exchangeoperator ret check 2024-08-07 09:33:11 +08:00