Commit Graph

497 Commits

Author SHA1 Message Date
Alex Duan bcb3518622 fix: shell autotab extend to save 95 visible character 2023-12-21 17:46:38 +08:00
Alex Duan bd3fd91a50 fix: too long multiple command line 2023-12-07 19:24:19 +08:00
dapan1121 9457cf0b46
Merge pull request #23702 from taosdata/merge/m23
merge: from main to 3.0
2023-11-15 13:54:21 +08:00
dapan1121 dfb3feb5dc Merge remote-tracking branch 'origin/main' into merge/m23 2023-11-15 11:39:18 +08:00
dapan1121 c65c9c72c4 fix: change query killed error msg 2023-11-14 19:25:54 +08:00
Bob Liu 9f4f340622 fix case; adjust sqlstr 2023-11-10 14:21:41 +08:00
Bob Liu 5f8baf6ed1 fix shellRunSingleCommandImp 2023-11-09 14:36:23 +08:00
Alex Duan 4453054006 fix: taos-CLI remove (WebSocket) showing 2023-11-08 11:37:22 +08:00
t_max 714684bd78 build(taosAdapter): use the same version number of TDengine 2023-11-02 15:06:39 +08:00
t_max 782fc82958 build(taosAdapter): use the same version number of TDengine 2023-11-02 09:59:45 +08:00
Alex Duan b102a7f497 fix: add websocket in welcome info 2023-10-26 11:09:54 +08:00
Alex Duan 1878e2955a fix: dsn can not empty 2023-10-25 21:18:31 +08:00
Alex Duan 368c6d996b feat: add env TDENGINE_DSN to taos-CLI 2023-10-25 16:46:32 +08:00
facetosea ebd5f7c20d fix print log on mac 2023-10-25 07:15:29 +08:00
facetosea 9c5f8165cc print uint64 2023-10-24 16:02:24 +08:00
facetosea c14dbbdd01 print exception log 2023-10-24 15:15:39 +08:00
facetosea b9fa620b26 shell query 2023-10-24 15:05:24 +08:00
Alex Duan 75563cb5d9 fix: index is repeat error 2023-10-22 17:35:26 +08:00
Alex Duan 5a23adb198 feat: add about vgroups command 2023-10-22 16:51:42 +08:00
Shungang Li a7507d26b0 feat: alter local/dnode asynclog 2023-10-08 18:26:25 +08:00
Alex Duan c44bd3e3bd fix: cancel core 2023-09-11 17:19:59 +08:00
slzhou 1185bba98b fix: pass compilation 2023-09-05 09:02:12 +08:00
slzhou 6f8c642c9a fix: use int64_t for num of rows returned 2023-09-05 09:02:06 +08:00
dapan1121 cc17848b78 fix: merge 3.0 to main 2023-09-01 13:24:47 +08:00
Alex Duan 6877e33c87 fix: query have error get time is last successful 2023-08-23 16:49:37 +08:00
Alex Duan f45d1c69b8 fix: -t option and wal retention ci 2023-08-23 16:17:52 +08:00
Alex Duan 3f90ca4b38 fix: set max_binary_display_width can not show all text 2023-08-14 14:19:24 +08:00
kailixu d691bcfeb6 Merge branch '3.0' into fix/TD-24809-3.0 2023-07-31 08:41:44 +08:00
kailixu 9e5684479e fix: taos print version 2023-07-27 14:19:49 +08:00
wangmm0220 d031a77b58 fix:[TD-25300]dead loop if getchar return EOF in arm64 2023-07-20 15:40:41 +08:00
Ping Xiao c033592b29 fix Windows packaging issue 2023-07-18 11:00:26 +08:00
yihaoDeng 79f01ad655 add version check in rpc 2023-07-05 08:16:25 +00:00
Alex Duan 0950a832ff fix: float width set to 7 and double set to 15 2023-07-04 17:57:43 +08:00
dapan1121 3519e9170e Merge remote-tracking branch 'origin/main' into 3.0 2023-06-29 11:13:45 +08:00
Alex Duan 91a6b891aa fix: restore current database while restoring connection 2023-06-28 17:32:15 +08:00
dapan1121 4dae9f4eff merge main to 3.0 2023-06-26 18:43:00 +08:00
t_max 9ab1dafa88 fix(taosAdapter): do not use upx compression on macOS system 2023-06-19 18:09:47 +08:00
Haojun Liao 1b9eca5ce0 other: merge main. 2023-06-15 13:03:17 +08:00
Alex Duan d7f03678b3 fix: pause and resume stream add to show help 2023-06-14 19:54:32 +08:00
Alex Duan 8018cbf639 fix: add blank line 2023-06-14 19:35:55 +08:00
Alex Duan 0fac3f7d84 fix: add compact split resume stream pause stream to tab key 2023-06-14 19:27:47 +08:00
Alex Duan 4d3d48d3b7 fix:uniform output csv format with shell output 2023-06-13 18:06:27 +08:00
Alex Duan e30cdd03de fix:uniform output csv format with shell output1 2023-06-13 18:03:26 +08:00
Alex Duan 94d056e67f fix:uniform output csv format with shell output 2023-06-13 18:00:52 +08:00
xleili 6c1f82c30e fix: typo 2023-06-08 17:27:35 +08:00
xleili 029ca94ce5 enhance: community package suport adapater release version 2023-06-08 17:26:46 +08:00
xleili e5b2c9b5b1 fix: typo 2023-06-08 14:08:18 +08:00
xleili 95479ac584 enhance: community package suport adapater release version 2023-06-08 10:43:23 +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
Alex Duan 9e97ee9355 fix: dnode_id have blank 2023-05-17 19:15:04 +08:00