Commit Graph

419 Commits

Author SHA1 Message Date
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
Haojun Liao d8993c16ee fix(stream): update test case. 2024-07-23 19:32:05 +08:00
kailixu 41d175a6a1 fix: insert clause mixed with bound and unspecified columns 2024-07-19 15:12:32 +08:00
kailixu 0792b025ea fix: insert clause mixed with bound and unspecified columns 2024-07-19 15:08:34 +08:00
xjzhou c9153b8176 update CI test case stmt_error 2024-07-05 16:27:40 +08:00
Alex Duan c565ee80c0
Merge pull request #26043 from taosdata/ts4851
update test cases to fix uncertainty results by charles
2024-06-05 13:46:57 +08:00
charles 68915197ee update test cases to fix uncertainty results by charles 2024-06-05 08:25:39 +08:00
Haojun Liao 3baa4169e6 Merge branch '3.0' into fix/3_liaohj 2024-05-20 10:31:53 +08:00
Chris Zhai 5ac136fdee update test cases for TS-4791 2024-05-15 15:20:20 +08:00
Haojun Liao abd90c733a fix(stream): remove backend files only after the in-memory task is dropped. 2024-05-15 14:24:35 +08:00
Chris Zhai 7b017b817d update test cases 2024-05-06 14:55:39 +08:00
Chris Zhai 5ea788fb7e add test cases for td-29157 2024-05-06 11:36:56 +08:00
Chris Zhai 27a10c944a add test scripts for td29793 2024-04-28 15:27:57 +08:00
Chris Zhai 5da1fffa99 update cases 2024-04-19 16:41:53 +08:00
Chris Zhai 198e516bbf Merge branches 'TEST/3.0/TS-4243' and '3.0' of github.com:taosdata/TDengine into TEST/3.0/TS-4243 2024-04-19 14:20:47 +08:00
Chris Zhai 8c422fac52 Merge branch '3.0' of github.com:taosdata/TDengine into TEST/3.0/TS-4243 2024-04-19 13:33:57 +08:00
Chris Zhai 35453772eb update composite_primary_key_create 2024-04-19 13:33:38 +08:00
kailixu 74afb8deae chore: solve conflicts 2024-04-17 10:52:34 +08:00
wangjiaming0909 e43580f71b fix ci 2024-04-16 14:25:20 +08:00
dm chen aedec5ead7
Merge branch '3.0' into feat/TD-24834 2024-04-16 11:35:49 +08:00
Haojun Liao eba924776f fix(stream): update test cases. 2024-04-15 23:26:18 +08:00
Chris Zhai 88d227a97d update composite primary ke case 2024-04-14 12:19:04 +08:00
Chris Zhai a7fb349916 add flush before select 2024-04-12 16:42:48 +08:00
Chris Zhai 0241be8b08 add flush test to composite primary key insert 2024-04-12 10:57:46 +08:00
Chris Zhai 49639714f3 update test cases for composite_primary_key_insert 2024-04-12 09:47:41 +08:00
Chris Zhai 42bf46139a update stmt test cases 2024-04-11 11:17:00 +08:00
Chris Zhai e0b60125b5 chore: add test case for composite primary key 2024-04-10 17:05:16 +08:00
Chris Zhai ea81f194c0 update composite_primary_key_insert.py 2024-04-10 16:21:30 +08:00
Chris Zhai b61bf20ebf add test scripts for TS-4243 2024-04-03 18:05:21 +08:00
kailixu 6eaa99bb2d feat: encryption algorithm 2024-04-01 13:58:13 +08:00
Chris Zhai cba77f9f72 update test cases for ts-4221- v5 2024-03-22 14:31:15 +08:00
Chris Zhai facca231f8 update test cases for ts-4421 - v3 2024-03-21 14:39:22 +08:00
Chris Zhai 9bf540a1b2 update test case for ts-4421 - v2 2024-03-20 17:35:21 +08:00
Chris Zhai 843ecffc66 add test cases for ts-4211 - v1 2024-03-19 19:19:25 +08:00
kailixu 26fdab743b test: tag/col insert syntax 2024-03-14 17:13:56 +08:00
kailixu b3db823767 enh: expand syntax for bool 2024-03-14 11:16:17 +08:00
kailixu 2275eeac7c test: tag/column value verify 2024-03-13 19:58:54 +08:00
kailixu 9901825bb0 enh: support binary/hex integer 2024-03-13 15:12:21 +08:00
kailixu da0254b49b fix: unify tag value parsing syntax 2024-03-12 19:24:07 +08:00
kailixu 28e7aef816 fix: unify tag value parsing syntax 2024-03-11 19:54:42 +08:00
kailixu 7cb244a067 fix: unify tag value parsing syntax 2024-03-11 00:09:52 +08:00
kailixu 433179af0d fix: unify tag value parsing syntax 2024-03-10 22:14:57 +08:00
charles 57148a7731 udpate checkAsan.sh to skip asan_malloc_linux.cpp error 2024-02-02 10:16:14 +08:00
Alex Duan 1f72313332
Merge pull request #24627 from taosdata/coverage/TD-28401-3.0
coverage: sclfunc.c with query_basic.py
2024-01-26 09:06:17 +08:00
Alex Duan 79b694371b fix: tweak timetruncate 2024-01-25 17:07:39 +08:00
Alex Duan 73ead88d70 fix: preciousUS NS passed 2024-01-25 16:55:12 +08:00
Alex Duan 27aa90d6b0 feat: sclfuns.c finished 2024-01-25 09:12:02 +08:00
charles d63606c04f update test case test_ts4382.py for special testing and alter_database.py for arm64 2024-01-23 17:36:06 +08:00
zk66214 a9fe3ecaa9 fix characters problem 2024-01-12 10:21:13 +08:00
chenhaoran db9655c549 test: save case.sql when case is failed and set default saved sqlfile True 2024-01-05 17:07:24 +08:00