Commit Graph

191 Commits

Author SHA1 Message Date
sheyanjie-qq c6e7d69bb4 update log 2024-08-12 20:56:20 +08:00
sheyanjie-qq edcc5f5b67 improve log 2024-08-12 19:05:01 +08:00
sheyanjie-qq d72e0307f0 mod rust log 2024-08-12 17:44:23 +08:00
sheyanjie-qq ef845842f8 mod rust log 2024-08-12 17:29:17 +08:00
sheyanjie-qq 89244490ee improve java log 2024-08-12 11:18:25 +08:00
sheyanjie-qq 2f1f8605d9 mod validation sql in jdbc demo properties 2024-08-10 10:39:22 +08:00
sheyanjie-qq 43448bee6e fix doc issue 2024-08-09 18:20:50 +08:00
t_max b170feeb22 docs: update java demo and grafana alert 2024-08-09 11:29:37 +08:00
sheyanjie-qq 597375fb80 add log to java schemaless sample code 2024-08-05 18:34:16 +08:00
sheyanjie-qq 76241f5be5 mod exception print 2024-08-05 18:34:15 +08:00
sheyanjie-qq e1f82b3828 mod code example 2024-08-05 18:34:15 +08:00
sheyanjie-qq 255d0fd02a mod java exception 2024-08-05 18:34:14 +08:00
sheyanjie-qq 6ab94e8318 fix typo 2024-08-05 18:34:14 +08:00
sheyanjie-qq 4135d08519 mod java code 2024-08-05 18:34:14 +08:00
sheyanjie-qq 13df2596c4 mod tmq example 2024-08-05 18:34:14 +08:00
sheyanjie-qq 5987b9bba4 mod reference 2024-08-05 18:34:14 +08:00
sheyanjie-qq a01439d95e mod sample code 2024-08-05 18:34:14 +08:00
sheyanjie-qq f7a94fad50 mod jdbc doc 2024-08-05 18:34:13 +08:00
sheyanjie-qq 57394dfe19 mod jdbc doc 2024-08-05 18:34:13 +08:00
sheyanjie-qq f440f71e99 add code example 2024-08-05 18:34:13 +08:00
sheyanjie-qq f1c7fc1ad2 update doc 2024-08-05 18:34:13 +08:00
sheyanjie-qq 4223965dba add exception handling 2024-08-05 18:34:13 +08:00
sheyanjie-qq dea03ae5b3 merge from main example 2024-07-04 09:32:41 +08:00
sheyanjie-qq dd4e8458ce mod grafana doc and jdbc 3.3.0 related doc 2024-07-01 18:49:36 +08:00
sheyanjie 3efe8d02d2 jdbc release 3.2.7 2023-10-27 18:06:10 +08:00
Haojun Liao eb4449999f other: merge 3.0 2023-10-12 10:33:48 +08:00
sheyanjie faca8f2ea9 support geometry data type 2023-09-19 11:20:06 +08:00
Shuduo Sang 6bb1a86c86
chore: add build instruction to refine example (#22943)
* fix: use latest version of jdbc connector

* fix: remove locale and timezone to avoid confusing user

* fix: update readme.md

* fix: refine demo.c

* fix: specify utf-8 in jdbc example pom.xml

* fix: refine jdbc example doc

* chore: add build instructions to go example
2023-09-16 21:00:43 +08:00
Shuduo Sang fc283a5290
fix: refine jdbc example docs (#22821)
* fix: use latest version of jdbc connector

* fix: remove locale and timezone to avoid confusing user

* fix: update readme.md

* fix: refine demo.c

* fix: specify utf-8 in jdbc example pom.xml

* fix: refine jdbc example doc
2023-09-10 23:55:00 +08:00
dapan1121 cc17848b78 fix: merge 3.0 to main 2023-09-01 13:24:47 +08:00
Haojun Liao b1aa86a290
Merge pull request #22605 from taosdata/feat/TD-18789
feat:support varbinary type
2023-08-30 11:29:26 +08:00
wangmm0220 de91793630 fix:compile error 2023-08-29 17:20:06 +08:00
wangmm0220 9435d78245 fix:rollback 2023-08-29 16:02:05 +08:00
wangmm0220 af89cb0af5 fix:memory error 2023-08-29 15:58:24 +08:00
wangmm0220 34c7832850 feat:support stmt/tmq json in varbinary type 2023-08-29 15:24:12 +08:00
Shuduo Sang f7b42ad41b
fix: specify utf-8 in jdbc example pom.xml (#22565)
* fix: use latest version of jdbc connector

* fix: remove locale and timezone to avoid confusing user

* fix: update readme.md

* fix: refine demo.c

* fix: specify utf-8 in jdbc example pom.xml
2023-08-25 09:22:29 +08:00
Shuduo Sang 7440cccd58
fix: refine example demo.c (#22473)
* fix: use latest version of jdbc connector

* fix: remove locale and timezone to avoid confusing user

* fix: update readme.md

* fix: refine demo.c
2023-08-18 00:19:27 +08:00
wangmm0220 beb84b2355 fix:tmq interface & remove snapshot code 2023-08-15 15:37:39 +08:00
wangmm0220 60191bef9e fix:tmq interface & remove snapshot code 2023-08-14 16:24:56 +08:00
Shuduo Sang 67bca400c4
fix: refine example (#22325)
* fix: use latest version of jdbc connector

* fix: remove locale and timezone to avoid confusing user

* fix: update readme.md
2023-08-04 13:57:34 +08:00
Shuduo Sang 8b7b9f8855
fix: use latest version of jdbc connector (#22148) 2023-07-23 00:34:07 +08:00
Shuduo Sang a6adf26afb fix: add error reason to connect 2023-07-10 16:58:14 +08:00
Shuduo Sang 8ed5afe031 fix: refine csharp example 2023-07-10 16:43:39 +08:00
dependabot[bot] cbb70dd52c
build(deps): bump guava in /examples/JDBC/consumer-demo (#21734)
Bumps [guava](https://github.com/google/guava) from 30.1.1-jre to 32.0.0-jre.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-15 09:12:46 +08:00
Shuduo Sang d26bd98874
fix: typos in jdbcdemo example (#21646) 2023-06-09 09:20:25 +08:00
huolibo 730db6d551 docs(driver): TDengine description 2023-06-08 16:43:43 +08:00
yihaoDeng 52d81476be change link opt 2023-06-07 07:33:35 +00:00
huolibo 7365efd32b docs: add consuemr demo doc 2023-06-06 15:52:03 +08:00
huolibo 8c06bb3645 other: add jdbc consumer demo 2023-06-06 15:51:47 +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