Commit Graph

283 Commits

Author SHA1 Message Date
wangmm0220 4346d6ef5d fix:[TD-27803]process commit logic if manual commit in the end 2023-12-14 14:59:30 +08:00
Alex Duan 37cfe6e783
Merge pull request #23974 from taosdata/case/TD-25756-3.0
fix: add write_raw_block api check ret error message
2023-12-08 09:08:07 +08:00
wangmm0220 60500f4a81 fix:error 2023-12-07 15:17:15 +08:00
Alex Duan 5143def177 fix: add write_raw_block api check ret error message 2023-12-07 15:05:56 +08:00
Alex Duan 8488f25d20 fix: add write_raw_block api check ret error message 2023-12-07 15:01:38 +08:00
dapan1121 ff894fd70b fix: sim error message issue 2023-11-24 16:32:13 +08:00
wangmm0220 916f5d4cf9 fix:format-overflow may be happend 2023-11-21 19:15:57 +08:00
wangmm0220 b3ca673fe9 fix:test case for windows 2023-11-21 14:35:41 +08:00
wangmm0220 bb8b65da1e fix:open test cases 2023-10-30 10:03:51 +08:00
Haojun Liao c6dd73b68b
Merge pull request #23187 from taosdata/feat/TD-26056
feat:add replay logic
2023-10-18 11:43:43 +08:00
wangmm0220 a16c9be49f feat:[TD-19291]Schemaless table name can be composed based on rule 2023-10-17 15:34:16 +08:00
wangmm0220 7a23615b3f fix:offset set to earliest clearly 2023-10-16 17:53:48 +08:00
wangmm0220 473142fab7 fix:conflicts from 3.0 2023-10-16 11:35:56 +08:00
Haojun Liao eb4449999f other: merge 3.0 2023-10-12 10:33:48 +08:00
wangmm0220 d42e819d2d feat:[TD-26056] add replay logic 2023-10-10 09:02:37 +08:00
wangmm0220 b12c734f09 feat:[TD-26056] add replay logic 2023-10-09 21:14:32 +08:00
wangmm0220 d10915dce6 feat:[TD-26056] add replay logic 2023-10-09 19:03:13 +08:00
wangmm0220 33045e63ae feat:[TD-26056] add replay logic 2023-10-09 17:35:40 +08:00
wangmm0220 b04d57fcc3 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-26056 2023-10-08 16:15:19 +08:00
wangmm0220 3f2d890560 feat:[TD-26056] add replay logic 2023-10-08 16:06:15 +08:00
wangmm0220 be27e13ed9 fix:test case error for reset=latest 2023-10-08 15:29:02 +08:00
Alex Duan 777b442d88 fix: add keep time offset case 2023-09-27 18:38:55 +08:00
Alex Duan c9af9eb15b
Merge pull request #22915 from lx1zhong/3.0
add TSZ and ADT-FSE algorithm
2023-09-25 15:48:30 +08:00
Alex Duan c927f8c7fb fix: memory leak at decode_with_fse 2023-09-24 23:45:22 +08:00
Alex Duan 995cd36d8d fix: long is 8 bytes in BigEndian 2023-09-24 23:28:59 +08:00
Alex Duan f947eb752a fix: define BUILDIN_CLZ_EX 2023-09-23 11:58:03 +08:00
Alex Duan 378bf09612 Merge branch '3.0' of github.com:lx1zhong/TDengine1 into 3.0 2023-09-23 11:26:30 +08:00
Alex Duan 6fa4bfb492 fix: cfgAddDouble set to fval is error 2023-09-23 11:22:22 +08:00
slzhou 484854b4fa Merge branch 'szhou/star-tbname' of github.com:taosdata/TDengine into szhou/star-tbname 2023-09-22 13:34:26 +08:00
slzhou d858b26939 enhance: add bi mode to script 2023-09-22 13:34:14 +08:00
shenglian zhou 1b71cd4b8d fix: add $cols to script support 2023-09-22 13:29:17 +08:00
lx1zhong 5a97cf9fc9 add Windows support for ADT-FSE alogrithm 2023-09-20 21:59:52 +08:00
Alex Duan 0ca99ea9c9 feat: add TSZ algo test cases 2023-09-20 19:33:25 +08:00
Alex Duan 5251675b44 fix: windows gettimeofday 2023-09-20 11:24:27 +08:00
Alex Duan 09d91cc116 fix: windows build error 2023-09-20 09:26:59 +08:00
Alex Duan 2fdc06e62d fix: windows build error 2023-09-19 18:08:53 +08:00
lx1zhong 6da4088012 add TSZ and ADT-FSE algorithm 2023-09-15 14:30:23 +08:00
Haojun Liao 60f5056ab7 other: merge 3.0 2023-09-12 22:00:40 +08:00
wangmm0220 53c4f4a147 opti:commit logic 2023-09-05 10:35:05 +08:00
wangmm0220 a0fadb07ea fix:support length function for varbinary 2023-09-04 17:15:03 +08:00
wangmm0220 f0fbe08e1d fix:core dump if tmq is null 2023-09-01 16:45:46 +08:00
dapan1121 cc17848b78 fix: merge 3.0 to main 2023-09-01 13:24:47 +08:00
Haojun Liao b1aa86a290
Merge pull request #22605 from taosdata/feat/TD-18789
feat:support varbinary type
2023-08-30 11:29:26 +08:00
wangmm0220 af89cb0af5 fix:memory error 2023-08-29 15:58:24 +08:00
wangmm0220 df5f46634b fix:open test case 2023-08-29 15:41:45 +08:00
wangmm0220 34c7832850 feat:support stmt/tmq json in varbinary type 2023-08-29 15:24:12 +08:00
wangmm0220 201a8f0918 feat:support varbinary type 2023-08-28 19:06:16 +08:00
wangmm0220 f5256a4091 fix:sml error because of the config of smlDot2Underline 2023-08-28 14:35:01 +08:00
wangmm0220 c0002e55ad fix:sml error because of the config of smlDot2Underline 2023-08-28 14:33:21 +08:00
dapan1121 0cce255a02 Merge remote-tracking branch 'origin/3.0' into fix/m23.0 2023-08-28 10:06:53 +08:00
wangmm0220 1319066e0e fix:memory leak 2023-08-28 10:05:54 +08:00
dapan1121 1f40da6fef Merge remote-tracking branch 'origin/main' into 3.0 2023-08-28 09:28:55 +08:00
wangmm0220 26e025d78d feat:[TD-18789]support varbinary type 2023-08-25 15:43:45 +08:00
wangmm0220 64959f14e9 fix:dot process in schemaless 2023-08-24 18:18:02 +08:00
wangmm0220 dbc1b35d44 feat:support varbinary type 2023-08-16 19:57:01 +08:00
wangmm0220 b3f945c4c5 fix:conflict 2023-08-16 19:35:05 +08:00
wade zhang 1a1a12b7b8
Merge pull request #22327 from taosdata/fix/TD-25010-3
feat(tsdb/cos): s3 migration
2023-08-16 08:02:20 +08:00
wangmm0220 7441801e9d feat:support varbinary type 2023-08-15 13:57:05 +08:00
dapan1121 937dcf00bb
Merge pull request #22430 from taosdata/fix/TD-25622-3.0x
fix: use taos_static for tmq_sim on windows
2023-08-15 09:54:57 +08:00
Haojun Liao 9e3733a02c
Merge pull request #22358 from taosdata/feat/TD-24559
feat:[TD-24559]support geomety type in schemaless
2023-08-14 22:06:41 +08:00
kailixu 8d0461e98c fix: use taos_static for tmq_sim on windows 2023-08-14 16:31:58 +08:00
wangmm0220 25e32bbf7c fix:offset error in tmq & add test cases 2023-08-11 14:25:12 +08:00
wangmm0220 6155c80729 fix:offset error in tmq & add test cases 2023-08-10 18:38:01 +08:00
wangmm0220 ab9ad7d088 fix:offset error in tmq & add test cases 2023-08-10 17:13:10 +08:00
wangmm0220 78fd70202c fix:offset error in tmq & add test cases 2023-08-10 16:18:53 +08:00
wangmm0220 1f5532fd67 fix:offset error in tmq & add test cases 2023-08-09 19:41:22 +08:00
wangmm0220 d0335bec97 feat:[TD-24559]support geomety type in schemaless 2023-08-08 09:49:31 +08:00
Minglei Jin fac7e521e9 s3/evict: fetch atime from stat file 2023-08-07 15:59:37 +08:00
wade zhang 7ce2931637
Merge pull request #22228 from taosdata/fix/TD-24872-3.0
fix: run sim cases on windows
2023-08-01 09:00:23 +08:00
wangmm0220 1f8e5eae6a fix:conflicts 2023-07-28 15:04:12 +08:00
kailixu f70709be3c fix: run sim cases on windows 2023-07-28 14:54:03 +08:00
wangmm0220 2714db10bd fix:modify dot to underline in schemaless supertable name 2023-07-24 19:15:33 +08:00
wangmm0220 136bc379d1 feat:ignore delete info 2023-07-03 11:02:08 +08:00
wangmm0220 8bb16b3efb fix:add config for tmq test 2023-06-30 18:16:03 +08:00
dapan1121 4dae9f4eff merge main to 3.0 2023-06-26 18:43:00 +08:00
wade zhang 254a20bdf3
Merge pull request #21660 from luckeverda/feat/TD-23739
feat/TD-23739: enhance ttl, deletetime modified by writing-op
2023-06-25 09:06:57 +08:00
Shungang Li b93f653d7e feat: enhance ttl, deletetime modified by writing-ops
new config item: ttlChangeOnWrite (default 0)
ttl delete time changes on last write if true
2023-06-19 19:03:35 +08:00
dapan1121 1ca24fea6b
Merge pull request #21742 from wangjiaming0909/feature/3.0/TD-24656
feature: add input, output ts order for execution plans
2023-06-18 19:24:29 +08:00
wangjiaming0909 fb4f174fbc feature: add input, output ts order for execution plans 2023-06-16 10:26:09 +08:00
yihaoDeng 9b749b8faa change link op t 2023-06-08 02:43:44 +00:00
yihaoDeng 52d81476be change link opt 2023-06-07 07:33:35 +00:00
Haojun Liao b932fdb5c4
Merge pull request #21470 from taosdata/feature/TD-24070
feat:add privilege for schemaless
2023-05-25 17:52:28 +08:00
wangmm0220 f6fef3e9d6 feat:add privilege for schemaless 2023-05-25 14:54:21 +08:00
wangmm0220 fcba7e326c feat:add privilege for schemaless 2023-05-25 14:24:25 +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
wangmm0220 fb9b0a3e86 feat:add privilege for schemaless 2023-05-24 14:34:52 +08:00
Haojun Liao 4b961753a5 test: update the test case. 2023-05-12 15:13:25 +08:00
Haojun Liao f20afb7304 fix(test): update the test case. 2023-05-12 14:53:01 +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
Haojun Liao 851193a033
Merge pull request #21060 from taosdata/fix/TS-3222
opti:change push mgr to consume msg for subscribe
2023-05-04 10:16:41 +08:00
wangmm0220 db5b5c828e fix:add log for msg push 2023-04-27 18:35:10 +08:00
wangmm0220 206c62703a fix:modify the compile error in windows for long string 2023-04-27 09:33:56 +08:00
wangmm0220 8be78ddee2 fix:[TD-23881] check the max row's length in schemaless 2023-04-26 14:23:25 +08:00
wangmm0220 ea939c1efb fix:add test cases for escape in schemaless 2023-04-20 17:41:38 +08:00
wangmm0220 2714da26e7 fix:[TS-3221] reset max stmt if execute error 2023-04-20 17:26:54 +08:00
wangmm0220 b1561c95c3 fix:add test cases for escape in schemaless 2023-04-20 15:31:18 +08:00
Xiaoyu Wang 4c04b155d5 merge main 2023-04-11 15:56:28 +08:00
wangmm0220 9493ecd18f Merge branch 'fix/TS-3081' of https://github.com/taosdata/TDengine into fix/TS-3081 2023-04-07 19:53:35 +08:00
wangmm0220 9bb921d5a8 fix:add tools to get tmq offset 2023-04-07 17:10:57 +08:00