Commit graph

109 commits

Author SHA1 Message Date
Hongze Cheng
e678d2508f
Merge pull request #25462 from taosdata/enh/supportTmqInterface
Enh/support tmq interface
2024-04-26 13:05:33 +08:00
factosea
905042d0aa fix: createstb use compress 2024-04-25 11:08:44 +08:00
Yihao Deng
2c74a600ef Refactor compress option handling in clientRawBlockWrite.c 2024-04-23 12:09:32 +00:00
Yihao Deng
1cf109604c Add support for updating column compression in alter table 2024-04-23 10:10:31 +00:00
Yihao Deng
f0147770e0 add tmq interface 2024-04-22 02:21:51 +00:00
dapan1121
312ca43b9f
Merge pull request #25399 from taosdata/opti/TS-4658
opti:add local thread error msg array
2024-04-19 18:23:39 +08:00
wangmm0220
32f6d525e6 fix:compile error in windows & wait for heatbeat in case 2024-04-19 15:27:56 +08:00
wangmm0220
1695824c73 fix:merge from 3.0 2024-04-19 13:52:57 +08:00
wangmm0220
42467c0e00 opti:raw data from tmq 2024-04-19 13:48:17 +08:00
wangmm0220
529ca1d1c1 opti:add local thread error msg array 2024-04-18 13:56:43 +08:00
yihaoDeng
4948bd690d 3.0 merge compress 2024-04-15 11:38:44 +08:00
wangmm0220
f1853ced26 feat:[TS-4243] add logic for primark key in tmq 2024-03-22 17:48:59 +08:00
yihaoDeng
fe10867547 Merge branch '3.0' into feature/compressData 2024-03-14 03:19:39 +00:00
factosea
30e52bb71a col compress sql parse 2024-03-07 18:06:15 +08:00
wangmm0220
af6d6b69c3 fix:add excluded msg for delete in tmq 2024-03-05 11:25:43 +08:00
wangmm0220
c7d115d8aa fix:add excluded msg for delete in tmq 2024-03-04 14:58:13 +08:00
wangmm0220
6e13e4aa63 fix:add excluded msg for meta in tmq 2024-02-22 10:58:32 +08:00
wangmm0220
77e2500a81 fix:conflicts from 3.0 2024-02-19 18:46:31 +08:00
wangmm0220
7d3aa69740 fix:[TD-28025]return 0 if create table failed if stable not exist 2024-01-24 14:02:07 +08:00
wangmm0220
6e09164c3a fix:[TD-28025]return 0 if create table failed if stable not exist 2024-01-24 11:38:17 +08:00
wangmm0220
22225d31c3 fix:[TD-28025]return 0 if create table failed if stable not exist 2024-01-24 10:39:22 +08:00
wangmm0220
f95d5e4f62 opti:[TD-28118] raw block data for tmq 2024-01-19 15:28:23 +08:00
wangmm0220
d5d1dd9127 opti:[TD-28118] raw block data for tmq 2024-01-17 20:08:26 +08:00
dapan1121
dfb3feb5dc Merge remote-tracking branch 'origin/main' into merge/m23 2023-11-15 11:39:18 +08:00
Haojun Liao
971bd0b834
Merge pull request #23452 from taosdata/fix/TD-26756-3.0
fix:[TD-25756]return error if table not exist
2023-11-01 15:32:12 +08:00
wangmm0220
34b4de82d0 fix:conflict from 3.0 2023-10-30 09:49:19 +08:00
wangmm0220
e5bc2bfe6e fix:[TD-25756]return error if table not exist 2023-10-30 09:34:00 +08:00
dapan1121
972e10a238 Merge remote-tracking branch 'origin/3.0' into feat/TD-25204 2023-10-30 08:45:29 +08:00
wangmm0220
e6df389151 fix:add req_id for raw block interface 2023-10-27 11:46:59 +08:00
wangmm0220
1ad18c51ca fix:modify log 2023-10-18 19:16:13 +08:00
wangmm0220
b15b61f9ff fix:modify log 2023-10-18 18:47:04 +08:00
wangmm0220
ea4e322427 fix:[TD-25756]return error if table not exist 2023-10-18 14:11:27 +08:00
wangmm0220
0a7ecf9f0c fix:[TD-25756]return error if table not exist 2023-10-18 11:40:06 +08:00
dapan1121
aab4cb98dc enh: create & drop view meta processing 2023-10-13 19:16:37 +08:00
Haojun Liao
eb4449999f other: merge 3.0 2023-10-12 10:33:48 +08:00
wangmm0220
803b17a2db fix:memory leak 2023-09-22 09:31:58 +08:00
dmchen
2228bcb5ee ci break 2023-09-20 09:14:32 +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
201a8f0918 feat:support varbinary type 2023-08-28 19:06:16 +08:00
dapan1121
0cce255a02 Merge remote-tracking branch 'origin/3.0' into fix/m23.0 2023-08-28 10:06:53 +08:00
kailixu
46a4dfd92a fix: assign flags during subscribe 2023-08-22 18:32:52 +08:00
kailixu
647b57d264 fix: assign flags during subscribe 2023-08-22 18:30:11 +08:00
wangmm0220
f266d51764 feat:support varbinary type 2023-08-16 19:05:07 +08:00
wangmm0220
7441801e9d feat:support varbinary type 2023-08-15 13:57:05 +08:00
wangmm0220
5cb35f2fa6 feat:add committed & position & commite_offset interface 2023-07-19 17:29:39 +08:00
dapan1121
a99fac031c fix: fix coverity scan issues 2023-07-07 10:25:48 +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
Haojun Liao
c654f1145d enh(stream): add new msg for seek, and do some internal refactor. 2023-04-20 10:59:16 +08:00
Xiaoyu Wang
e9d7a099cc merge main 2023-04-04 14:50:58 +08:00