Commit graph

2988 commits

Author SHA1 Message Date
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
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
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
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
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
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