Commit Graph

309 Commits

Author SHA1 Message Date
wangmm0220 4bebd5c0da docs:add info for INS_SUBSCRIPTIONS 2023-07-07 17:19:06 +08:00
Haojun Liao 6a0da778b4
Merge pull request #21986 from taosdata/mark/doc-3.0
docs:add info for INS_SUBSCRIPTIONS
2023-07-07 16:54:05 +08:00
wangmm0220 19b5da8cd7 docs:add info for INS_SUBSCRIPTIONS 2023-07-03 17:49:22 +08:00
chao.feng 212f738750 udpate buffer default value from 96 to 256 by charles 2023-07-03 14:48:07 +08:00
dapan1121 c8435de64a
Merge branch '3.0' into fix/m23.0 2023-06-29 14:03:56 +08:00
dapan1121 3519e9170e Merge remote-tracking branch 'origin/main' into 3.0 2023-06-29 11:13:45 +08:00
wangmm0220 98ce30f55c docs:modify docs for tmq 2023-06-28 19:26:34 +08:00
Ganlin Zhao 1d314b9ac2
Update 10-function.md 2023-06-28 16:10:04 +08:00
Ganlin Zhao 4f613220d1 fix sample docs 2023-06-28 15:13:35 +08:00
Ganlin Zhao 1a6511fee0 fix unique document 2023-06-28 15:09:42 +08:00
sunpeng 1c5514a114 docs: add version history for python connector 2023-06-27 15:12:14 +08:00
dapan1121 4dae9f4eff merge main to 3.0 2023-06-26 18:43:00 +08:00
Shuduo Sang 14645e23e7 docs: declare strict as obsoleted 2023-06-20 17:37:58 +08:00
Shuduo Sang 0d4d0c0974 docs: fix strict length in ins_databases 2023-06-20 16:05:17 +08:00
Ganlin Zhao e8eadeb9f5 Merge branch '3.0' into feat/TS-3048 2023-06-06 14:55:12 +08:00
dapan1121 ff8fb44cc3
Merge pull request #21495 from taosdata/docs/TD-23990-3.0
chore: update docs about support row/columns width up to 64KB
2023-06-06 11:15:08 +08:00
kailixu c50da378d6 chore: update docs about support row/columns width up to 64KB 2023-06-06 11:09:00 +08:00
Ganlin Zhao 34fa89da0d add en docs 2023-05-30 14:50:03 +08:00
kailixu ee4709bb4b chore: update docs about support row/columns width up to 64KB 2023-05-26 16:01:42 +08:00
Ganlin Zhao a8599d78d1 docs: fix timeline function super table explaination 2023-05-26 14:02:46 +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
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
Shuduo Sang 94d71f601d
docs: udf requires python 3.7+ (#21397) 2023-05-21 14:20:01 +08:00
Ganlin Zhao 79d8b8c3d4 add zh/en docs 2023-05-17 16:06:12 +08:00
meeki007 de0cc463e1
Correction/纠正 01-data-type.md (#21313)
# 10 
Change/改变
INT UNSIGNED  --->  SMALLINT UNSIGNED
2023-05-16 07:21:24 +08:00
Shuduo Sang ef80b5b05b
docs: update grafana doc for 3.0 (#21300)
* docs: fix tab value and label

* docs: fix tab value and label

* docs: add dbname note in grafa and fix lots of unicode characters in english doc
2023-05-15 12:26:03 +08:00
Haojun Liao 181f9063e9 other: merge 3.0 2023-05-12 18:13:28 +08:00
Hui Li 7bd0c6553f
Update 04-stable.md 2023-05-12 15:01:30 +08:00
Haojun Liao 43e06b9132 Merge branch '3.0' into feature/3_liaohj 2023-05-12 13:36:02 +08:00
Haojun Liao 7ef16e1922 other: merge main. 2023-05-12 11:49:53 +08:00
dapan1121 9394afec68
Merge pull request #21144 from taosdata/feat/TD-19801
feat(query): support interp with super table
2023-05-12 11:37:20 +08:00
wade zhang 776b4a1085
Update 24-show.md 2023-05-11 09:46:59 +08:00
wangjiaming0909 479bb157e0 fix: select _block_dist() from t; set the unit of Size to KB 2023-05-09 15:19:21 +08:00
liuyao e48fdceb7c
Update 14-stream.md 2023-05-06 16:03:12 +08:00
Ganlin Zhao 07f714cc84 fix doc error 2023-05-06 15:06:54 +08:00
Ganlin Zhao 77dc97e509 add en doc 2023-05-05 17:54:16 +08:00
gccgdb1234 b0e77eeb45 doc: refine the description of TABLE_PREFIX and TABLE_SUFFIX 2023-05-05 16:13:47 +08:00
shenglian zhou accdcda343 docs: add python udf english version 2023-05-05 13:21:04 +08:00
wade zhang 8e9936ed32
Update 14-stream.md 2023-04-27 08:09:39 +08:00
Haojun Liao cb43ac024b
Update 14-stream.md 2023-04-26 19:06:44 +08:00
Haojun Liao 457ed296d3
Update 14-stream.md 2023-04-26 17:21:45 +08:00
Haojun Liao e4d40489e7
Update 14-stream.md 2023-04-26 17:13:20 +08:00
Haojun Liao cf9567ac96
Update 14-stream.md 2023-04-26 17:04:37 +08:00
Haojun Liao f7141fdebb
Update 14-stream.md 2023-04-26 16:53:52 +08:00
Shuduo Sang 7113ded06a
docs: fix typos and use 3.1.0 in java connector for3.0 (#21095)
* 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
2023-04-26 16:48:21 +08:00
Haojun Liao 24e8ff7970
Update 14-stream.md 2023-04-26 16:35:45 +08:00
Haojun Liao a98cf1277f
Update 14-stream.md 2023-04-26 16:33:23 +08:00
Haojun Liao cf57a3f3f6
Update 10-function.md 2023-04-26 16:30:40 +08:00
dapan1121 95b78f327a
Merge pull request #20959 from taosdata/enh/TS-3149
enh: add param for to_unixtimestamp to return timestamp type
2023-04-19 08:54:25 +08:00
Haojun Liao 18b4694327
Update 23-perf.md 2023-04-18 19:22:52 +08:00
Ganlin Zhao b2cca108a3 add documentations 2023-04-18 14:29:04 +08:00
wade zhang dd066e6b0b
Update 29-changes.md 2023-04-13 11:10:19 +08:00
wade zhang 2485d6b631
Merge pull request #20764 from taosdata/DOCS/TD-22982-3.0
docs: update description of parameters WAL_RETENTION_PERIOD etc.
2023-04-07 10:30:25 +08:00
Xiaoyu Wang 554e02ba62 fix: delete column comment syntax 2023-04-07 10:18:21 +08:00
Benguang Zhao 9c412bbf6d docs: update description of parameters WAL_RETENTION_PERIOD etc. for alter or create database 2023-04-04 18:35:42 +08:00
Xiaoyu Wang 522fbb0f84 docs: fix event window doc 2023-03-27 09:51:25 +08:00
dapan1121 22512a3b6a enh: corrent slimit/limit statement 2023-03-22 14:02:18 +08:00
Xiaoyu Wang dd9789feba docs: add flush database doc 2023-03-20 11:14:13 +08:00
gccgdb1234 bcd6ec7e6b docs: add doc for force fill 2023-03-16 11:27:42 +08:00
gccgdb1234 d4e57f9314 docs: rename 07-index.md 2023-03-10 17:42:22 +08:00
gccgdb1234 9e4d704eeb docs: add tag index 2023-03-10 16:59:47 +08:00
WANG MINGMING 692b6606fe
Update 22-meta.md 2023-03-10 11:48:36 +08:00
Xiaoyu Wang 6fcf446f98 docs: add event window 2023-03-08 13:32:08 +08:00
gccgdb1234 bde9d54cb5 docs: event window 2023-03-08 12:57:31 +08:00
gccgdb1234 3115aeee78 docs: add event window 2023-03-08 12:23:58 +08:00
Benguang Zhao 85767ca532 fix: update docs for WAL_RETENTION_PERIOD, etc. 2023-03-06 11:44:35 +08:00
Shuduo Sang 42d2c15f19
docs: connector for 3.0 (#20250)
* 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
2023-03-03 10:14:57 +08:00
Shengliang Guan ad751dccac
Merge pull request #19934 from taosdata/docs/cdiwadkar16-patch-1
docs:cdiwadkar16-patch-1 - example for INTERP
2023-03-02 17:38:49 +08:00
Xiaoyu Wang 69c0ef8ecd fix: show license/vgroups docs error 2023-02-28 11:05:07 +08:00
dapan1121 05c7bc170e
Merge pull request #20098 from taosdata/feat/TS-2671
feat(query): optimize percentile function performance
2023-02-23 10:24:06 +08:00
Ganlin Zhao f72b0d9861 add docs 2023-02-22 16:31:45 +08:00
dingbo8128 3a8e19bd25 docs: fix broken link 2023-02-18 11:16:20 +08:00
wade zhang a81833c7dc
Merge pull request #19991 from taosdata/docs/isfilled_version
fix _isfilled support version
2023-02-15 13:57:45 +08:00
Ganlin Zhao ff69b973ce fix _isfilled support document version 2023-02-15 13:52:21 +08:00
gccgdb1234 959be6676e docs: how to change cachesize 2023-02-13 17:21:01 +08:00
Chait Diwadkar 98b6d607d8
docs:cdiwadkar16-patch-1 - example for INTERP
Added an example for INTERP functions using the smart meters demo
2023-02-11 09:07:12 -08:00
Ganlin Zhao 3fc4e97a89 Update 06-select.md 2023-02-10 14:11:18 +08:00
Ganlin Zhao a16eef479b docs: add interp_clause to select syntax 2023-02-10 14:11:04 +08:00
Ganlin Zhao 564e21dd21
Update 06-select.md 2023-02-09 16:44:17 +08:00
Ganlin Zhao 30bd177280 docs: add interp_clause to select syntax 2023-02-09 16:36:30 +08:00
Xiaoyu Wang 09925437e3 merge main 2023-02-08 09:51:52 +08:00
Ganlin Zhao 35675aeb2a
Update 10-function.md 2023-02-07 10:49:42 +08:00
Ganlin Zhao 90ac7efc45
docs: add more details about interp subclause en 2023-02-07 10:46:43 +08:00
danielclow 7a11008316 doc: add descriptions to all docs 2023-02-06 00:07:16 +08:00
kailixu 9383acdf25 docs: latest timestamp allowed when inserting data 2023-02-03 13:00:59 +08:00
kailixu aa3a9dd622 docs: latest timestamp allowed when inserting data 2023-02-03 11:47:46 +08:00
kailixu 6618ff199d docs: latest timestamp allowed when inserting data 2023-02-03 11:44:15 +08:00
wade zhang 05097e5061
Merge pull request #19483 from taosdata/docs/TD-21822-3.0
docs: add description of keep/multi-tier storage
2023-01-30 10:03:52 +08:00
Xiaoyu Wang 102ca2833e doc: fix the syntax of the show vnodes command 2023-01-29 16:39:40 +08:00
Cary Xu 20e50d00b7
Update 02-database.md 2023-01-13 15:02:00 +08:00
Cary Xu 40d8bc1480
Update 02-database.md 2023-01-13 14:59:21 +08:00
Cary Xu d5b904e446
Update 02-database.md 2023-01-13 14:44:15 +08:00
Shengliang Guan 237168da05
Merge pull request #19510 from taosdata/docs/TD-21779-3.0
docs: add balance vgroup and redistribute vgroup
2023-01-11 17:48:52 +08:00
Shengliang Guan f57a617ae3 docs: add balance vgroup and redistribute vgroup 2023-01-11 17:29:29 +08:00
Xiaoyu Wang 12fb3a2164 docs: add database options 'stt_trigger' and 'tsdb_pagesize' 2023-01-11 17:24:36 +08:00
Xiaoyu Wang 573f18f24c docs: add database options 'stt_trigger' and 'tsdb_pagesize' 2023-01-11 13:48:13 +08:00
kailixu ea13d2bc99 docs: add description of keep/multi-tier storage 2023-01-10 17:03:57 +08:00
kailixu a3f7cb3e27 docs: add description of multi-tier storage 2023-01-10 15:44:05 +08:00
wade zhang 2532464697
Update 29-changes.md 2023-01-09 14:08:03 +08:00
Ganlin Zhao d0479992fe
docs: fix _isfilled support version 2023-01-09 11:26:27 +08:00
Alex Duan 70b5a10ab0
Update 20-keywords.md
ADD ALIVE TO RESERVED KEYWORDS
2022-12-29 10:08:47 +08:00
wade zhang cb7c141660
Update 24-show.md 2022-12-28 15:44:40 +08:00
wade zhang d1001dde7e
Update 24-show.md 2022-12-28 15:44:09 +08:00
wade zhang 4aae524444
Update 24-show.md 2022-12-28 15:42:45 +08:00
Xiaoyu Wang 67a4de52f7 docs: add db option table_prefix and table_suffix 2022-12-27 09:49:31 +08:00
gccgdb1234 a7fbd6e390 doc: add example for show table distributed 2022-12-23 16:50:22 +08:00
jiajingbin 9bf1ae58ac docs: update default trigger mode 2022-12-20 15:30:03 +08:00
Ganlin Zhao 09061bcc57 Merge branch '3.0' into feat/TS-2158 2022-12-19 09:23:32 +08:00
Liu Jicong d42f60146f docs(stream) 2022-12-18 14:13:07 +08:00
Liu Jicong ab9c07c420 docs(stream) 2022-12-17 19:11:43 +08:00
Liu Jicong 233f742b41
Merge branch 'main' into feature/stream 2022-12-17 18:30:03 +08:00
Liu Jicong 726951fef0 docs(stream) 2022-12-17 18:27:23 +08:00
Liu Jicong 191c43654d
docs(stream) (#18988) 2022-12-17 18:08:01 +08:00
Liu Jicong 8aa20b5310 docs(stream) 2022-12-17 17:39:38 +08:00
Ganlin Zhao bb6e23ed06 fix typo 2022-12-15 11:13:33 +08:00
Ganlin Zhao 33324a56ae add zn/en docs 2022-12-15 11:08:43 +08:00
wade zhang b7f88c2f21
Update 02-database.md 2022-12-12 10:58:21 +08:00
Ganlin Zhao 6474ae3fd6 add cn/en docs for ignore_timezone description 2022-12-05 12:33:50 +08:00
Ganlin Zhao 896921521f add cn/en docs for ignore_timezone description 2022-12-05 12:32:00 +08:00
wade zhang 7715dab468
Update 06-select.md 2022-11-22 17:31:07 +08:00
shenglian zhou 77e3cc42b9 fix: change example name in document 2022-11-19 10:05:24 +08:00
Xiaoyu Wang 04c59ea5b3 fix: limit doc error 2022-11-17 16:09:27 +08:00
wade zhang 6fdaa442ad
Update 02-database.md 2022-11-15 10:32:21 +08:00
wade zhang 5b8d0ae837
Update 02-database.md 2022-11-15 10:28:09 +08:00
wade zhang 2ccffd01a2
Merge pull request #17956 from taosdata/docs/query_doc_wxy
docs: add examples of case expressions
2022-11-08 11:19:22 +08:00
Xiaoyu Wang cac2764cd6 docs: add examples of case expressions 2022-11-08 11:15:13 +08:00
Jeff Tao 16054dcde3
Update 06-select.md 2022-11-07 12:30:37 -08:00
Xiaoyu Wang 0a6061eb70 docs: add case expressions 2022-11-07 22:59:50 +08:00
beyoung 02927717f2
Update 04-stable.md
fix typo  create_definitionn -> create_definition
2022-11-02 12:29:11 +08:00
beyoung 61b28128fd
Update 03-table.md
fix typo  create_definitionn -> create_definition
2022-11-02 12:28:21 +08:00
gccgdb1234 847e351b92 doc: correct alter debugFlag syntax error 2022-10-25 10:11:02 +08:00
Xiaoyu Wang a9ca24a2d7 some problems of docs 2022-10-20 17:43:11 +08:00
Ganlin Zhao f912c63202 Update 10-function.md 2022-10-19 10:22:53 +08:00
Ganlin Zhao 25c2cec602 change mode en docs 2022-10-18 17:58:17 +08:00
Xiaoyu Wang a6102b4b1c docs: fix 'terminate a tuery' chapter 2022-10-14 15:08:41 +08:00
wade zhang c940cbdb6a
Merge pull request #17301 from taosdata/docs/query_doc_wxy
docs: add super table tag query method. add keyword description to system table column
2022-10-12 11:05:33 +08:00
Sean Ely af018a391f
docs: updated functions to add context for interp
Added two sentences to help explain how to use the EVERY parameter for INTERP.
2022-10-11 08:26:53 -07:00
Xiaoyu Wang dc9f535b05 docs: add super table tag query method. add keyword description to system table column 2022-10-11 18:42:37 +08:00
wade zhang 30875cfd1c
Update 24-show.md 2022-10-10 11:18:21 +08:00
wade zhang 9273ec149e
Update 21-node.md 2022-10-10 09:39:29 +08:00
wade zhang 1112078464
Update 24-show.md 2022-10-10 09:31:58 +08:00
dapan1121 d110650a99 fix: remove fetch thread config 2022-10-08 19:04:42 +08:00
Ganlin Zhao 65779d041c fix grammer 2022-09-28 17:35:57 +08:00
Ganlin Zhao 8d510fcf18 add _irowts in EN doc 2022-09-28 17:28:23 +08:00
dapan1121 d7d2dabfe8
Merge pull request #17115 from taosdata/feat/TD-18842
feat(query): interp support return timestamp with pseudo column _irowts
2022-09-28 16:00:47 +08:00
Xiaoyu Wang faf07b81c1 docs: improve the system table chapter 2022-09-28 15:35:45 +08:00
Xiaoyu Wang c240e33067 docs: improve the system table chapter 2022-09-28 15:28:39 +08:00
Xiaoyu Wang 7ebbce4542 docs: improve the system table chapter 2022-09-28 15:12:28 +08:00
Ganlin Zhao 81d12d2e0c fix docs 2022-09-28 14:52:05 +08:00
Ganlin Zhao 89fc9ae5ad docs changes 2022-09-28 14:45:24 +08:00