Commit Graph

775 Commits

Author SHA1 Message Date
Ping Xiao 3fb09b6110 release 3.1.0.0 2023-08-02 19:01:55 +08:00
Haojun Liao 3ffdbe923d other: merge 3.0 2023-07-11 09:12:57 +08:00
Haojun Liao 9b3e34d589
Merge pull request #21735 from taosdata/refact/fillhistory
refactor: refactor the fill history operation
2023-07-05 10:48:51 +08:00
Hui Li 567b1b8f3c
Update taostools_CMakeLists.txt.in 2023-07-03 20:13:54 +08:00
Shuduo Sang 60eec06507
chore: upgarde libgeos 3.12.0 (#21932)
* chore: add libgeos-dev package for geometry pull-request

* chore: update geos to 3.12.0
2023-07-03 15:26:22 +08:00
Haojun Liao 200575647c
Merge branch '3.0' into refact/fillhistory 2023-07-03 15:16:18 +08:00
Ping Xiao 9793bff319 update 3.0 version 2023-07-01 18:58:04 +08:00
Ping Xiao b157c7eabc update main branch version 2023-07-01 18:56:19 +08:00
Haojun Liao 3289ad62be other: merge 3.0 2023-06-27 11:33:40 +08:00
dapan1121 4dae9f4eff merge main to 3.0 2023-06-26 18:43:00 +08:00
Haojun Liao ceb78fdad2
Merge branch '3.0' into refact/fillhistory 2023-06-24 18:53:48 +08:00
yihaoDeng ff3ad6c65f add static lib to 3.0 2023-06-21 14:38:52 +08:00
Hui Li 60f6307dd1
Update cmake.version 2023-06-19 15:02:33 +08:00
yihaoDeng 0eeaab9cd3 Merge branch 'refact/fillhistory1' into refact/fillhistory 2023-06-19 13:53:37 +08:00
yihaoDeng 9f9171719a support fill history 2023-06-15 21:29:52 +08:00
kailixu 96c91aa5cc chore: naming optimize 2023-06-14 17:35:13 +08:00
kailixu 62c1d5cf12 enh: decrease the package size 2023-06-14 17:31:07 +08:00
Ping Xiao 1664efebcf update release version 2023-06-06 19:44:45 +08:00
Ping Xiao 44ed6f0c92 release: update default version 2023-06-06 18:51:08 +08:00
Haojun Liao 0f69aa0b7a other: set the tags for 3.0 branch. 2023-06-03 17:24:17 +08:00
wade zhang 7bbb070716
Merge pull request #21580 from taosdata/enchance/xlli/TD-24552-static-link-libgoes_c
enchance: support libgeos static link & install remove librocksdb
2023-06-02 18:50:45 +08:00
xleili 8d3b3dbedc enchance: main geos use static link, remove and install librocksdb 2023-06-02 18:11:56 +08:00
Alex Duan eb344891da feat: get taos-tools code from main branch 2023-06-02 14:03:53 +08:00
Alex Duan dca2abd8d1 feat: change get taos-tools with 3.0 branch 2023-06-02 13:57:54 +08:00
xleili 5c64a730a9 enchance: change goes as static link 2023-06-02 11:17:38 +08:00
yihaoDeng 7977490b81 delete geos opt 2023-05-29 08:42:52 +00:00
yihaoDeng 87b2d76731 Merge branch 'enh/TD-24469/m1-build' into enh/addCompileError 2023-05-29 08:23:24 +00:00
t_max f9d867f50d fix: TDengine build on macOS arm64 2023-05-29 13:20:53 +08:00
yihaoDeng d0b9abcc7b merge 3.0 2023-05-29 10:46:53 +08:00
yihaoDeng 342ce14c7d Merge branch 'enh/3.0' into fix/shared_link_rocksdb 2023-05-29 02:37:47 +00:00
yihaoDeng 58cc631c22 Merge branch 'enh/3.0' into fix/shared_link_rocksdb 2023-05-29 02:29:56 +00:00
t_max 34224fbaa6 enh(taosAdapter): change taosAdapter to 3.0 branch 2023-05-25 18:58:13 +08:00
Hongze Cheng e60ca23834 more 2023-05-24 19:01:04 +08:00
Hongze Cheng b708a3c9dd more 2023-05-24 18:59:54 +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
wade zhang 8524b90f2c
Merge pull request #21443 from taosdata/docs/3.0.4.2
docs: 3.0.4.2
2023-05-24 11:28:43 +08:00
t_max 029a250a10 enh(taosAdapter): support get assignment and seek 2023-05-22 17:33:33 +08:00
Haojun Liao ffee5ebc61 Merge branch '3.0' into feature/3_liaohj 2023-05-17 17:47:44 +08:00
Haojun Liao 041ffa91bd other: merge main. 2023-05-17 15:42:15 +08:00
Shuduo Sang d57b426dbd
chore: change rocksdb repo to upstream (#21318) 2023-05-17 15:34:12 +08:00
dapan1121 fb7a06e06e
Merge pull request #21271 from taosdata/enh/tsbsPerf.4
Enh/tsbs perf.4
2023-05-17 11:00:14 +08:00
dapan1121 e4380d63de enh: add release build option 2023-05-16 18:00:10 +08:00
Haojun Liao d1a746e4e7
Merge pull request #21295 from taosdata/enh/rocksdbSstateMerge
Enh/rocksdb sstate merge
2023-05-16 10:15:45 +08:00
xleili f57b28c719 relase: upgrade default version 2023-05-15 19:05:34 +08:00
xleili c9d9d2d869 release: update default version 2023-05-15 18:15:23 +08:00
yihaoDeng 941e005417 refactor code 2023-05-15 09:56:02 +00:00
yihaoDeng b0c1e6f59b refactor code 2023-05-15 08:57:35 +00:00
yihaoDeng 5583f69109 refactor code 2023-05-15 08:48:49 +00:00