Commit graph

426 commits

Author SHA1 Message Date
Alex Duan
2f9048b2ae feat(shell): lastWord function less add one 2022-10-10 17:02:48 +08:00
Shengliang Guan
1c106bfd1d
Merge pull request #17235 from taosdata/feat/TD-17777-V30
feat(shell): Supported the word completed by press Tab key for 3.0
2022-10-09 17:01:56 +08:00
Zhiqiang Wang
365b9ba7a0
fix: shell source error (#17234) 2022-10-09 15:40:27 +08:00
Alex Duan
c33573409f feat(shell): move show stable ahead 2022-10-09 15:26:07 +08:00
Alex Duan
d69bc6d6d5 feat(shell): fixed build error 2022-10-09 14:30:14 +08:00
Alex Duan
b222ff4ba5 feat(shell): vscode ctrl k and f format code 2022-10-09 14:05:48 +08:00
Alex Duan
60d7ad82ac feat(shell): fixed build error 2022-10-09 10:57:54 +08:00
Alex Duan
c7fdc00fbf fix(shell): threads array destroydump1 2022-10-09 10:55:37 +08:00
Alex Duan
ff73c3f5f2 fix(shell): threads array destroydump 2022-10-09 10:34:16 +08:00
Alex Duan
c71600bae8 Merge branch '3.0' into feat/TD-17777-V30 2022-10-08 20:20:07 +08:00
Alex Duan
ce38259979 feat(shell): fixed windows build error. 2022-10-08 18:58:07 +08:00
Alex Duan
f72b3d3c14 feat(shell): move split command to list end 2022-10-08 17:49:04 +08:00
Alex Duan
0d64baa165 feat(shell): modify help information 2022-10-08 17:34:35 +08:00
Alex Duan
fd7897e39b all functions is done 2022-10-08 16:42:02 +08:00
Zhiqiang Wang
d05b134a48
os: Mac package (#17201)
* os: Mac package

* os: Mac package

* os: Mac package

* os: Mac package

* os: Mac package

* os: Mac package

* os: Mac package

* os: Mac package

* os: Mac package

* os: Mac package

* os: Mac package

* os: Mac package
2022-10-08 10:12:17 +08:00
Alex Duan
49b49eb0eb Merge branch '3.0' into feat/TD-17777-V30 2022-09-29 11:20:09 +08:00
Alex Duan
3ad184de87 feat(shell): modify command with 3.0 2022-09-29 11:07:15 +08:00
Shengliang Guan
eead619f1a fix: coverity issues 2022-09-27 17:10:48 +08:00
afwerar
d3a21816cc shell: taos shell websocket reconnect error 2022-09-21 11:43:36 +08:00
Alex Duan
92d3c4f351 feat(shell): support database command auto tab complete 2022-09-07 20:20:46 +08:00
Alex Duan
e8455e0bb7 feat(shell): set conn to autoshell 2022-09-07 14:46:27 +08:00
Alex Duan
c0cfa0da56 feat(shell): show introduction is modify 2022-09-07 14:27:55 +08:00
Alex Duan
f1dd2d5675 feat(shell): add port to 3.0 buld ok 2022-09-07 10:16:00 +08:00
Shengliang Guan
4401080328 enh: make cmake .. -DCMAKE_BUILD_TYPE=Release work 2022-08-31 18:06:17 +08:00
afwerar
500cf0c758 feature: shell csv rfc 4180 2022-08-31 13:30:35 +08:00
afwerar
52bedb2b53 feature: shell csv rfc 4180 2022-08-30 17:27:35 +08:00
afwerar
c5f270abcb feature: shell csv rfc 4180 2022-08-30 17:24:24 +08:00
afwerar
3220a9547f feature: shell csv rfc 4180 2022-08-30 17:23:02 +08:00
afwerar
4632c3751b feature: shell csv rfc 4180 2022-08-30 17:21:38 +08:00
afwerar
8a34a321c7 feature: shell csv rfc 4180 2022-08-30 16:30:20 +08:00
afwerar
aec3a06431 feature: shell csv rfc 4180 2022-08-30 16:11:42 +08:00
Ganlin Zhao
cb49ec48d0 fix(query): fix pthread_create memleak in shell engine
TD-17791
2022-08-22 15:32:51 +08:00
Ganlin Zhao
70df538180 fix(query): fix pthread_create memleak in shell engine
TD-17791
2022-08-22 15:22:49 +08:00
afwerar
80a01235f2 doc: change 3.0 doc 2022-08-11 14:37:43 +08:00
afwerar
d3b2bcb612 doc: change 3.0 doc 2022-08-10 19:39:01 +08:00
afwerar
f03055c373 shell: change shell record source file command 2022-08-05 15:49:03 +08:00
afwerar
ac592b073b feat: add table create limit 2022-08-02 20:03:45 +08:00
Yang Zhao
e5bb1fe787
feat: taos shell websocket support network/execute/total timing info (#15630)
* feat: taos shell websocket support network/execute/toal timing info

* chore: update taosws-rs

* feat: update taosws 24b199e

* fix: git clean in jenkinsfile2

Co-authored-by: Shuduo Sang <sangshuduo@gmail.com>
2022-08-02 11:09:34 +08:00
afwerar
5f10012c21 feat: add cloud grant cfg 2022-08-02 09:18:34 +08:00
afwerar
74e833cf4e build: remove jemalloc submodule 2022-07-28 15:48:56 +08:00
afwerar
4247cac970 shell: fix shell history error 2022-07-23 14:07:20 +08:00
Yang Zhao
621ef9f1a8
feat: shell support cloud (#15283)
* feat: taos shell support cloud (3.0)

* fix: affected row and reuse data

* feat: add custom ws timeout

* feat: handle ctrl c for ws

* fix: do not show any info about cloud if not websocket defined

* fix: other os compile

* fix: compile os error

* fix: compile error

* fix: review suggestions
2022-07-23 09:35:00 +08:00
afwerar
ec5db6e195 shell: fix taos shell ctrl-c exit error 2022-07-22 09:42:06 +08:00
afwerar
45995e81ce shell: add show tables print limit 2022-07-21 17:05:06 +08:00
afwerar
b4537bc41e shell: change shell print text 2022-07-20 11:31:35 +08:00
afwerar
8c01f5e8ad test: only stop taosd once win test 2022-07-19 17:15:36 +08:00
afwerar
912652c2e6 shell: limit taos_history file size and rows 2022-07-18 20:30:28 +08:00
afwerar
1e4dae929c shell: limit taos_history file size and rows 2022-07-18 20:30:04 +08:00
afwerar
fa96e64ee0 os: win format negative timestamp error 2022-07-18 16:53:20 +08:00
afwerar
3ba69ca5db shell: limit taos_history file size 2022-07-18 11:31:13 +08:00
afwerar
22ea676a5a shell: limit taos_history file size 2022-07-18 11:29:15 +08:00
Shuduo Sang
9a42c301e6
chore: add libtaos-ws for 3.0 (#14580)
* chore: add libtaos-ws for 3.0

* chore: update taosws-rs

* chore: add libtaosws to install/remove script

* chore: update taosws-rs
2022-07-08 19:23:03 +08:00
afwerar
194459bfc4 os: fix Mac shell error 2022-07-06 14:38:24 +08:00
afwerar
b9a1c6744c os: add Mac compile support 2022-07-02 17:40:23 +08:00
afwerar
e10e621fc2 shell: fix shell ctrl-d error 2022-07-01 15:16:19 +08:00
Xiaoyu Wang
6141bb03da feat: insert from csv 2022-06-30 15:04:54 +08:00
afwerar
06e8ba9f14 os: win shell catch ctrl-c 2022-06-27 20:56:37 +08:00
Shengliang Guan
8fe87e9e0e Merge remote-tracking branch 'origin/3.0' into fix/tsim 2022-06-25 18:03:23 +08:00
Shengliang Guan
89d6ca7823 feat: privilege for sysinfo user 2022-06-25 18:03:12 +08:00
afwerar
592d8e488f test: add sim full test 2022-06-25 16:14:54 +08:00
dapan1121
b2ff536050
Merge pull request #14118 from taosdata/feature/showdnodevariables
feat: show dnode variables
2022-06-23 13:23:06 +08:00
afwerar
fed3b36b0e shell: fix shell chinese error 2022-06-23 09:40:35 +08:00
dapan1121
5afa3f9636 feat: show local variables 2022-06-22 17:18:39 +08:00
afwerar
c234adbb85 shell: fix shell chinese error 2022-06-22 17:07:49 +08:00
dapan1121
d320326371 reset query cache 2022-06-17 14:41:17 +08:00
Shengliang Guan
8d38ce5aff enh: enable show grants in community version 2022-06-11 19:33:40 +08:00
Haojun Liao
90cb7966bc refactor: do some internal refactor. 2022-06-06 10:35:19 +08:00
dapan1121
73de545f21 fix null issue 2022-05-28 13:38:58 +08:00
afwerar
1e5ef3b145 fix(os): windows timezone error 2022-05-27 19:00:48 +08:00
Shengliang Guan
133a963c7c fix: memory leak while record history in shell 2022-05-21 21:29:32 +08:00
WANG MINGMING
c715ee5993
Merge pull request #12719 from taosdata/feature/TD-13041
fea: add select json from table
2022-05-20 13:15:49 +08:00
yihaoDeng
76b9a5acee fix: avoid invalid read/write 2022-05-19 21:56:39 +08:00
afwerar
51721dfc47 fix(os): win run error 2022-05-19 10:37:11 +08:00
wangmm0220
e818e27902 fea:add select json logic 2022-05-18 22:13:38 +08:00
Shengliang Guan
77575d1e70 refactor: shm queue in multi process mode 2022-05-18 14:20:46 +08:00
Shengliang Guan
81e89ec7b6 Merge remote-tracking branch 'origin/3.0' into fix/mnode 2022-05-16 20:13:02 +08:00
Shengliang Guan
96b7f2696a refactor: adjust SRpcMsg 2022-05-16 14:55:31 +08:00
Haojun Liao
8242cac94a fix(query): fill the pseudo column before applying filter in table scanner. 2022-05-14 19:21:12 +08:00
afwerar
61729d6805 fix(os): update windows compile error 2022-05-14 10:43:00 +08:00
Shengliang Guan
2258916b1d test: recover tmq/basic5.py 2022-05-13 22:02:55 +08:00
Shengliang Guan
cae144eda6 Merge remote-tracking branch 'origin/3.0' into feature/dnode 2022-05-13 21:46:20 +08:00
afwerar
0815843e94 fix(os): make taosd.exe taos.exe run on windows. 2022-05-13 21:42:16 +08:00
Shengliang Guan
368c41beba Merge remote-tracking branch 'origin/3.0' into feature/dnode 2022-05-13 20:29:48 +08:00
Shengliang Guan
dddfe5c144 enh: enable limit in shell 2022-05-13 20:26:12 +08:00
Shengliang Guan
8873e392fb enh: enable limit in shell 2022-05-13 18:59:44 +08:00
Shengliang Guan
8ca1420f55 refactor: adjust global config 2022-05-13 13:32:09 +08:00
wangmm0220
1e0c2fb01e refactor:merge from 3.0 2022-05-06 16:48:44 +08:00
Yihao Deng
fe66836ca3
Merge pull request #12141 from taosdata/fix/invalid-fqdn
enh(rpc): taosd exited when fqdn is configed to invalid
2022-05-06 15:19:43 +08:00
yihaoDeng
699c8a0461 enh(rpc): validate fqdn 2022-05-06 14:42:06 +08:00
yihaoDeng
78c617a9f1 enh(rpc): validate fqdn 2022-05-06 14:30:07 +08:00
yihaoDeng
f2eca15fe2 enh(rpc): validate fqdn 2022-05-06 14:27:49 +08:00
Shengliang Guan
b72849aaeb fix: let the shell parse statements like create table abd\ 2022-05-06 14:04:37 +08:00
wangmm0220
05daba7f8e refactor:merge from 3.0 2022-05-06 11:28:34 +08:00
Shengliang Guan
8253e019be fix: invalid port described in TD-15165 2022-04-28 09:43:08 +08:00
wangmm0220
990205d684 refactor: schemaless tmp commit 2022-04-27 21:29:25 +08:00
afwerar
bf9ab440a7 fix(os): fix new compilation errors. 2022-04-27 17:39:54 +08:00
Shengliang Guan
debb35da49 fix: make taos -c xx -C work 2022-04-27 11:27:27 +08:00
Shengliang Guan
f7fda0159b fix(tools): remove un necessary codes in taos shell 2022-04-26 16:46:13 +08:00
afwerar
dce677a72d fix(os): fix window compilation errors. 2022-04-26 14:11:16 +08:00
Shengliang Guan
93bf4fefc7
Merge pull request #11849 from taosdata/feature/check
fix: write histroy in shell
2022-04-25 20:55:12 +08:00
Shengliang Guan
5a91ecfb7c fix: write histroy in shell 2022-04-25 19:29:15 +08:00
Shengliang Guan
933405adc9
Merge pull request #11845 from taosdata/feature/check
fix: add error string for sync
2022-04-25 18:41:08 +08:00
afwerar
f966242047 feature(dnode): mul parameter start. 2022-04-25 13:57:55 +08:00
Shengliang Guan
3d9e27edb8 fix: remove un-necessary logs 2022-04-25 10:53:06 +08:00
Shengliang Guan
cd1bcb68c7 fix(tools): repair nettest in shell and dnode 2022-04-24 21:32:10 +08:00
Shengliang Guan
59d70252b7 fix(tools): repair -p options in shell 2022-04-24 21:22:38 +08:00
Shengliang Guan
93938aab49 refactor(tools): disable ctrl+c 2022-04-24 20:45:42 +08:00
Shengliang Guan
780561bc9b refact(tools): add nettest codes 2022-04-24 20:38:24 +08:00
Shengliang Guan
e827fbcf20 fix(tools): network test in shell 2022-04-24 19:32:51 +08:00
Shengliang Guan
56e90b1258 refactor(tools) add network speed test codes 2022-04-24 13:53:07 +08:00
Shengliang Guan
70905e2128 refactor(tools) add network speed test codes 2022-04-24 11:19:06 +08:00
Shengliang Guan
eaaee9c56c refactor(tools) add network speed test codes 2022-04-24 10:26:52 +08:00
Shengliang Guan
c76cbd2246 refactor(tools): refact shell codes 2022-04-22 19:27:00 +08:00
Shengliang Guan
462c91d8c6 refactor(tools): refact shell codes 2022-04-22 19:04:49 +08:00
Shengliang Guan
bc65c92ee3 refactor(tools): adjust client config parameters 2022-04-22 16:04:10 +08:00
Shengliang Guan
0970d1e418 refactor(tools): refact shell codes 2022-04-22 14:18:00 +08:00
Shengliang Guan
c92b3ce226 refactor(tools): refact shell codes 2022-04-21 21:29:30 +08:00
Shengliang Guan
bce784ab51 refactor(tools): refact shell codes 2022-04-21 21:11:02 +08:00
Shengliang Guan
d2d5196186 refactor(tools): refact shell codes 2022-04-21 21:10:09 +08:00
Shengliang Guan
2d94f8a875 refactor: rename files 2022-04-20 19:46:55 +08:00
Shengliang Guan
9e287ce29f refactor: rename shell functions 2022-04-20 19:44:25 +08:00
Shengliang Guan
0f22cf1d2e refactor: rename shell.h 2022-04-20 19:13:22 +08:00
Shengliang Guan
2702903e94 feat: report service status 2022-04-19 21:53:16 +08:00
Shengliang Guan
a3ed0703b5 feat: report startup steps 2022-04-19 20:07:34 +08:00
Shengliang Guan
7d65802571 fix: refact shell arguments 2022-04-19 17:05:39 +08:00
Shengliang Guan
cf433ec94c feat: check server status 2022-04-19 16:27:20 +08:00
Shengliang Guan
9e130aef6d feat: check server status 2022-04-19 15:29:28 +08:00
Shengliang Guan
10f99917c9 style: format shell 2022-04-18 21:14:32 +08:00
Shengliang Guan
f0ab7dbc96 fix: memory leak in tconfig.c in client 2022-04-18 20:29:10 +08:00
Shengliang Guan
bab8833dfc Merge remote-tracking branch 'origin/3.0' into feature/check 2022-04-17 21:35:23 +08:00
afwerar
dea51ba364 fix(build): use static taos lib. 2022-04-16 20:46:51 +08:00
Shengliang Guan
b017d2a4c8 refactor: adjust logs and code style 2022-04-15 15:05:37 +08:00
dapan1121
c04bc1820c Merge remote-tracking branch 'origin/3.0' into feature/qnode 2022-04-14 16:04:42 +08:00
Ganlin Zhao
b355e2b3c8 feat(query): add today()/today() + duration in insert clause
TD-14243
2022-04-14 12:53:59 +08:00
dapan1121
94b5031554 feature/qnode 2022-04-13 10:48:26 +08:00
Shuduo Sang
b0792743fc
feat(tools): taos shell refactor (#11416)
* [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
2022-04-12 15:58:41 +08:00
afwerar
c11946fd75 [TD-13756]<fix>: Fix macro name error. 2022-04-11 18:55:43 +08:00
dapan1121
58e16e5fdc Merge remote-tracking branch 'origin/3.0' into feature/scheduler 2022-03-26 09:11:06 +08:00
afwerar
222db126bc [TD-13758]<fix>: redefine memory api. 2022-03-26 00:29:53 +08:00
Shuduo Sang
fdc17df8f6
[TD-13558]<feature>: taos shell refactor (#10997)
* [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
2022-03-25 16:05:33 +08:00
dapan1121
94fda26620 Merge remote-tracking branch 'origin/3.0' into feature/scheduler 2022-03-24 16:44:25 +08:00
Shuduo Sang
5f9e660f9b
[TD-13558]<feature>: taos shell refactor (#10967)
* [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
2022-03-24 15:20:42 +08:00
dapan1121
85a1bd1cc9 Merge remote-tracking branch 'origin/3.0' into feature/scheduler 2022-03-24 14:42:02 +08:00
Shuduo Sang
4d7bb97f54
Feature/sangshuduo/td 13558 taos shell refactor (#10946)
* [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
2022-03-23 19:27:27 +08:00
dapan1121
ed5b283291 feature/scheduler 2022-03-23 17:19:04 +08:00
Shuduo Sang
e0dca33a98
[TD-13558]<feature>: taos shell refactor for 3.0 (#10871)
* [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
2022-03-21 17:29:24 +08:00
afwerar
79057240bd [TD-13759]<fix>: redefine thread api. 2022-03-20 00:47:45 +08:00
afwerar
159c2671a2 [TD-13767]<fix>: forbid wchar_t. 2022-03-18 16:48:12 +08:00
afwerar
6b6c43646d [TD-13770]<fix>: redefine system api. 2022-03-10 18:06:20 +08:00
afwerar
35b3edaea5 [TD-13756]<fix>: file system stat access func. 2022-03-04 00:04:57 +08:00
afwerar
e697f63013 [TD-13736]<fix>: console exit input error. 2022-03-01 19:34:24 +08:00
afwerar
2b9dc8c7ea [TD-13062]<fix>: file system add stream. 2022-02-28 22:37:32 +08:00
Shengliang Guan
1360f6b265 tbase64 2022-02-28 10:34:05 +08:00
Shengliang Guan
15b18f4ce9 log 2022-02-27 11:05:46 +08:00
Shengliang Guan
e25637fe29 Merge remote-tracking branch 'origin/3.0' into feature/config 2022-02-25 10:05:54 +08:00
afwerar
5a37fdf28f [TD-13062]<fix>: cross platform file system. 2022-02-25 01:47:20 +08:00
Shengliang Guan
612dd71918 os env 2022-02-24 21:27:13 +08:00
Shengliang Guan
0d0841d103 config 2022-02-24 14:16:42 +08:00
Shengliang Guan
beae4899f2 os env 2022-02-24 11:35:22 +08:00
Shengliang Guan
10a21ba801 version 2022-02-23 20:50:00 +08:00
Shengliang Guan
18634533a5 config 2022-02-22 13:36:26 +08:00
Haojun Liao
284fde6001 [td-11818] fix compiler error. 2022-01-27 16:03:26 +08:00
Haojun Liao
d6d8651483 [td-11818] refactor ssdatablock, add plan in log. 2022-01-26 23:09:03 +08:00
Yihao Deng
13d2c8ffea
Merge pull request #9987 from taosdata/feature/rename_macro
rename MAX/MIN/POW2/SWAP name
2022-01-24 13:23:27 +08:00
yihaoDeng
92bef71ec7 rename MAX/MIN/POW2/SWAP name 2022-01-24 12:53:17 +08:00
Shengliang Guan
09062a9ce7 check user password 2022-01-23 19:50:18 +08:00
Shengliang Guan
19e3f91df5 minor changes 2022-01-10 00:55:56 -08:00
Shengliang Guan
89a0dd76c2 test for create table 2021-12-31 00:19:26 -08:00
Hongze Cheng
9acdf1e975 take a commit 2021-12-24 15:00:51 +08:00
Shengliang Guan
4279d6a44d Merge remote-tracking branch 'origin/3.0' into feature/dnode3 2021-12-17 18:43:39 +08:00
Shengliang Guan
8e68fa6e4d TD-10431 tsim compile 2021-12-17 17:07:36 +08:00
Haojun Liao
5d38440cda [td-11818] refactor. 2021-12-17 16:53:14 +08:00
Shengliang Guan
89f4a7adc6 TD-10431 change numOfVgroups as config of db 2021-12-17 16:45:16 +08:00
Shengliang Guan
00833f7390 TD-10431 shell module 2021-12-17 15:49:27 +08:00
Shengliang Guan
f991a732d9 minor changes 2021-12-17 13:50:32 +08:00
Shengliang Guan
c604393e5d change file directory 2021-12-17 13:44:11 +08:00