Commit Graph

10623 Commits

Author SHA1 Message Date
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
wangmm0220 e4866d1803 fix:ci test cases error 2023-05-31 10:38:22 +08:00
dapan1121 23bcfc2fd0 enh: stmt column length validation 2023-05-31 09:16:47 +08:00
wangmm0220 fcdf25793b fix:remove useless code 2023-05-30 16:52:53 +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
wangmm0220 757ac9b1d9 fix:add test cases 2023-05-30 14:20:21 +08:00
wangmm0220 d490ca753f Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/TD-19042 2023-05-30 09:48:49 +08:00
wade zhang 3b6d196ec3
Merge pull request #21498 from taosdata/fix/check-empty-dnode
check empty dnode
2023-05-29 17:45:56 +08:00
dmchen 23983e506f fix test case 2023-05-29 16:12:26 +08:00
wangmm0220 78db3520a6 fix:conflict 2023-05-29 14:57:03 +08:00
wangmm0220 e36acd0a63 fix:add test case 2023-05-29 14:45:06 +08:00
wangmm0220 97e0e0ea0d fix:add test case 2023-05-29 14:35:59 +08:00
dapan1121 6368b27499 fix: sliding case issue 2023-05-29 08:50:57 +08:00
dapan1121 e2d45438cb
Merge pull request #21405 from taosdata/szhou/scl-flt
enhance: scalar filter improvement
2023-05-28 18:49:39 +08:00
Haojun Liao e31d9299cc
Merge pull request #21480 from taosdata/mark/sml
fix:memory leak
2023-05-26 19:00:21 +08:00
slzhou b83bf9163e fix: restore scalar mode computation and add filterScalarMode config variable and add test case 2023-05-26 14:46:32 +08:00
chao.feng 5d3e405032 update the test case by charles 2023-05-26 14:19:35 +08:00
slzhou 00810d1ffd fix: remove udfpy.sim pycumsum part 2023-05-26 13:10:49 +08:00
chao.feng 8e735dc608 update test case ts_3405.py to reduce the testing time 2023-05-26 10:47:05 +08:00
Haojun Liao 74f753606b fix(query): add regression test case. 2023-05-26 10:37:36 +08:00
wangmm0220 a58cb1a28c Merge branch '3.0' of https://github.com/taosdata/TDengine into mark/sml 2023-05-26 10:36:52 +08:00
wade zhang 64e89620ea
Merge pull request #21484 from taosdata/szhou/enhance-udf-doc
enhance: python udf sample with numpy
2023-05-26 09:46:46 +08:00
wangmm0220 b77544b30d Merge branch '3.0' of https://github.com/taosdata/TDengine into mark/sml 2023-05-26 09:03:36 +08:00
slzhou ab4111b25e enhance: add python udf sample that uses numpy 2023-05-26 08:24:27 +08:00
dapan1121 2713f4f6d4 feat: support create topic as stable with conditions 2023-05-25 19:01:58 +08:00
wangmm0220 d9042f5ed3 fix:memory leak 2023-05-25 17:24:11 +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
shenglian zhou 90f542857d enhance: improve document 2023-05-25 11:13:05 +08:00
Ping Xiao f2b438622a skip some errors 2023-05-24 19:47:56 +08:00
dapan1121 137a9eb602
Merge pull request #21455 from taosdata/enh/add_varchar_sma
fix: fix count var type error
2023-05-24 18:41:01 +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
wangjiaming0909 9a421a92f9 fix: core dump when select with interval caused by order 2023-05-24 10:32:10 +08:00
wangmm0220 fc618d7978 fix:modify ci 2023-05-23 17:52:24 +08:00
Hui Li 0716ab61d0
Merge pull request #21425 from taosdata/test/3.0/TD-24348
test:comment  the testcase of tmq
2023-05-23 16:24:52 +08:00
chenhaoran 39ced06cc5 test:comment the testcase of tmq 2023-05-23 10:31:28 +08:00
kailixu c75aa54a3d fix: tsdb read and append _wstart for tsma 2023-05-22 20:33:29 +08:00
Ping Xiao 7b20d2fa7d update crash_gen 2023-05-22 20:13:32 +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
dapan1121 778b7b84fd
Merge pull request #21371 from taosdata/fix/TD-24234
fix: distinct wrong result issue
2023-05-19 18:15:04 +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
liuyao e1291bd8b4 opt stream ci test 2023-05-19 13:28:58 +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
dapan1121 27b228b79b
Merge pull request #21365 from taosdata/fix/TD-24188
enh: optimize order by for partition by clause
2023-05-19 08:57:11 +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
Hui Li f6c7dbc28e
Merge pull request #21373 from taosdata/fix/TD-24281
test: increase timeouts of checking db ready
2023-05-18 18:54:05 +08:00
chenhaoran 52e85cb85a test: increase timeouts of checking db ready 2023-05-18 18:53:16 +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
dapan1121 79623860a4 fix: distinct wrong result issue 2023-05-18 17:41:01 +08:00
Haojun Liao c5cbd2583a
Merge pull request #21367 from taosdata/fix/TD-24167
fix pause agg task
2023-05-18 17:24:32 +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
slzhou 3e02bb8faa fix: remove files 2023-05-18 16:26:52 +08:00
slzhou 99b424b181 fix: add test case 2023-05-18 16:26:20 +08:00
haoranchen db2ac73b8c
Update container_build.sh 2023-05-18 16:15:16 +08:00
liuyao da3fc5111e fix pause agg task 2023-05-18 15:29:41 +08:00
dapan1121 72e6319592 enh: optimize order by for partition by clause 2023-05-18 14:41:32 +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
“happyguoxy” 56a05dc056 test: rowlength64k 2023-05-18 10:22:08 +08:00
dapan1121 5ac91597b6
Merge pull request #21310 from wangjiaming0909/fix/TS-3398
fix: select <expr1>, <expr1##sth else> from ... return error data whe…
2023-05-18 10:07:06 +08:00
Shuduo Sang c01e0f692c test: fix old pytest to make them pass with 3.0 2023-05-17 21:33:33 -04: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
Haojun Liao 48dd3753aa
Merge pull request #21353 from taosdata/feature/3_liaohj
merge main, and do some internal refactor.
2023-05-17 22:34:34 +08:00
“happyguoxy” e2f235cba5 Merge branch '3.0' of github.com:taosdata/TDengine into test/TD-21161 2023-05-17 19:30:42 +08:00
Hui Li 9e875ac2fd
Update cases.task
modify non asan mode
2023-05-17 19:30:00 +08:00
“happyguoxy” c090737983 Merge branch '3.0' of github.com:taosdata/TDengine into test/TD-21161 2023-05-17 19:29:34 +08:00
Hui Li cf2c5f190c
Update cases.task
modify non asan mode
2023-05-17 19:26:34 +08:00
“happyguoxy” b625cfc3ec test: rowlength64k 2023-05-17 18:40:02 +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
Haojun Liao ffee5ebc61 Merge branch '3.0' into feature/3_liaohj 2023-05-17 17:47:44 +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 0f22718c89 test: splite one case to four cases 2023-05-17 14:32:39 +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