Commit Graph

98 Commits

Author SHA1 Message Date
yihaoDeng 4fa1cc6dd3 change link opt 2023-06-07 05:26:07 +00:00
yihaoDeng c30e3c8632 change compile opt 2023-06-06 02:34:13 +00:00
yihaoDeng 87b2d76731 Merge branch 'enh/TD-24469/m1-build' into enh/addCompileError 2023-05-29 08:23:24 +00:00
yihaoDeng 1782ecd57e Merge branch 'fix/shared_link_rocksdb' into enh/addCompileError 2023-05-29 08:20:11 +00:00
t_max f9d867f50d fix: TDengine build on macOS arm64 2023-05-29 13:20:53 +08:00
yihaoDeng 342ce14c7d Merge branch 'enh/3.0' into fix/shared_link_rocksdb 2023-05-29 02:37:47 +00:00
yihaoDeng 5933f85b56 change parameter 2023-05-25 17:51:33 +08:00
Hongze Cheng 4d526ed0cd change more 2023-05-24 18:59:09 +08:00
Hongze Cheng e4a3d1dfcf fix: link rocksdb shared library 2023-05-24 18:26:02 +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
yihaoDeng 1a8e4d7276 opt compile opt 2023-05-14 04:02:54 +00:00
Haojun Liao 236926b9ee other: merge enh/rocksdbstate 2023-05-13 19:49:28 +08:00
yihaoDeng 5708fcb5cb Merge branch 'enh/3.0' into enh/rocksdbSstateMerge 2023-05-10 08:02:16 +00:00
yihaoDeng e4e177d7fe fix compile opt on windows 2023-05-09 09:04:38 +00:00
yihaoDeng 8b48396560 add compile opt on windows 2023-05-04 09:14:28 +00:00
Minglei Jin bcd051777b rocksdb/cmake: disable iostats_context, perf_context 2023-05-04 16:06:05 +08:00
Minglei Jin 10e3b4ab4a cmake/contrib: remove debug messages 2023-04-26 17:43:28 +08:00
Minglei Jin 892cdfc656 rocks/cmake: fix building on mac 2023-04-26 17:36:12 +08:00
yihaoDeng 10582fb5e0 opt write opt 2023-04-25 09:49:28 +00:00
yihaoDeng 54f3bc2543 change write opt 2023-04-21 10:06:37 +00:00
yihaoDeng eff4257dc6 change write opt 2023-04-21 08:23:58 +00:00
Minglei Jin c9959b5bf6 dst slot for last_row 2023-04-21 14:18:04 +08:00
yihaoDeng 1da8565e29 change write opt 2023-04-21 05:42:35 +00:00
yihaoDeng 32e283482a change write opt 2023-04-21 03:34:56 +00:00
yihaoDeng 972b19d5d8 change write opt 2023-04-21 03:10:11 +00:00
yihaoDeng 710b7d9422 change write opt 2023-04-21 02:20:01 +00:00
yihaoDeng d59d3dfe0a change write opt 2023-04-21 02:17:28 +00:00
yihaoDeng 34f59fe583 change write opt 2023-04-21 02:16:00 +00:00
yihaoDeng 1efe2f23c7 change write opt 2023-04-21 01:46:07 +00:00
yihaoDeng 80a870797a change write opt 2023-04-21 01:34:49 +00:00
Minglei Jin 373a542896 contrib/rocks: build rocds by default 2023-04-20 18:42:02 +08:00
Minglei Jin ec4ea9cf5d enh(cache/rocks): base for rocks put/get 2023-04-14 18:28:15 +08:00
yihaoDeng c3d7f888e9 add backend 2023-03-26 05:46:48 +00:00
yihaoDeng 914d391845 fix tag filter 2023-03-21 12:28:16 +00:00
yihaoDeng 2d37aeabdc add backend 2023-03-20 15:33:18 +00:00
Haojun Liao 317ee1daea other: update the command. 2022-10-28 23:29:38 +08:00
Haojun Liao d87e8f0250 other: update the command. 2022-10-28 23:28:53 +08:00
afwerar da6779d11b fix: memory param over 2022-10-13 18:51:07 +08:00
Zhiqiang Wang 0b2ff85a17
fix: jemalloc compile error (#17291)
* fix: jemalloc compile error

* fix: jemalloc compile error
2022-10-11 18:53:24 +08:00
afwerar a642607c68 os: fix flashing black console error 2022-08-19 14:09:33 +08:00
afwerar 48bf21d321 build: move check into shell file 2022-08-18 17:32:08 +08:00
Huo Linhe 96ab366bec fix: remove rust-bindings, use official connector instead
Closes [TD-18455](https://jira.taosdata.com:18080/browse/TD-18455)
2022-08-17 14:01:53 +08:00
afwerar 45cc2a67ae os: fix win lack dll error 2022-08-15 16:37:40 +08:00
Zhiqiang Wang 9cba788179
Merge pull request #15561 from taosdata/fix/ZhiqiangWang/TD-17728-remove-submodule
build: remove submodule
2022-07-30 13:13:11 +08:00
afwerar 074ce5a2f8 build: remove submodule 2022-07-30 09:12:40 +08:00
Haojun Liao d29a60499a
Merge pull request #15554 from taosdata/feature/3_liaohj
refactor: do some internal refactor and opt query performance.
2022-07-29 22:34:37 +08:00
afwerar 74d3ab1f7f build: remove submodule 2022-07-29 20:12:16 +08:00
afwerar f79637f5a8 os: add win service and crashdump 2022-07-29 16:36:42 +08:00
afwerar 74e833cf4e build: remove jemalloc submodule 2022-07-28 15:48:56 +08:00
Shuduo Sang f34c3c52bd
feat: use contrib instead of submodule for tools/taosws/taosa (#15459) 2022-07-27 13:56:00 +08:00