Commit Graph

52331 Commits

Author SHA1 Message Date
dmchen efa1570b6e prompt message when 2 mnode 2023-05-25 20:10:40 +08:00
wade zhang ec02b60595
Merge pull request #21465 from taosdata/enh/TD-24319
enh: tmq example add all properties
2023-05-25 18:46:11 +08: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
Shuduo Sang cd2fdf49f3
docs: update readme (#21473)
* docs: update readme with libgflags

* docs: update readme with geos

* docs: remove geometry docs

* docs: update readme
2023-05-25 16:48:47 +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
wade zhang ea5301847c
Merge pull request #21464 from taosdata/fix/test-case-parameter
test case parameter
2023-05-25 13:38:32 +08:00
huolibo bbb93c3720 enh: tmq example add all properties 2023-05-25 11:27:49 +08:00
dmchen 0e41f82bb7 test case parameter 2023-05-25 11:26:11 +08:00
Haojun Liao 1a206f3f4d
Merge pull request #21462 from taosdata/fix/TD-24365
fix sma sliding window
2023-05-25 10:27:22 +08:00
liuyao 1f81642303 fix sma sliding window 2023-05-25 09:12:10 +08:00
Yaqiang Li bf46f1ef8c
Merge pull request #21451 from taosdata/3.0-yq
implement TD-24378
2023-05-25 09:08:34 +08:00
wade zhang 511ff7130b
Merge pull request #21445 from taosdata/fix/TD-24373
fix(cache/read): associate tbname with primary ts column
2023-05-25 08:01:51 +08:00
Minglei Jin fc5d06681e cache/last_row: treat none as null with last_row 2023-05-24 18:55:51 +08:00
wade zhang 003e8d3fa7
Merge pull request #21456 from taosdata/enh/TD-24388
enh: stmt insert demo
2023-05-24 17:35:35 +08:00
huolibo 61df1a1b21 enh: stmt insert demo 2023-05-24 17:23:31 +08:00
Shuduo Sang ab017bc747
docs: remove geometry docs (#21454)
* docs: update readme with libgflags

* docs: update readme with geos

* docs: remove geometry docs
2023-05-24 16:29:52 +08:00
Shuduo Sang 81af19af85
docs: update readme with geos (#21453)
* docs: update readme with libgflags

* docs: update readme with geos
2023-05-24 16:03:55 +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 99f669434a
Merge pull request #21282 from taosdata/feature/TD-23117
feat:[TD-23117] add schema for ins_topics
2023-05-24 14:54:42 +08:00
wangmm0220 fb9b0a3e86 feat:add privilege for schemaless 2023-05-24 14:34:52 +08:00
Li Ya Qiang f47a495d11 implement TD-24378 2023-05-24 14:33:17 +08:00
dapan1121 cbbbaca553
Merge pull request #21437 from taosdata/fix/TD-23955-3.0
fix: delete index filter for desc query
2023-05-24 14:05:07 +08:00
wade zhang 398bf8f322
Merge pull request #21446 from taosdata/fix/confirm-msg-when-add-learner
comfirm msg when add learner
2023-05-24 13:54:15 +08:00
Haojun Liao ab715ffabd
Merge pull request #21442 from taosdata/fix/TD-24325
set agg pause status
2023-05-24 11:48:59 +08:00
xiaolei li 2ed511c3b8
fix: remove taosTools zh duplicate release ver-2.5.0 (#21447) 2023-05-24 11:46:22 +08:00
kailixu ef899a0cc3 fix: delete index filter for desc query 2023-05-24 11:28:45 +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
dmchen ab3d54aae3 comfirm msg when add learner 2023-05-24 11:08:41 +08:00
Minglei Jin 26bfa4363d fix(cache/read): associate tbname with primary ts column 2023-05-24 11:01:47 +08:00
liuyao 180abf2229 set agg task status 2023-05-24 09:34:40 +08:00
liuyao b5d01f9bab set agg pause status 2023-05-24 09:19:28 +08:00
dapan1121 693bac60a0
Merge pull request #21430 from taosdata/fix/TD-24349
fix: last(tbname) out of memory issue
2023-05-24 08:52:49 +08:00
kailixu 82b8c3c3d1 fix: delete index filter for desc query 2023-05-23 18:21:21 +08:00
wangmm0220 fc618d7978 fix:modify ci 2023-05-23 17:52:24 +08:00
kailixu 18e83173c8 fix: delete index filter for desc query 2023-05-23 17:21:45 +08:00
Yaqiang Li 6e19703c2a
Merge pull request #21422 from taosdata/3.0-yq
Remove taosx, connector, explorer and taoskeeper in cloud tdengine
2023-05-23 16:37:38 +08:00
Hui Li 0716ab61d0
Merge pull request #21425 from taosdata/test/3.0/TD-24348
test:comment  the testcase of tmq
2023-05-23 16:24:52 +08:00
Hui Li 2fd9bb558b
Merge pull request #21435 from taosdata/test/3.0/TD-24343
test:comment unit test catalog in cases
2023-05-23 16:21:15 +08:00
wade zhang 68a98d4d09
Merge pull request #21429 from taosdata/fix/TD-24306
fix(cache): sychronize commit, read and write threads with writebatch
2023-05-23 16:20:59 +08:00
chenhaoran 790d34c33b test:comment unit test catalog in cases 2023-05-23 16:20:00 +08:00
wade zhang 41c74eb47c
Merge pull request #21432 from taosdata/fix/TD-24179
fix(cache/read): set none to null instead of skipping column
2023-05-23 16:19:19 +08:00
Minglei Jin 6d620a7d7c fix(cache/read): set none to null instead of skipping column 2023-05-23 14:51:26 +08:00
wade zhang b4e82315cc
Merge pull request #21416 from taosdata/enh/xftan/TD-24019
enh(taosAdapter): support get assignment and seek
2023-05-23 14:37:42 +08:00
dapan1121 d66f45308c fix: fix last(tbname) out of memory issue 2023-05-23 14:06:29 +08:00
Minglei Jin 81048f93b0 fix(cache): sychronize commit, read and write threads with writebatch 2023-05-23 13:44:33 +08:00
dapan1121 9efd067ecd
Merge pull request #21413 from taosdata/fix/TD-21457-3.0
fix: tsdb read and append _wstart for tsma
2023-05-23 13:44:23 +08:00
kailixu a37d2c40fc chore: error logs of create sma cols 2023-05-23 11:06:44 +08:00
kailixu 329797ce23 fix: add _wstart if not exists 2023-05-23 10:57:34 +08:00
Shuduo Sang bda3e6763f
docs: update connect for jdbc version (#21426)
* docs: update csharp connector status

* docs: fix csharp ws bulk pulling

* docs: clarify database param is optional to websocket dsn

* docs: fix java connector mistake

* fix: a few typos

* fix: many typos

* docs: java connector support subscription over websocket

* fix: update 3.0 connector feature matrix

* docs: fix typos and use 3.1.0 in jdbc driver

* fix: update matrix for schemaless java status

* docs: use latest jdbc version in connect section
2023-05-23 10:33:40 +08:00