Commit Graph

277 Commits

Author SHA1 Message Date
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
dapan1121 5f4614d61a qnode for policy 2/3 2022-06-18 16:30:46 +08:00
dapan1121 d862f2b49c fix TAOS ref issue 2022-06-18 09:53:18 +08:00
dapan1121 38a481afce add close null pointer validate 2022-06-18 08:21:31 +08:00
dapan1121 744bc92f68 modify TAOS as id addr 2022-06-17 20:21:41 +08:00
dapan1121 d320326371 reset query cache 2022-06-17 14:41:17 +08:00
dapan1121 b3f9f81b61 support show apps 2022-06-16 21:06:04 +08:00
dapan1121 96f8a0da42 Merge branch '3.0' into feature/showqueries 2022-06-15 11:34:54 +08:00
dapan1121 947aecb74f show queries/connection; kill connection 2022-06-15 11:27:53 +08:00
Xiaoyu Wang 1676bfe5cf fix: some problems of parser 2022-06-14 15:43:56 +08:00
Xiaoyu Wang a5ce5192f2 merge 3.0 2022-06-13 18:37:25 +08:00
Haojun Liao 0166d40c68
Merge pull request #13759 from taosdata/feature/3_liaohj
fix(query): add check for data completed.
2022-06-13 15:10:46 +08:00
Xiaoyu Wang 1863bbee9a merge 3.0 2022-06-13 15:01:29 +08:00
Haojun Liao 0a414b4934 fix(query): add check for data completed. 2022-06-13 13:32:02 +08:00
Xiaoyu Wang d1e0327d19 fix: handle the memory leak of parser 2022-06-11 21:32:29 +08:00
dapan1121 0e9203ebf6 Merge branch '3.0' into feature/qnode 2022-06-10 17:09:11 +08:00
dapan1121 1b196df8ed update epset 2022-06-10 17:07:24 +08:00
Haojun Liao 5bb16c3073 enh(query): add new api in taos.h 2022-06-10 09:48:56 +08:00
Haojun Liao 840074dfa3 refactor: do some internal refactor, and add a new api 2022-06-09 11:40:49 +08:00
Haojun Liao d98a4b467d fix(query): set the schemaless flag. 2022-06-07 15:52:46 +08:00
Haojun Liao fb07e8b73e refactor:do some internal refactor and add some logs. 2022-06-07 11:15:33 +08:00
Haojun Liao 3e6bb05581 refactor: do some internal refactor. 2022-06-06 23:39:54 +08:00
Haojun Liao 2bd16c4978 refactor: update output of log. 2022-06-06 19:58:14 +08:00
Haojun Liao aa143beda4 fix(query): fix invalid free. 2022-06-06 19:27:51 +08:00
Haojun Liao 475a399c31 refactor: do some internal refactor. 2022-06-06 17:29:43 +08:00
Haojun Liao 90cb7966bc refactor: do some internal refactor. 2022-06-06 10:35:19 +08:00
dapan1121 bcec782dd2 Merge branch '3.0' into feature/qnode 2022-06-03 20:47:46 +08:00
dapan1121 b6e60082ae rescheduler timeout task 2022-06-03 20:44:32 +08:00
Haojun Liao ad5be523e6 refactor: do some internal refactor. 2022-06-02 23:33:38 +08:00
Haojun Liao 6b49352a81 refactor: do some internal refactor. 2022-06-02 22:52:01 +08:00
Haojun Liao 4fd2fb06bc refactor: do some internal refactor. 2022-06-02 21:20:15 +08:00
Haojun Liao ef6b0f942f fix(query): prepare test env 2022-06-02 17:52:51 +08:00
Haojun Liao 343f912ddd Merge remote-tracking branch 'origin/feature/3_liaohj' into feature/3_liaohj
# Conflicts:
#	source/client/inc/clientInt.h
#	source/client/src/clientImpl.c
#	source/client/src/clientMsgHandler.c
2022-06-02 17:27:51 +08:00
Haojun Liao 84158d861d enh(query): query APIs are built on top of async APIs. 2022-06-02 16:54:35 +08:00
dapan1121 719cebdd87 stmt new api 2022-05-31 21:03:47 +08:00
dapan1121 9d6475fa09 Merge remote-tracking branch 'origin/3.0' into feature/async 2022-05-23 09:26:48 +08:00
Liu Jicong 8e3701df01 fix(tmq): memory leak 2022-05-21 21:36:26 +08:00
Haojun Liao e119b56f55 other: merge 3.0 and do some internal refactor. 2022-05-14 10:39:21 +08:00
Liu Jicong e1e571c7a9 enh: print_row str ends with 0 2022-05-12 23:18:00 +08:00
Haojun Liao 95eb0c9f65 refactor(query): do some internal refactor. 2022-05-11 15:47:05 +08:00
Haojun Liao e673041127 refactor: do some internal refactor. 2022-05-11 11:02:58 +08:00
Haojun Liao 6c30d170ea refactor: do some internal refactor. 2022-05-10 17:46:45 +08:00
wangmm0220 05daba7f8e refactor:merge from 3.0 2022-05-06 11:28:34 +08:00
wangmm0220 4fa52dc6d6 refactor:fix schemaless error & add unit test cases 2022-05-01 22:08:18 +08:00
Liu Jicong c790b4dfad refacor(tmq): extract unassigned vg out of hash 2022-04-27 21:18:41 +08:00
dapan1121 960f885aef Merge remote-tracking branch 'origin/3.0' into feature/qnode 2022-04-26 15:55:11 +08:00
Xiaoyu Wang 103418bfc5 fix: some problems of udf and 'create table' 2022-04-25 20:28:14 +08:00
dapan1121 15d7abf46f stmt query 2022-04-25 20:03:28 +08:00
Liu Jicong 5747629c9e
Merge pull request #11720 from taosdata/feature/tq
fix: memory leak
2022-04-21 19:53:19 +08:00
Liu Jicong ef05b1bc95 fix: memory leak 2022-04-21 17:56:32 +08:00
dapan1121 36a8382b8e feature/qnode 2022-04-21 15:33:07 +08:00
dapan1121 3f880627fd
Merge pull request #11700 from taosdata/feature/qnode5
Feature/qnode5
2022-04-21 10:34:38 +08:00
Liu Jicong d75ab9b3ff refactor 2022-04-20 21:36:55 +08:00
dapan1121 b77731702e stmt 2022-04-20 18:27:00 +08:00
dapan1121 c0bdae4584 stmt 2022-04-20 11:10:01 +08:00
dapan1121 fca15e39b2 Merge remote-tracking branch 'origin/3.0' into feature/qnode5 2022-04-20 09:04:56 +08:00
Shengliang Guan f0ab7dbc96 fix: memory leak in tconfig.c in client 2022-04-18 20:29:10 +08:00
dapan1121 a1c4f5c2ce stmt 2022-04-18 19:12:10 +08:00
dapan1121 0c2f22fb82 stmt 2022-04-18 19:08:27 +08:00
dapan1121 49e0ecdb9b Merge remote-tracking branch 'origin/3.0' into feature/qnode4 2022-04-18 13:34:04 +08:00
dapan1121 0270499496 Merge remote-tracking branch 'origin/3.0' into feature/qnode4 2022-04-18 13:25:45 +08:00
dapan1121 1e1cca9857 stmt 2022-04-18 13:22:47 +08:00
Shengliang Guan 0d262b8747 fix: definite lost in tlog.c found by valgrind 2022-04-18 10:22:20 +08:00
dapan1121 c8fe5bc88b stmt 2022-04-18 10:19:15 +08:00
dapan1121 93ca1168f3 stmt 2022-04-16 19:41:18 +08:00
dapan1121 e3ea173046 stmt 2022-04-15 20:10:51 +08:00
Haojun Liao 7873c74e5f other: merge 3.0 branch and resolve the conflict. 2022-04-15 13:45:13 +08:00
Haojun Liao d2761b4114 ehn(query): refactor c driver codes. 2022-04-15 12:09:27 +08:00
dapan1121 0e9ecc628e Merge remote-tracking branch 'origin/3.0' into feature/qnode 2022-04-15 08:33:53 +08:00
Liu Jicong 69cb4b5c99 refactor(tmq): persist ast in topic 2022-04-14 20:34:42 +08:00
dapan1121 69f09fd0e3 stmt 2022-04-14 20:14:52 +08:00
Haojun Liao 79596698ab other: resolve conflict with 3.0 branch. 2022-04-14 16:51:46 +08:00
dapan1121 c04bc1820c Merge remote-tracking branch 'origin/3.0' into feature/qnode 2022-04-14 16:04:42 +08:00
Liu Jicong 3d8f50d052 enh(query): fetch raw block fail back to query type 2022-04-14 15:56:18 +08:00
Haojun Liao 928a977354 ehn(query): enhance the api of ssdatablock to support copy data while clone a new ssdatablock. 2022-04-14 15:33:37 +08:00
Liu Jicong 3e38017693 merge from 3.0 2022-04-14 14:46:16 +08:00
Liu Jicong 7adb395b85 enh: add connection type for tmq 2022-04-14 14:42:51 +08:00
Haojun Liao 33e51fda3e ehn(query): refactor the executor module. 2022-04-14 14:34:02 +08:00
dapan1121 955695ebe5
Merge branch '3.0' into feature/qnode 2022-04-14 14:10:19 +08:00
Haojun Liao 1704147a8e fix(query): disable the auto conversion of ucs4 string in the implementation of API of taos_fetch_raw_block. 2022-04-14 13:50:37 +08:00
Liu Jicong 0fe0d6fc77 fix: fix tmq result parse 2022-04-13 20:37:51 +08:00
dapan1121 a823535f27 stmt 2022-04-13 19:57:21 +08:00
dapan1121 d57ecd97b0 stmt 2022-04-13 17:52:26 +08:00
Liu Jicong 03d7201d47 feat: support tmq msg parse 2022-04-13 16:00:30 +08:00
dapan1121 c9b43b2924 Merge remote-tracking branch 'origin/3.0' into feature/qnode 2022-04-12 19:13:40 +08:00
dapan1121 b8391fad62 fix heartbeat msg 2022-04-12 19:10:52 +08:00
Liu Jicong cf33a822b9 fix type convert 2022-04-12 13:39:52 +08:00
Liu Jicong 285dc21755 merge from 3.0 2022-04-12 11:04:36 +08:00
Liu Jicong ad9731bd6f merge from 3.0 2022-04-12 11:00:09 +08:00
Liu Jicong bc6a466b36 refactor TAOS_RES process 2022-04-12 10:45:34 +08:00
Haojun Liao 945de54b68 [td-14493] add new api. 2022-04-07 14:51:52 +08:00
Haojun Liao f4047aa120 [td-14493] add a new api. 2022-04-07 13:57:27 +08:00
Haojun Liao 33bcee62c9 [td-14393] refactor. 2022-04-06 15:09:29 +08:00
Haojun Liao 1cbdec1aba [td-14393] fix bug, update sim script. 2022-04-02 18:25:57 +08:00
Haojun Liao 803e1ab162 [td-14393] fix bug. 2022-04-01 19:31:24 +08:00
Haojun Liao fb36f5e24e [td-14428] return correct length for both nchar and varchar type. 2022-04-01 19:10:53 +08:00
Shuduo Sang 2a422c3abb
Feature/sangshuduo/td 13603 python connector (#11114)
* add a few stmt_ interface declartion

* add taos_load_table_info

* add taos_set_config(() interface

* add more interfaces
2022-03-30 11:31:59 +08:00
Shuduo Sang b4581c6383
[TD-13603]<feature>: python connector (#11103)
* add a few stmt_ interface declartion

* add taos_load_table_info
2022-03-29 20:23:40 +08:00
Shuduo Sang 8f39d23c75
add a few stmt_ interface declartion (#11094) 2022-03-29 17:28:09 +08:00
Liu Jicong 4fd6f59092 stream set multi input 2022-03-29 15:24:25 +08:00
Haojun Liao 2a6262f9ad [td-13039] support taos_fetch_block 2022-03-28 10:37:18 +08:00