Commit Graph

110 Commits

Author SHA1 Message Date
Adam Ji 9125a28061 docs: merge example code to 3.0 2024-04-02 09:13:55 +08:00
t_max eab4861370 refactor(c#): refactor c# connector to v3.1.0 2023-12-14 18:28:29 +08:00
chenhaoran 515d671e00 test:modify the keep parameter of db in python.sh cases 2023-12-07 10:04:47 +08:00
Adam Ji b202d75cdc docs: close cursor after use 2023-11-21 10:47:27 +08:00
Adam Ji a10431cea8 docs: close cursor after use 2023-11-21 10:44:59 +08:00
sheyanjie 369586a5c6 fix auto.offset.reset and snapshot.enable 2023-10-19 20:33:31 +08:00
t_max 312da0ac03 docs(driver-go): update tmq auto.offset.reset configuration 2023-10-19 14:13:17 +08:00
sheyanjie faca8f2ea9 support geometry data type 2023-09-19 11:20:06 +08:00
dapan1121 0cce255a02 Merge remote-tracking branch 'origin/3.0' into fix/m23.0 2023-08-28 10:06:53 +08:00
Shuduo Sang 7020ac7a0f
docs: refine c connector docs (#22491)
* docs: fix taos_init() return type

* docs: refine c interface doc
2023-08-20 14:46:24 +08:00
wangmm0220 b3f945c4c5 fix:conflict 2023-08-16 19:35:05 +08:00
wangmm0220 beb84b2355 fix:tmq interface & remove snapshot code 2023-08-15 15:37:39 +08:00
wangmm0220 7441801e9d feat:support varbinary type 2023-08-15 13:57:05 +08:00
wangmm0220 60191bef9e fix:tmq interface & remove snapshot code 2023-08-14 16:24:56 +08:00
Shuduo Sang 314c749965
docs: supplement r language connnector note (#22340)
* docs: add r language to connector

* docs: add r lang english version in connector

* docs: fix include path and note format

* Update 60-r-lang.mdx

minor changes

* docs: supplement r language note

---------

Co-authored-by: danielclow <106956386+danielclow@users.noreply.github.com>
2023-08-05 20:58:49 +08:00
Shuduo Sang fb4ed263b6
test: make connect_native.r a bit perplexing (#22291) 2023-08-02 17:02:42 +08:00
Shuduo Sang cbca55bc6a
docs: add r language to connector (#22286)
* docs: add r language to connector

* docs: add r lang english version in connector

* docs: fix include path and note format

* Update 60-r-lang.mdx

minor changes

---------

Co-authored-by: danielclow <106956386+danielclow@users.noreply.github.com>
2023-08-02 14:47:51 +08:00
wade zhang b07df46c51
Merge pull request #22265 from taosdata/test/sangshuduo/ci-test
test: add test case for r
2023-08-02 14:12:35 +08:00
Shuduo Sang 872844592e test: add readme.txt 2023-08-01 13:39:20 +08:00
Shuduo Sang f2ca4a22c7
docs: use latest java connector to avoid confusing user (#22254) 2023-08-01 09:44:33 +08:00
sunpeng 2ca20436bd docs: fix-example-in-python-document 2023-07-06 09:41:33 +08:00
sunpeng 8d9b88eb34 docs: fix example in python document 2023-07-06 09:33:56 +08:00
sunpeng 561c61ba64 docs: add docs for assignment and seek
docs: upgrade docs from python subscription
docs: support stmt via ws
docs: optimizate python document base on java document
2023-06-27 11:32:18 +08:00
huolibo bbb93c3720 enh: tmq example add all properties 2023-05-25 11:27:49 +08:00
huolibo 61df1a1b21 enh: stmt insert demo 2023-05-24 17:23:31 +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
wade zhang 01bee436da
Merge pull request #21223 from taosdata/docs/TD-22166
docs(driver): jdbc 3.2.1 document and error code
2023-05-10 11:18:09 +08:00
huolibo 50a24667cd docs(driver): jdbc 3.2.1 document and error code 2023-05-09 16:50:34 +08:00
Linhe Huo d2436fe06a
Merge pull request #21024 from taosdata/docs/adamji/sml-rust
docs: add example and document for rust schemaless insert
2023-05-09 16:32:48 +08:00
Adam Ji 758bcb901a
docs: fix example tmp (#21197) 2023-05-06 22:55:44 +08:00
Adam Ji 4295063bea docs: remove db in sml struct 2023-04-24 08:54:30 +08:00
Adam Ji ae37c254ad docs: update put telnet db name 2023-04-23 10:19:51 +08:00
Adam Ji 20bb69cc16 docs: case put sml json 2023-04-23 10:19:23 +08:00
Adam Ji bec5790c6c docs: update put telnet format 2023-04-23 10:17:20 +08:00
Adam Ji c405051bb3 docs: update put line 2023-04-23 10:16:59 +08:00
Adam Ji 14a76427f3 docs: case put sml telnet 2023-04-23 10:16:00 +08:00
Adam Ji 2e32ebe7f8 docs: case of sml put line 2023-04-23 10:12:55 +08:00
kailixu fd3b552357 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-17 11:42:46 +08:00
Adam Ji 6c3a2e2c5b
docs: support schemaless insert (#20944)
* docs: support schemaless insert

* docs: code reformat
2023-04-15 22:38:28 +08:00
kailixu e976fcb91d Merge branch '3.0' into enh/TD-21161-3.0 2023-04-07 17:51:35 +08:00
Xiaoyu Wang e9d7a099cc merge main 2023-04-04 14:50:58 +08:00
kailixu 37bc1bca36 enh: column/row max length support up to 64K 2023-04-03 17:00:52 +08:00
wangmm0220 b7e6e4197d opti:disable set enable.heartbeat.background 2023-03-30 11:18:35 +08:00
Xiaoyu Wang 97855c6233
Merge pull request #20607 from taosdata/FEAT/TD-23257-3.0
feat: WAL cleanup not affected by topic consumption anymore
2023-03-27 17:58:31 +08:00
Adam Ji 319ec95b9d
docs: add content about req-id (#20650) 2023-03-27 17:07:33 +08:00
Benguang Zhao 6e1eed8843 fix: create database with wal_retention_period in docs/examples/csharp 2023-03-25 13:59:17 +08:00
Benguang Zhao 19883fdeed feat: alter database before creating topic in tests 2023-03-25 12:01:20 +08:00
huolibo d632f035a2
fix: adapter 3.0 (#20391) 2023-03-10 17:01:23 +08:00
sunpeng b84b8e58f5
test: add python demo for websocket (#20209)
* test: add python demo for websocket

* fix test

* fix test

* fix test
2023-03-02 20:44:25 +08:00
huolibo d7e7800520
docs: add jdbc 3.1.0 version description (#20145)
* docs: add jdbc 3.1.0 version description

* docs: fix jdbc description

* docs: add tmq over websocket demo

* docs: fix jdbc tmq demo path

* docs: docs demo in CI

* fix: add jdbc version

* docs: use subscription instead of tmq

---------

Co-authored-by: Shuduo Sang <sangshuduo@gmail.com>
2023-02-24 15:44:12 +08:00