Commit Graph

53146 Commits

Author SHA1 Message Date
Haojun Liao 0966213847 fix(arch): set the correct module api dependency. 2023-05-25 14:21:40 +08:00
Ganlin Zhao a57da3bdf7 fix: fix log not compressed when logKeepDays set to positive value 2023-05-25 14:13:34 +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
Ganlin Zhao 459c1e6c0c fix: fix timestamp conversion error due to daylight saving time 2023-05-25 13:31:18 +08:00
chao.feng 4a4e3d9275 update replica number in case and only left the scenario of 3 replica 2023-05-25 11:53:10 +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
shenglian zhou 90f542857d enhance: improve document 2023-05-25 11:13:05 +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
Haojun Liao da9f33a483 fix: fix error in set function ptr. 2023-05-25 09:56:34 +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
Yaqiang Li 70c18d44a2
Merge pull request #21452 from taosdata/main-yq
implement TD-24378
2023-05-25 09:08:21 +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
Haojun Liao 4a42f6b983 fix: fix error in api call. 2023-05-25 00:50:03 +08:00
Haojun Liao a9b18d203d fix:fix error. 2023-05-24 23:49:26 +08:00
Haojun Liao 01f6f74fb9 fix: update the cmake file. 2023-05-24 22:27:45 +08:00
Haojun Liao ab907e3344 fix(query): fix syntax error. 2023-05-24 21:53:40 +08:00
Hui Li 7f9b1ea59d
Merge pull request #21458 from taosdata/test/update_crash_gen
skip some errors
2023-05-24 19:50:16 +08:00
Ping Xiao f2b438622a skip some errors 2023-05-24 19:47:56 +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
wangmm0220 357e86b994 feat:add tag filter for stable subscribe 2023-05-24 18:59:47 +08:00
Hongze Cheng 4d526ed0cd change more 2023-05-24 18:59:09 +08:00
Minglei Jin fc5d06681e cache/last_row: treat none as null with last_row 2023-05-24 18:55:51 +08:00
dapan1121 137a9eb602
Merge pull request #21455 from taosdata/enh/add_varchar_sma
fix: fix count var type error
2023-05-24 18:41:01 +08:00
wangmm0220 8537e4e80e feat:add tag filter for stable subscribe 2023-05-24 18:26:55 +08:00
Hongze Cheng e4a3d1dfcf fix: link rocksdb shared library 2023-05-24 18:26:02 +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
Haojun Liao fe09705855 fix: set the init function pointer. 2023-05-24 17:13:20 +08:00
slzhou 768372fc7b fix: fix compilation warning 2023-05-24 16:45:06 +08:00
slzhou d7b1613d85 Revert "fix: rocksdb so"
This reverts commit e5f9d78b6d.
2023-05-24 16:42:50 +08:00
slzhou e5f9d78b6d fix: rocksdb so 2023-05-24 16:40:34 +08:00
Ganlin Zhao bd45785dfd add test cases 2023-05-24 01:30:48 -07: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
Ganlin Zhao 89bea7100f fix: fix count var type error 2023-05-24 00:31:05 -07:00
Haojun Liao a566180770 fix: fix syntax error. 2023-05-24 15:16:50 +08:00
dapan1121 3b6c469713
Merge pull request #21440 from taosdata/enh/TD-24357
enh: support config batch rows number when import data from csv file
2023-05-24 15:15:45 +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
Haojun Liao f203c7806d fix(tools): fix build failure on enterprise edition. 2023-05-24 14:52:50 +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 8ecdbc7939
Merge pull request #21448 from wangjiaming0909/fix/m/TD-24313
fix: core dump when select with interval caused by order
2023-05-24 14:07:14 +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
Li Ya Qiang 7359719429 implement TD-24378 2023-05-24 13:57:59 +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
slzhou 5b1e0be756 enhance: add log 2023-05-24 13:41:21 +08:00