Commit Graph

165 Commits

Author SHA1 Message Date
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
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
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 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
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
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
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
jiajingbin 38048a2482 debug symbolsCheckCase 2021-09-07 17:00:51 +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
Ping Xiao eb4e906737 [ci skip] update scirpt for csv generator 2021-08-19 14:13:17 +08:00
Linhe Huo 5823bcfc3b
[TD-3048]<feature>: support lines/stream/query_a/stop_query/ and so on. (#7079)
* [TD-3048]<feature>: support lines/stream/query_a/stop_query/ and so on.

commit 0edc106a76a95b28e65019c2ee4e4ed84530ad35
Author: Huo Linhe <linhehuo@gmail.com>
Date:   Thu Jul 29 21:13:13 2021 +0800

    doc: improve document for python connector

commit 84915de0831b49c8378a16242dd0dbba8aaf386f
Author: Huo Linhe <linhehuo@gmail.com>
Date:   Thu Jul 29 20:35:45 2021 +0800

    chore: add time elapsed

commit 1e8822e01bda96388a359363776792e261260b88
Author: Huo Linhe <linhehuo@gmail.com>
Date:   Thu Jul 29 20:26:01 2021 +0800

    feat: support multi bind

commit 82d823f6194471fd3324b50f7dfba0ee9f10a7dd
Author: Huo Linhe <linhehuo@gmail.com>
Date:   Thu Jul 29 16:42:05 2021 +0800

    feat: python support for async query and subscribe with callback

commit 8b9d36de2945906821225189cb47958e153d81e2
Author: Huo Linhe <linhehuo@gmail.com>
Date:   Wed Jul 28 18:09:09 2021 +0800

    feat: finish stream and stmt interface

commit bc871aa43e9fc28dd1b3f8784a8ac6ee988564b5
Author: Huo Linhe <linhehuo@gmail.com>
Date:   Mon Jul 26 20:21:27 2021 +0800

    feat: basic full-fetured implementations

commit e5f7a5213e9016c377a57485e8d5c12139ce0957
Author: Huo Linhe <linhehuo@gmail.com>
Date:   Fri Jul 23 10:33:14 2021 +0800

    tmp: refactor

* chore: fix insert/line_insert.py error

* [TD-3048]<fix>: fix tests error

* [TD-3049]<feature>: support stop_query in python connector cursor

* [TD-3048]<doc>: improve python connector document

* [TD-3048]<doc>: improve python connection README

* [TD-3048]<hotfix>: fix python2 install and runtime error

* chore: replace insertLines with insert_lines

* chore: fix misspellings

* chore: fix crash gen error in threading

* feat: support __del__ method for simplify

* test: fix subscription test result check

* chore: compatible with 2.0.20

* chore: fix python connector subscription test case

* [TD-3048]<fix>: fix schemaless insert test

* [TD-3048]<fix>: fix memory leak in crash_gen test case

* [TD-3048]<fix>: minor fix for crash gen memory leak

* [TD-3048]<fix>: set minimal required python3 as 3.4

* chore: update version in setup.py

* [TD-3048]<fix>: fix runtime errors in python3.4

* [TD-3048]<fix>: add typing as a dependency
2021-08-07 08:00:37 +08:00
jiajingbin bf4d046f2f [TD-5159]<test>: append two manual scripts to pytest/manualTest for TD-5159 finished before
fix a small-probability bug for insert/schemalessInsert.py when another random tbname is start with t-->noIdStbExistCheckCase(): where tbname like 't_%'
2021-08-05 03:18:27 -03:00
Ping Xiao d2aea28c24 [TD-5730]<test>: update performance test script 2021-08-04 14:46:39 +08:00
jiajingbin a1951bbc17 [TD-5314]<test>: finish schemaless test
finish 40 cases for schemaless in insert/schemalessInsert.py, but 5 of them could not be used now because multiThreading is not complete

modify util/sql.py: add row_tag in query(), add col_tag in getColNameList(), add checkEqual() and checkNotEqual()

add insert/schemalessInsert.py to fulltest.sh
2021-08-02 19:32:11 +08:00
jiajingbin b32d69cd51 [TD-5314]<test>: finish schemaless test
finish 40 cases for schemaless in insert/schemalessInsert.py, but 5 of them could not be used now because multiThreading is not complete

modify util/sql.py: add row_tag in query(), add col_tag in getColNameList(), add checkEqual() and checkNotEqual()

add insert/schemalessInsert.py to fulltest.sh
2021-08-02 19:00:32 +08:00
jiajingbin e86864dbd1 [TD-5314]<test>: finish schemaless test
finish 40 cases for schemaless in insert/schemalessInsert.py, but 5 of them could not be used now because multiThreading is not complete

modify util/sql.py: add row_tag in query(), add col_tag in getColNameList(), add checkEqual() and checkNotEqual()

add insert/schemalessInsert.py to fulltest.sh
2021-08-02 16:24:20 +08:00
jiajingbin 82cb5fc9cd Merge branch 'develop' of https://github.com/taosdata/TDengine into develop 2021-08-02 15:52:56 +08:00
shenglian zhou 754b7b4241 [TD-5659]<fix>:start taos processing with subprocess instead of internal function 2021-07-31 11:23:23 +08:00
jiajingbin 92ea7517f6 add tdSql.execute('reset query cache') to function resHandle() 2021-07-30 17:40:02 +08:00
jiajingbin 4320d6412a finish 40 cases for schemaless in insert/schemalessInsert.py, but 5 of them could not be used now because multiThreading is not complete
modify util/sql.py: add row_tag in query(), add col_tag in getColNameList(), add checkEqual() and checkNotEqual()
2021-07-29 14:15:08 +08:00
jiajingbin e72173dd78 modify 2021-07-28 18:28:01 +08:00
jiajingbin 2168045658 modify 2021-07-28 16:09:00 +08:00
Haojun Liao 6e743d53e6 [td-225]fix the bug found by regression test. 2021-07-28 14:58:25 +08:00
jiajingbin 1bf4e5669e modify 2021-07-28 09:47:45 +08:00
jiajingbin 736adcf7cc combine cases 2021-07-27 13:52:44 +08:00
jiajingbin 28b7529ba7 delete unused tb_name 2021-07-27 11:46:59 +08:00
jiajingbin 7f5aaa25d3 modify some cases 2021-07-26 19:12:50 +08:00
jiajingbin 361e9f81d6 save 2021-07-26 16:23:20 +08:00
jiajingbin 909ff0b2a1 save 2021-07-26 13:53:25 +08:00
jiajingbin 9eb31d3f47 save 2021-07-26 10:45:00 +08:00
jiajingbin 2d12fb2462 save 2021-07-26 10:38:15 +08:00
jiajingbin c3549d245d save 2021-07-26 10:19:34 +08:00
jiajingbin 2fd97729db save 2021-07-26 10:13:29 +08:00
jiajingbin fc732c29fb save 2021-07-26 10:05:33 +08:00
jiajingbin f07b4f55dd save 2021-07-26 01:14:53 +08:00
jiajingbin 63c9b2069e add multi thread 2021-07-24 19:39:20 +08:00
jiajingbin 8ee0962538 add multi thread 2021-07-24 17:27:49 +08:00
jiajingbin 7b883b2637 add multi thread 2021-07-24 15:38:35 +08:00
jiajingbin cb7e26845b save 2021-07-24 10:22:02 +08:00
jiajingbin 9a94a39b29 save 2021-07-23 19:24:23 +08:00
jiajingbin 5d9c380788 save 2021-07-23 19:01:44 +08:00
jiajingbin 90ecf82d54 save 2021-07-23 18:31:38 +08:00
jiajingbin 80afed6706 save 2021-07-23 17:12:41 +08:00
jiajingbin c572b1345e save 2021-07-23 16:01:12 +08:00
jiajingbin 0224dd1056 save 2021-07-23 15:35:19 +08:00
jiajingbin 5881243310 save 2021-07-23 14:29:16 +08:00