Commit Graph

1798 Commits

Author SHA1 Message Date
plum-lihui b790102ffd [test: add sleep for elect leader] 2022-04-22 18:50:21 +08:00
Shuduo Sang 29d994d1dd
feat: taos shell refactor (#11688)
* [TD-13558]<feature>: taos shell refactor

add taosTools as submodule

* add tools/taos-tools

* add more client interface for taosTools compile

* update taos-tools

* update taos-tools

* refactor shell

* [TD-13558]<feature>: taos shell test speed

* [TD-13558]<feature>: taos -n startup works

* taos -n rpc works

* taos -n server works

* cleanup code since no endPort in 3.0

* update taos-tools

* [TD-13558]<feature>: taos -C works

* improve taos shell -c WIP

* update taos-tools

* add demoapi.c

* adjust show databases result for 3.0

* test: add platform logic

* add nchar

* adjust taos_fetch_lengths

* print fields

* remove show databases check from insert cases

* fix lua example compile for 3.0

still not work

* remove lua.py from smoketest

* use get_column_data_offset() to get offset and convert length

* add int, float, timestamp value convert

* improve tests/pytest/insert/binary.py

* improve example/src/demoapi.c
2022-04-20 20:34:45 +08:00
afwerar 97a373fa17 fix(build): exec output build bin. 2022-04-16 15:12:11 +08:00
Shuduo Sang 61d5f6ff2a
feat(tools): demoapi implemented normal insert/query (#11553)
* [TD-13558]<feature>: taos shell refactor

add taosTools as submodule

* add tools/taos-tools

* add more client interface for taosTools compile

* update taos-tools

* update taos-tools

* refactor shell

* [TD-13558]<feature>: taos shell test speed

* [TD-13558]<feature>: taos -n startup works

* taos -n rpc works

* taos -n server works

* cleanup code since no endPort in 3.0

* update taos-tools

* [TD-13558]<feature>: taos -C works

* improve taos shell -c WIP

* update taos-tools

* add demoapi.c

* adjust show databases result for 3.0

* test: add platform logic

* add nchar

* adjust taos_fetch_lengths

* print fields

* remove show databases check from insert cases

* fix lua example compile for 3.0

still not work

* remove lua.py from smoketest

* use get_column_data_offset() to get offset and convert length
2022-04-16 12:18:07 +08:00
Shuduo Sang 30799e59ce
test: remove show databases check from insert cases (#11508)
* [TD-13558]<feature>: taos shell refactor

add taosTools as submodule

* add tools/taos-tools

* add more client interface for taosTools compile

* update taos-tools

* update taos-tools

* refactor shell

* [TD-13558]<feature>: taos shell test speed

* [TD-13558]<feature>: taos -n startup works

* taos -n rpc works

* taos -n server works

* cleanup code since no endPort in 3.0

* update taos-tools

* [TD-13558]<feature>: taos -C works

* improve taos shell -c WIP

* update taos-tools

* add demoapi.c

* adjust show databases result for 3.0

* test: add platform logic

* add nchar

* adjust taos_fetch_lengths

* print fields

* remove show databases check from insert cases
2022-04-14 23:39:14 +08:00
afwerar 09be9e4d9d fix(test): enterprise test. 2022-04-14 17:49:48 +08:00
Shuduo Sang 6eba8ad1ab
test: add platform logic (#11459)
* [TD-13558]<feature>: taos shell refactor

add taosTools as submodule

* add tools/taos-tools

* add more client interface for taosTools compile

* update taos-tools

* update taos-tools

* refactor shell

* [TD-13558]<feature>: taos shell test speed

* [TD-13558]<feature>: taos -n startup works

* taos -n rpc works

* taos -n server works

* cleanup code since no endPort in 3.0

* update taos-tools

* [TD-13558]<feature>: taos -C works

* improve taos shell -c WIP

* update taos-tools

* add demoapi.c

* adjust show databases result for 3.0

* test: add platform logic
2022-04-13 17:50:33 +08:00
Shuduo Sang e5b0b962d7
test: adjust test case for show databases result on 3.0 (#11454)
* [TD-13558]<feature>: taos shell refactor

add taosTools as submodule

* add tools/taos-tools

* add more client interface for taosTools compile

* update taos-tools

* update taos-tools

* refactor shell

* [TD-13558]<feature>: taos shell test speed

* [TD-13558]<feature>: taos -n startup works

* taos -n rpc works

* taos -n server works

* cleanup code since no endPort in 3.0

* update taos-tools

* [TD-13558]<feature>: taos -C works

* improve taos shell -c WIP

* update taos-tools

* add demoapi.c

* adjust show databases result for 3.0
2022-04-13 17:00:41 +08:00
Shuduo Sang 2c1ec0dd10
[TD-13603]<feature>: python connector for 3.0 (#11152)
* add a few stmt_ interface declartion

* add taos_load_table_info

* add taos_set_config(() interface

* add more interfaces

* warn 'reset query cache' only since lack engine support

* update taos-tools
2022-03-31 11:32:23 +08:00
Shuduo Sang 66f31a0077
[TD-14331]<fix>: make util/dnodes.py flexible (#11022)
* [TD-14331]<fix>: make util/dnodes.py flexible

for 3.0

* make getPath clear
2022-03-26 22:49:42 +08:00
Cary Xu b44ef3c81e use dataDir to init sma env 2022-03-17 18:16:57 +08:00
Shuduo Sang 43feda0595
[TD-13408]<test>: move tests in for3.0 (#10598)
* restore .gitmodules

* Revert "[TD-13408]<test>: move tests out"

This reverts commit f80a4ca49ff37431bc0bc0dafb5ccf5858b00beb.

* revert f80a4ca49ff37431bc0bc0dafb5ccf5858b00beb

* immigrate file change from stand-alone repo to TDengine

for 3.0

* remove tests repository for Jenkinsfile2

Co-authored-by: tangfangzhi <fztang@taosdata.com>
2022-03-07 19:25:29 +08:00
Shuduo Sang bf5a3e106b
[TD-13408]<test>: move tests out (#10176)
* [TD-13408]<test>: move tests out

for 3.0 branch

* add Jenkinsfile2

Co-authored-by: tangfangzhi <fztang@taosdata.com>
2022-02-10 15:25:50 +08:00
Haojun Liao c8ffc27e7e [td-10564] merge 3.0 2021-12-14 15:16:41 +08:00
Shuduo Sang 0fc2985bf2
[TD-5757]<fix>: taosdump precision. (#7896) 2021-09-14 23:20:38 +08:00
happyguoxy e47df8c360 [TD-6633]<test>:modify python file 2021-09-14 11:30:20 +08:00
happyguoxy 26661d12a3 [TD-6633]<test>:modify python file 2021-09-14 10:50:48 +08:00
happyguoxy db016bd718 [TD-6633]<test>:modify python file 2021-09-14 10:39:52 +08:00
Hui Li fb7aeed459
Merge pull request #7888 from taosdata/feature/TD-4352
[TD-4840]<test>:add tsdb testcase to fulltest'script
2021-09-14 09:48:40 +08:00
Hui Li d86c5910ec
Merge pull request #7874 from taosdata/test/td-6515-2
[TD-6515]<test>: add 45 testcases for OpenTSDB telnet style data import
2021-09-13 19:53:28 +08:00
tomchon 334400fb32 add tsdb testcase to fulltest'script 2021-09-13 11:19:05 +08:00
happyguoxy 39273a13ba [TD-6617]<test>: modify fulltest.sh 2021-09-13 10:36:12 +08:00
tomchon 2cfeb6236a Merge branch 'feature/TD-4352' of github.com:taosdata/TDengine into feature/TD-4352 2021-09-13 10:28:46 +08:00
dapan1121 b1b09f65bf
Merge pull request #7825 from taosdata/feature/TD-6443
[TD-6443]<feature>: Support OpenTSDB HTTP JSON data import format
2021-09-13 10:03:05 +08:00
jiajingbin d4b7655b97 add errorTypeCheckCase() 2021-09-12 21:48:48 +08:00
jiajingbin 30fd34772c [TD-6515]<test>: add 45 testcases for OpenTSDB telnet style data import
leave a bug ---> self.symbolsCheckCase()

no fulltest temporarily
2021-09-11 22:58:22 +08:00
Shuduo Sang e9e5dc22f7
Hotfix/sangshuduo/td 5872 taosdemo stmt improve (#7872)
* [TD-5872]<fix>: taosdemo stmt improve.

* refactor stmt functions.

* [TD-5872]<fix>: taosdemo stmt csv perf improve.

* rand func back to early impl.

* fix windows/mac compile error.

* fix empty tag sample.

* [TD-5873]<test>add stmt’performance taosdemo testcase

* add data_type enum and stmt_batch framework.

* use data type enum and fix test case limit/offset.

* revert thread number.

* rename MAX_SAMPLES_ONCE_FROM_FILE to reflect reality.

* split func for stmt interlace.

* fix bug that get build path.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
Co-authored-by: tomchon <haoran920c@163.com>
2021-09-11 17:56:33 +08:00
Alex Duan 7f9169cab6
Merge pull request #7545 from taosdata/long_query
Long query
2021-09-11 12:02:23 +08:00
Shuduo Sang d42ed29138
Hotfix/sangshuduo/td 5872 taosdemo stmt improve (#7853)
* [TD-5872]<fix>: taosdemo stmt improve.

* refactor stmt functions.

* [TD-5872]<fix>: taosdemo stmt csv perf improve.

* rand func back to early impl.

* fix windows/mac compile error.

* fix empty tag sample.

* [TD-5873]<test>add stmt’performance taosdemo testcase

* add data_type enum and stmt_batch framework.

* use data type enum and fix test case limit/offset.

* revert thread number.

* rename MAX_SAMPLES_ONCE_FROM_FILE to reflect reality.

* split func for stmt interlace.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
Co-authored-by: tomchon <haoran920c@163.com>
2021-09-10 15:45:49 +08:00
Shuduo Sang 1bd435f466
Hotfix/sangshuduo/td 5872 taosdemo stmt improve (#7839)
* [TD-5872]<fix>: taosdemo stmt improve.

* refactor stmt functions.

* [TD-5872]<fix>: taosdemo stmt csv perf improve.

* rand func back to early impl.

* fix windows/mac compile error.

* fix empty tag sample.

* [TD-5873]<test>add stmt’performance taosdemo testcase

* add data_type enum and stmt_batch framework.

* use data type enum and fix test case limit/offset.

* revert thread number.

* rename MAX_SAMPLES_ONCE_FROM_FILE to reflect reality.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
Co-authored-by: tomchon <haoran920c@163.com>
2021-09-09 16:54:51 +08:00
Ganlin Zhao a99abf36ab [TD-6560]<test>: Add unit test cases for parsing OpenTSDB HTTP JSON data import format 2021-09-09 15:08:32 +08:00
Shuduo Sang 26821d99f3
[DONT MERGE] Hotfix/sangshuduo/td 5872 taosdemo stmt improve (#7733)
* [TD-5872]<fix>: taosdemo stmt improve.

* refactor stmt functions.

* [TD-5872]<fix>: taosdemo stmt csv perf improve.

* rand func back to early impl.

* fix windows/mac compile error.

* fix empty tag sample.

* [TD-5873]<test>add stmt’performance taosdemo testcase

* add data_type enum and stmt_batch framework.

* use data type enum and fix test case limit/offset.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
Co-authored-by: tomchon <haoran920c@163.com>
2021-09-09 11:42:24 +08:00
dapan1121 ab24035c2a
Merge pull request #7763 from taosdata/fix/TD-6442
[TD-6442]<feature>: Support OpenTSDB telnet style data import format
2021-09-08 15:28:15 +08:00
Yiqing Liu cce7d18409
Revert "[TD-5661]<test>: let the case running on CI for nano support for all connector" 2021-09-08 07:54:46 +08:00
Hui Li e915845c11
Merge pull request #7743 from taosdata/nanosupport_TestCase_for_connectors
[TD-5661]<test>:  let the case running on CI for nano support for all connector
2021-09-07 18:59:12 +08:00
jiajingbin 38048a2482 debug symbolsCheckCase 2021-09-07 17:00:51 +08:00
Hui Li 0ae2f329e4
Merge pull request #7808 from taosdata/xiaoping/add_test_case
[TD-6425]<test>: add test case for join result more than 1MB
2021-09-07 16:57:01 +08:00
jiajingbin e9f0d8c97c Merge branch 'develop' into fix/TD-6442 2021-09-07 16:44:54 +08:00
liuyq-617 453e4452da update version.py 2021-09-07 16:20:11 +08:00
liuyq-617 be63fe34c5 update version case 2021-09-07 16:13:37 +08:00
Ping Xiao 08f6364137 [TD-6425]<test>: add test case for join result more than 1MB 2021-09-07 14:16:35 +08:00
root e222daf222 resolve Jenkinsfile conflict 2021-09-07 09:50:23 +08:00
root e577f8187b let CI restart! 2021-09-06 19:12:34 +08:00
Hui Li 463b3df28a
Merge pull request #7787 from taosdata/test/td-6221-d
[TD-6221]<test>Perfect scene of concurrent inquery
2021-09-06 18:27:33 +08:00
liuyq-617 e8469ca511 [TD-6221]<test>Perfect scene of concurrent inquery 2021-09-06 15:43:02 +08:00
Ganlin Zhao 4199c82698 [TD-6506]<test>: Add unit test cases for parsing OpenTSDB telnet style data import format 2021-09-02 16:13:28 +08:00
jiajingbin 5ab1c3abad [TD-6445]<test>: add interp testcases not covered 2021-09-02 15:47:26 +08:00
AlexDuan 27fd99f85a Merge branch 'develop' into long_query 2021-09-02 09:52:19 +08:00
wenzhouwww d813d29050
Merge branch 'develop' into nanosupport_TestCase_for_connectors 2021-09-01 16:37:10 +08:00
bryanchang0603 eb2ea822e2 modify fulltest.sh about nano test case 2021-09-01 14:22:32 +08:00