Commit Graph

814 Commits

Author SHA1 Message Date
Shengliang Guan 3e1692d2c5
Merge pull request #29410 from freemine/freemine.lemon.warning.as.error.with.jointest
Freemine.lemon.warning.as.error.with.jointest
2025-01-07 10:04:12 +08:00
freemine c2e5910c23 inner join [ON ...]; window join [ON ...] WINDOW_OFFSET ... 2025-01-03 22:26:47 +08:00
freemine 86da050f25 fail as early as in parser stage 2025-01-02 19:43:45 +08:00
freemine 3d9b243f85 revert: only [LEFT|RIGHT] is allowed for non-inner-join 2024-12-31 15:17:56 +08:00
Shengliang Guan fcca5e7c2e
Merge pull request #29381 from taosdata/fix/liaohj
test: add test cases and fix related bugs.
2024-12-31 11:10:34 +08:00
freemine 26ba35c883 re-enable FULL <non-inner-join> at sql grammar level 2024-12-31 07:37:55 +08:00
freemine 12efc52af3 typo: JOIN_TYPE_NONE -> JOIN_TYPE_INNER 2024-12-30 20:15:33 +08:00
freemine 4acf170690 remove LEFT as default for non-inner-joins 2024-12-30 19:30:43 +08:00
freemine 69826e9569 Merge remote-tracking branch 'tdengine/3.0' into freemine.lemon.warning.as.error 2024-12-30 14:41:38 +08:00
kailixu 243195c37a test: add test case for auto compact 2024-12-29 15:21:49 +08:00
kailixu de3558a4a7 test: add test case for auto compact 2024-12-29 15:14:51 +08:00
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
Hongze Cheng 8bf5f3f62b Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-12-13 13:54:45 +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
wangmm0220 0165684131 feat:[TD-32642] merge from 3.0 2024-12-05 23:47:46 +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
wangmm0220 0e2a16d70f feat:[TD-32642] add charset for connection support 2024-11-27 14:25:34 +08:00
kailixu 67924ee55b feat: support auto compact 2024-11-26 19:46:48 +08:00
wangmm0220 2ca9f9c8ce feat:[TD-32642] merge from 3.0 2024-11-26 00:13:43 +08:00
yihaoDeng 4d857b0149 fix mem leak 2024-11-25 15:22:53 +08:00
Hongze Cheng 496d9bb405 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-11-25 13:39:47 +08:00
yihaoDeng 3027e377fa support update multi tag 2024-11-23 22:18:30 +08:00
wangmm0220 69da972796 feat:[TD-32642] add timezone logic 2024-11-22 18:31:51 +08:00
yihaoDeng 407eeb6620 Unable to 2024-11-22 14:43:11 +08:00
wangjiaming0909 6c18289de0 fix tsbs perf issue 2024-11-18 14:11:21 +08:00
yihaoDeng 42065bf2e8 Merge remote-tracking branch 'origin/3.0' into enh/addDiskUsage 2024-11-14 17:44:29 +08:00
yihaoDeng 6ad894b356 support quick cmd 2024-11-14 17:04:11 +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 4c2dbef46c
Merge pull request #28596 from taosdata/enh/dnodelist
feat: support create database in the specified dnode list.
2024-11-01 20:21:55 +08:00
Pan Wei 077da8d945
Merge branch '3.0' into opti/TD-30681 2024-10-31 08:39:12 +08:00
dapan1121 edfefbff77 fix: value node clone issue 2024-10-30 19:07:47 +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
54liuyao dd7f705dcc Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-09 19:31:44 +08:00
Shengliang Guan 159c318fbd feat: analysis parser 2024-10-09 18:18:45 +08:00
Shengliang Guan 4dc0c2f47e feat: data analysis 2024-10-09 17:09:43 +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
54liuyao e53fafc08f Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-20 15:31:03 +08:00
kailixu b0a711e575 Merge branch '3.0' into enh/TS-5111-3.0 2024-09-20 09:45:49 +08:00
kailixu 9cc0702a77 enh: drop table with uid 2024-09-19 18:34:49 +08:00
wangjiaming0909 91927e84a5 ret check for memory allocation 2024-09-18 19:11:35 +08:00
kailixu 107ad05273 enh: support drop table with uid 2024-09-18 19:04:44 +08:00
kailixu ba10e95723 enh: support drop table with uid 2024-09-18 16:05:05 +08:00
kailixu 28edf40c2a enh: support drop table with uid 2024-09-18 13:57:17 +08:00
kailixu 302c08331f enh: support drop table with uid 2024-09-17 10:33:38 +08:00
kailixu cd358de7ce enh: support drop table with uid 2024-09-16 18:54:53 +08:00
kailixu 31bb993e0d enh: support drop table with uid 2024-09-14 17:57:30 +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 4a8bbc36bd feat:[TS-4893] refactor of rand function. 2024-09-09 18:48:24 +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 1994c3339b nodes add ret check 2024-07-26 17:55:48 +08:00
kailixu 0792b025ea fix: insert clause mixed with bound and unspecified columns 2024-07-19 15:08:34 +08:00
wangjiaming0909 0cccaa8ac4 ret value for parTranslater.c 2024-07-17 10:26:06 +08:00
Hongze Cheng 77e2582cc1
Merge pull request #26536 from taosdata/enh/TD-30856-3.0
enh: 'create table' parses csv file per tsMaxInsertBatchRows
2024-07-15 13:54:48 +08:00
Shungang Li 942599fe04 enh: 'create table' parses csv file per tsMaxInsertBatchRows 2024-07-11 16:14:31 +08:00
sima 7526f8315a feat:[TS-5131] Support parse alias table name with backquote. 2024-07-04 16:10:19 +08:00