Commit Graph

189 Commits

Author SHA1 Message Date
kailixu fa822ff286 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-27 19:11:16 +08:00
dapan1121 655774c32e fix: move error msg from tsc to shell 2023-04-25 09:00:41 +08:00
Alex Duan 6a9bdb9824 fix: duplicate calling shellWriteHistory 2023-04-18 13:44:26 +08:00
kailixu 50053fdc01 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-18 11:13:30 +08:00
Haojun Liao 9597453631
Merge pull request #20925 from taosdata/fix/TS-3106-MAIN
add option enableScience on taos.cfg to show float and double scientific notation
2023-04-14 10:28:00 +08:00
Alex Duan 1bfeb6669e fix: remove obsolete code 2023-04-13 17:09:43 +08:00
Alex Duan eb03a0bb48 fix: adjust format 2023-04-13 16:55:22 +08:00
Alex Duan a0be0c1d06 fix: add client option tsEnableScience 2023-04-13 16:40:38 +08:00
kailixu 2daab8e65e Merge branch '3.0' into enh/TD-21161-3.0 2023-04-12 13:10:12 +08:00
Xiaoyu Wang 8b8ac0cd77 merge main 2023-04-12 10:43:28 +08:00
Haojun Liao 20013b3f77 fix(shell): update the display of double value. 2023-04-11 17:26:05 +08:00
Haojun Liao 171647bdbd fix(shell): update the double display. 2023-04-11 15:46:36 +08:00
kailixu e976fcb91d Merge branch '3.0' into enh/TD-21161-3.0 2023-04-07 17:51:35 +08:00
Xiaoyu Wang c134432c45 merge main 2023-04-06 09:31:45 +08:00
Xiaoyu Wang e9d7a099cc merge main 2023-04-04 14:50:58 +08:00
Ganlin Zhao 23ec9287c9 fix: fix tsim crash on windows due to invalid input to strftime 2023-04-04 10:33:41 +08:00
kailixu 37bc1bca36 enh: column/row max length support up to 64K 2023-04-03 17:00:52 +08:00
Ganlin Zhao 6f119ef4d0 change print format 2023-03-24 11:24:04 +08:00
dapan1121 a732ec7b3c fix: change float display mode 2023-03-24 10:36:01 +08:00
Ganlin Zhao 3bdef853b2 fix: fix windows handling localtime_s error 2023-03-24 10:29:36 +08:00
dapan1121 5b02af6a91 fix: merge main to 3.0 2023-03-22 16:08:16 +08:00
Shuduo Sang 528dcf86eb
fix: improve taos shell user experience for connecting cloud (#20528) 2023-03-19 13:18:30 +08:00
Shengliang Guan 5d6d6e6e16
Merge pull request #19805 from freemine/pthread_cleanup_push
typo: pthread_cleanup_push/pop better exist in pair
2023-03-02 17:35:35 +08:00
Hui Li 965d91572a
Merge pull request #20148 from taosdata/fix/3_coverity
fix(query): fix syntax errors on centos.
2023-02-24 17:39:12 +08:00
xinsheng Ren e3f21ae98f
fix: TD-22674 coverity scan (#20126)
* fix: TD-22674 coverity scan

* fix: compile error

---------

Co-authored-by: facetosea <25808407@qq.com>
2023-02-24 15:17:14 +08:00
Haojun Liao 22aa03307c fix(query): fix syntax errors on centos. 2023-02-24 11:38:54 +08:00
Xiaoyu Wang c597de099f merge main 2023-02-20 13:41:27 +08:00
Alex Duan 128880c1cf add taos_close 2023-02-15 11:27:44 +08:00
Alex Duan 2f32b3a2d8 fix: need not obtain db name if input argument include -s 2023-02-15 11:17:34 +08:00
freemine a999e56a1d typo: pthread_cleanup_push/pop better exist in pair 2023-02-05 16:08:34 +08:00
Xiaoyu Wang 24157e78d6 merge main 2023-01-28 17:52:58 +08:00
dapan1121 6b259777ad fix: move crash report to shell 2023-01-17 11:18:49 +08:00
Shuduo Sang c85da8dc3a fix: typos 2023-01-05 21:25:31 +08:00
Shuduo Sang 7012016884 fix: prompt 2023-01-05 20:24:26 +08:00
Shuduo Sang c6a08b64b5 chore: merge with 3.0 2023-01-05 17:36:30 +08:00
xinsheng Ren 936f282eab
TD-21220 fix assert (#19363)
* TD-21220 fix assert

* fix/compile failed

* fix/taosEOFFile exception return

Co-authored-by: facetosea <25808407@qq.com>
2023-01-05 09:20:14 +08:00
Shuduo Sang 4093649309 chore: use brand name instead 2022-12-30 13:06:21 +08:00
dapan1121 17c6d303e3
Merge pull request #18698 from taosdata/TS-2155-3.0
fix(shell): forbid .taos_history record password for security
2022-12-05 17:19:44 +08:00
Alex Duan 83f7c7c2d0 fix(shell): forbid record password in taos_history file 2022-12-05 14:36:34 +08:00
Alex Duan 1cc0df89ab fix(shell): forbid record password in taos_history file 2022-12-05 14:19:31 +08:00
Alex Duan 693a602c62 feat(api): modify prompt text 2022-12-02 18:27:18 +08:00
Alex Duan 83a4f76ece feat(shell): affected rows int64 2022-12-02 17:15:51 +08:00
Alex Duan 39482b24db feat(shell): supported affected rows int64_t 2022-12-02 16:42:38 +08:00
Shengliang Guan 0860ac1c9b fix: show Permission denied error in mac 2022-12-01 15:14:34 +08:00
Alex Duan 999ad52386 fix(shell) add one blank after affected word 2022-11-25 09:11:28 +08:00
Alex Duan cd46ca0f5a fix(shell): add help command and fix crete table filed complete include binary 2022-11-24 11:12:08 +08:00
Alex Duan 84a1105be0 fix(shell): describe show command need show whole result1 2022-11-10 16:48:24 +08:00
Alex Duan 2481f1cdb3 fix(shell): describe show command need show whole result 2022-11-10 16:27:17 +08:00
Alex Duan 4b49dde403 fix(shell): adjust show result format 2022-11-08 09:54:19 +08:00
Alex Duan 39c37e0e11 fix(shell): add affected rows in result 2022-10-26 14:54:50 +08:00
Alex Duan d36bfa25ed fix(query): uniform the format of result between 2.6 and 3.0 2022-10-26 11:07:19 +08:00
Xiaoyu Wang 8f28a9c9d2 import format error 2022-10-20 18:18:07 +08:00
Xiaoyu Wang 2339b8c0a6 some parser problem 2022-10-20 16:53:26 +08:00
Haojun Liao bcb3d41d08 fix(query): fix coverity issues. 2022-10-16 13:46:21 +08:00
dapan1121 d5cfbebd82 fix: fix kill query crash issue 2022-10-14 13:26:10 +08:00
Alex Duan 32a36b66f1 fix(shell): remove TAB KEY usage introduction on windows 2022-10-11 16:57:47 +08:00
Zhiqiang Wang 365b9ba7a0
fix: shell source error (#17234) 2022-10-09 15:40:27 +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 c5f270abcb feature: shell csv rfc 4180 2022-08-30 17:24:24 +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 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 f03055c373 shell: change shell record source file command 2022-08-05 15:49:03 +08:00
afwerar 5f10012c21 feat: add cloud grant cfg 2022-08-02 09:18:34 +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
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
Xiaoyu Wang 6141bb03da feat: insert from csv 2022-06-30 15:04:54 +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
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
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
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
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