Commit Graph

378 Commits

Author SHA1 Message Date
dapan1121 0a97f18d72
Merge pull request #23344 from taosdata/feat/3.0/TS-4052
feat: support to_timestamp/to_char
2023-10-30 14:04:33 +08:00
wangjiaming0909 f299a28109 feat: support to_timestamp/to_char 2023-10-23 19:36:03 +08:00
Benguang Zhao e34da43e38 feat: support pipelining of snap replication 2023-10-23 19:32:44 +08:00
dapan1121 ab98f7623c Merge remote-tracking branch 'origin/3.0' into feat/TD-25204 2023-10-23 08:44:46 +08:00
yihaoDeng ef27c87756 opt status send 2023-10-18 16:37:34 +08:00
dapan1121 a0699d758c Merge remote-tracking branch 'origin/3.0' into feat/TD-25204 2023-10-13 16:51:38 +08:00
Shungang Li 2c66f44b31 fix(tsdb): ensure sst trigger array size for upgrade 2023-10-10 21:07:08 +08:00
dapan1121 d229492616 Merge remote-tracking branch 'origin/3.0' into feat/TD-25204 2023-10-09 18:34:08 +08:00
Shungang Li 743a5b0640 feat: add db config item keep_time_offset 2023-09-25 15:46:08 +08:00
dapan1121 b9d554275c Merge remote-tracking branch 'origin/3.0' into feat/TD-25204 2023-09-19 14:21:00 +08:00
dapan1121 14e8db289d feat: support view 2023-09-19 14:19:54 +08:00
yihaoDeng 2002ed8709 add more error code 2023-09-14 15:34:28 +08:00
yihaoDeng 685bdea44a add rpc update interface 2023-09-04 21:15:46 +08:00
dapan1121 228e6c6acd Merge remote-tracking branch 'origin/main' into 3.0 2023-09-01 10:01:10 +08:00
Ganlin Zhao 4b954c0874 fix potential overflow 2023-08-30 10:25:16 +08:00
Haojun Liao 88f6596965
Merge pull request #22464 from taosdata/feat/TD-18789
feat:support varbinary type
2023-08-28 09:45:57 +08:00
wangmm0220 26e025d78d feat:[TD-18789]support varbinary type 2023-08-25 15:43:45 +08:00
wangjiaming0909 366a9cc009 Revert "feat: support column comment"
This reverts commit dcbef83dea.
2023-08-24 13:54:27 +08:00
Ganlin Zhao 1190442936 fix: use MD5 hash to fix aliasname not enough to hold dbname.tbname 2023-08-23 22:58:11 +08:00
Hongze Cheng 6a20420f07 feat: add minDiskFreeSize cfg 2023-08-23 16:41:29 +08:00
wangjiaming0909 dcbef83dea feat: support column comment 2023-08-15 16:30:02 +08:00
wade zhang d0b9c5172c
Merge pull request #22249 from taosdata/feat/3.0/TD-25446
force stt_trigger to be 1
2023-07-31 18:26:18 +08:00
wangjiaming0909 196ae283aa force stt_trigger to be 1 2023-07-31 14:03:07 +08:00
slzhou 6151b790d9 fix: increase the condition size of user privileges to 48k 2023-07-31 13:25:56 +08:00
slzhou 069103be74 fix: increase condition size 2023-07-30 21:17:30 +08:00
Benguang Zhao c3c48f265f enh: change default WAL_RETENTION_PERIOD as 3600 2023-07-26 14:10:56 +08:00
wade zhang 7b1e809d98
Merge pull request #21794 from taosdata/enh/tsdb_optimize
for test purpose
2023-07-21 14:18:32 +08:00
Ganlin Zhao 7935d824b6 enhance show variables output 2023-07-14 13:57:02 +08:00
Hongze Cheng 5ad9bd938f change default stt trigger as 2 2023-06-26 15:47:36 +08:00
Haojun Liao 933d08b489
Merge pull request #21690 from taosdata/feature/TS-3495
feat:add parameters for consumer & add offset rows for subscription
2023-06-13 14:59:15 +08:00
wangmm0220 6657b8d849 fix:modify offset description to string 2023-06-12 09:44:00 +08:00
wangmm0220 3f46a9bbc9 feat:add parameters for consumer & add offset rows for subscription 2023-06-08 18:14:02 +08:00
Shungang Li 472665e4b1 fix: compress core by tDataTypes 2023-06-06 13:06:53 +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
kailixu 1de90208f7 test: test case for alter dnode active code 2023-05-18 18:02:48 +08:00
wangmm0220 e17a105eff feat:[TD-23117] add schema for ins_topics 2023-05-12 18:14:43 +08:00
Haojun Liao 7ef16e1922 other: merge main. 2023-05-12 11:49:53 +08:00
kailixu efd6b578ff chore: more code 2023-05-11 14:57:50 +08:00
kailixu 665681947f chore: more code 2023-05-09 19:02:09 +08:00
kailixu e4882765ae Merge branch '3.0' into feat/TD-23643-3.0 2023-05-08 16:28:20 +08:00
kailixu 2be6ff4630 chore: more code 2023-05-06 20:38:50 +08:00
kailixu a6e37622ff chore: more code 2023-04-25 22:15:06 +08:00
kailixu 2d4dd64584 chore: more code 2023-04-24 20:21:28 +08:00
kailixu 77a8e3b213 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-21 16:04:09 +08:00
dapan1121 3c2fc48e74 feat: support new table_prefix/table_suffix mode 2023-04-21 14:17:07 +08:00
dm chen d594e4963f
Merge branch '3.0' into feat/learner 2023-04-20 19:11:06 +08:00
Benguang Zhao a1ca9466cd enh: adjust size limit of appyQ and negotiationWin 2023-04-20 14:28:56 +08:00
cadem 3b78d4382b add learner 2023-04-18 19:03:45 +08:00
kailixu 04fa4d2e87 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-12 13:05:47 +08:00
Xiaoyu Wang 4c04b155d5 merge main 2023-04-11 15:56:28 +08:00
kailixu 303bc7dc23 enh: column/row max length support up to 64K 2023-04-03 17:12:14 +08:00
kailixu 37bc1bca36 enh: column/row max length support up to 64K 2023-04-03 17:00:52 +08:00
cademfly db725c6f6d show priviledge format 2023-03-30 18:53:50 +08:00
dapan1121 5b02af6a91 fix: merge main to 3.0 2023-03-22 16:08:16 +08:00
kailixu 9d1b0540b2 fix: truncate of server version 2023-03-17 19:05:26 +08:00
dapan1121 59b532a890 fix: modify minrows/maxrows range and add cases 2023-03-16 09:46:14 +08:00
slzhou 88d2d57534 enhance: increase udf function intermediate buffer size 2023-03-08 10:11:50 +08:00
Xiaoyu Wang 599967d39f feat: add language clause for create function 2023-03-04 11:08:50 +08:00
Xiaoyu Wang 319dfd8f06 merge 3.0 2023-02-20 17:21:37 +08:00
Xiaoyu Wang c597de099f merge main 2023-02-20 13:41:27 +08:00
yihaoDeng f975d8e0d9 change default value 2023-02-16 21:58:32 +08:00
Benguang Zhao 767080922a fix: set SYNC_VNODE_LOG_RETENTION as TSDB_SYNC_LOG_BUFFER_RETENTION + 1 2023-02-13 14:16:19 +08:00
yihaoDeng bfd711c08f Merge remote-tracking branch 'origin/3.0' into dynamicIdx 2023-01-18 22:01:49 +08:00
Xiaoyu Wang 9a0c2805f4 merge main 2023-01-13 13:54:04 +08:00
Shengliang Guan c8b04f27f0 fix: reset timeout def 2023-01-12 15:19:52 +08:00
yihaoDeng 5bb20a9a2c Merge branch 'ddv' into dynamicIdx 2023-01-04 14:20:39 +08:00
Xiaoyu Wang fdde287ca9 merge main 2023-01-04 11:43:20 +08:00
Xiaoyu Wang e0ca1affdf fix: escape error in create topic/stream 2022-12-29 14:39:02 +08:00
Shengliang Guan 78c14a2c88 Merge remote-tracking branch 'origin/3.0' into merge/mainto3.0_1228 2022-12-28 14:59:02 +08:00
Alex Duan 4a97f25725 fix(query): show sql len on systable length modify from 1024 to 2048 2022-12-24 11:16:45 +08:00
yihaoDeng 30b1378bde add create_tag_index msg 2022-12-22 22:23:03 +08:00
Haojun Liao fdade6d6a3
Merge branch '3.0' into refact/submit_req 2022-12-19 11:24:00 +08:00
Shengliang Guan 6a7c1d6bea
Merge pull request #18940 from taosdata/enh/TD-21127
refact: post sem in vnode while sync timeout
2022-12-14 18:55:52 +08:00
Shengliang Guan 2b256542a5 refact: add vnode timer 2022-12-14 09:14:40 +08:00
Xiaoyu Wang b69725adaa enh: shielding database option 'strict' 2022-12-13 10:00:24 +08:00
Haojun Liao 27ebafdbaa other: merge 3.0 2022-12-09 10:19:05 +08:00
kailixu 45528081d5 chore: keep option of ns database 2022-12-08 12:30:40 +08:00
kailixu 4a6f41f7f1 fix: keep option of database with precision ns 2022-12-08 11:56:29 +08:00
Hongze Cheng 2d85c7c451 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-12-07 09:04:00 +08:00
Xiaoyu Wang bc413b8fff feat: add stream option 'delete_mark' 2022-12-06 16:07:11 +08:00
Liu Jicong 619bbdfd82 refactor: support submitreq2 2022-12-06 05:58:28 +08:00
Benguang Zhao 470441c541 Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-29 18:24:01 +08:00
yihaoDeng aff649deb7 adjust parameer 2022-11-27 23:00:32 +08:00
Benguang Zhao 68f8ebac9d Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-25 13:10:06 +08:00
Benguang Zhao b90ee79623 fix: use syncLogBufferCommit in syncNodeOnLocalCmd 2022-11-21 13:51:01 +08:00
Benguang Zhao 051b73c1ed Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-17 17:28:11 +08:00
Alex Duan 8b82fdf0e8 fix(query): correct calc sort page size 2022-11-16 16:00:37 +08:00
Benguang Zhao 3e13cd8280 fix: check if timer triggered ahead of time in syncNodeElect 2022-11-16 14:26:18 +08:00
Benguang Zhao def4058eb1 feat: impl pipelining negotiation 2022-11-11 22:55:21 +08:00
Cary Xu 69c1465142 Merge branch '3.0' into feat/TS-2007 2022-11-10 15:49:15 +08:00
Cary Xu 25148268e6 enh: support wider range for future timestamp 2022-11-09 18:10:30 +08:00
Hongze Cheng 92dc920f4c perf: change default buffer sizea 2022-11-09 14:22:58 +08:00
Benguang Zhao 5878c9a31a fix: impl ring log buffer 2022-11-07 14:27:22 +08:00
Shengliang Guan acb6634216 enh: set sst trigger default value from 8 to 1 2022-10-30 20:07:41 +08:00
Minghao Li 95d51891b9 refactor(sync): adjust multi replica wal retension size 2022-10-26 13:55:30 +08:00
Haojun Liao c41713cf21
Merge pull request #17495 from taosdata/fix/liao_cov
refactor: remove redundant codes and do some internal refactor.
2022-10-20 13:16:02 +08:00
Haojun Liao 00e56d678b refactor: remove redundant codes. 2022-10-19 22:38:12 +08:00
Shengliang Guan fc5af24975
Merge pull request #17444 from taosdata/enh/TD-19622
refact: remove bnode codes
2022-10-19 10:06:35 +08:00
Shengliang Guan 3a7d89a6bb refact: remove bnode codes 2022-10-18 17:34:58 +08:00