Commit Graph

2099 Commits

Author SHA1 Message Date
chenhaoran 3217f69428 test: fix error comparison between bool and str 2023-09-07 19:08:12 +08:00
chenhaoran 7782530e3a test:modify method of stopall function 2023-09-06 17:21:26 +08:00
jiajingbin 9c66c81e1d
Merge branch 'main' into fix/test_1x 2023-09-01 20:46:29 +08:00
jiajingbin 99a0a15385 test: resume three functions in common.py 2023-09-01 20:43:57 +08:00
jiajingbin e073e1c1ae test: add stream cases 2023-09-01 20:43:57 +08:00
jiajingbin 10cd04349d test: add stream cases 2023-09-01 20:43:56 +08:00
jiajingbin da93dc45fc test: update 2023-09-01 20:43:56 +08:00
jiajingbin 7450a8584d update 2023-09-01 20:43:56 +08:00
jiajingbin ae100c06e3 update 2023-09-01 20:43:56 +08:00
jiajingbin 91269075c7 test: add stream cases 2023-09-01 20:43:43 +08:00
dapan1121 cc17848b78 fix: merge 3.0 to main 2023-09-01 13:24:47 +08:00
chenhaoran a0c5d130ae test:repire test case for windows 2023-08-07 18:32:58 +08:00
Hui Li 1bc8c751a5
Merge pull request #22064 from taosdata/test/TD-24996
test:add testcase of rolling upgdade
2023-07-17 10:49:37 +08:00
Alex Duan 9085dac1a2 add create sma index case 2023-07-14 16:31:37 +08:00
chenhaoran f5e3e574ae test:add testcase of rolling upgdade 2023-07-07 16:19:39 +08:00
Shuduo Sang 500493b157
fix: remove -y from taosdump test (#21661)
* fix: remove -y from taosdump test

* fix: taosdumpTestNanoSupport.py
2023-06-09 09:20:43 +08:00
Haojun Liao 5301c5756a other: merge main into 3.0. 2023-06-01 09:29:18 +08:00
dmchen 0e41f82bb7 test case parameter 2023-05-25 11:26:11 +08:00
Ping Xiao f2b438622a skip some errors 2023-05-24 19:47:56 +08: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
Ping Xiao 7b20d2fa7d update crash_gen 2023-05-22 20:13:32 +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
Shuduo Sang c01e0f692c test: fix old pytest to make them pass with 3.0 2023-05-17 21:33:33 -04:00
dmchen 32c6ef4b6e fix ci 2023-05-17 23:09:16 +08:00
Alex Duan 89be6dbdeb test: reset dnodes modify and add test case 2023-05-16 19:07:16 +08:00
Alex Duan 1ccf9ed4ff test: add cluster global tdDnodes 2023-05-16 10:03:18 +08:00
Haojun Liao 7ef16e1922 other: merge main. 2023-05-12 11:49:53 +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
Ping Xiao 116f7dbbc7 Merge branch 'main' into test/update_push_message 2023-05-09 18:11:39 +08:00
Ping Xiao 5d643fcf91 Merge branch 'main' into test/update_push_message 2023-05-09 18:04:11 +08:00
Ping Xiao 760ccfd991 update push message 2023-05-06 13:52:19 +08:00
Ping Xiao 5119594584 update push message 2023-05-05 20:11:48 +08:00
Ping Xiao 1e9bca79a4 update crash gen push message 2023-05-05 19:41:45 +08:00
Haojun Liao 72ddd1676d refactor: do some internal refactor. 2023-04-23 13:31:41 +08:00
Alex Duan e03a6c2f35 test: autogen.py remove radom select 2023-04-10 16:45:59 +08:00
Alex Duan 927390f38e test: change random to fixed 2023-04-07 11:00:53 +08:00
Alex Duan 1f953a422d Merge branch '3.0' into test/TD-22889-3.0 2023-03-29 09:32:32 +08:00
Xuefeng Tan cebe53a483
fix: fix test `cast.py` for windows (#20676) 2023-03-28 19:08:43 +08:00
Alex Duan 1434fea2de Merge branch '3.0' into test/TD-22889-3.0 2023-03-24 10:18:14 +08:00
t_max d4a81c11d2 fix: fix check timestamp data 2023-03-23 14:07:43 +08:00
t_max 6e66b74b38 fix: fix check timestamp data 2023-03-23 14:00:48 +08:00
Alex Duan 6345952f88 test: debug python file 2023-03-22 20:30:25 +08:00
dapan1121 5b02af6a91 fix: merge main to 3.0 2023-03-22 16:08:16 +08:00
Xuefeng Tan 449f7115e4
fix: windows test (#20256)
* fix: windows sim test

* fix: windows sim test

* fix: random on windows

* fix: taosd online check

* fix: windows path in python test

* fix: windows python test

* fix: windows python test

* fix: windows python test

* fix: windows python test

* fix: windows python test

* fix: windows python test

* fix: windows python test

* fix: windows python test

* fix: windows python test

* fix: make_install.bat

* fix: python test

* fix: jdbc test

* fix: develop test

* fix: develop test

* fix:add log

* test:add win case file

* test:add win case file

* test:add win case file

* fix: python test get taosBenchmark path

* test:add win case file

* test:comment some failed cases in win

* test:add win case file

* test:add win case file

* test:comment some win case file

* test:add some win case file

---------

Co-authored-by: wangmm0220 <wangmm0220@gmail.com>
Co-authored-by: chenhaoran <haoran920c@163.com>
2023-03-16 10:18:06 +08:00
Haojun Liao 3730ea4b57 test: update the sim to speedup this case and set the tqdebugflag to be 135. 2023-03-02 10:00:00 +08:00
sunpeng 7e8823d594
build: delete TaosConsumer and TaosTmq from taospy (#20076) 2023-02-21 19:00:50 +08:00
Shuduo Sang ea5d925c50
fix: alpine support (#19353)
* fix: alpine support

* fix: ostimer thread_id

* fix: taosPrintTrace and tsStreamMax

* fix: make_install.sh and dnodes.py for alpine

* fix: cmake.platform and cut option for alpine

* fix: timer sigev and string convert

* fix: test case for alpine

* fix: fix test script for alpine

* fix: fix test script for alpine

* fix: fix taosLogTrace for Alpine

* fix: fix taosSort

* fix: vnode and mnode compare functions and test cases

* fix: sorting algorithms and unit tests

* fix: libtaosws.so build error on Alpine

* fix: libtaosws.so build error on Alpine

---------

Co-authored-by: t_max <1172915550@qq.com>
2023-02-10 13:00:55 +08:00
wangmm0220 b493b8d2e1 fix:cols error because delete json cols value 2023-01-28 10:33:00 +08:00
Xiaoyu Wang fdde287ca9 merge main 2023-01-04 11:43:20 +08:00