Commit Graph

3120 Commits

Author SHA1 Message Date
dapan1121 3bd5fbad0c
Merge pull request #21754 from taosdata/fix/TD-24832
fix: invalid system table primary key and distinct order by column issue
2023-06-19 13:24:48 +08:00
dapan1121 c79273955d fix: timeline function for system table query case 2023-06-19 10:12:30 +08:00
chenhaoran bc0dc76e7d test:add test case for windows 2023-06-16 17:35:22 +08:00
chenhaoran 0eae4a5c85 Merge branch 'main' of https://github.com/taosdata/TDengine into main 2023-06-16 16:13:34 +08:00
chenhaoran d51edbafc4 test:add testcase r for TS-3524 2023-06-16 14:33:22 +08:00
dapan1121 575c48212a
Merge pull request #21721 from taosdata/fix/TD-24707
fix: forbid system table functions
2023-06-15 18:52:33 +08:00
dapan1121 205e79ad28
Merge pull request #21736 from taosdata/fix/TD-24790
fix: fix fill double type column with scalar expression error
2023-06-15 18:45:40 +08:00
Haojun Liao 1b9eca5ce0 other: merge main. 2023-06-15 13:03:17 +08:00
Ganlin Zhao 99ae96daf6 add test cases 2023-06-15 11:01:07 +08:00
Ganlin Zhao 2131159a38 add test case 2023-06-14 14:04:03 +08:00
wangmm0220 864236a8dc fix:conflicts 2023-06-14 12:05:10 +08:00
wangmm0220 c28d7d9bf8 fix:open info log in tmq client & modify parametes in show consumers 2023-06-14 12:01:54 +08:00
Hui Li bca86d6936
Merge pull request #21678 from taosdata/test/TD-24713-MAIN
test: make diff function testing case to pass
2023-06-14 08:34:26 +08:00
dapan1121 f84eef0ac4
Merge branch '3.0' into feat/TD-24499 2023-06-13 15:27:18 +08:00
Haojun Liao 933d08b489
Merge pull request #21690 from taosdata/feature/TS-3495
feat:add parameters for consumer & add offset rows for subscription
2023-06-13 14:59:15 +08:00
dapan1121 b8b3036905 fix: fix case issue 2023-06-13 13:53:40 +08:00
wangmm0220 fb17881609 fix:test cases 2023-06-13 09:18:57 +08:00
wangmm0220 1cbe7c8f29 fix:column length for ins_columns 2023-06-12 19:16:23 +08:00
wangmm0220 fe155898fe fix:modify offset description to string 2023-06-12 16:34:53 +08:00
wangmm0220 aa610b27a4 feat:add parameters for consumer & add offset rows for subscription 2023-06-09 18:51:10 +08:00
Hui Li 39e30a1da1
Merge pull request #21592 from flyingangel2013/ts_3469
update the ci test case for user privilege by charles
2023-06-09 16:31:40 +08:00
Hui Li 2311a670ab
Merge pull request #21475 from flyingangel2013/ts_3423
add test case for task 3423 by charles
2023-06-09 16:28:16 +08:00
Hui Li 5fab73aca5
Merge pull request #21471 from flyingangel2013/ts_3405
add test case for task 3405 by charles
2023-06-09 16:27:35 +08:00
Alex Duan 2bafca4b2b test: make diff function testing case to pass 2023-06-09 12:55:07 +08:00
Alex Duan 239c031487 test: add precision us and ns case 2023-06-08 15:41:57 +08:00
dapan1121 958160be0b
Merge pull request #21599 from taosdata/enh/TD-24274
enh: enable interp fill value support scarlar expression
2023-06-08 10:39:38 +08:00
dapan1121 6c20a331aa
Merge pull request #21547 from taosdata/fix/TD-24507
fix: fix multiple diffs output less lines if null values involved
2023-06-08 10:37:51 +08:00
Ganlin Zhao 46baeefea7 fix test cases 2023-06-07 18:39:33 +08:00
dapan1121 01683f6d92
Merge pull request #21527 from taosdata/feat/TS-3048
feat(query): support single point interp
2023-06-06 18:17:20 +08:00
jiacy-jcy be2b0662d2 test:modify test case for multilevel.py 2023-06-06 17:39:32 +08:00
Ganlin Zhao e8eadeb9f5 Merge branch '3.0' into feat/TS-3048 2023-06-06 14:55:12 +08:00
dapan1121 65d323d9c7
Merge pull request #21222 from taosdata/fix/TD-24001
enh: optimize timeline function validation
2023-06-06 14:22:53 +08:00
Ganlin Zhao 384aa4d70b add test cases 2023-06-05 16:41:09 +08:00
chao.feng 765111daf3 update the ci test cases for user privilege by charles 2023-06-05 14:56:19 +08:00
dapan1121 8aa2e96d4e fix: test case issue 2023-06-05 11:26:45 +08:00
Haojun Liao 5c115c0900 other:merge main. 2023-06-03 17:22:27 +08:00
yihaoDeng 9f8f5374aa fix: num_of_records_per_req item in json config need less than 32768. current = 100000 2023-06-02 16:56:20 +08:00
Haojun Liao 2e5a56a037
Merge pull request #21570 from taosdata/fix/liaohj_main
other: merge  3.0 into main.
2023-06-02 13:12:27 +08:00
Haojun Liao d45aa7ef84
Merge pull request #21555 from taosdata/fix/liaohj_main
other: merge main into 3.0.
2023-06-02 13:11:12 +08:00
Hui Li b9cdbe964f
Merge pull request #21438 from flyingangel2013/ts_3398
add test case for ci from test task ts_3398 by charles
2023-06-02 11:51:51 +08:00
Haojun Liao 5301c5756a other: merge main into 3.0. 2023-06-01 09:29:18 +08:00
Ganlin Zhao bd4021c599 fix test case 2023-05-31 16:10:38 +08:00
Ganlin Zhao 35af4a9585 add test cases 2023-05-31 13:45:16 +08:00
Ganlin Zhao 34d43647f6 add test cases 2023-05-31 13:42:02 +08:00
Alex Duan 772ef3bd19 test: modfiy insert rows to small 2023-05-30 15:39:15 +08:00
Alex Duan ed9eaf541d test: add smaBasic.py test case 2023-05-30 14:37:46 +08:00
Alex Duan 6a7d8858dc test: add smaBasic.py test case 2023-05-30 14:36:51 +08:00
Ganlin Zhao 0dc8baede4 add test cases 2023-05-30 14:21:47 +08:00
wangmm0220 757ac9b1d9 fix:add test cases 2023-05-30 14:20:21 +08:00
wangmm0220 78db3520a6 fix:conflict 2023-05-29 14:57:03 +08:00
wangmm0220 97e0e0ea0d fix:add test case 2023-05-29 14:35:59 +08:00
chao.feng 5d3e405032 update the test case by charles 2023-05-26 14:19:35 +08:00
chao.feng 8e735dc608 update test case ts_3405.py to reduce the testing time 2023-05-26 10:47:05 +08:00
chao.feng 4a4e3d9275 update replica number in case and only left the scenario of 3 replica 2023-05-25 11:53:10 +08:00
dmchen 0e41f82bb7 test case parameter 2023-05-25 11:26:11 +08:00
Ganlin Zhao bd45785dfd add test cases 2023-05-24 01:30:48 -07:00
Dingle Zhang 984211f3b4
Feature/3.0 geometry (#21037)
* Add GEOMETRY data type and make sql.c able to parse it. The GEMETRY works like BINARY so far.

* add GEOMETRY type into gConvertTypes to fix some issues like DELETE calling

* change some test cases to make sure no same timestamp is inserted, and add my smoketest.sh

* Add a function MakePoint() and introduce a lib geometry

* implement sql functions GeomFromText() and AsText()

* Use GEOS *_r funcions instead for thread safety

* Handle with TSDB_DATA_TYPE_GEOMETRY when INSERT geometry data by converting WKT.
Add geosWrapper to wrap the basic GEOS functions for TDEngine.

* refactor AsText and MakePoint functions to be like GeomFromText

* Show WKT when print geometry data in screen
Dump hex data when dump geometry data in a file

* define TYPE_BYTES item for TSDB_DATA_TYPE_GEOMETRY, which casued some strange issues.

* set number of decimals of WKT to 6

* Implement SQL function Intersects()

* refactor geometry sql functions

* Add geosErrMsgeHandler() to get the GEOS error detail

* use threadlocal to instantiate SGeosContext
call destroyGeosContext() only if the thread exists

* remove SGeosContext *context param for all geometry functions since we use thread local one,
so that all caller do not need to know the context.

* Modify Intersects() to call PreparedIntersects() when one of param is a constant, which has higher performance.

* rename prepareFn() to initCtxFn() to avoid confusion with PreparedFn

* Add prefix "ST_" for all geometry functions

* move getThreadLocalGeosCtx() and destroyThreadLocalGeosCtx() into util,
so that all unit test tools can compile

* Add unit test for geometry lib, only test MakePoint so far

* refactor and enhance existing cases in geomFuncTest

* implement NULL type and NULL value test for geomFuncTest

* add test on geomFromText()

* add unit test on AsText() in geomFuncTest

* combine some makePointFunction test items

* add intersectsFunctionTwoColumns test
refactor on callGeomFromTextWrapper functions

* enhance intersectsFunction test to add cases like input constant , NULL type, NULL value, or wrong content

* add more cases into intersectsFunction test

* Add basic test on geometry in system test

* Add ST_GeomFromText and ST_AsText function test in system test on geometry

* add ST_Intersects function test in system test on geometry

* support to check expectedErrno in system test on geometry

* adjust geomTest unit test and geometry system test

* add geometry data type and functions in doc english version

* implement touchesFunction() in geometry lib
refactor geometry relation functions model

* separate gemFuncTest into several src files

* add unit test on touchesFunction

* support sql function ST_Touches()
add system test on ST_Touches

* add docs for ST_Touches()

* Add ST_Contains()

* Add ST_Covers()

* Add ST_Equals()

* add swapAllowed param for geomRelationFunction()
read geom2 earlier intead of at doGeosRelation()

* Add ST_ContainsProperly()

* build on windows

* Merge from 3.0 to 3.0_geometry

* change macro definition TSDB_DATA_TYPE_GEOMETRY as the last one for compatibility

* change '\\NULL' to 'NULL' back in shellDumpFieldToFile()

* add /usr/local/include into include directory

* add /usr/local/inlcude and /usr/local/lib in cmake.platform for DARWIN
2023-05-24 15:36:46 +08:00
Haojun Liao 99f669434a
Merge pull request #21282 from taosdata/feature/TD-23117
feat:[TD-23117] add schema for ins_topics
2023-05-24 14:54:42 +08:00
wangmm0220 fc618d7978 fix:modify ci 2023-05-23 17:52:24 +08:00
wangmm0220 b9c613da75 fix:ci error 2023-05-22 18:36:47 +08:00
dapan1121 70444e2d82
Merge pull request #21329 from taosdata/feat/TD-21187
feat(query): interp support ignore null value opition
2023-05-20 14:14:21 +08:00
dapan1121 d801aaa2e6
Merge pull request #21352 from taosdata/fix/TD-24218
fix: fix interp in nested query and fill value with string issue
2023-05-20 14:10:26 +08:00
dapan1121 6e5ec3d097
Merge pull request #21358 from taosdata/feat/TD-23362-3.0
feat: support update active code by SQL
2023-05-20 14:09:20 +08:00
Alex Duan 8a54310e4c Merge branch 'main' into test/TD-23805-MAIN1 2023-05-20 14:04:06 +08:00
Alex Duan 0b12224021 test: add schemless insert case 2023-05-20 14:01:12 +08:00
Ganlin Zhao 91414ed8e3 fix test case 2023-05-19 16:54:40 +08:00
Ganlin Zhao 836efcac95 add test cases 2023-05-19 16:44:08 +08:00
Ganlin Zhao 0de1c61cea add test cases 2023-05-19 15:09:30 +08:00
Ganlin Zhao 807ec0b967 fix test case 2023-05-19 10:39:33 +08:00
wade zhang 1ade314043
Merge pull request #21325 from taosdata/feat/force-drop-dnode
Feat/force drop dnode
2023-05-19 09:23:54 +08:00
kailixu 573e16a2a7 chore: test case 2023-05-19 06:54:09 +08:00
kailixu 8eb4367d46 fix: range check and test case adjust 2023-05-19 06:50:12 +08:00
Ganlin Zhao 0a41ba1573 add test cases 2023-05-18 18:48:00 +08:00
kailixu 1de90208f7 test: test case for alter dnode active code 2023-05-18 18:02:48 +08:00
Hui Li 81589d461c
Merge pull request #21326 from taosdata/test/TD-21161
Test/td 21161
2023-05-18 16:31:34 +08:00
“happyguoxy” f680cab314 test: rowlength64k 2023-05-18 10:22:35 +08:00
“happyguoxy” cd362505a0 test: rowlength64k 2023-05-18 10:22:20 +08:00
Hui Li f927752a5d
Merge pull request #21317 from taosdata/test/TS-3333-3.0
test: add cluster global tdDnodes
2023-05-18 09:15:57 +08:00
dmchen 32c6ef4b6e fix ci 2023-05-17 23:09:16 +08:00
“happyguoxy” 45647f2604 test: rowlength64k 2023-05-17 18:39:45 +08:00
“happyguoxy” 2e5a092ab6 test: rowlength64k 2023-05-17 18:39:35 +08:00
“happyguoxy” 1cec381e14 test: rowlength64k 2023-05-17 18:39:24 +08:00
“happyguoxy” e9ce88aed0 test: rowlength64k 2023-05-17 18:39:20 +08:00
Ganlin Zhao 312e77f7c2 add test cases 2023-05-17 17:53:36 +08:00
Ganlin Zhao 30b152c434 add test cases 2023-05-17 17:17:36 +08:00
Alex Duan 9a9e7fa53c test: add restore command print info 2023-05-17 16:57:34 +08:00
Alex Duan 0dbc60493f test: add flush database 2023-05-17 16:36:59 +08:00
Ganlin Zhao 18530e8b33 add test cases 2023-05-17 15:57:44 +08:00
Haojun Liao 041ffa91bd other: merge main. 2023-05-17 15:42:15 +08:00
Ganlin Zhao 1a59ac6c0a add test cases 2023-05-17 14:56:19 +08:00
Alex Duan 88d56bcd4e test: splite one case to four cases 2023-05-17 14:29:36 +08:00
“happyguoxy” ed703c650b test: rowlength64k 2023-05-17 10:54:17 +08:00
“happyguoxy” 7af9e7d7cc test: rowlength64k 2023-05-17 10:54:10 +08:00
“happyguoxy” 1d0148414d test: rowlength64k 2023-05-17 10:53:58 +08:00
Haojun Liao d457b84aba
Merge pull request #21311 from taosdata/mark/tmq
fix:add lock to pHandle for safety
2023-05-17 09:11:39 +08:00
wangmm0220 7c5b77119f fix:mofify ci cases 2023-05-17 01:01:45 +08:00
Alex Duan c47eb1867d test : all cases is passed 2023-05-16 19:30:35 +08:00
Alex Duan 89be6dbdeb test: reset dnodes modify and add test case 2023-05-16 19:07:16 +08:00
“happyguoxy” 5cdc119a71 test: rowlength64k 2023-05-16 14:17:56 +08:00
“happyguoxy” df32ceff1b test: rowlength64k 2023-05-16 14:17:39 +08:00
“happyguoxy” 3b48d1aac1 test: rowlength64k 2023-05-16 14:17:15 +08:00
Alex Duan 0fbd496ecb test: add cluster global tdDnodes 2023-05-16 10:07:05 +08:00
Alex Duan 1ccf9ed4ff test: add cluster global tdDnodes 2023-05-16 10:03:18 +08:00
Ganlin Zhao fc30ecf4e4 add test cases 2023-05-15 14:34:25 +08:00
Ganlin Zhao 42ad07c066 add test cases 2023-05-15 14:26:45 +08:00
Haojun Liao 99148d6719 other: merge 3.0 2023-05-13 20:02:48 +08:00
Haojun Liao 236926b9ee other: merge enh/rocksdbstate 2023-05-13 19:49:28 +08:00
Haojun Liao 1975e94501 Merge branch 'main' into enh/rocksdbSstate 2023-05-13 19:41:03 +08:00
wangmm0220 c95e314896 feat:[TD-23117] fix overflow in stack & add test case 2023-05-12 19:43:16 +08:00
wangmm0220 e17a105eff feat:[TD-23117] add schema for ins_topics 2023-05-12 18:14:43 +08:00
Hui Li 3ca008ff45
Merge pull request #21261 from taosdata/test/3.0/TS-3260
test:add testcases of learner in election
2023-05-12 17:21:07 +08:00
dapan1121 9394afec68
Merge pull request #21144 from taosdata/feat/TD-19801
feat(query): support interp with super table
2023-05-12 11:37:20 +08:00
Hui Li 1f3c50ddc5
Merge pull request #21251 from taosdata/test/TD-23710
test: add test case
2023-05-12 10:33:56 +08:00
chenhaoran 57d67faabe test:add testcases of learner in election 2023-05-11 19:05:21 +08:00
kailixu efd6b578ff chore: more code 2023-05-11 14:57:50 +08:00
Alex Duan 2400104ec8 test: init add eco-system 2023-05-11 14:26:42 +08:00
wangmm0220 c19670ef8d fix:ci error occasionally 2023-05-11 11:38:46 +08:00
kailixu 9f43e5a59f chore: update check of information_schema.ins_columns 2023-05-11 10:53:27 +08:00
chenhaoran 2abb14a080 test:add testcases of learner in election 2023-05-11 10:33:49 +08:00
Ping Xiao 185591ed77 [TD-23710]: add test case 2023-05-10 19:54:33 +08:00
yihaoDeng 5708fcb5cb Merge branch 'enh/3.0' into enh/rocksdbSstateMerge 2023-05-10 08:02:16 +00:00
Yihao Deng c6e5879f44
Merge branch 'main' into enh/rocksdbSstate 2023-05-10 10:04:28 +08:00
chenhaoran 03594cdf5d Merge branch 'main' of https://github.com/taosdata/TDengine into test/main/TS-3260 2023-05-09 20:13:58 +08:00
chenhaoran 60c6d480f2 test:add testcases of learner in election 2023-05-09 20:13:25 +08:00
yihaoDeng 8356533eb1 Merge branch 'enh/standVer' into enh/rocksdbSstateMerge 2023-05-09 12:13:16 +00:00
Ganlin Zhao 6afc40110d add dup ts check case 2023-05-09 15:06:06 +08:00
Yihao Deng cb223acf82
Merge branch 'main' into enh/rocksdbSstate 2023-05-08 09:45:27 +08:00
yihaoDeng ed749b8bfc fix mem leak 2023-05-06 14:01:44 +00:00
yihaoDeng 08c3a63341 Merge branch 'enh/standVer' into enh/rocksdbSstateMerge 2023-05-06 12:37:54 +00:00
wangmm0220 261f2736f7 fix:[TD-24010] subscribeStb.py failed in windows CI 2023-05-06 19:17:36 +08:00
Hui Li c88516e0f2
Merge pull request #21042 from taosdata/test/TS-3105
[TS-3140]: add test case for user privilege
2023-05-06 15:13:13 +08:00
Haojun Liao db0ad95649
Merge pull request #21152 from taosdata/fix/TS-3303
fix:[TS-3303]use stable name + child table name as key to save uid to…
2023-05-06 14:31:12 +08:00
Ping Xiao 6b35a4ae40 Merge branch 'main' into test/TS-3105 2023-05-06 13:57:05 +08:00
wangmm0220 d32097d56a fix:disable subscribeStb.py temporary 2023-05-06 11:26:54 +08:00
Ganlin Zhao b5026a8775 add duplicate timestamp case 2023-05-06 10:34:20 +08:00
kailixu 75795253a9 more code 2023-05-06 06:06:12 +08:00
kailixu 29da308772 chore: test case 2023-05-05 23:58:45 +08:00
Ganlin Zhao a3b84b0581 add more cases 2023-05-05 15:43:04 +08:00
wangmm0220 3fb2d7656d fix:[TS-3303]use stable name + child table name as key to save uid to avoid multi items for one table in submit block 2023-05-05 13:39:37 +08:00
wangmm0220 1d8c517844 fix:[TS-3303]use stable name + child table name as key to save uid to avoid multi items for one table in submit block 2023-05-05 10:46:54 +08:00
Ganlin Zhao 7b01cad063 add test cases 2023-05-04 18:58:07 +08:00
kailixu d492904188 chore: error process and test cases 2023-04-28 16:40:26 +08:00
liuyao 2984c5a758 merge main 2023-04-28 10:34:46 +08:00
Hui Li 317cf0dc3c
Merge pull request #21094 from taosdata/lihui3.0/test
Lihui3.0/test
2023-04-26 18:04:19 +08:00
Hui Li 767456b1c6
Merge pull request #20997 from taosdata/test/TS-3241
test:add test case for multistage
2023-04-26 18:03:19 +08:00
dapan1121 51a1e07dbf
Merge pull request #21029 from taosdata/fix/TD-23797
fix: fix crash caused by deleting from system table
2023-04-26 17:48:58 +08:00
plum-lihui af775af69b test: add test case for alter replica 2023-04-26 16:17:23 +08:00
kailixu a6e37622ff chore: more code 2023-04-25 22:15:06 +08:00
kailixu 2d4dd64584 chore: more code 2023-04-24 20:21:28 +08:00
wangmm0220 a35629d14a Merge branch 'fix/TD-22671' of https://github.com/taosdata/TDengine into fix/TD-22671 2023-04-24 20:10:58 +08:00