Commit Graph

540 Commits

Author SHA1 Message Date
Alex Duan 4453054006 fix: taos-CLI remove (WebSocket) showing 2023-11-08 11:37:22 +08:00
t_max 714684bd78 build(taosAdapter): use the same version number of TDengine 2023-11-02 15:06:39 +08:00
t_max 782fc82958 build(taosAdapter): use the same version number of TDengine 2023-11-02 09:59:45 +08:00
Alex Duan b102a7f497 fix: add websocket in welcome info 2023-10-26 11:09:54 +08:00
Alex Duan 1878e2955a fix: dsn can not empty 2023-10-25 21:18:31 +08:00
Alex Duan 368c6d996b feat: add env TDENGINE_DSN to taos-CLI 2023-10-25 16:46:32 +08:00
facetosea ebd5f7c20d fix print log on mac 2023-10-25 07:15:29 +08:00
facetosea 9c5f8165cc print uint64 2023-10-24 16:02:24 +08:00
facetosea c14dbbdd01 print exception log 2023-10-24 15:15:39 +08:00
facetosea b9fa620b26 shell query 2023-10-24 15:05:24 +08:00
Alex Duan 75563cb5d9 fix: index is repeat error 2023-10-22 17:35:26 +08:00
Alex Duan 5a23adb198 feat: add about vgroups command 2023-10-22 16:51:42 +08:00
Shungang Li a7507d26b0 feat: alter local/dnode asynclog 2023-10-08 18:26:25 +08:00
Alex Duan c44bd3e3bd fix: cancel core 2023-09-11 17:19:59 +08:00
slzhou 1185bba98b fix: pass compilation 2023-09-05 09:02:12 +08:00
slzhou 6f8c642c9a fix: use int64_t for num of rows returned 2023-09-05 09:02:06 +08:00
dapan1121 cc17848b78 fix: merge 3.0 to main 2023-09-01 13:24:47 +08:00
Alex Duan 6877e33c87 fix: query have error get time is last successful 2023-08-23 16:49:37 +08:00
Alex Duan f45d1c69b8 fix: -t option and wal retention ci 2023-08-23 16:17:52 +08:00
Alex Duan 3f90ca4b38 fix: set max_binary_display_width can not show all text 2023-08-14 14:19:24 +08:00
kailixu d691bcfeb6 Merge branch '3.0' into fix/TD-24809-3.0 2023-07-31 08:41:44 +08:00
kailixu 9e5684479e fix: taos print version 2023-07-27 14:19:49 +08:00
wangmm0220 d031a77b58 fix:[TD-25300]dead loop if getchar return EOF in arm64 2023-07-20 15:40:41 +08:00
Ping Xiao c033592b29 fix Windows packaging issue 2023-07-18 11:00:26 +08:00
yihaoDeng 79f01ad655 add version check in rpc 2023-07-05 08:16:25 +00:00
Alex Duan 0950a832ff fix: float width set to 7 and double set to 15 2023-07-04 17:57:43 +08:00
dapan1121 3519e9170e Merge remote-tracking branch 'origin/main' into 3.0 2023-06-29 11:13:45 +08:00
Alex Duan 91a6b891aa fix: restore current database while restoring connection 2023-06-28 17:32:15 +08:00
dapan1121 4dae9f4eff merge main to 3.0 2023-06-26 18:43:00 +08:00
t_max 9ab1dafa88 fix(taosAdapter): do not use upx compression on macOS system 2023-06-19 18:09:47 +08:00
Haojun Liao 1b9eca5ce0 other: merge main. 2023-06-15 13:03:17 +08:00
Alex Duan d7f03678b3 fix: pause and resume stream add to show help 2023-06-14 19:54:32 +08:00
Alex Duan 8018cbf639 fix: add blank line 2023-06-14 19:35:55 +08:00
Alex Duan 0fac3f7d84 fix: add compact split resume stream pause stream to tab key 2023-06-14 19:27:47 +08:00
Alex Duan 4d3d48d3b7 fix:uniform output csv format with shell output 2023-06-13 18:06:27 +08:00
Alex Duan e30cdd03de fix:uniform output csv format with shell output1 2023-06-13 18:03:26 +08:00
Alex Duan 94d056e67f fix:uniform output csv format with shell output 2023-06-13 18:00:52 +08:00
xleili 6c1f82c30e fix: typo 2023-06-08 17:27:35 +08:00
xleili 029ca94ce5 enhance: community package suport adapater release version 2023-06-08 17:26:46 +08:00
xleili e5b2c9b5b1 fix: typo 2023-06-08 14:08:18 +08:00
xleili 95479ac584 enhance: community package suport adapater release version 2023-06-08 10:43:23 +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
Alex Duan 9e97ee9355 fix: dnode_id have blank 2023-05-17 19:15:04 +08:00
Alex Duan 7349a18111 feat: add restore command sets to taos-CLI 2023-05-17 18:58:07 +08:00
Haojun Liao 7ef16e1922 other: merge main. 2023-05-12 11:49:53 +08:00
Alex Duan be7aacc43f fix: print float with 20 width limit 2023-05-06 10:24:42 +08:00
kailixu fa822ff286 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-27 19:11:16 +08:00
dapan1121 655774c32e fix: move error msg from tsc to shell 2023-04-25 09:00:41 +08:00
Alex Duan 0822e82d64 feat: support exit by kill heart-beat thread mode 2023-04-18 17:12:04 +08:00
Alex Duan 6a9bdb9824 fix: duplicate calling shellWriteHistory 2023-04-18 13:44:26 +08:00
kailixu 50053fdc01 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-18 11:13:30 +08:00
kailixu fd3b552357 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-17 11:42:46 +08:00
Haojun Liao 9597453631
Merge pull request #20925 from taosdata/fix/TS-3106-MAIN
add option enableScience on taos.cfg to show float and double scientific notation
2023-04-14 10:28:00 +08:00
Shuduo Sang 9001b3950e
fix: improve taos shell user experience for connecting cloud (#20912) 2023-04-13 21:05:25 +08:00
Shuduo Sang 75c7cbdbbb
fix: add three more stars for shell mask for main (#20916) 2023-04-13 19:58:24 +08:00
Alex Duan 1bfeb6669e fix: remove obsolete code 2023-04-13 17:09:43 +08:00
Alex Duan eb03a0bb48 fix: adjust format 2023-04-13 16:55:22 +08:00
Alex Duan a0be0c1d06 fix: add client option tsEnableScience 2023-04-13 16:40:38 +08:00
kailixu 2daab8e65e Merge branch '3.0' into enh/TD-21161-3.0 2023-04-12 13:10:12 +08:00
kailixu 04fa4d2e87 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-12 13:05:47 +08:00
Xiaoyu Wang 8b8ac0cd77 merge main 2023-04-12 10:43:28 +08:00
Haojun Liao 20013b3f77 fix(shell): update the display of double value. 2023-04-11 17:26:05 +08:00
Xiaoyu Wang 4c04b155d5 merge main 2023-04-11 15:56:28 +08:00
Haojun Liao 171647bdbd fix(shell): update the double display. 2023-04-11 15:46:36 +08:00
Shuduo Sang 5cc85e7f41
fix: remove unused macros (#20839) 2023-04-10 15:16:28 +08:00
kailixu e976fcb91d Merge branch '3.0' into enh/TD-21161-3.0 2023-04-07 17:51:35 +08:00
Shuduo Sang 4fb5390c6f
chore: release script community main (#20808)
* chore: cus name support in script

* chore: merge with 3.0
2023-04-07 17:10:39 +08:00
Xiaoyu Wang c134432c45 merge main 2023-04-06 09:31:45 +08:00
Shuduo Sang 33c5f1cf88
chore: cus name support in shellArgument (#20754)
* chore: refactor cus prompt

* fix: client name in install.sh

* fix: -Wno-reserved-user-defined-literal

* fix: update taos-tools commit

* fix: include/os/osDir.h

* fix: check cus name

* fix: makepkg.sh

* chore: update taos-tools d194dc9

* fix: cus name

* fix: change adapter prefix

* fix: tools/*.sh

* fix: scripts

* fix: ../../packaging/tools/install_client.sh

* chore: cus domain in script

* fix: cus name in packaging/tools/install.sh

* fix: cus name in ../../packaging/tools/remove.sh

* fix: don't edit origin file

* fix: remove brand name

* fix: update taos-tools

* fix: cus name in log

* fix: compile error without cuc name

---------

Co-authored-by: chenhaoran <haoran920c@163.com>
2023-04-05 10:21:43 +08:00
Xiaoyu Wang e9d7a099cc merge main 2023-04-04 14:50:58 +08:00
Ganlin Zhao 23ec9287c9 fix: fix tsim crash on windows due to invalid input to strftime 2023-04-04 10:33:41 +08:00
kailixu 37bc1bca36 enh: column/row max length support up to 64K 2023-04-03 17:00:52 +08:00
Shuduo Sang 5e2b26f146
chore: refactor cus prompt (#20688)
* chore: refactor cus prompt

* fix: client name in install.sh

* fix: -Wno-reserved-user-defined-literal

* fix: update taos-tools commit

* fix: include/os/osDir.h

* fix: check cus name

* fix: makepkg.sh

* chore: update taos-tools d194dc9

---------

Co-authored-by: chenhaoran <haoran920c@163.com>
2023-03-30 19:30:54 +08:00
Xiaoyu Wang af53a3a226
Merge pull request #20643 from taosdata/fix/main_bugfix_wxy
fix: enterprise version displays the associated community version gitinfo
2023-03-27 13:05:25 +08:00
Xiaoyu Wang 5f9f5be6f4 fix: enterprise version displays the associated community version gitinfo 2023-03-27 11:06:10 +08:00
Alex Duan 1684f07a0b Merge branch '3.0' into test/TD-22889-3.0 2023-03-26 21:38:42 +08:00
Alex Duan 018f922661 feat: auto tab fix udf_language2 2023-03-25 10:26:31 +08:00
Alex Duan 11be6c6f85 feat: auto tab fix udf_language1 2023-03-25 10:25:14 +08:00
Alex Duan a52af4a07e feat: auto tab fix udf_language 2023-03-25 10:21:12 +08:00
Alex Duan 6a16926098 feat: auto tab add create function1 2023-03-25 09:35:06 +08:00
Alex Duan d6b972c2a1 feat: auto tab add create function1 2023-03-25 09:29:01 +08:00
Alex Duan ddc1689759 feat: auto tab add create function 2023-03-25 09:20:39 +08:00
Alex Duan f95f6c9f78 feat: auto tab add create function 2023-03-25 09:15:13 +08:00
Ganlin Zhao 6f119ef4d0 change print format 2023-03-24 11:24:04 +08:00
dapan1121 a732ec7b3c fix: change float display mode 2023-03-24 10:36:01 +08:00
Ganlin Zhao 3bdef853b2 fix: fix windows handling localtime_s error 2023-03-24 10:29:36 +08:00
dapan1121 5b02af6a91 fix: merge main to 3.0 2023-03-22 16:08:16 +08:00
Shuduo Sang 528dcf86eb
fix: improve taos shell user experience for connecting cloud (#20528) 2023-03-19 13:18:30 +08:00
Shuduo Sang 3c1c3193ab
fix: taos shell ws arg (#20480)
* docs: update taosbenchmark new argument with 3.0.3.0 release

* docs: add cli websocket argument

* fix: tools/shell/src/shellArguments.c

* fix: taos shell ws arg description
2023-03-15 22:13:20 +08:00
Shuduo Sang fa8d9a62f2
fix: cus prompt length lead hang (#20371) 2023-03-09 19:04:25 +08:00
Shengliang Guan 5d6d6e6e16
Merge pull request #19805 from freemine/pthread_cleanup_push
typo: pthread_cleanup_push/pop better exist in pair
2023-03-02 17:35:35 +08:00
Hui Li 3b0fd4b23f
Merge pull request #20182 from taosdata/feat/TD-22801-MAIN
feat: completing create index and tag index case
2023-02-27 19:58:52 +08:00
Alex Duan a0ae611a99 fix: fix can not scroll enum item with blank 2023-02-27 16:39:45 +08:00
Alex Duan 4976c80e2f fix: last is blank have bug 2023-02-27 16:23:29 +08:00
Alex Duan 64243a2127 feat: completing create index and tag index case 2023-02-27 15:11:21 +08:00
Yihao Deng db47cb5805
Merge branch 'main' into fix/toManySeesion 2023-02-25 17:04:56 +08:00
yihaoDeng 84706fe586 fix: limit session num 2023-02-24 21:20:15 +08:00
Hui Li 965d91572a
Merge pull request #20148 from taosdata/fix/3_coverity
fix(query): fix syntax errors on centos.
2023-02-24 17:39:12 +08:00
Xiaoyu Wang 67a94707b7
Merge pull request #20104 from taosdata/feat/3.0_wxy
enh: drop tables syntax optimization
2023-02-24 16:57:30 +08:00
xinsheng Ren e3f21ae98f
fix: TD-22674 coverity scan (#20126)
* fix: TD-22674 coverity scan

* fix: compile error

---------

Co-authored-by: facetosea <25808407@qq.com>
2023-02-24 15:17:14 +08:00