Commit Graph

468 Commits

Author SHA1 Message Date
kailixu b0fa490dd6 test: add test case for auto compact 2024-12-29 15:13:38 +08:00
kailixu 1bc3c4a449 test: add test case for auto compact 2024-12-28 19:28:07 +08:00
54liuyao 0bf9fb1e31 add reset stream 2024-12-27 15:11:19 +08:00
freemine 9811636ec1 remove FULL [SEMI|ANTI|WINDOW] JOIN 2024-12-26 23:13:35 +08:00
freemine 664d5ba180 remove WINDOW JOIN 2024-12-26 21:10:22 +08:00
freemine 7d07455bdc remove ASOF JOIN and FULL ASOF JOIN 2024-12-26 17:26:06 +08:00
freemine 3ac6ed61b5 adjust joined_table grammar to make it forward-compatible 2024-12-26 13:23:47 +08:00
freemine 718d320455 1. make lemon warning as error, so that no syntax conflicts in sql.y exists
2. resolving joined_table syntax conflicts
2024-12-23 14:00:04 +08:00
factosea 7964e5e6b7 cols function 2024-12-17 15:12:14 +08:00
dongming chen 20cc54aaaa
Merge branch 'enh/TD-29974-improve-trans' into dmchen/trans-improve 2024-12-16 10:34:11 +08:00
kailixu f8343dcaac chore: merge 3.0 and update test case of show_create_db.py 2024-12-06 11:09:22 +08:00
kailixu a6e86619b0 feat: database auto compact 2024-12-05 13:06:53 +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
kailixu 118c75241d feat: time_range syntax for auto compact 2024-12-03 19:23:17 +08:00
kailixu 92471c5834 feat: add time range list for auto compact 2024-12-03 17:51:41 +08:00
kailixu 3e816658af chore: resolve conflicts 2024-12-03 15:27:55 +08:00
Hongze Cheng 25b9de5d51 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-12-03 14:32:03 +08:00
yihaoDeng 3d92cbb691 Merge remote-tracking branch 'origin/3.0' into enh/addDiskUsage 2024-12-02 19:05:33 +08:00
Hongze Cheng 61d8fbc9d9 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-12-02 09:11:44 +08:00
Hongze Cheng 9f6f82ff98 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-11-29 15:10:27 +08:00
yihaoDeng e495d39220 Merge remote-tracking branch 'origin/3.0' into enh/addDiskUsage 2024-11-29 13:50:09 +08:00
wangjiaming0909 3239a10b76 support interp fill extension 2024-11-28 20:30:53 +08:00
kailixu 404b66e860 feat: support auto compact 2024-11-27 16:27:14 +08:00
kailixu 67924ee55b feat: support auto compact 2024-11-26 19:46:48 +08:00
yihaoDeng 4d857b0149 fix mem leak 2024-11-25 15:22:53 +08:00
yihaoDeng 3027e377fa support update multi tag 2024-11-23 22:18:30 +08:00
yihaoDeng 42065bf2e8 Merge remote-tracking branch 'origin/3.0' into enh/addDiskUsage 2024-11-14 17:44:29 +08:00
Hongze Cheng be743733a5 feat: support database auto compact parameters 2024-11-14 17:01:15 +08:00
Hongze Cheng 318ac32ca2 more code 2024-11-07 15:43:54 +08:00
Hongze Cheng 987478ff68 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-11-07 14:32:27 +08:00
dmchen 623017b16d dmchen/trans-improve-show 2024-11-07 02:32:44 +00:00
Hongze Cheng 598843f699 some code change 2024-11-05 10:55:06 +08:00
54liuyao de92e455a6 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-11-04 09:11:43 +08:00
yihaoDeng b38d5a2492 support show db disk info 2024-11-02 21:36:08 +08:00
Shengliang Guan 6690a9ec84 feat: remove alter db options 2024-10-29 21:24:27 +08:00
Shengliang Guan adf7ea29cb feat: alloc dnode from input dnode list 2024-10-29 14:40:40 +08:00
Shengliang Guan 59f00727e5 Merge remote-tracking branch 'origin/3.0' into enh/dnodelist 2024-10-29 11:39:11 +08:00
54liuyao 95ba57c139 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-29 10:57:12 +08:00
Minglei Jin 53826a320f fix(s3/s3_chunksize): rename to s3_chunkpages & default to 128k pages 2024-10-28 16:46:26 +08:00
Shengliang Guan 0cae5f178c enh: increase synatx parser 2024-10-26 21:16:28 +08:00
54liuyao 3365da365f Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-22 10:17:49 +08:00
54liuyao 944457d7a6 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-16 12:09:17 +08:00
Shengliang Guan 3003e7286e feat: data analysis 2024-10-15 10:00:38 +08:00
Shengliang Guan 9f05ca5ee8 revert: data analysis 2024-10-14 23:27:11 +08:00
54liuyao 9377450199 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-14 13:55:05 +08:00
Shengliang Guan 159c318fbd feat: analysis parser 2024-10-09 18:18:45 +08:00
54liuyao d44529e62f Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-25 15:12:15 +08:00
kailixu e16ac8aa5d enh: support drop table by uid 2024-09-12 16:12:52 +08:00
54liuyao 77ffe89bf6 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-10 10:22:20 +08:00
Jing Sima a249bef104 feat:[TS-4893] Add random and support use min/max on string column. 2024-09-09 18:48:24 +08:00
54liuyao d4062efa1c Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-03 09:29:41 +08:00
Jing Sima 4c9bfac39d feat:[TS-5323] Support using 'level' as columnname. 2024-09-02 16:57:21 +08:00
54liuyao 3583237942 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-08-22 14:47:16 +08:00
sima 2e51d5409a fix:[TD-31469] Fix trim sql syntax error. 2024-08-15 15:28:32 +08:00
54liuyao 141de6e19b Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-08-14 19:21:59 +08:00
sima a54019211f feat:[TS-4893] Support MYSQL functions.
Add more functions:
 - Numeric Functions: PI(),ROUND(),TRUNC(),EXP(),LN(),SIGN(),DEGREES(),RADIANS().
 - String Functions: CHAR(),ASCII(),POSITION(),TRIM(),REPLACE(),REPEAT().
 - Date and Time Functions: WEEKDAY(),DAYOFWEEK(),WEEK(),WEEKOFYEAR().
 - Aggregate Functions: VAR_POP().
Modify some functions:
 - ROUND(): support round to given decimal places.
 - CHAR_LENGTH(): support calculate multi-byte character's length.
 - TIMEDIFF(): result will be negative when expr1 < expr2.
 - STDDEV(): add alias name STDDEV_POP().
 - SUBSTR(): add alias name SUBSTRING().
             support new syntax SUBSTRING/SUBSTR(expr FROM pos [FOR len]).
2024-08-14 09:19:25 +08:00
54liuyao bdaf0d419e stream interp force window close 2024-08-06 16:14:15 +08:00
wangjiaming0909 4d5cd9cd1a planner/nodes/parser ret check 2024-07-26 17:57:27 +08:00
wangjiaming0909 0cccaa8ac4 ret value for parTranslater.c 2024-07-17 10:26:06 +08:00
Shungang Li 942599fe04 enh: 'create table' parses csv file per tsMaxInsertBatchRows 2024-07-11 16:14:31 +08:00
Shungang Li eaa45470a5 feat: 'create table' add keyword file 2024-06-25 10:55:36 +08:00
Shungang Li 17e84e1fca Merge branch '3.0' into feat/TS-4917-3.0 2024-06-25 10:33:12 +08:00
Shungang Li b3368f6472 feat: 'create table' from csv file 2024-06-24 22:13:03 +08:00
dmchen 4c8ce7a14c feat/TS-4954 2024-06-17 06:31:39 +00:00
kailixu 2f222514dc chore: merge 3.0 2024-06-04 16:34:02 +08:00
Yihao Deng c6407277dc support add column compress 2024-05-30 11:41:22 +00:00
kailixu 0ef202a56b enh: createdb permission for users 2024-05-22 19:00:47 +08:00
dmchen 7c31014c4d add sql 2024-05-13 08:20:27 +00:00
dm chen 1196ea72da
Merge branch '3.0' into feat/TD-24834 2024-04-17 17:13:29 +08:00
Yihao Deng 04e78d0ce7 Merge branch 'feat/3.0' into feat/compress_3.0 2024-04-17 03:23:02 +00:00
kailixu 74afb8deae chore: solve conflicts 2024-04-17 10:52:34 +08:00
Yihao Deng 6f9de676f0 Merge branch 'fix/compress_3.0' into feat/compress_3.0 2024-04-16 09:27:26 +00:00
wangjiaming0909 6ce0616ffd fix ci and TODOs 2024-04-16 14:25:34 +08:00
wangjiaming0909 2b594e02d2 fix tsma name too long 2024-04-16 14:25:20 +08:00
wangjiaming0909 70ca830378 support recursive tsma creation 2024-04-16 14:17:12 +08:00
wangjiaming0909 8e2977d083 create tsma request 2024-04-16 14:13:10 +08:00
wangjiaming0909 d2106e0ade sql syntax and create translate 2024-04-16 14:13:10 +08:00
dapan1121 55d118d17c Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-04-16 09:12:04 +08:00
Yihao Deng ea9385912f Merge branch '3.0' into feat/compress_3.0 2024-04-15 09:06:30 +00:00
kailixu 123090e18a fix: solve conflicts 2024-04-15 16:12:15 +08:00
dm chen 4d660d89c0
Merge branch '3.0' into feat/TD-24834 2024-04-15 15:12:32 +08:00
factosea f831870efb fix: primary key sql 2024-04-15 14:08:54 +08:00
yihaoDeng 4948bd690d 3.0 merge compress 2024-04-15 11:38:44 +08:00
kailixu 3738ce9e10 chore: solve conflicts of sql.c 2024-04-11 11:05:58 +08:00
yihaoDeng a02426fd2f Merge branch '3.0' into feature/compressData 2024-04-10 09:03:50 +00:00
Minglei Jin 0761692b14 Merge branch 'feat/TS-4243-3.0' into enh/TD-28945-pk 2024-04-10 16:30:06 +08:00
Minglei Jin 49a9c5abad Merge branch '3.0' into feat/TS-4243-3.0 2024-04-10 16:24:24 +08:00
factosea 4686d82a2d cast support 2024-04-10 11:48:50 +08:00
Minglei Jin 6eb014e32b Merge branch 'feat/TS-4243-3.0' into enh/TD-28945-pk 2024-04-09 19:11:46 +08:00
factosea 29583e20b8 fix: sql 2024-04-09 18:03:56 +08:00
factosea 239844e3b0 feat/binary without length supported 2024-04-09 18:00:48 +08:00
Minglei Jin a407f76165 Merge branch '3.0' into enh/TD-28945 2024-04-08 10:55:47 +08:00
Minglei Jin ca1262c5c5 cos/multi-write: parser part 2024-04-08 10:31:26 +08:00
dapan1121 6d52120bf7 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-04-07 13:54:39 +08:00
54liuyao 204c5acefe Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-04-02 09:10:52 +08:00
yihaoDeng 53ecfe511a Merge branch '3.0' into feature/compressData 2024-04-01 08:04:16 +00:00
kailixu 6eaa99bb2d feat: encryption algorithm 2024-04-01 13:58:13 +08:00
kailixu ba65f5a519 enh: integer with duration literal for timestamp 2024-03-31 20:50:02 +08:00
factosea 9ddc0b51cb merge 2024-03-29 10:37:59 +08:00
kailixu 374ef4593c feat: encryptions/encrypt_key grammar 2024-03-26 19:56:15 +08:00