Commit Graph

134 Commits

Author SHA1 Message Date
sheyanjie-qq 8c6ff828e9 mod rust example 2024-08-02 17:06:40 +08:00
sheyanjie-qq f62aa3e045 Merge branch 'docs/wade-3.0' of github.com:taosdata/TDengine into docs/wade-3.0 2024-08-02 16:32:42 +08:00
sheyanjie-qq 6f259ab298 mod rust example 2024-08-02 16:32:21 +08:00
menshibin 6693b2cc58 add node.js example 2024-08-02 16:20:50 +08:00
menshibin 8bb7cf5926 Merge branch 'docs/wade-3.0' of github.com:taosdata/TDengine into docs/wade-3.0-shibin 2024-08-02 15:14:43 +08:00
menshibin d86043fde0 nodejs example modify 2024-08-02 15:14:08 +08:00
sheyanjie-qq d0d171b4be Merge branch 'docs/wade-3.0' of github.com:taosdata/TDengine into docs/wade-3.0 2024-08-02 14:50:47 +08:00
sheyanjie-qq b70d0c66b3 mod java code 2024-08-02 14:50:07 +08:00
t_max 251d9ecab1 docs: add go and csharp example 2024-08-02 14:46:48 +08:00
sheyanjie-qq 1bb29caf50 mod schemaless 2024-08-02 14:05:14 +08:00
sheyanjie-qq 2a52d29cbf Merge branch 'docs/wade-3.0' of github.com:taosdata/TDengine into docs/wade-3.0 2024-08-02 14:02:44 +08:00
sheyanjie-qq 43a9872c4c mod rust dev guide 2024-08-02 14:02:22 +08:00
Yaming Pei a96d47cb7b Merge remote-tracking branch 'origin/docs/wade-3.0' into docs/wade-3.0-pym 2024-08-02 10:00:16 +08:00
Yaming Pei d92554ff50 The Connector section of the official website reconstructs the C language interface description 2024-08-02 09:32:05 +08:00
menshibin 5fc0f32257 modify python api 2024-08-01 21:30:34 +08:00
menshibin 709c31dbc4 modify python api 2024-08-01 21:07:55 +08:00
menshibin 3c285d48cd modify python api 2024-08-01 20:13:35 +08:00
sheyanjie-qq 5ab0b11223 mod sample code 2024-08-01 14:26:55 +08:00
sheyanjie-qq d3a7058143 mod jdbc doc 2024-07-31 17:18:07 +08:00
sheyanjie-qq ed943675c2 add code example 2024-07-31 11:34:11 +08:00
sheyanjie-qq b144f19ea9 add exception handling 2024-07-31 10:09:56 +08:00
gccgdb1234 3a63fd5b18 docs: overwrite docs in 3.0 branch with docs in main branch 2024-07-03 16:33:55 +08:00
sheyanjie-qq dd4e8458ce mod grafana doc and jdbc 3.3.0 related doc 2024-07-01 18:49:36 +08:00
chenhaoran 1d9ad04fec test:change the CRAN mirror site to a domestic one for R test 2024-06-06 11:06:16 +08:00
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