Commit Graph

277 Commits

Author SHA1 Message Date
Shengliang Guan f69a188f7e refact: replcase ASSERT with tAssert 2022-12-07 18:37:40 +08:00
dapan1121 217694fd13 fix: client retry insert based on some error code 2022-12-07 15:28:07 +08:00
dapan1121 f9f60a8f39
Merge pull request #18646 from taosdata/fix/TD-20684-3.0
feat(api): add new api int64_t taos_affected_rows64
2022-12-04 16:47:51 +08:00
Shengliang Guan 524de026a5 enh: remove TSDB_CODE_RPC_REDIRECT 2022-12-02 22:24:35 +08:00
Alex Duan 0f0e575481 feat(shell): affected rows int64 2022-12-02 17:14:49 +08:00
Alex Duan 39482b24db feat(shell): supported affected rows int64_t 2022-12-02 16:42:38 +08:00
Haojun Liao 9a208b2d09 other: merge 3.0 2022-11-24 17:08:15 +08:00
Haojun Liao e0e55b2d65 refactor: do some internal refactor. 2022-11-23 22:08:35 +08:00
dapan1121 842217e77d fix: crash issue caused by insert from query clause 2022-11-22 18:53:48 +08:00
Xiaoyu Wang 7bddbb06f0 fix: sanitizer error 2022-11-14 14:38:51 +08:00
Xiaoyu Wang caf5bddb04 fix: taos_fetch_rows_a error 2022-11-09 14:43:56 +08:00
Xiaoyu Wang f1265cc7a0 enh: insert optimize 2022-11-07 16:48:53 +08:00
Xiaoyu Wang 00c0a5634e Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-11-07 14:56:35 +08:00
Xiaoyu Wang 80dc658dbb Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-11-04 18:03:21 +08:00
Xiaoyu Wang 8513dc1067 enh: insert optimize 2022-11-04 15:21:38 +08:00
yihaoDeng 69afe77ed9 add req_id interface 2022-11-03 20:08:30 +08:00
shenglian zhou f72c875a02 fix: taos_fetch_row returns null and log the error when the argument is invalid 2022-11-03 07:55:47 +08:00
Xiaoyu Wang 292f0c6db7 enh: insert parser refactor 2022-10-24 16:58:45 +08:00
dapan1121 7c133359ce feat: add retrieve db and table route info api 2022-10-20 15:13:39 +08:00
dapan1121 723110c449 feat: add retrieve db and table route info API 2022-10-19 19:25:02 +08:00
dapan1121 0fe14f0b16 fix: fix coverity issues 2022-10-18 16:33:27 +08:00
Benguang Zhao 616eb5f903 Merge branch '3.0' into FIX/TD-19239-3.0 2022-10-16 00:29:01 +08:00
Benguang Zhao 7fb827debd fix: refactor walScanLogGetLastVer, walCheckAndRepairMeta, and walCheckAndRepairIdx.
* search for the last entry in the contiguous range of valid WAL from the last pos fsynced as firstTrial
    * find the last entry before the last pos fsynced backwards as second trial
    * reserve sufficient space for computing CRC32 checksum, esp. of WAL record body
    * rebuild meta info to resolve potential misalignment between lists of meta and actual log files
    * retract commitIndex and appliedIndex to lastLogIndex if needed
    * put an upper size limit on possibly corrupted WAL range to be recovered
2022-10-15 23:56:31 +08:00
dapan1121 d5cfbebd82 fix: fix kill query crash issue 2022-10-14 13:26:10 +08:00
Xiaoyu Wang 18fa48ae57 feat: support batch loading of csv files 2022-10-11 15:54:01 +08:00
Haojun Liao ac58d5397b
Merge pull request #17149 from taosdata/feature/3_liaohj
refactor(query): do some internal refactor.
2022-09-29 17:21:27 +08:00
Haojun Liao 6abc13e843 refactor(query): do some internal refactor. 2022-09-29 14:57:15 +08:00
Haojun Liao 71e3993185
Merge pull request #17114 from taosdata/feature/3_liaohj
refactor(query): do some internal refactor.
2022-09-28 17:36:01 +08:00
Haojun Liao 027a0c11bb refactor(query): do some internal refactor. 2022-09-28 14:18:32 +08:00
Xiaoyu Wang 528a3273c0 fix: memory leak 2022-09-28 14:11:34 +08:00
Haojun Liao 5c1f55f6ca other:merge 3.0 2022-09-26 11:35:19 +08:00
dapan1121 3fb3aa7bea Merge remote-tracking branch 'origin/3.0' into enh/clientPolicy 2022-09-23 13:33:11 +08:00
Xiaoyu Wang 7ecda770c2 fix: request free sequence problem 2022-09-22 14:03:11 +08:00
Xiaoyu Wang 5680c03c17 enh: added memory allocators for parser and planner 2022-09-21 17:07:22 +08:00
Xiaoyu Wang 5116e0a01b enh: added memory allocators for parser and planner 2022-09-21 17:04:12 +08:00
Xiaoyu Wang 3abfb569ba Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-09-21 14:00:55 +08:00
Xiaoyu Wang 90c300e320 enh: added memory allocators for parser and planner 2022-09-21 13:53:40 +08:00
Xiaoyu Wang 2f475399a6 enh: added memory allocators for parser and planner 2022-09-21 10:57:41 +08:00
Xiaoyu Wang 46b0c2c9c4 enh: added memory allocators for parser and planner 2022-09-20 18:52:45 +08:00
wangmm0220 a1257090e2 fix:error in auto create table for taosX 2022-09-19 14:28:03 +08:00
wangmm0220 e3bc2487b3 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-18740 2022-09-16 19:00:49 +08:00
dapan1121 4048c99282 Merge remote-tracking branch 'origin/3.0' into enh/clientPolicy 2022-09-15 14:50:35 +08:00
wangmm0220 a3161bf9c1 fix:add logic for auto create table in taosX 2022-09-13 19:16:26 +08:00
dapan1121 4fd0bc409d fix: fix client/server memory leak issues 2022-09-13 09:09:21 +08:00
dapan1121 1427a8f3b0 enh: support client query policy 2022-09-09 19:03:42 +08:00
dapan1121 8675857207 enh: add client query policy 2022-09-05 13:56:42 +08:00
Liu Jicong 8b3489760c feat(tmq): support taosx 2022-08-30 11:12:20 +08:00
Xiaoyu Wang 99490c063e feat: system table visible permission 2022-08-24 17:36:10 +08:00
Shengliang Guan 243a42a0a7
Merge pull request #16362 from taosdata/enh/insertPerf
enh: add client performance trace
2022-08-24 11:49:17 +08:00
dapan1121 7c7c452bbc enh: add perf debug info 2022-08-22 15:58:00 +08:00
dapan1121 aca0d0bf0b fix: fix memory leak issue 2022-08-22 13:25:45 +08:00
Liu Jicong c4df4431cd refactor(tmq): put write logic into taosx.c 2022-08-15 18:50:28 +08:00
Shuduo Sang e03adb140a
feat: remove temporary interface declarations (#15940)
* 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

* feat: remove temporary interface declaration

* fix: remove temporary interfaces
2022-08-10 21:42:30 +08:00
dapan1121 a3d4dce3e5 Merge branch '3.0' into fix/TD-18076 2022-08-08 20:16:13 +08:00
dapan1121 ea4904fb40 fix: fix memory leak issue 2022-08-08 20:15:21 +08:00
Xiaoyu Wang ef607e5c3f fix: sql command 'show cluster' error 2022-08-08 15:49:31 +08:00
yihaoDeng 8c050431d1 fix valgrind error 2022-08-03 18:49:59 +08:00
dapan1121 cc3a7375ed enh: support app level stat 2022-08-01 20:47:08 +08:00
dapan1121 4de8d28f63 fix: fix ucs4 convertion issue 2022-07-29 18:35:23 +08:00
dapan1121 2956422239
Merge pull request #15461 from taosdata/fix/stbmetadelete
fix: fix stb meta removed issue
2022-07-27 14:51:13 +08:00
dapan1121 a17925131f fix: fix stb meta removed issue 2022-07-27 11:12:31 +08:00
dapan1121 b97f9bfcad fix: fix load_table_info error 2022-07-26 09:48:43 +08:00
yihaoDeng 92ec6ccea0 enh: change redirect to network_unavail 2022-07-16 15:37:48 +08:00
yihaoDeng 9ea66e08af enh: change redirect to network_unavail 2022-07-16 14:58:55 +08:00
dapan1121 c7aa4a108b
Merge branch '3.0' into enh/schPolicy 2022-07-15 13:24:30 +08:00
Xiaoyu Wang d894e959ee fix: client module memory leak problem 2022-07-14 20:16:39 +08:00
dapan1121 ae132e6626 Merge branch '3.0' into enh/schPolicy 2022-07-14 18:44:21 +08:00
dapan1121 a0f7cc6790 enh: add schedule policy 2022-07-14 14:03:27 +08:00
dapan1121 ad051d4e65 fix: fix stop query issue 2022-07-13 20:25:16 +08:00
Yihao Deng aadd4192dd
Merge pull request #14832 from taosdata/feat/refactorClientQ
enh: refactor client queue
2022-07-13 09:25:29 +08:00
yihaoDeng 42d6ab3b00 refactor client queue 2022-07-12 20:00:26 +08:00
Haojun Liao 6cef3baa95 fix(query): set correct number of result rows for taos_fetch_raw_block_a 2022-07-12 15:17:39 +08:00
Haojun Liao 7dc7f478de refactor: do some internal refactor and fix some memory leak. 2022-07-10 17:34:21 +08:00
Haojun Liao 65f53993c4
Merge pull request #14606 from taosdata/feature/3_liaohj
fix(query): set results for local query in async APIs.
2022-07-06 18:06:48 +08:00
Haojun Liao 1e18ba19c8 fix(query): set results for local query in async APIs. 2022-07-06 17:25:39 +08:00
dapan1121 8b896332d6
Merge pull request #14558 from taosdata/feature/insertselect
enh: refactor scheduler code
2022-07-06 09:44:38 +08:00
Haojun Liao 0f595e8be1 refactor: do some internal refactor. 2022-07-05 19:09:00 +08:00
dapan1121 473ac84f2f fix: fix compile errors 2022-07-05 18:12:01 +08:00
dapan1121 cd0cf055e5 Merge branch '3.0' into feature/insertselect 2022-07-05 16:17:04 +08:00
dapan1121 b5207239b5 enh: refactor scheduler code 2022-07-05 16:10:38 +08:00
yihaoDeng 47ec187231 merge int kill 2022-07-04 16:10:59 +08:00
yihaoDeng e4de1da8d3 add task queue 2022-07-02 17:00:57 +08:00
dapan1121 211ae46a05 enh: refactor scheduler code 2022-07-02 16:59:49 +08:00
dapan1121 817a319a2e enh: kill query 2022-07-01 21:01:35 +08:00
Liu Jicong 0f0fe6276a merge from 3.0 2022-06-29 21:33:10 +08:00
Liu Jicong c2955a807b feat(tmq): offset support snapshot 2022-06-29 21:04:51 +08:00
Yihao Deng 2001be5996
Merge branch '3.0' into enh/stopquery 2022-06-29 17:24:52 +08:00
Xiaoyu Wang ae076af4f1 feat: sql system info function 'database()', 'client_version()', 'server_version()', 'server_status()', 'current_user()' and 'user()' 2022-06-29 11:41:32 +08:00
yihaoDeng 3bb68c78ae fix: fix rpc quit problem 2022-06-28 11:52:43 +08:00
dapan1121 d402716465 enh: stop query 2022-06-27 18:29:28 +08:00
Shuduo Sang fb50977b44
fix: add taos_set_config() back (#14277)
[TD-16828]
2022-06-27 14:07:42 +08:00
dapan1121 73dfd1173a enh: stop query 2022-06-27 09:50:42 +08:00
Liu Jicong 0c1a51bad6 enh(stream): refine tqRetrieveDataBlock api 2022-06-25 20:03:29 +08:00
dapan1121 94a2b6d945 enh: refactor show variables 2022-06-24 15:18:40 +08:00
dapan1121 b092a9c5c9 Merge branch '3.0' into feature/alterlocal 2022-06-24 08:22:11 +08:00
dapan1121 abc69e1e2b feat: add new api 2022-06-24 08:20:54 +08:00
Liu Jicong 71bda7e658 feat(tmq): add with meta config 2022-06-23 15:56:54 +08:00
Liu Jicong 1644294e25
Merge pull request #14046 from taosdata/feature/stream
feat(stream): drop stream
2022-06-21 15:18:30 +08:00
Liu Jicong 3f6ce2da73 feat(tmq): support topic with meta 2022-06-21 15:18:09 +08:00
Haojun Liao 1bf7fbbc0b feature(query): support interp function, and do some internal refactor. 2022-06-20 23:22:28 +08:00