Commit graph

128 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
dapan1121
84c37d501a enh: support ? in limit clause 2025-01-22 11:45:12 +08:00
dapan1121
2bd493f77b fix: return code issues 2024-12-11 19:18:50 +08:00
Jinqing Kuang
c2256e9443 feat(query)[TS-5058]: support AUTO OFFSET in INTERVAL clause
Add the AUTO keyword, which allows automatic determination of the
INTERVAL OFFSET based on the WHERE condition. It simplifies usage by
allowing users to rely on the system to infer the correct offset
without manual specification.
2024-12-04 10:06:47 +08:00
factosea
f3acf49e22 enh: include 2024-11-19 16:23:46 +08:00
factosea
0bb872c1d9 enh: command/explain 2024-11-12 15:03:48 +08:00
xsren
9adc756975 enh: parameter validation 2024-11-07 17:37:33 +08:00
xsren
f35d2847b9 enh: blockencode 2024-10-23 13:51:46 +08:00
xsren
d01a3481bc block buf len check 2024-10-23 13:51:46 +08:00
lyh250-666
116844208d enh:modify error code passing 2024-09-20 13:23:44 +08:00
lyh250-666
28d0dc8e5b modify error code pass in libs/catalog/, libs/function/ and libs/command/ 2024-09-02 22:59:49 +08:00
xsren
bc0ad2d461 fix: check blockEncode result 2024-08-23 15:51:18 +08:00
xsren
6e820d28ab unused code 2024-08-08 13:41:47 +08:00
xsren
5dbf50c555 fix: return code 2024-08-08 09:49:22 +08:00
xsren
bec6dfe16b return value 2024-08-07 16:51:39 +08:00
Haojun Liao
7be2ecbe1f fix(common): check the return value. 2024-07-27 18:55:34 +08:00
wangjiaming0909
1994c3339b nodes add ret check 2024-07-26 17:55:48 +08:00
Shungang Li
f5f84c3cc6 feat: (errcode) ttime.c 2024-07-23 09:13:42 +08:00
xsren
e86189d9ea check serialize result 2024-07-22 09:36:59 +08:00
xsren
ebec7c928b array push 2024-07-22 09:36:59 +08:00
xsren
02ea558db8 enh: return value: command 2024-07-22 09:26:58 +08:00
Haojun Liao
7a90e68667 fix(query): fix bugs caused by refactor. 2024-05-19 13:55:46 +08:00
Haojun Liao
1e5098f676 fix(query): fix bugs caused by refactor. 2024-05-19 13:32:30 +08:00
Haojun Liao
6124666488 fix(query): fix bugs caused by refactor. 2024-05-18 18:40:49 +08:00
Haojun Liao
92b247e5b4 refactor: move compress data in query threads. 2024-05-16 15:55:48 +08:00
dapan1121
319ab5f2c2 enh: support hash join 2024-04-12 15:44:23 +08:00
dapan1121
86db8efcda enh: support hash join 2024-04-10 19:27:36 +08:00
dapan1121
74cef4ac6b fix: window join filter issue 2024-03-28 13:45:55 +08:00
dapan1121
e6caf6fd43 fix: binary copy and case issue 2024-03-22 11:02:21 +08:00
dapan1121
3835a5b349 fix: error log and union issue 2024-03-22 08:47:07 +08:00
dapan1121
98ed2458ea Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-02-20 17:39:51 -08:00
dapan1121
c4dbae3a5a enh: add window join ut 2024-02-20 17:13:29 -08:00
54liuyao
c9753ab9df explain count window 2024-02-07 08:55:18 +08:00
dapan1121
abdf6d337a enh: push down conditions 2023-11-29 20:06:30 +08:00
dapan1121
dd0ac98a5f fix: correct no data load 2023-11-09 19:25:44 +08:00
dapan1121
49ebb7145e enh: support split cache last and other functions 2023-11-08 18:42:41 +08:00
dapan1121
0ed4d1507f feat: support non_sort mode 2023-11-07 09:23:06 +08:00
wangjiaming0909
f2832b5aa7 feat: pipelined agg when partition by col slimit 2023-09-21 17:45:49 +08:00
dapan1121
143c657571 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-16 14:50:31 +08:00
shenglian zhou
84e472ad03 enhance: tag cond col list only once and tag scan derive from scan 2023-08-15 16:10:54 +08:00
dapan1121
6ce28e8886 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-14 10:49:56 +08:00
dapan1121
c9656d3f77 fix: fix memory issues 2023-08-11 17:39:41 +08:00
slzhou
cb9c6c1256 fix: compilation error 2023-08-03 21:47:33 +08:00
slzhou
2deeec93bf fix: explain with state window 2023-08-03 21:43:08 +08:00
dapan1121
8f39b9d2e4 enh: optimize query plan 2023-06-27 19:36:51 +08:00
wangjiaming0909
fb4f174fbc feature: add input, output ts order for execution plans 2023-06-16 10:26:09 +08:00
dapan1121
a1eefd25ea fix: count wrong group number issue 2023-05-09 11:33:47 +08:00
Xiaoyu Wang
1ab144609e merge main 2023-02-23 14:58:22 +08:00
Haojun Liao
8d187efc18 refactor:do some internal refactor. 2023-02-20 10:04:08 +08:00
Xiaoyu Wang
0b1bb7a1fb merge 3.0 2023-01-16 17:55:35 +08:00