Commit Graph

1283 Commits

Author SHA1 Message Date
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
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
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 2e5a56a037
Merge pull request #21570 from taosdata/fix/liaohj_main
other: merge  3.0 into main.
2023-06-02 13:12:27 +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
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
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
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
Ganlin Zhao 0a41ba1573 add test cases 2023-05-18 18:48:00 +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
Ganlin Zhao 18530e8b33 add test cases 2023-05-17 15:57:44 +08:00
Ganlin Zhao 1a59ac6c0a add test cases 2023-05-17 14:56:19 +08:00
Haojun Liao 43e06b9132 Merge branch '3.0' into feature/3_liaohj 2023-05-12 13:36:02 +08:00
Haojun Liao 7ef16e1922 other: merge main. 2023-05-12 11:49:53 +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
kailixu efd6b578ff chore: more code 2023-05-11 14:57:50 +08:00
kailixu 9f43e5a59f chore: update check of information_schema.ins_columns 2023-05-11 10:53:27 +08:00
Ganlin Zhao 6afc40110d add dup ts check case 2023-05-09 15:06:06 +08:00
Ganlin Zhao b5026a8775 add duplicate timestamp case 2023-05-06 10:34:20 +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
“happyguoxy” 60a6f733fd test: refine query cases 2023-04-24 10:30:10 +08:00
“happyguoxy” 7960528993 test: refine query cases 2023-04-24 10:29:47 +08:00
Ganlin Zhao 01c3df9a55 fix test cases 2023-04-18 17:12:49 +08:00
Ganlin Zhao 56ab728a42 add test cases 2023-04-18 14:18:06 +08:00
Xiaoyu Wang d3642c84a2 Merge remote-tracking branch 'origin/3.0' into fix/3.0_merge_main 2023-04-13 16:36:30 +08:00
Ganlin Zhao be3082c85e add test cases 2023-04-13 14:36:16 +08:00
Xiaoyu Wang a44d455e56 merge 3.0 2023-04-13 14:32:05 +08:00
dapan1121 3493fffa2f
Merge pull request #20863 from taosdata/fix/TD-23556
fix: fix max/min(tag) random result
2023-04-13 09:57:18 +08:00
Xiaoyu Wang 8b8ac0cd77 merge main 2023-04-12 10:43:28 +08:00
Xiaoyu Wang f7946ace33 merge main 2023-04-11 19:52:40 +08:00
Xiaoyu Wang 9578c4538a Merge remote-tracking branch 'origin/3.0' into fix/3.0_merge_main 2023-04-11 19:33:23 +08:00
wangmm0220 54a414a934 fix:rm useless fileContent function 2023-04-11 18:35:05 +08:00
Xiaoyu Wang 5ce6220106
Merge pull request #20781 from taosdata/szhou/replace-function
feature: udf replace function
2023-04-11 17:25:21 +08:00
Xiaoyu Wang 4c04b155d5 merge main 2023-04-11 15:56:28 +08:00
Ganlin Zhao bbae7259cf add test cases 2023-04-11 15:47:27 +08:00
Ganlin Zhao 89e4b15d8e add test cases 2023-04-10 18:36:15 +08:00
Xiaoyu Wang 655be1e55d feat: table level privilege 2023-04-10 16:37:10 +08:00
shenglian zhou 455719befa fix: use us time unit for last fetch time 2023-04-06 18:09:29 +08:00
slzhou 7d9befbe3a fix: add testcase 2023-04-04 15:24:14 +08:00
Xiaoyu Wang e9d7a099cc merge main 2023-04-04 14:50:58 +08:00
Hui Li 0d3ac6c304
Merge pull request #20702 from taosdata/test/TD-22592
Test/td 22592
2023-03-30 14:48:59 +08:00
Haojun Liao d947619b4f
Merge pull request #20691 from taosdata/feature/3_liaohj
fix(stream):fix the race condition when creating new tables.
2023-03-30 14:39:20 +08:00
dapan1121 8f3c41fc70 fix: add more column update cases 2023-03-30 11:03:40 +08:00
“happyguoxy” 2aeda10174 test: refine query cases 2023-03-30 10:22:17 +08:00
“happyguoxy” cf99c2e69d test: refine query cases 2023-03-30 10:18:53 +08:00
“happyguoxy” 8825b89314 test: refine query cases 2023-03-30 10:18:36 +08:00
“happyguoxy” 01ae6da8a4 test: refine query cases 2023-03-30 10:18:22 +08:00
“happyguoxy” 2e8e5a98e9 test: refine query cases 2023-03-30 10:18:05 +08:00
Haojun Liao 56c98d7768 refactor: do some internal refactor. 2023-03-29 19:35:04 +08:00
“happyguoxy” f61732dca3 test: refine query cases 2023-03-29 16:56:53 +08:00
slzhou accebcedc4 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/python-udf-improvement 2023-03-29 14:52:04 +08:00
slzhou eb1612483c fix: pass odbc.py test. add two columns 2023-03-29 08:56:49 +08:00
Xuefeng Tan cebe53a483
fix: fix test `cast.py` for windows (#20676) 2023-03-28 19:08:43 +08:00
dapan1121 22ad3129b9 fix: query schema is old issue 2023-03-28 15:21:47 +08:00
dapan1121 5b02af6a91 fix: merge main to 3.0 2023-03-22 16:08:16 +08:00
Ganlin Zhao 7d124dfecc fix test case 2023-03-22 09:58:58 +08:00
chenhaoran 1ad3c4fde0 ci: enable Jemalloc in compilation 2023-03-21 19:39:12 +08:00
chenhaoran fb0531d669 test:add tsbs query sql 2023-03-20 11:33:47 +08:00
Ganlin Zhao e7a8ab7336 add test cases 2023-03-18 15:21:59 +08:00
chenhaoran 234f9db5e7 test:fix that timestamps can be validated correctly 2023-03-16 17:10:43 +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
chenhaoran a8967b73c3 test:fix that timestamps can be validated correctly in testcase 2023-03-16 01:55:46 +08:00
gccgdb1234 39eec5e8b3 Merge branch 'main' of github.com:taosdata/TDengine into TD-13572 2023-03-16 01:42:06 +08:00
gccgdb1234 6b3fa3f5af test:fix that timestamps can be validated correctly in testcase 2023-03-16 01:41:44 +08:00
Shengliang Guan e98b32a69f
Merge pull request #20427 from taosdata/fix/main_bugfix_wxy
fix: last redundant read stt file
2023-03-14 09:41:19 +08:00
Xiaoyu Wang 1870a9d46e feat: show vgroup display num of cache tables 2023-03-13 19:14:53 +08:00
dapan1121 91df1b3298 fix: group merge issue 2023-03-12 15:04:53 +08:00
dapan1121 b1d21472ed
Merge pull request #20345 from taosdata/fix/TD-22864
fix: remove test case has random results
2023-03-09 09:35:31 +08:00
Ganlin Zhao 9291156585 fix: remove test case has random results 2023-03-08 18:44:16 +08:00
Shengliang Guan 1439bdcd36
Merge pull request #20306 from taosdata/feat/add-reboot-time
feat/add-reboot-time
2023-03-08 15:46:55 +08:00
cademfly 6dcb9c7f0f trigger ci 2023-03-08 14:04:33 +08:00