dapan1121
d229492616
Merge remote-tracking branch 'origin/3.0' into feat/TD-25204
2023-10-09 18:34:08 +08:00
dapan1121
5b639a172d
feat: support query from view
2023-10-08 18:36:06 +08:00
dapan1121
a61d90f672
enh: remove column list
2023-09-22 11:36:53 +08:00
dapan1121
a67b0c99fc
feat: support create/drop view
2023-09-21 19:28:07 +08:00
dapan1121
64da3f4ef9
Merge pull request #22978 from taosdata/szhou/show-db-table
...
enhance: show normal/child tables and show user/system databases
2023-09-21 16:55:26 +08:00
slzhou
de411ebad1
fix: review comments
2023-09-21 09:55:13 +08:00
dapan1121
7d076d2db9
fix: memory leak issue
2023-09-21 09:49:43 +08:00
dapan1121
aa86490ed2
fix: sync param free issue
2023-09-20 18:57:00 +08:00
dapan1121
9796483609
enh: support async fetch for sync request
2023-09-20 15:42:25 +08:00
slzhou
f4dbd5d9c9
enhance: show normal/child tables and show user/system databases
2023-09-19 16:14:17 +08:00
dapan1121
14e8db289d
feat: support view
2023-09-19 14:19:54 +08:00
shenglian zhou
94a616fcc1
fix: save and continue
2023-09-18 16:59:07 +08:00
wangmm0220
f266d51764
feat:support varbinary type
2023-08-16 19:05:07 +08:00
yihaoDeng
6532afa7b8
fix err while connect invalid fqdn
2023-07-24 18:49:13 +08:00
yihaoDeng
2aacee05be
Merge branch 'fix/TD-25308' of https://github.com/taosdata/TDengine into fix/TD-25308
2023-07-24 18:48:23 +08:00
yihaoDeng
842a0bc8c3
fix err while connect invalid fqdn
2023-07-24 18:48:09 +08:00
yihaoDeng
0b707a108e
fix err while connect invalid fqdn
2023-07-24 10:28:52 +00:00
yihaoDeng
95a1db6e89
fix err while connect invalid fqdn
2023-07-24 07:09:03 +00:00
yihaoDeng
79f01ad655
add version check in rpc
2023-07-05 08:16:25 +00:00
dapan1121
4dae9f4eff
merge main to 3.0
2023-06-26 18:43:00 +08:00
dapan1121
59b8cfbc7d
enh: add sub_query in systable and kill subquery
2023-06-12 17:14:41 +08:00
dapan1121
170182fecd
feat: support fill history with sub request
2023-06-12 16:10:54 +08:00
wangmm0220
208ba2ef4d
fix:memory leak
2023-05-26 10:45:37 +08:00
Dingle Zhang
984211f3b4
Feature/3.0 geometry ( #21037 )
...
* Add GEOMETRY data type and make sql.c able to parse it. The GEMETRY works like BINARY so far.
* add GEOMETRY type into gConvertTypes to fix some issues like DELETE calling
* change some test cases to make sure no same timestamp is inserted, and add my smoketest.sh
* Add a function MakePoint() and introduce a lib geometry
* implement sql functions GeomFromText() and AsText()
* Use GEOS *_r funcions instead for thread safety
* Handle with TSDB_DATA_TYPE_GEOMETRY when INSERT geometry data by converting WKT.
Add geosWrapper to wrap the basic GEOS functions for TDEngine.
* refactor AsText and MakePoint functions to be like GeomFromText
* Show WKT when print geometry data in screen
Dump hex data when dump geometry data in a file
* define TYPE_BYTES item for TSDB_DATA_TYPE_GEOMETRY, which casued some strange issues.
* set number of decimals of WKT to 6
* Implement SQL function Intersects()
* refactor geometry sql functions
* Add geosErrMsgeHandler() to get the GEOS error detail
* use threadlocal to instantiate SGeosContext
call destroyGeosContext() only if the thread exists
* remove SGeosContext *context param for all geometry functions since we use thread local one,
so that all caller do not need to know the context.
* Modify Intersects() to call PreparedIntersects() when one of param is a constant, which has higher performance.
* rename prepareFn() to initCtxFn() to avoid confusion with PreparedFn
* Add prefix "ST_" for all geometry functions
* move getThreadLocalGeosCtx() and destroyThreadLocalGeosCtx() into util,
so that all unit test tools can compile
* Add unit test for geometry lib, only test MakePoint so far
* refactor and enhance existing cases in geomFuncTest
* implement NULL type and NULL value test for geomFuncTest
* add test on geomFromText()
* add unit test on AsText() in geomFuncTest
* combine some makePointFunction test items
* add intersectsFunctionTwoColumns test
refactor on callGeomFromTextWrapper functions
* enhance intersectsFunction test to add cases like input constant , NULL type, NULL value, or wrong content
* add more cases into intersectsFunction test
* Add basic test on geometry in system test
* Add ST_GeomFromText and ST_AsText function test in system test on geometry
* add ST_Intersects function test in system test on geometry
* support to check expectedErrno in system test on geometry
* adjust geomTest unit test and geometry system test
* add geometry data type and functions in doc english version
* implement touchesFunction() in geometry lib
refactor geometry relation functions model
* separate gemFuncTest into several src files
* add unit test on touchesFunction
* support sql function ST_Touches()
add system test on ST_Touches
* add docs for ST_Touches()
* Add ST_Contains()
* Add ST_Covers()
* Add ST_Equals()
* add swapAllowed param for geomRelationFunction()
read geom2 earlier intead of at doGeosRelation()
* Add ST_ContainsProperly()
* build on windows
* Merge from 3.0 to 3.0_geometry
* change macro definition TSDB_DATA_TYPE_GEOMETRY as the last one for compatibility
* change '\\NULL' to 'NULL' back in shellDumpFieldToFile()
* add /usr/local/include into include directory
* add /usr/local/inlcude and /usr/local/lib in cmake.platform for DARWIN
2023-05-24 15:36:46 +08:00
dapan1121
9fcf56a4ee
feat: support meta cleanup
2023-05-16 10:51:58 +08:00
dapan1121
9551a269b3
feat: support log slow query by default
2023-04-24 16:45:34 +08:00
dapan1121
5fe99c5ad2
feat: support log long query
2023-04-23 15:54:15 +08:00
Haojun Liao
f8b672f09f
other: merge main.
2023-04-14 09:07:18 +08:00
Haojun Liao
f5b52749c2
refactor: do some internal refactor.
2023-04-09 01:39:09 +08:00
dapan1121
5b02af6a91
fix: merge main to 3.0
2023-03-22 16:08:16 +08:00
Haojun Liao
625b2dc901
Merge pull request #20513 from taosdata/fix/TD-23136
...
fix:converity scan defects
2023-03-20 15:37:59 +08:00
dapan1121
4685fb4870
fix: no error passed issue
2023-03-17 17:52:15 +08:00
wangmm0220
0a54d00cd2
fix:converity scan defects
2023-03-17 14:54:27 +08:00
dapan1121
2bb7d6c799
fix: invalid write issue
2023-03-17 14:38:03 +08:00
Xiaoyu Wang
66bb55187d
Merge remote-tracking branch 'origin/main' into fix/3.0_merge_main
2023-03-08 18:30:24 +08:00
Xiaoyu Wang
9be3e20276
fix: check the compatibility of client version and server version
2023-03-08 15:13:11 +08:00
Haojun Liao
10a119e3fb
Merge pull request #20106 from taosdata/fix/TD-22667-3.0
...
fix:error by coverity scan
2023-03-01 13:31:59 +08:00
WANG MINGMING
5dfc9ed4d0
Merge branch '3.0' into fix/TD-22667-3.0
2023-02-28 09:52:34 +08:00
Yihao Deng
db47cb5805
Merge branch 'main' into fix/toManySeesion
2023-02-25 17:04:56 +08:00
yihaoDeng
84706fe586
fix: limit session num
2023-02-24 21:20:15 +08:00
yihaoDeng
dd2e9697b5
fix: limit session num
2023-02-24 20:39:25 +08:00
Haojun Liao
22aa03307c
fix(query): fix syntax errors on centos.
2023-02-24 11:38:54 +08:00
wangmm0220
91d5df423f
fix:error by coverity scan
2023-02-22 15:48:39 +08:00
Xiaoyu Wang
7337f5ff7d
Merge pull request #20052 from taosdata/fix/3.0_merge_main
...
merge main
2023-02-21 16:27:19 +08:00
Xiaoyu Wang
c597de099f
merge main
2023-02-20 13:41:27 +08:00
dapan1121
1128b1222b
feat: add memory debug option
2023-02-17 17:40:14 +08:00
dapan1121
e2bc0383f2
fix: refact client statistics collection
2023-02-17 16:30:14 +08:00
Xiaoyu Wang
09925437e3
merge main
2023-02-08 09:51:52 +08:00
dapan1121
1f3f92c2cf
Merge pull request #19777 from taosdata/fix/TD-22145
...
fix: fix fd limit crash
2023-02-06 16:22:02 +08:00
dapan1121
18e3450c11
fix: client update epset crash issue
2023-02-06 14:01:43 +08:00
yihaoDeng
e14994c23f
fix: fail fast
2023-02-03 12:45:20 +08:00
yihaoDeng
cdf362b588
fix: fix fd limit crash
2023-02-03 12:08:16 +08:00
Xiaoyu Wang
24157e78d6
merge main
2023-01-28 17:52:58 +08:00
xinsheng Ren
f966197cea
Fix/xsren/td 21762/sem mem leak basemain ( #19587 )
...
* TD-21762 sem_init cause mem leak on windows
* fix/memleak
Co-authored-by: facetosea <25808407@qq.com>
2023-01-17 16:30:06 +08:00
dapan1121
6b259777ad
fix: move crash report to shell
2023-01-17 11:18:49 +08:00
xinsheng Ren
fce58a1273
Fix/xsren/td 21762/sem mem leak ( #19580 )
...
* TD-21762 sem_init cause mem leak on windows
* fix/memleak
Co-authored-by: facetosea <25808407@qq.com>
2023-01-17 11:12:57 +08:00
Shengliang Guan
d90eef6656
Merge branch '3.0' into merge/mainto3.0_0108
2023-01-08 09:54:21 +08:00
wangmm0220
ce3fbae952
fix:ASSERT in client mode & converity error
2023-01-06 14:37:38 +08:00
dapan1121
a551641b6c
fix: add mac crash report processing
2023-01-04 19:12:16 +08:00
dapan1121
3bccd891bb
fix: add debug code
2023-01-04 16:51:46 +08:00
Alex Duan
0c422345b3
feat: support show cluster alive; and show db.alive;
2022-12-29 18:07:57 +08:00
Shengliang Guan
78c14a2c88
Merge remote-tracking branch 'origin/3.0' into merge/mainto3.0_1228
2022-12-28 14:59:02 +08:00
dapan1121
66cece62de
Merge pull request #19046 from taosdata/fix/TD-21180-3.0
...
feat(rpc): return new error code TSDB_CODE_RPC_VGROUP_NOT_CONNECTED
2022-12-26 18:08:48 +08:00
Haojun Liao
723efba79b
Merge branch '3.0' into refact/submit_req
2022-12-26 13:25:25 +08:00
Shengliang Guan
664dcb6b4e
Merge branch 'main' into merge/mainto3.0_1226
2022-12-26 09:26:54 +08:00
Shengliang Guan
9a2d56905d
enh: print ipstr on taos_connect
2022-12-23 18:04:25 +08:00
Xiaoyu Wang
0c269c317b
merge 3.0
2022-12-23 17:50:05 +08:00
Alex Duan
d0f789744b
query(fix): return new error code except connect msg
2022-12-23 16:04:48 +08:00
Alex Duan
99ef55c7d4
query(fix): return new error code except connect msg
2022-12-23 16:02:08 +08:00
Alex Duan
cd1b87031a
fix(query): modify error describe
2022-12-22 10:22:51 +08:00
Alex Duan
ced76efde0
feat(rpc): move the check msgType to cliet
2022-12-21 12:44:29 +08:00
Alex Duan
5ca52595ae
feat(rpc): move the check msgType to client build error
2022-12-21 12:20:26 +08:00
Alex Duan
15160544c5
feat(rpc): move the check msgType to client
2022-12-21 11:48:24 +08:00
Shengliang Guan
86ff8f381f
Merge pull request #19042 from taosdata/enh/3.0_planner_optimize
...
enh: improve unit tests
2022-12-20 21:53:25 +08:00
Xiaoyu Wang
ad7f9b274b
enh: improve unit tests
2022-12-20 16:53:08 +08:00
yihaoDeng
23c7fa73f0
fix mem leak
2022-12-19 21:39:26 +08:00
Haojun Liao
fdade6d6a3
Merge branch '3.0' into refact/submit_req
2022-12-19 11:24:00 +08:00
yihaoDeng
6fb45a5f47
remove unused param
2022-12-13 20:16:45 +08:00
Haojun Liao
48f7fc5c3d
Merge branch '3.0' into refact/submit_req
2022-12-12 18:11:17 +08:00
dapan1121
1aff3cceeb
fix: show queries crash issue
2022-12-10 15:03:24 +08:00
Shengliang Guan
6d94afe48f
Revert "refact: adjust some assert cases"
2022-12-07 21:51:17 +08:00
wangmm0220
a4d03b43a0
opti: async->sync for schemaless
2022-12-07 20:33:54 +08:00
Shengliang Guan
d5126d469a
refact: replcase ASSERT with tAssert
2022-12-07 18:42:48 +08:00
Shengliang Guan
f69a188f7e
refact: replcase ASSERT with tAssert
2022-12-07 18:37:40 +08:00
Hongze Cheng
899d7b0bcc
Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req
2022-12-06 14:37:22 +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
d9c261cd13
refact: remove some error codes
2022-12-03 10:17:02 +08:00
Alex Duan
855b0c8cbe
feat(api): add int64 affected rows modify tmsg.h struct
2022-12-02 20:57:46 +08:00
Alex Duan
9fb4fa0a7f
feat(api): add int64 affected rows modify tmsg.h struct
2022-12-02 20:48:39 +08:00
Alex Duan
2aa65c4b9c
feat(shell): affected rows int64
2022-12-02 17:09:04 +08:00
dapan1121
2e75de8368
fix: fix submit response message handling
2022-12-01 19:26:26 +08:00
wangmm0220
8cfdae7195
fix:conflicts
2022-11-29 23:23:39 +08:00
Shengliang Guan
99c00acf9f
Merge pull request #18502 from taosdata/enh/changeParamter2
...
enh: adjust para
2022-11-29 09:22:13 +08:00
dapan1121
cc36796f64
Merge pull request #18524 from taosdata/fix/TD-18639
...
enh: support multiple query groups in exchange operator
2022-11-29 08:45:47 +08:00
dapan1121
2bfcabda27
fix: fix client request param memory leak
2022-11-28 19:36:58 +08:00
dapan1121
65adb259ff
enh: support multiple groups in exchange operator
2022-11-28 18:44:59 +08:00
wangmm0220
bd84ecc361
fix:[TD-20613] add interface for write raw block with sdfasdf
2022-11-28 16:31:33 +08:00
Haojun Liao
3878af10c9
refactor: do some internal refactor.
2022-11-28 16:13:18 +08:00
yihaoDeng
0611ecbe31
change paramter
2022-11-28 10:53:27 +08:00
yihaoDeng
27ebbdadf2
add rpc retry config
2022-11-10 19:44:45 +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
b7bc828172
enh: insert optimize
2022-11-06 18:42:53 +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
dapan1121
ecfcf7054c
enh: optimize submit response msg
2022-11-02 15:18:32 +08:00
Xiaoyu Wang
292f0c6db7
enh: insert parser refactor
2022-10-24 16:58:45 +08:00
Haojun Liao
6e95d18643
Merge branch '3.0' into fix/liao_cov
2022-10-22 15:15:47 +08:00
Haojun Liao
1fa1e55dee
refactor: do some internal refactor.
2022-10-22 15:00:27 +08:00
dapan1121
0d727eedcf
Merge remote-tracking branch 'origin/3.0' into feat/TD-19386
2022-10-20 16:30:20 +08:00
dapan1121
723110c449
feat: add retrieve db and table route info API
2022-10-19 19:25:02 +08:00
Benguang Zhao
2aa7afe7fa
Merge branch '3.0' into FIX/TD-19593-3.0
2022-10-19 16:31:13 +08:00
Xiaoyu Wang
8cd36d9045
merge 3.0
2022-10-19 14:01:57 +08:00
Xiaoyu Wang
601f0f3edf
fix: handle coverity scan
2022-10-19 13:56:39 +08:00
Benguang Zhao
00a066443f
Merge branch '3.0' into FIX/TD-19593-3.0
2022-10-19 09:38:36 +08:00
Benguang Zhao
3b0968d7f9
enh: enable the -Wformat=2 compiler option
2022-10-19 09:24:15 +08:00
dapan1121
53e73511b5
Merge remote-tracking branch 'origin/3.0' into fix/coverity.pw
2022-10-19 09:16:13 +08:00
dapan1121
20085e5b72
fix:fix coverity issues
2022-10-19 09:15:04 +08:00
dapan1121
99fd3284df
Merge pull request #17439 from taosdata/fix/coverity.pw
...
fix: fix coverity issues
2022-10-18 22:15:20 +08:00
dapan1121
0fe14f0b16
fix: fix coverity issues
2022-10-18 16:33:27 +08:00
Haojun Liao
95dd30be57
fix(query): fix coverity issues.
2022-10-18 11:43:58 +08:00
wangmm0220
54e3617a6f
fix:scan converity defects
2022-10-17 14:32:18 +08:00
Haojun Liao
f5f0a7026f
other: merge 3.0
2022-10-13 14:20:51 +08:00
yihaoDeng
53b6058b0d
support compress
2022-10-12 10:22:40 +08:00
Haojun Liao
d3b37ef294
other:merge 3.0
2022-10-11 22:56:54 +08:00
yihaoDeng
37a0b9c759
support compress
2022-10-11 22:18:44 +08:00
Xiaoyu Wang
0563eb2475
feat: support batch loading of csv files
2022-10-11 17:28:58 +08:00
Xiaoyu Wang
18fa48ae57
feat: support batch loading of csv files
2022-10-11 15:54:01 +08:00
Haojun Liao
f8a84a1d19
other:merge 3.0
2022-09-30 13:47:21 +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
5a2c583c32
other:merge 3.0
2022-09-28 18:00:04 +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
1ee075dce0
fix(query):set correct code.
2022-09-28 16:32:50 +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
54712ae302
other:merge 3.0
2022-09-26 14:50:51 +08:00
Haojun Liao
5c1f55f6ca
other:merge 3.0
2022-09-26 11:35:19 +08:00
dapan1121
2750ace3c3
fix: fix insert into select issue
2022-09-23 16:37:09 +08:00
dapan1121
3fb3aa7bea
Merge remote-tracking branch 'origin/3.0' into enh/clientPolicy
2022-09-23 13:33:11 +08:00
Shengliang Guan
761a65725b
Merge pull request #16994 from taosdata/fix/TD-19079
...
fix: fix client memory leak
2022-09-22 19:42:51 +08:00
dapan1121
ef68cea88e
fix: fix client memory leak
2022-09-22 08:47:08 +08:00
Xiaoyu Wang
5731e15193
Merge branch 'enh/3.0_planner_optimize' into refact/query_opt
2022-09-21 18:26:09 +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
2a978bae09
Merge remote-tracking branch 'origin/3.0' into refact/query_opt
2022-09-21 13:58:34 +08:00
Xiaoyu Wang
71749cf6c6
Merge branch 'enh/3.0_planner_optimize' into refact/query_opt
2022-09-21 13:56:34 +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