Commit Graph

60 Commits

Author SHA1 Message Date
Jing Sima c26ab17f19 enh:[TD-32459] Abstract function properties into a struct. 2024-10-24 15:08:56 +08:00
qevolg 65199c9826 test(func): modify updatecfg_dict to updatecfgDict 2024-10-22 15:08:14 +08:00
qevolg 7af2a8dbc3 test(func): delete unused files and rename 2024-10-21 14:09:25 +08:00
qevolg 80f2e3aee3 test(func): modify sql func test cases 2024-10-21 10:31:26 +08:00
qevolg d2b2c4e381 test(func): modify sql func test cases 2024-10-20 09:41:04 +08:00
qevolg 48d0fdf437 Merge remote-tracking branch 'origin/3.0' into test/3.0/TS-4893 2024-10-19 21:04:58 +08:00
Feng Chao 8bb68adbcb
Merge pull request #28347 from taosdata/test/3.0/TD-32536
test:Add a function to verify the consistency between the expected result file and the actual output file
2024-10-18 15:00:09 +08:00
qevolg e084b40054 test(func): revert to the previous version 2024-10-12 17:45:03 +08:00
qevolg 6e7e38694c Merge remote-tracking branch 'origin/3.0' into test/3.0/TS-4893 2024-10-12 17:31:32 +08:00
chenhaoran 1980866fd9 test:Add a function to verify the consistency between the expected result file and the actual output file 2024-10-12 17:19:31 +08:00
Jing Sima 6231d46cc5 enh:[TD-32189] Add validation to prevent changes to resultinfo structure. 2024-10-12 15:14:59 +08:00
qevolg a88f4182f4 test(func): modify func test cases 2024-10-12 10:31:05 +08:00
qevolg b0dfe54d23 test(func): modify func test cases 2024-10-10 13:57:15 +08:00
qevolg 1589dd82c5 Merge branch '3.0' into test/3.0/TS-4893 2024-10-10 09:42:14 +08:00
qevolg 83e62140e0 test(func): modify func test cases 2024-10-10 09:40:24 +08:00
wangmeng c6ad2a1e21 fix:[TD-32198] add a test case to verify HAVING key 2024-09-30 17:48:42 +08:00
qevolg 475b966bff Merge branch '3.0' into test/3.0/TS-4893 2024-09-28 21:48:45 +08:00
qevolg 360f30d7e8 test(function): add function CI test cases 2024-09-28 21:48:28 +08:00
Jinqing Kuang 1ccaaf75bd fix(query)[TS-5443]. Fix invalid key in ORDER BY within subqueries
Resolved an issue where an ORDER BY alias in subqueries failed to
convert to the expected ColumnNode when the corresponding column
could be omitted. Updated the conversion logic to handle this case
correctly and ensure proper query execution.
2024-09-20 14:44:30 +08:00
Feng Chao a49c7a84eb
Merge pull request #27970 from taosdata/td-32059
add ci test case for td-32059, td-31880, td-31966, td-32051 by charles
2024-09-20 10:02:04 +08:00
qevolg 2d5c3a190f [TS-5437] test(query): add CI test cases 2024-09-19 23:36:52 +08:00
charles 309ddb3a94 add ci test case for td-32059, td-31880, td-31966, td-32051 by charles 2024-09-19 16:52:39 +08:00
qevolg 46e04d3278 Merge branch '3.0' into test/3.0/TS-4893 2024-09-14 23:14:17 +08:00
qevolg 4b5148314d [TS-4893]test(function): add correctness check 2024-09-14 10:28:19 +00:00
charles 379a837b8c Add ci test case to cover ts-5400 by charles 2024-09-14 08:46:13 +08:00
qevolg ed4c26181b Merge branch '3.0' into test/3.0/TS-4893 2024-09-13 13:35:16 +00:00
qevolg b836235b67 [TS-4893]<test>: add CI test cases test_function 2024-09-13 13:14:10 +00:00
Feng Chao b29bc45021
Merge pull request #27861 from shuizhilong/3.0
add a test case to verify TS-5349
2024-09-13 16:28:41 +08:00
wangmeng 1eb3124cbd add a test case to verify TS-5349 2024-09-13 10:31:10 +08:00
charles d255e2a7a5 add test case for ts-5389 by charles 2024-09-13 07:57:23 +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
Feng Chao 26835e6e5f
Merge pull request #27582 from taosdata/test/3.0/TD-31660
add case by TD-31660 TS-5340
2024-09-03 09:06:57 +08:00
Leo Xu 579fab19e0 change db name 2024-09-02 14:59:11 +08:00
Leo Xu e12298f814 add case by TD-31726 2024-09-02 14:50:25 +08:00
Leo Xu 7fa3eddaf6 add case TD-31660 2024-08-30 16:31:31 +08:00
Leo Xu a250823fb5 add case by TS-5340 2024-08-30 15:09:57 +08:00
Jinqing Kuang 2a7cfd6ad8 test(query)[TS-4893]: Add test cases for MySQL function support 2024-08-30 10:11:32 +08:00
Pan Wei 0c587949e7
Merge pull request #27400 from taosdata/feat/TS-4893-test
feat:[TS-4893] Add test.
2024-08-28 18:53:26 +08:00
sima e65ea2f99f feat:[TS-4893] Add test. 2024-08-28 10:05:28 +08:00
Chris Zhai a04defbcca add test case for TD_31684 2024-08-27 19:25:41 +08:00
charles 6fbfda871f add test case for last and last_row 2024-08-15 13:49:45 +08:00
dapan1121 084592dc34
Merge pull request #27168 from taosdata/feat/TS-4893
feat:[TS-4893] Support MYSQL functions.
2024-08-14 15:10:27 +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
charles 75df5d47f1 update test case for TD-30995 by charles 2024-08-13 15:13:18 +08:00
Alex Duan 3b82afa238
Merge pull request #27089 from taosdata/test/TD-31264
test: add a case for concat function
2024-08-13 11:08:40 +08:00
lyh250-666 b914cf8dbf test: add a case for concat function 2024-08-08 17:17:33 +08:00
charles 298a72bd8e add test case for ts-5239 by charles 2024-08-01 15:40:28 +08:00
zhiyong db40210a63 add cast case 2024-07-17 17:27:14 +08:00
zhiyong 38e66c58eb add ci case TD-30948 2024-07-15 10:13:47 +08:00