Commit Graph

893 Commits

Author SHA1 Message Date
Hongze Cheng e60ca23834 more 2023-05-24 19:01:04 +08:00
Hongze Cheng b708a3c9dd more 2023-05-24 18:59:54 +08:00
Hongze Cheng 4d526ed0cd change more 2023-05-24 18:59:09 +08:00
Hongze Cheng e4a3d1dfcf fix: link rocksdb shared library 2023-05-24 18:26:02 +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 8524b90f2c
Merge pull request #21443 from taosdata/docs/3.0.4.2
docs: 3.0.4.2
2023-05-24 11:28:43 +08:00
t_max 029a250a10 enh(taosAdapter): support get assignment and seek 2023-05-22 17:33:33 +08:00
Haojun Liao ffee5ebc61 Merge branch '3.0' into feature/3_liaohj 2023-05-17 17:47:44 +08:00
Haojun Liao 041ffa91bd other: merge main. 2023-05-17 15:42:15 +08:00
Shuduo Sang d57b426dbd
chore: change rocksdb repo to upstream (#21318) 2023-05-17 15:34:12 +08:00
dapan1121 fb7a06e06e
Merge pull request #21271 from taosdata/enh/tsbsPerf.4
Enh/tsbs perf.4
2023-05-17 11:00:14 +08:00
dapan1121 e4380d63de enh: add release build option 2023-05-16 18:00:10 +08:00
Haojun Liao d1a746e4e7
Merge pull request #21295 from taosdata/enh/rocksdbSstateMerge
Enh/rocksdb sstate merge
2023-05-16 10:15:45 +08:00
xleili f57b28c719 relase: upgrade default version 2023-05-15 19:05:34 +08:00
xleili c9d9d2d869 release: update default version 2023-05-15 18:15:23 +08:00
yihaoDeng 941e005417 refactor code 2023-05-15 09:56:02 +00:00
yihaoDeng b0c1e6f59b refactor code 2023-05-15 08:57:35 +00:00
yihaoDeng 5583f69109 refactor code 2023-05-15 08:48:49 +00:00
Xuefeng Tan 6c1a7167ba
enh(taosAdapter): update taosAdapter (#21297) 2023-05-15 14:08:10 +08:00
t_max 7fff41c9c9 enh(taosAdapter): update taosAdapter 2023-05-15 10:58:33 +08:00
yihaoDeng 1a8e4d7276 opt compile opt 2023-05-14 04:02:54 +00:00
dapan1121 69795286fa Merge remote-tracking branch 'origin/main' into enh/tsbsPerf.4 2023-05-12 13:46:16 +08:00
yihaoDeng 5708fcb5cb Merge branch 'enh/3.0' into enh/rocksdbSstateMerge 2023-05-10 08:02:16 +00:00
Minglei Jin 596bee8028 Merge branch '3.0' into fix/TD-23623 2023-05-06 16:07:26 +08:00
Minglei Jin bcd051777b rocksdb/cmake: disable iostats_context, perf_context 2023-05-04 16:06:05 +08:00
yihaoDeng dda1c8803c Merge branch 'enh/rocksdbSstate' into enh/rocksdbSstateMerge 2023-04-28 09:17:22 +00:00
liuyao 2984c5a758 merge main 2023-04-28 10:34:46 +08:00
yihaoDeng 36a4413bf1 merge rocksdb inst 2023-04-27 14:38:33 +00:00
xiaolei li 6052855ef5
release: upgrade default version to 3.0.4.1 (#21110) 2023-04-27 17:19:32 +08:00
xiaolei li ee74535423
docs: release 3.0.4.1 (#21109)
* release: upgrade default version to 3.0.4.1

* docs: release 3.0.4.1
2023-04-27 17:01:49 +08:00
Xuefeng Tan c93d1f933b
fix(taosAdapter): tmq lift blocking time limit (#21101) 2023-04-27 09:14:26 +08:00
Xuefeng Tan 6436351aa4
fix(taosAdapter): tmq lift blocking time limit (#21100) 2023-04-27 09:13:57 +08:00
Minglei Jin 892cdfc656 rocks/cmake: fix building on mac 2023-04-26 17:36:12 +08:00
Haojun Liao fa46165227 Merge branch 'main' into enh/rocksdbSstate 2023-04-24 12:59:24 +08:00
Shuduo Sang 072eb2e818
fix: taosbenchmark rest socket in stb section for main (#21020) 2023-04-23 15:04:19 +08:00
yihaoDeng 917b07348c Merge branch 'fix/rocksdbState' into enh/rocksRevert 2023-04-23 02:37:26 +00:00
Shuduo Sang 1b2c5a50da
fix: taosbenchmark escape char for 3.0 (#21017)
* fix: taosbenchmark escape char for 3.0

* fix: json file for escape char
2023-04-22 19:06:38 +08:00
Shuduo Sang 1e9d999988
fix: taosdump escape dbname (#21014)
* fix: taosdump escape dbname

* fix: json file for escape char

* fix: update taostools ffc2e6f
2023-04-22 16:51:39 +08:00
yihaoDeng eff4257dc6 change write opt 2023-04-21 08:23:58 +00:00
chenhaoran 7d7a0769b3 Merge remote-tracking branch 'origin/main' into enh/tsbsPerf.1 2023-04-21 16:20:37 +08:00
yihaoDeng 80a870797a change write opt 2023-04-21 01:34:49 +00:00
yihaoDeng 5ed7ad8467 change write opt 2023-04-20 14:19:52 +00:00
yihaoDeng d4c5dad16f change write opt 2023-04-20 12:03:26 +00:00
yihaoDeng 438b3dcd65 change write opt 2023-04-20 10:18:21 +00:00
yihaoDeng d7d0816b11 change write opt 2023-04-20 06:00:05 +00:00
yihaoDeng e37dcf787e change write opt 2023-04-20 04:24:23 +00:00
yihaoDeng 941b0b659c change write opt 2023-04-20 04:18:25 +00:00
yihaoDeng 3272d14e33 change write opt 2023-04-20 04:05:35 +00:00
yihaoDeng d3611946ff Merge branch 'dev' into enh/rocksRevert 2023-04-17 01:46:41 +00:00
xleili a3bf0468c3 release: upgrade default version 2023-04-14 18:01:56 +08:00
xleili bafff42323 docs: release ver-3.0.4.0 2023-04-14 17:50:54 +08:00
Haojun Liao b57c813681 other: merge feature/3_liaohj 2023-04-14 10:36:54 +08:00
Xiaoyu Wang a44d455e56 merge 3.0 2023-04-13 14:32:05 +08:00
Xuefeng Tan 1b198bc40f
enh(taosAdapter): make the schemaless automatic database creation configurable (#20902) 2023-04-13 13:25:23 +08:00
Xuefeng Tan e214f93d96
enh(taosAdapter): make the schemaless automatic database creation configurable (#20903) 2023-04-13 13:24:53 +08:00
Shuduo Sang d551075bba
fix: taosdump continue if ts out of range for main (#20887) 2023-04-12 16:22:25 +08:00
Shuduo Sang 2559dad482
fix: taosdump continue if fail (#20886) 2023-04-12 16:22:17 +08:00
chenhaoran 772238428f fix: release version 2023-04-12 13:59:45 +08:00
yihaoDeng b24b91886a Merge branch 'dev3' into enh/rocksRevert 2023-04-11 10:59:00 +00:00
Shuduo Sang 7a832dbca7
fix: taosdump in diff type (#20823) 2023-04-09 10:51:47 +08:00
Shuduo Sang f89301b5cd
fix: taosdump in diff type for main (#20825) 2023-04-09 10:51:38 +08:00
Shuduo Sang 50ced8a057
fix: taosbenchmark from/to neg value for main (#20805) 2023-04-07 13:22:42 +08:00
Shuduo Sang ec3d69d70c
fix: taosbenchmark neg value in json (#20796) 2023-04-07 13:22:20 +08:00
Xiaoyu Wang 54f13f6f55
Merge pull request #20756 from taosdata/fix/3.0_merge_main
merge main
2023-04-06 15:44:23 +08:00
Shuduo Sang 7a79054c6e
fix: benchmark from to (#20786)
* fix: taosbenchmark childtbl from/to

* fix: taosbenchmark create table from to
2023-04-06 15:26:44 +08:00
Shuduo Sang aa399223e0
fix: benchmark from to main (#20784)
* fix: taosbenchmark child from/to for main

* fix: taosbenchmark create tables from to for main
2023-04-06 14:48:20 +08:00
Shuduo Sang d7de7d5aea
fix: taosbenchmark child from/to for main (#20780) 2023-04-06 12:21:16 +08:00
Shuduo Sang 0d5ff328e5
fix: taosbenchmark childtbl from/to (#20779) 2023-04-06 12:21:11 +08:00
Xiaoyu Wang c134432c45 merge main 2023-04-06 09:31:45 +08:00
Shuduo Sang 79461d9183
fix: taosbenchmark disorder range dynamic (#20772) 2023-04-05 12:18:09 +08:00
Shuduo Sang 13991b6106
fix: taosbenchmark disorder dynamic range for main (#20774)
* fix: taosbenchmark disorder dynamic range for main

* fix: merge with main
2023-04-05 12:18:01 +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
xiaolei li 949193e9e7
release: upgrade default version to 3.0.3.2 (#20766) 2023-04-05 00:53:04 +08:00
xiaolei li debe63ca9c
release: upgrade 3.0 default version to 3.0.3.2 (#20768) 2023-04-04 18:48:30 +08:00
Xiaoyu Wang e9d7a099cc merge main 2023-04-04 14:50:58 +08:00
Shuduo Sang 33cb5b6816
fix: taosbenchmark multithreadfs with limit specified (#20743) 2023-04-03 23:39:45 +08:00
Shuduo Sang 45726cf551
fix: taosbenchmark multithreads with limit for main (#20744)
* fix: taosbenchmark multithreads with limit for main

* fix: update taos-tools
2023-04-03 23:39:35 +08:00
Shuduo Sang 30f8010d41
chore: fix cus name (#20716)
* 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

---------

Co-authored-by: chenhaoran <haoran920c@163.com>
2023-04-03 19:56:57 +08:00
Xuefeng Tan 7978449113
enh(taosAdapter): TMQ parameter adjustment (#20710) 2023-03-31 09:41:20 +08:00
Xuefeng Tan 1e2d3a7896
enh(taosAdapter): TMQ parameter adjustment (#20711) 2023-03-31 09:41:06 +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
Shuduo Sang 627cfb230b
chore: update taos-tools d194dc9 for main (#20713) 2023-03-30 18:35:49 +08:00
Shuduo Sang 8fdc687097
fix: taosdump free tbname in loose mode (#20681)
* fix: taosbenchmark support same min/max

* fix: taosbenchmark support same min/max

* fix: telnet_tcp.py case

* fix: enable sml_json_all_types.py

* fix: taos-tools update

* fix: taosdump free tbname in loose mode
2023-03-29 11:47:23 +08:00
Shuduo Sang 87b8b4c946
fix: telnet_tcp and sml_json_all_types for main (#20661)
* fix: taosbenchmark support same min/max for main

* fix: enable telnet_tcp and sml_json_all_types

* fix: tests/develop-test/5-taos-tools/taosbenchmark/json/sml_telnet_tcp.json

* fix: taosdump free tbname in loose mode for main
2023-03-29 11:33:45 +08:00
Shuduo Sang 11f39d2fbc
fix: taosbenchmark telnet_tcp case (#20659)
* fix: taosbenchmark support same min/max

* fix: taosbenchmark support same min/max

* fix: telnet_tcp.py case

* fix: enable sml_json_all_types.py
2023-03-27 19:38:47 +08:00
Shuduo Sang 9d207b3de2
fix: taosbenchmark codacy complain for main (#20647) 2023-03-27 17:25:23 +08:00
Shuduo Sang a5d4dfe281
fix: taosbenchmark codacy complain (#20640) 2023-03-27 16:30:29 +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
Shuduo Sang 6d04d5f29f
fix: taosbenchmark same min max (#20619)
* fix: taosbenchmark support same min/max

* fix: taosbenchmark support same min/max
2023-03-24 17:59:05 +08:00
Shuduo Sang e0d1a4054a
fix: taosbenchmark support same min/max for main (#20621) 2023-03-24 17:58:14 +08:00
xleili a84a19664b release: upgrdate default version to 3.0.3.1 2023-03-21 21:19:46 +08:00
xleili 8b30b15808 upgrade version to 3.0.3.1 2023-03-21 21:15:10 +08:00
yihaoDeng 8039702c14 add backend 2023-03-18 07:36:55 +00:00
Shuduo Sang 509c638720
fix: taosbenchmark query times incorrect (#20506) 2023-03-17 15:49:11 +08:00
Shuduo Sang 9e6cad752c
fix: taosbenchmark query times incorrect for main (#20507) 2023-03-17 15:48:51 +08:00
Shuduo Sang b37368ef5f
feat: taosbenchmark support creating table interval for main (#20482)
* feat: taosbenchmark support creating table interval for main

* fix: update taos-tools test case ea02029

* fix: update taos-tools ea02029 for main
2023-03-16 17:12:52 +08:00
Shuduo Sang b5176928d5
feat: taosbenchmark support creating table interval (#20481)
* feat: taosbenchmark support creating table interval

* fix: update taos-tools test case ea02029 for 3.0
2023-03-16 15:19:20 +08:00
Shuduo Sang 40d99e4576
chore: support cus name (#20441)
* chore: support cus name

* fix: cfg/taos.cfg

* chore: update taos-tools
2023-03-14 13:47:41 +08:00
Shuduo Sang 9b818db85f
fix: taos-tools gcc12 compile (#20424)
* fix: taos-tools gcc 12 support

* fix: taos-tools gcc 12 support
2023-03-12 11:50:26 +08:00
Shuduo Sang c9d4b843a4
fix: taos-tools gcc 12 compile for main (#20425) 2023-03-12 11:50:20 +08:00
Shuduo Sang 322a1c05dc
fix: taosbenchmark sub on 2.6 for main (#20409)
* fix: taosbenchmark sub on 2.6 for main

* fix: upgrade taospy to 2.7.6 and fix unstable test case
2023-03-11 18:57:46 +08:00
Shuduo Sang cd8a813105
fix: taosbenchmark sub on 2.6 (#20394)
* fix: taosbenchmark sub on 2.6

* fix: update taos-tools d9ec91d
2023-03-11 11:25:45 +08:00
Shuduo Sang 50af458785
fix: taosbenchmark socket close properly for main (#20365)
* fix: taosbenchmark socket close properly for main

* fix: update taos-tools 41d4f95
2023-03-10 08:52:39 +08:00
Shuduo Sang 96c4ce4e47
fix: taosbenchmark socket close properly (#20364)
* fix: taosbenchmark socket close properly

* fix: update taos-tools e84b7d1

* fix: update taos-tools 41d4f95
2023-03-09 19:46:15 +08:00
Xuefeng Tan a01b611dfe
fix(taosAdapter): remove influxdb affected rows check (#20329) 2023-03-08 16:08:11 +08:00
t_max 8ca7b91520 fix(taosAdapter): remove influxdb affected rows check 2023-03-08 14:31:27 +08:00
Shuduo Sang 4a682ebe7b
feat: taosbenchmark support sample data per child table (#20317) 2023-03-08 14:04:20 +08:00
Shuduo Sang 64f5da8ef8
feat: taosbenchmark support sample data per child table (#20316) 2023-03-08 12:30:58 +08:00
xleili b3fe9a6bd6 release: update 3.0 version to 3.0.3.0 2023-03-07 20:18:48 +08:00
xleili de2fa19029 release: update version in main 2023-03-07 20:17:01 +08:00
sunpeng 8295489bea
enh: update taosadapter (#20304) 2023-03-07 19:10:56 +08:00
sunpeng 9e49229f0e enh: reqid to hex 2023-03-07 18:10:06 +08:00
Shuduo Sang 968cc52d9d
fix: taosdump time range for 3.0 (#20218) 2023-02-28 22:29:52 +08:00
Xuefeng Tan b124063380
enh(taosAdapter): configurable Http status code (#20211) 2023-02-28 21:44:33 +08:00
Shuduo Sang ba83826ce1
fix: taosdump time range (#20215) 2023-02-28 21:27:04 +08:00
Xuefeng Tan 60f24a5c3b
enh(taosAdapter): configurable Http status code (#20212) 2023-02-28 19:32:49 +08:00
sunpeng cfaed54171
enh: upgrade taosadapter (#20177) 2023-02-27 15:54:33 +08:00
sunpeng 76e227802b
enh: update taosadapter version (#20178) 2023-02-27 15:53:36 +08:00
Shuduo Sang b09943a526
fix: taosbenchmark coverity scan (#20140)
* fix: taos-tools alpine compile

* fix: taos-tools alpine compile 249f9c5

* fix: taos-tools alpine compile 4d9dd85

* fix: update taos-tools 1e15545
2023-02-24 11:00:52 +08:00
xiaolei li 241bcea6e1
release: update version to 3.0.2.6 (#20136) 2023-02-23 21:13:41 +08:00
Shuduo Sang 4736636fb2
fix: taosbenchmark data gen refactor (#20059)
* fix: taosbenchmark data gen refactor

* fix: update taos-tools e22e5e2

* fix: update taos-tools cccc353

* fix: update taos-tools 10a211f

* fix: update taos-tools e54a926

* fix: update taos-tools 340b0f4

* fix: update taos-tools 6afed7c

* fix: update taos-tools cc6db40

* fix: update taos-tools 634399d

* fix: update taos-tools e0104dc

* fix: update taos-tools bc11ff3

* fix: update taos-tools b23e170

* fix: update taos-tools a62f774

* fix: clean up and print

* fix: update taos-tools a880c81

* test: update 5-taos-tools/taosdump/taosdumpTestInspect.py for 3.0

* fix: add sml_tags_json_array to accelerate sml json test

* fix: taosbenchmark json data generating refine 611dc09

* fix: update taos-tools ad2f7c8

* fix: coverity scan issues

* fix: udpate taos-tools d259385

* fix: update taos-tools be929ab

* fix: update taos-tools 63e63d6

* fix: update taos-tools 2a38de1

* fix: update taos-tools 0d4c001

* fix: update taos-tools dce7de5

* fix: update taos-tools 82b96df

* fix: update taos-tools 401cf6a

* fix: update taos-tools 6f692b0:wq

* fix: update taos-tools 2942ca0

* fix: update taos-tools 61cbfd2
2023-02-22 00:06:55 +08:00
Shuduo Sang 6b41ff1598
fix: taosbenchmark data gen refactor (#20026)
* fix: taosbenchmark data gen refactor

* fix: update taos-tools e22e5e2

* fix: update taos-tools cccc353

* fix: update taos-tools 10a211f

* fix: update taos-tools e54a926

* fix: update taos-tools 340b0f4

* fix: update taos-tools 6afed7c

* fix: update taos-tools cc6db40

* fix: update taos-tools 634399d
2023-02-17 17:54:42 +08:00
Shuduo Sang 49b285298d
fix: taosbenchmark print qps result (#19982)
* fix: taosbenchmark print qps result

* fix: update taos-tools 64a0dcb

* fix: update taos-tools 7c641c5
2023-02-15 15:10:23 +08:00
Shuduo Sang 2b20f13b07
fix: sml rest ctrlc (#19937)
* fix: taosbenchmark sml-rest mem leak

* fix: update taos-tools 990ba9e

* fix: update taos-tools 3d5aa21

* fix: update taos-tools 68d300d

* fix: update taos-tools 3c423ca

* fix: update taos-tools 4097420

* fix: update taos-tools 07537a5

* fix: reduce sml-rest mem leak

* fix: reduce sml-rest mem leak interlace mode

* fix: codacy issues

* fix: redundant mem cleanup

* test: add command line sml-rest test case

* fix: exclude sml-rest from 2.x

* fix: update taos-tools 22627d7
2023-02-13 00:51:27 +08:00
Shuduo Sang caa439cb44
fix: taosbenchmark schemaless refine (#19929)
* fix: optimize taosbenchmark data preparing for sml json

* fix: update taos-tools 5c5e79f

* fix: update taos-tools 298a30d

* fix: taos-tools 143b9e4

* fix: update taos-tools 0b56d15

* fix: update taos-tools 7375f23

* fix: update taos-tools eaf2309

* fix: update taos-tools 723f696

* fix: update taos-tools c9be106

* fix: update taos-tools 9b8975b

* test: update taos-tools 3309b9d

* test: update taos-tools d93cd23

* fix: update taos-tools 6632796

* fix: update taos-tools bd43034

* test: fix sml_json_alltyps.py according to taosbenchmark change

* test: fix sml_json_alltypes test case

* fix: update taos-tools 181bcac

* fix: update taos-tools 05b61e0
2023-02-12 07:25:27 +08:00
Shuduo Sang b51c15b73f
fix: taosbenchmark sml rest ctrlc (#19899)
* fix: taosbenchmark sml-rest mem leak

* fix: update taos-tools 990ba9e

* fix: update taos-tools 3d5aa21

* fix: update taos-tools 68d300d

* fix: update taos-tools 3c423ca

* fix: update taos-tools 4097420
2023-02-11 00:45:22 +08:00
Shuduo Sang ea5d925c50
fix: alpine support (#19353)
* fix: alpine support

* fix: ostimer thread_id

* fix: taosPrintTrace and tsStreamMax

* fix: make_install.sh and dnodes.py for alpine

* fix: cmake.platform and cut option for alpine

* fix: timer sigev and string convert

* fix: test case for alpine

* fix: fix test script for alpine

* fix: fix test script for alpine

* fix: fix taosLogTrace for Alpine

* fix: fix taosSort

* fix: vnode and mnode compare functions and test cases

* fix: sorting algorithms and unit tests

* fix: libtaosws.so build error on Alpine

* fix: libtaosws.so build error on Alpine

---------

Co-authored-by: t_max <1172915550@qq.com>
2023-02-10 13:00:55 +08:00
xiaolei li ee9e3a1dfb
release:update 3.0 version to 3.0.2.5 (#19897) 2023-02-10 00:31:20 +08:00
Shuduo Sang 279164076d
feat: taosbenchmark tbname in range (#19856)
* feat: taosbenchmark support specify child tbl from to

* fix: update taos-tools a5e5d71

* feat: update taos-tools 994dd56

* feat: update taos-tools df3a51c

* fix: update taos-tools ae75e66

* feat: update taos-tools e04f39b
2023-02-07 23:09:35 +08:00
Xuefeng Tan cdd7d07ee9
enh(taosAdapter): add whether to disable the collection clientIP configuration option (#19818) 2023-02-07 10:28:16 +08:00
Shuduo Sang 44cb5ae7d5
fix: taosbenchmark exist stb (#19801)
* fix: taosbenchmark reuse exist stb

* fix: update taos-tools dd8d99f

* fix: update taos-tools 3eb18bc

* fix: update taos-tools bff4e31

* fix: update taos-tools ad47fef

* fix: update taos-tools f177a39

* fix: update taos-tools 19e725f

* fix: update taos-tools 6a2d9fc
2023-02-04 22:36:19 +08:00
Shuduo Sang 6877625f6c
fix: taosbenchmark handle mem better patch2 (#19741)
* fix: update taos-tools 560d0b5

* fix: update taos-tools a0234fe

* fix: update taos-tools 0aa69f9

* fix: update taos-tools c4a567b
2023-02-02 18:24:29 +08:00
Shuduo Sang e64113b2b0
fix: taosbenchmark handle mem better (#19736)
* fix: update taos-tools 560d0b5

* fix: update taos-tools a0234fe
2023-02-01 20:51:15 +08:00
Shuduo Sang 1bcc2d52fb
fix: taosbenchmark schemaless refine (#19721)
* fix: optimize taosbenchmark data preparing for sml json

* fix: update taos-tools 5c5e79f

* fix: update taos-tools 298a30d

* fix: taos-tools 143b9e4

* fix: update taos-tools 0b56d15

* fix: update taos-tools 7375f23

* fix: update taos-tools eaf2309

* fix: update taos-tools 723f696

* fix: update taos-tools c9be106

* fix: update taos-tools 9b8975b

* test: update taos-tools 3309b9d

* test: update taos-tools d93cd23

* fix: update taos-tools 6632796

* fix: update taos-tools bd43034

* test: fix sml_json_alltyps.py according to taosbenchmark change

* test: fix sml_json_alltypes test case

* fix: update taos-tools 181bcac
2023-02-01 15:59:36 +08:00
Xuefeng Tan 9a4b5a16e8
fix(taosAdapter): set option `TSDB_OPTION_USE_ADAPTER = true` (#19713) 2023-01-31 15:05:52 +08:00
Shuduo Sang 32ea09f9dd
fix: taosbenchmark ignore drop failure for cloud (#19670)
* fix: taosbenchmark ignore drop db failure for cloud

* fix: update taos-tools 678b1df

* fix: update taos-tools 78986f1

* test: update taos-tools acfa7e3

* test: update taos-tools ada5bdd

* test: update taos-tools 11c057f

* fix: update taos-tools 7a2b109

* test: update taos-tools b35037a

* test: update taos-tools 4ba0939

* fix: update taos-tools 9e406e5

* fix: update taos-tools 39f5d2e

* test: update taos-tools 6976d0b

* fix: update taos-tools 3dcc6da

* fix: update taos-tools eed30f5

* test: reduce insert rows to avoid exceed sql length

* fix: taos-tools 71724aa

* fix: update taos-tools b1844bf

* test: update taos-tools 8d8b649

* fix: update taos-tools 0cd564a
2023-01-28 14:23:58 +08:00
Shuduo Sang 507c2d8d37
feat: taosbenchmark specify vnodes (#19659)
* fix: taosbenchmark supports to specify vgroups

* fix: update taos-tools 17b6be3

* fix: update taos-tools 4bf8c74

* fix: update taos-tools 28d347c

* fix: update taos-tools e921250

* fix: update taos-tools 0142f9c

* feat: taosbenchmark support specfying vgroups
2023-01-22 20:32:53 +08:00
xiaolei li 917324eced
release: update verion to ver-3.0.2.4 (#19633) 2023-01-18 16:11:12 +08:00
Shuduo Sang 3d3d91641c
chore: release script add comp for taostools (#19618)
* chore: add comp postfix for taos-tools

* fix: update taos-tools 5c53cc8
2023-01-18 11:41:11 +08:00
Shuduo Sang ce2a0ee7d5
fix: taosbenchmark schemaless refine (#19566)
* fix: optimize taosbenchmark data preparing for sml json

* fix: update taos-tools 5c5e79f

* fix: update taos-tools 298a30d

* fix: taos-tools 143b9e4

* fix: update taos-tools 0b56d15

* fix: update taos-tools 7375f23

* fix: update taos-tools eaf2309

* fix: update taos-tools 723f696
2023-01-16 11:41:15 +08:00
Xuefeng Tan dba94bf5a0
enh(driver-go): redesign of go tmq api (#19553)
* enh(driver-go): redesign of go tmq api

* docs: add comments for reserved parameter

Co-authored-by: Shuduo Sang <sangshuduo@gmail.com>
2023-01-14 15:29:33 +08:00
Xiaoyu Wang 9a0c2805f4 merge main 2023-01-13 13:54:04 +08:00
Shuduo Sang a696cd9f7d
fix: taosbenchmark sanitize (#19529)
* fix: taosbenchmark sanitize 6a15f64

* fix: update taos-tools 97c2a09

* fix: update taos-tools 11fa5c1

* fix: update taos-tools 00ee0ec

* fix: update taos-tools ec64787

* fix: update taos-tools f80dd7e
2023-01-12 18:06:56 +08:00
Shuduo Sang 7451ab7e5d
fix: taosbenchmark sanitize for main (#19530) 2023-01-12 18:06:15 +08:00
Shuduo Sang dfed4e7650
fix: taos-tools deb rpm compn for main (#19489)
* fix: taos-tools deb/rpm compn for main

* fix: update taos-tools 5aa25e9
2023-01-11 11:32:46 +08:00
Xuefeng Tan 902ab5b12f
fix: get vgid in batch (#19437) 2023-01-09 11:36:36 +08:00
Shuduo Sang 920fe88a3e
fix: taosbenchmark ctrlc handle (#19432)
* fix: taosbenchmark ctrl-c handler

* fix: update taos-tools d6fc15a

* fix: update taos-tools 94d6895
2023-01-08 21:26:11 +08:00
Shuduo Sang 45cfcdc047
fix: taosbenchmark ctrl-c handle for main (#19433) 2023-01-08 21:26:05 +08:00
Shuduo Sang a053f38aad
fix: taosbenchmark check remain vnodes (#19397)
* fix: update taos-tools 9fad8a2

* fix: update taos-tools d9b60b3

* fix: update taos-tools 4efbc10
2023-01-05 20:11:10 +08:00
Shuduo Sang 9529b6c14d
fix: update taos-tools 4efbc10 for main (#19398) 2023-01-05 20:10:47 +08:00
Shuduo Sang 73f026a6ed
feat: update taos-tools 69964a0 for main (#19382) 2023-01-05 17:08:25 +08:00
Shuduo Sang bbcc5da54e
feat: taosdump for windows (#19381)
* feat: taos-tools 2333455

* feat: taosdump for windows

* feat: update taos-tools dd298d1

* feat: update taostools d4e4c28

* feat: taosdump for windows d4e4c28

* fix: update taos-tools 2aac500

* fix: update taos-tools 8334230

* fix: taosdump build release by default on windows

* test: update taos-tools 1ff1e71

* fix: update taos-tools 8858194

* feat: update taos-tools 69964a0
2023-01-05 14:39:49 +08:00
Shengliang Guan 54d87c7d41
Merge pull request #19356 from taosdata/enh/3.0_planner_optimize
merge main
2023-01-04 13:22:00 +08:00
Xiaoyu Wang fdde287ca9 merge main 2023-01-04 11:43:20 +08:00
Shuduo Sang f5de54bba0
fix: taos-tools 2.4.1 update (#19347)
* fix: taos-tools 7fdc042

* test: update taos-tools f0e9b4d

* fix: update taos-tools c72c935

* fix: update taos-tools 1c708a8

* test: update taos-tools 032e242

* fix: update taos-tools 2b18fbf

* fix: update taos-tools e899ed4

* test: update taos-tools 4776778
2023-01-04 11:36:24 +08:00
Shuduo Sang 9b71bd182c
fix: update taos-tools 4776778 for main (#19349) 2023-01-04 11:21:48 +08:00
Shengliang Guan 43bc021eb0
Merge pull request #19312 from taosdata/feature/3_liaohj
refactor: disable all asserts.
2023-01-03 11:15:37 +08:00
Haojun Liao 879205eb92 fix(query): fix error in cmake. 2023-01-03 09:53:37 +08:00
Haojun Liao 28bccd21a9 refactor: disable all asserts. 2023-01-03 09:47:01 +08:00
Hui Li 07540081e9
Merge pull request #19293 from taosdata/release/ver-3.0.2.2
Release/ver 3.0.2.2
2022-12-30 19:21:39 +08:00
sunpeng 4e017da4a5
build: update taosadapter (#19291) 2022-12-30 19:02:08 +08:00
sunpeng e3f0bc789e
build: update taosadapter (#19292) 2022-12-30 18:25:18 +08:00
xinsheng Ren bd38f600c0
chore/enterprise condition fix (#19226)
Co-authored-by: facetosea <25808407@qq.com>
2022-12-29 09:21:54 +08:00
Shuduo Sang c09602bcde
fix: disable fma by default for old cpu (#19208) 2022-12-28 14:06:02 +08:00
Shuduo Sang 47d6af81a6 fix: disable fma by default for old cpu 2022-12-28 14:03:32 +08:00
xinsheng Ren 19e78cd540
Chore/xsren/windows enterprise (#19194)
* chore/windows enterprise make install

* chore/xsren/windos enterprise cotition

Co-authored-by: facetosea <25808407@qq.com>
2022-12-28 09:36:49 +08:00
Shuduo Sang f7b17a43a7
fix: taosbenchmark no vgroup if host specified for main (#19180) 2022-12-27 17:23:10 +08:00
Shuduo Sang 11b9175694
fix: taosbenchmark no vgroup if host specified for 3022 (#19181) 2022-12-27 15:47:54 +08:00
wade zhang 31002b1872
Update cmake.version 2022-12-27 11:31:16 +08:00
Xuefeng Tan f2caa1c9e3
fix(taosAdapter): invalid pointer on stack (#19155) 2022-12-26 20:03:31 +08:00
Xuefeng Tan d892299078
fix(taosAdapter): invalid pointer on stack (#19156) 2022-12-26 20:02:26 +08:00
Shuduo Sang 00a4c4b4d0
fix: disable fma by default for old cpu (#19145) 2022-12-26 13:46:24 +08:00
Shengliang Guan 664dcb6b4e Merge branch 'main' into merge/mainto3.0_1226 2022-12-26 09:26:54 +08:00
Shuduo Sang fd4515cf1c
fix: taosbenchmark bigint random (#19133)
* fix: taosbenchmark bigint random

* fix: update taos-tools cf3132f

* fix: update taos-tools 3cb61bd

* fix: update taos-tools 8490c71

* fix: update taos-tools c5c177e

* fix: update taos-tools 0ee2cb9

* fix: update taos-tools 4a51344

* fix: update taos-tools 11b60a4
2022-12-25 19:44:15 +08:00
Shuduo Sang 511aa6f352
fix: windows taosdump refine cmake (#19129)
* fix: taostools 05c2030

* fix: taostools 05c2030

* fix: update taos-tools b232ec3

* fix: update taostools commit

* fix: update taos-tools 656e8f9

* fix: update taos-tools 7c244b4

* fix: update a61cc65 taos-tools

* fix: update taos-tools 32a10ee

* fix: update taos-tools 540175c

* fix: update taos-tools 579a77b

* fix: update taos-tools bb30d7f

* fix: update taos-tools 55c217c

* fix: update taos-tools d0a9f4e

* fix: updata taostools 8ae6f8b

* fix: update taos-tools f32ec94

* fix: update taos-tools 2cb1d69

* fix: update taos-tools d981cee

* fix: cmake file format

* fix: taos-tools e718155

* fix: update taos-tools 904c558

* test: build tools on windows

* fix: update taos-tools fd458f0

* fix: update taos-tools 4b268d2

* fix: update taos-tools c390746

* fix: update taos-tools c6d53d4

* fix: update taos-tools d422e0a

* fix: taos-tools efa2a5f

* fix: update taos-tools fab042d

* fix: taosdump data schema on windows

* fix: update taos-tools f42bbd5

* fix: update taos-tools 5d9e2ce

* fix: udpate taos-tools 75d049a

* fix: update taos-tools 3b74f43

* fix: change way to get git tag

* fix: update taos-tools 613899e

* fix: update taos-tools 8a10629

* fix: update taos-tools 26cf49c

* fix: update taos-tools 1747390
2022-12-24 20:44:59 +08:00
Shuduo Sang 69edf1bb42
fix: taosdump data schema on windows (#19123)
* fix: taostools 05c2030

* fix: taostools 05c2030

* fix: update taos-tools b232ec3

* fix: update taostools commit

* fix: update taos-tools 656e8f9

* fix: update taos-tools 7c244b4

* fix: update a61cc65 taos-tools

* fix: update taos-tools 32a10ee

* fix: update taos-tools 540175c

* fix: update taos-tools 579a77b

* fix: update taos-tools bb30d7f

* fix: update taos-tools 55c217c

* fix: update taos-tools d0a9f4e

* fix: updata taostools 8ae6f8b

* fix: update taos-tools f32ec94

* fix: update taos-tools 2cb1d69

* fix: update taos-tools d981cee

* fix: cmake file format

* fix: taos-tools e718155

* fix: update taos-tools 904c558

* test: build tools on windows

* fix: update taos-tools fd458f0

* fix: update taos-tools 4b268d2

* fix: update taos-tools c390746

* fix: update taos-tools c6d53d4

* fix: update taos-tools d422e0a

* fix: taos-tools efa2a5f

* fix: update taos-tools fab042d

* fix: taosdump data schema on windows

* fix: update taos-tools f42bbd5

* fix: update taos-tools 5d9e2ce

* fix: udpate taos-tools 75d049a

* fix: update taos-tools 3b74f43
2022-12-24 14:01:15 +08:00
xinsheng Ren 9cf70d8b0e
Fix/xsren/mac enterprise base 3.0.2.1 (#19064)
* fix: release script support macos (#19047)

* fix/mac_m1_enterprise

Co-authored-by: Shuduo Sang <sangshuduo@gmail.com>
Co-authored-by: facetosea <25808407@qq.com>
2022-12-21 15:27:27 +08:00
xinsheng Ren 4b7eb1e637
fix/mac_m1_enterprise (#19062)
Co-authored-by: facetosea <25808407@qq.com>
2022-12-21 15:25:27 +08:00
sunpeng b4fa29d515
enh: update taosadapter (#19051) 2022-12-21 13:48:13 +08:00
sunpeng bdd1dc6c08
enh: upgrade taosadapter (#19053) 2022-12-21 13:47:48 +08:00
Shengliang Guan ea6e9c7aa8 release: change version to 3.0.2.1 2022-12-21 10:35:43 +08:00
Xuefeng Tan 247342c454
enh(taosAdapter): return 502 when Unable to establish connection error occurs (#19028) 2022-12-20 09:00:23 +08:00
Xuefeng Tan c6e6f307ad
enh(taosAdapter): return 502 when Unable to establish connection error occurs (#19026) 2022-12-19 23:27:17 +08:00
Shuduo Sang cb5a32866f
fix: taosbenchmark disorder rec dup (#19014)
* fix: update taos-tools 45eef77

* fix: update taos-tools 8376384

* fix: taosbenchmark disorder sample

* test: remove deprecated param

* fix: update taos-tools 83515dc

* fix: examples/c/asyncdemo.c compile error
2022-12-19 18:41:33 +08:00
Shuduo Sang 4a95bb1133
fix: taosbenchmark delay time for windows (#19011)
* fix: taosbenchmark delay time for windows

* test: remove taosbenchmark deprecated paramter

* fix: update taos-tools 261fcca
2022-12-19 17:26:33 +08:00
Shuduo Sang a678d6326d
fix: taosbenchmark delay time on windows (#19002)
* fix: taosbenchmark delay on windows

* fix: taosbenchmark delay time onwindows
2022-12-19 02:48:00 +08:00
Xiaoyu Wang d3cb2a3a0a merge main 2022-12-18 20:36:06 +08:00
Shuduo Sang 7f98b51214
fix: taosbenchmark disorder (#18987)
* fix: update taos-tools 45eef77

* fix: update taos-tools 8376384

* fix: taosbenchmark disorder sample

* test: remove deprecated param
2022-12-17 20:12:31 +08:00
Shuduo Sang 876dff899c
fix: taosbenchmark min max delay (#18967)
* fix: taosbenchmark delay array overflow

* fix: update taos-tools eebd42e

* fix: taosbenchmark delay list

update taos-tools ad6ae3c
2022-12-16 10:58:15 +08:00
Shengliang Guan 04750d9078
Merge pull request #18905 from taosdata/feature/3_liaohj
refactor: do multiple refactor and improve some query perf.
2022-12-14 08:01:42 +08:00
Haojun Liao 8b1f452312 fix(query): set data load flag for multi-way merge . 2022-12-13 22:37:29 +08:00
Haojun Liao aa18d0a413 other: adjust compiler flag for clang. 2022-12-13 19:19:12 +08:00
Shuduo Sang ce94c88fca
fix: taosbenchmark rest insert mode in json (#18892)
* fix: taosbenchmark rest mode in json

* fix: update taos-tools bc27bd6

* fix: taosbenchmark support rest insert in json
2022-12-12 11:36:52 +08:00
Haojun Liao dc9c5e769e enh: dynamically check the support of fma/avx/sse42/avx2 in cmake files. 2022-12-12 11:24:21 +08:00
Shengliang Guan 6f663c3035 release: build 3.0.2.0 2022-12-09 17:21:27 +08:00
sunpeng 13194bb1fe build: upgrade taosadapter version 2022-12-09 09:27:09 +08:00
Shuduo Sang bd047f8f39 fix: update taos-tools 4a4027c 2022-12-08 19:51:38 +08:00
Shuduo Sang 2dfbed6b6c fix: update taos-tools 1b2cbd0 2022-12-08 18:33:40 +08:00
Shuduo Sang fa8fb1e5b6 fix: update taos-tools fe6566b 2022-12-08 17:50:29 +08:00