Commit Graph

143 Commits

Author SHA1 Message Date
Alex Duan c133489917
new-libtaos-with-ws (#29971)
* enh: rename libtaos.so to libtaosinternal.so

* enh: let python system-test work

* enh: shell for libinternal.so

* enh: refact script

* enh: wrapper for libtaosinternal

* enh: rename some files

* enh: let shell support internal driver

* enh: minor changes

* enh: minor changes

* add intenal.h

* enh: remove unused codes

* enh: minor changs

* feat: mac os issues

* enh: let python test use internal connection

* enh: let nettest work

* enh: let taosc -C work

* enh: test shell in mac os

* enh: minor changes

* enh: let libtaosinternal.so work in linux

* enh: update install script

* enh: for ci

* enh: for windows compile

* enh: minor changes

* enh: compile in windows

* enh: minor changes

* enh: taosinternal work in windows

* enh: add taos_internal_static

* enh: rollback os_for_wrapper

* fix: conflicts

* fix: conflicts

* fix: compile errors

* fix: conflicts

* enh: rename taosinternal to taosnative

* enh: rename taosinternal to taosnative

* fix: compile error

* enh: remove taosnative.h

* fix: compile errors

* enh: set default shell options

* fix: compile errors

* fix: compile errors

* debug: switch taosws branch to feat/new-libtaos-with-ws

* enh: taosBenchmark remove WEBSOCKET finished

* fix: CMakeLists.txt remove WEBSOCKET

* fix: compile errors

* fix: taosBenchmark delete restful code

* .gitignore remove taos-tools folder

* fix: remove taosdump WEBSOCKET MACRO

* fix: build error for taosdump

* fix: build project passed

* fix: support -Z for connect mode

* fix: build error

* fix: build error fixed

* fix: add -Z options

* fix: native and websocket with string

* fix: -Z option core

* fix: build unit test

* fix: build error

* fix: add colon for array

* fix: unit test can not include fun

* fix: CTest pointer null is nullptr

* fix: include pub.h

* fix: taosdump add -Z --driver options

* fix: taosdump support -Z with pub.h pub.c

* fix: toolsGetTimeDay move to pub.c

* fix: restore pub.c only simple fun

* fix: add error tips

* fix: tmfree remove from taosdump

* fix: remove double declare taos variant

* fix: taos support -Z option

* enh: configDir set with main fun

* fix: add g_arguments.configDir

* fix: show tips add cfgdir

* fix: g_argument is pointer

* fix: configDir is global var

* fix: declare g_configDir in benchMain.c

* fix: taos version not show on websocket

* stmt2 websocket prepare with supertable

* stmt2 websocket prepare build

* fix: stmt and stmt2 prepare add db name

* fix: remove -R --restful test case

* fix: taosBenchmark adjust priority cmd > json > evn

* fix: add connect mode test case connMode.py

* fix: clear evn and add host port check

* fix: army/test.py modify start taosAdapter is default

* change: system-test/test.py default start taosAdapter

* fix: add taosAdapter variant to system-test/test.py

* fix: -y must put behind other options

* fix: remove rest sml and add -N normal case

* fix: add -c work cfg test case

* del: queryMain.py remove rest query

* fix: remove groups have a blank append bug

* fix: caseBase.py add db in sql query

* fix: query_json.py remove rest test

* fix: taosBenchmark uniform dsn describe

* fix: add pub.h pub.c to tools public

* fix: case remove restful interface

* fix: build error

* fix: taosDriverCleanup no arg call

* fix: taosdump add test conn mode case taosdumpCommandline.py

* fix: modify insertFullType.json db name

* fix: taosdump connMode test case taosDumpCommandline.py passed

* enh: priority cmd > env > json

* fix: taosCli remove is_native variant

* fix: password is not pointer

* fix: comment -o test case

* fix: solve fun return code check

* fix: windows unresolved strcasecmp

* fix: remove coverHostToServAddr

* fix: forbid check ODR violation

* ci: trigger pr run

* fix: build error not del >>>>>3.0

* fix: support json dbinfo->vgroups have blank space

* fix: solve conflict with merge

* fix: with TrimCaseCmp fun to compare vgroups

* fix: del vgroups support blank code

* feat: wrapper add taos_fetch_fields_e

* fix: move jni from libtaosnative.so to libtaos.so

* fix: move clientTmqConnector.c for jni

* fix: fix assert check with del comment code

* fix: taosBenchmark add prepare stmt debug log

* fix: stmt2 already have debug log on preapare

* fix:  (double)LLONG_MAX force covert

* fix: stmt insert normal table with websocket

* fix: normal table with stmt too many ?

* fix: taosdump stmt_prepare with child tbname

* fix: build error add int code

* feat: stmtPrepare with child table to do

* taos -a options move to native test case

* fix:unit test benchmarkTest passed

* fix: query_json-with-sqlfile.py case no check results

* fix: queryMain.py case lost, put in tasks again

---------

Co-authored-by: Shengliang Guan <slguan@taosdata.com>
2025-03-20 22:54:29 +08:00
Simon Guan 609ff730c4 refactor: jemalloc options 2025-03-07 10:03:43 +08:00
Simon Guan 95116370b5 refactor: minor changes 2025-03-06 16:45:46 +08:00
Shengliang Guan 339308c972 fix: restore jemalloc 2025-02-20 14:01:51 +08:00
Shengliang Guan 3da2fd05a5 fix: restore jemalloc 2025-02-20 11:42:36 +08:00
Shengliang Guan 0405b24dc0 doc: reset jemalloc setting 2025-02-20 09:52:14 +08:00
Shengliang Guan cc16dc3d60 fix: let JEMALLOC_ENABLED work 2025-02-14 16:58:08 +08:00
Shengliang Guan 8da407e67d fix: compilation failures after enabling the JEMALLOC_ENABLED option 2025-02-14 14:21:20 +08:00
dapan1121 7fd0d024fc fix: windows compile issue 2024-12-10 09:15:15 +08:00
Shengliang Guan 877dbd8e90 fix: complie errors 2024-11-22 22:19:42 +08:00
Shengliang Guan 2d13ce5105 refact: rename taos lib name 2024-11-22 15:33:55 +08:00
Shengliang Guan a71aacbb13
Merge pull request #28620 from taosdata/main
merge: from main to 3.0
2024-11-02 12:06:20 +08:00
Jinqing Kuang 647066c4f9 enh(query)[TD-32652]: enable AVX implementation with CPU dispatching
Extract AVX implementation of specific functions into separate files.
The CPU dispatching mechanism will now check the machine's instruction
set at runtime to determine whether to use the AVX implementation or
fallback to the naive version.

This enhancement improves performance on most machines while ensuring
compatibility with older hardwares.
2024-11-01 12:44:59 +08:00
qevolg 8c826bfc09 style(cmake): format code 2024-10-25 10:58:57 +08:00
qevolg 81b34e55d7 Merge remote-tracking branch 'origin/3.0' into feat/3.0/TD-32231 2024-10-25 10:56:20 +08:00
Shengliang Guan cd8674f96f fix: format codes 2024-10-24 09:53:23 +08:00
Shengliang Guan 46c1c09b3b
Merge pull request #28268 from taosdata/feat/TS-5215-2
feat(az/blob): new s3 connection for ablob
2024-10-23 15:22:08 +08:00
qevolg 2178dd53ac chore(cmake): modify define 2024-10-23 09:04:22 +08:00
qevolg 64830f1057 Merge remote-tracking branch 'origin/3.0' into feat/3.0/TD-32231 2024-10-22 15:10:08 +08:00
qevolg a193644e85 chore(*): modify taoskeeper build process 2024-10-22 11:20:56 +08:00
Jinqing Kuang 4034ebd7d3 fix(query)[TS-5537]. Disable -mavx flag by default
Enabling this flag allows gcc to automatically vectorize using
AVX instructions, which can lead to errors on machines that
do not support the AVX instruction set.
2024-10-22 10:22:14 +08:00
Minglei Jin 4401b5e568 Merge branch '3.0' into feat/TS-5215-2 2024-10-21 10:48:37 +08:00
qevolg 7e8a76f352 Merge remote-tracking branch 'origin/3.0' into feat/3.0/TD-32231 2024-10-18 16:52:50 +08:00
qevolg 904d738d7e chore(*): add taoskeeper build process 2024-10-18 16:46:19 +08:00
Jinqing Kuang 9c7b925613 fix(query)[TD-30667]. Check hardware support for AVX instructions
Modify the CMake script to check for hardware support of AVX
instructions directly, instead of relying on compiler flags
for the verification.
2024-10-17 09:19:08 +08:00
Minglei Jin 082710fc3e Merge branch '3.0' into feat/TS-5215-2 2024-10-16 10:02:12 +08:00
Minglei Jin 96cc55a164
Merge branch '3.0' into feat/TS-5215-2 2024-10-15 13:58:29 +08:00
Jinqing Kuang c372959cef fix(query)[TD-30667]. Fix avx/avx2 check and compilation on ARM platform 2024-10-15 11:32:26 +08:00
Jinqing Kuang 636c65d62f enh(query)[TS-4661]. Add AVX2 support for decompression and MIN/MAX comparison
- Implement AVX2 instructions to decompress float and double data types
- Add AVX2-based MIN/MAX comparison for both integer and floating-point data types
- Include unit tests to verify functionality and performance improvements
2024-10-14 15:31:40 +08:00
Minglei Jin 3890def22b lib_azure: base on ms ablob sdk 2024-10-09 18:36:06 +08:00
dapan1121 857d9e825b enh: add rand error test 2024-08-02 13:29:47 +08:00
Haojun Liao 04281bcd07 fix(util): uncomment the timestamp decode function with AVX2 instructions, and do some internal refactor. 2024-06-19 15:06:09 +08:00
Kai Jiang 6e2a5b9292 Improve tsDecompressIntImpl_Hw performance with AVX512.
Signed-off-by: Kai Jiang <kai.jiang@intel.com>
               Huanrui Zhang <huanruix.zhang@intel.com>
2024-06-19 11:59:30 +08:00
Haojun Liao bba5a4f08b other: merge main into 3.0 2023-12-18 18:26:42 +08:00
chao.feng 241515726b modify cmake for true of DSIMD_SUPPORT by hjliao 2023-12-06 18:27:36 +08:00
Haojun Liao d7a19a9179 fix(stream): fix invalid decode hbmsg and memory leaks caused by invalid hb msg. 2023-12-01 14:45:18 +08:00
Haojun Liao e6a024bcb1 refactor: do some internal refactor. 2023-12-01 10:19:58 +08:00
Haojun Liao 0099578816 enh(sys): add check for avx512vl 2023-12-01 10:19:57 +08:00
Haojun Liao cf835c5ce4 fix(test): do some internal refactor. 2023-12-01 10:19:56 +08:00
Haojun Liao 0131fbe62d fix(tsdb): add simd for decompress timestamp. 2023-12-01 10:19:54 +08:00
Haojun Liao f9d717d0f2 refactor: do some internal refactor. 2023-11-27 14:42:13 +08:00
Haojun Liao 5de59a3547 enh(sys): add check for avx512vl 2023-11-27 10:32:47 +08:00
Haojun Liao 6ab14d39bb fix(test): do some internal refactor. 2023-11-27 09:32:47 +08:00
Haojun Liao 1dd5cd17a0 fix(tsdb): add simd for decompress timestamp. 2023-11-26 23:53:05 +08:00
facetosea 9916e0d24c build release version on windows 2023-11-20 09:55:59 +08:00
Haojun Liao 65aef15be6 refactor: do some internal refactor. 2023-11-13 23:56:36 +08:00
Haojun Liao 78b63ac4f9 refactor: do some internal refactor. 2023-11-13 00:50:26 +08:00
Haojun Liao 801b211cd8 refactor:do some internal refactor. 2023-11-11 15:39:45 +08:00
Haojun Liao d57b5cdc55 refactor:do some internal refactor. 2023-11-08 14:29:40 +08:00
Alex Duan 32be17cae2 fix: set JEMALLOC_ENABLED default to false 2023-10-16 11:27:12 +08:00