Shungang Li
a7507d26b0
feat: alter local/dnode asynclog
2023-10-08 18:26:25 +08:00
Shungang Li
743a5b0640
feat: add db config item keep_time_offset
2023-09-25 15:46:08 +08:00
dapan1121
94ad93febd
Merge pull request #23003 from taosdata/feat-pipelined-agg/TD-25620
...
feat: pipelined agg when partition by col slimit
2023-09-22 09:48:45 +08:00
wangjiaming0909
f2832b5aa7
feat: pipelined agg when partition by col slimit
2023-09-21 17:45:49 +08:00
slzhou
de411ebad1
fix: review comments
2023-09-21 09:55:13 +08:00
slzhou
f208eefdf2
fix: fix sanitizer error
2023-09-19 16:21:44 +08:00
slzhou
f4dbd5d9c9
enhance: show normal/child tables and show user/system databases
2023-09-19 16:14:17 +08:00
shenglian zhou
94a616fcc1
fix: save and continue
2023-09-18 16:59:07 +08:00
dapan1121
0b18689fa6
fix: fix coverity issues
2023-09-06 10:57:49 +08:00
dapan1121
cc17848b78
fix: merge 3.0 to main
2023-09-01 13:24:47 +08:00
kailixu
700d9a6d68
fix: sma option for show create table
2023-08-10 13:02:34 +08:00
slzhou
cb9c6c1256
fix: compilation error
2023-08-03 21:47:33 +08:00
slzhou
2deeec93bf
fix: explain with state window
2023-08-03 21:43:08 +08:00
dapan1121
cbe03ef212
Merge pull request #22069 from taosdata/enh/TS-2288
...
enh: add scope for show xx variables
2023-07-19 18:01:11 +08:00
kailixu
52c56f4bd7
chore: support non sma option () if supported
2023-07-17 22:40:22 +08:00
kailixu
cf39fcdd12
fix: add sma option when show create table for stb/ntb
2023-07-17 22:24:27 +08:00
Ganlin Zhao
929db3d647
Merge branch '3.0' into enh/TS-2288
2023-07-17 16:09:07 +08:00
Ganlin Zhao
b402782784
add scope for information_schema.ins_dnode_variables
2023-07-14 15:56:29 +08:00
Ganlin Zhao
cdb3453812
add show local variables scope
2023-07-14 14:38:35 +08:00
Haojun Liao
e0ea0f2df4
Merge pull request #22020 from taosdata/fix/liaohj
...
other: merge main
2023-07-13 17:55:28 +08:00
Ganlin Zhao
c3cc217bd0
Merge branch '3.0' into enh/TS-2500
2023-07-11 16:24:16 +08:00
Ganlin Zhao
6efa688c15
remove trailing space
2023-07-11 14:12:02 +08:00
Ganlin Zhao
48bc377233
add show command for system db
2023-07-11 13:56:02 +08:00
Haojun Liao
3ffdbe923d
other: merge 3.0
2023-07-11 09:12:57 +08:00
Ganlin Zhao
3270f76aba
remove wal_roll_period/wal_segment_size from show create database
...
commands
2023-07-10 15:56:39 +08:00
dapan1121
e7ced3e9cc
fix: desc table without permission to view any column issue
2023-07-07 09:04:44 +08:00
Haojun Liao
ceb78fdad2
Merge branch '3.0' into refact/fillhistory
2023-06-24 18:53:48 +08:00
wangjiaming0909
fb4f174fbc
feature: add input, output ts order for execution plans
2023-06-16 10:26:09 +08:00
Haojun Liao
55724157c4
refactor: remove one function.
2023-06-15 10:40:25 +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
ee2521a6ab
Merge remote-tracking branch 'origin/3.0' into feat/TD-22746
2023-05-16 10:53:21 +08:00
Haojun Liao
7ef16e1922
other: merge main.
2023-05-12 11:49:53 +08:00
dapan1121
daedb3618b
Merge remote-tracking branch 'origin/3.0' into feat/TD-22746
2023-05-10 17:47:11 +08:00
dapan1121
79d4403377
feat: add client meta limitation
2023-05-10 17:44:53 +08:00
dapan1121
a1eefd25ea
fix: count wrong group number issue
2023-05-09 11:33:47 +08:00
dapan1121
3c2fc48e74
feat: support new table_prefix/table_suffix mode
2023-04-21 14:17:07 +08:00
dapan1121
5b02af6a91
fix: merge main to 3.0
2023-03-22 16:08:16 +08:00
Haojun Liao
15cbbd3a14
fix(query): fix error in show cluster alive.
2023-03-14 21:25:52 +08:00
dapan1121
2a5074870d
fix: add missing db options in show create database result
2023-03-02 11:33:29 +08:00
Xiaoyu Wang
1ab144609e
merge main
2023-02-23 14:58:22 +08:00
Haojun Liao
8d187efc18
refactor:do some internal refactor.
2023-02-20 10:04:08 +08:00
dapan1121
386f184ed7
feat: disable async log
2023-02-17 17:45:44 +08:00
dapan1121
1128b1222b
feat: add memory debug option
2023-02-17 17:40:14 +08:00
Xiaoyu Wang
24157e78d6
merge main
2023-01-28 17:52:58 +08:00
Xiaoyu Wang
0b1bb7a1fb
merge 3.0
2023-01-16 17:55:35 +08:00
slzhou
51cdd4af19
fix: add stt_trigger to show create database processing
2023-01-16 10:28:34 +08:00
Xiaoyu Wang
b8183580cb
feat: add an event_window clause for the explain command
2023-01-11 09:22:31 +08:00
Alex Duan
c0a16094ab
fix: merge from 3.0
2022-12-30 19:02:48 +08:00
dapan1121
436bc5cbe8
enh: remove asserts
2022-12-30 15:35:03 +08:00
Alex Duan
0c422345b3
feat: support show cluster alive; and show db.alive;
2022-12-29 18:07:57 +08:00
Xiaoyu Wang
c21911fdbf
fix: user auth error
2022-12-15 16:18:48 +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
213b97b79a
feat(api): taos_affected_rows64 add and modfiy tmsg.h
2022-12-02 23:20:19 +08:00
Xiaoyu Wang
233377444c
enh: ins_table count optimize
2022-12-01 17:57:53 +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
65adb259ff
enh: support multiple groups in exchange operator
2022-11-28 18:44:59 +08:00
Xiaoyu Wang
f34e166f49
fix: select null error
2022-11-28 11:22:11 +08:00
dapan1121
c0463e46c9
fix: truncate show create table result
2022-11-14 15:48:01 +08:00
dapan1121
a5b1cfc9a2
fix: extend show create table result width
2022-11-14 11:27:38 +08:00
Haojun Liao
b48752686e
refactor: do some internal refactor.
2022-11-09 13:45:46 +08:00
dapan1121
ecfcf7054c
enh: optimize submit response msg
2022-11-02 15:18:32 +08:00
dapan1121
16f9c172ac
fix: fix merge join crash issue
2022-10-25 18:20:20 +08:00
Shengliang Guan
71d4d82cf4
Merge pull request #17450 from taosdata/fix/TD-19312
...
fix: add cachesize in show create database result
2022-10-22 08:14:17 +08:00
dapan1121
1b65cd2089
fix: fix show create table crash issue
2022-10-21 17:24:06 +08:00
haoranchen
6041464e96
Merge branch '3.0' into fix/TD-19312
2022-10-19 19:28:31 +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
cbfc9872c6
fix: add cachesize in show create database result
2022-10-18 18:28:49 +08:00
dapan1121
0fe14f0b16
fix: fix coverity issues
2022-10-18 16:33:27 +08:00
Xiaoyu Wang
78589248f2
Merge branch '3.0' into fix/3.0_bugfix_wxy
2022-10-18 09:53:08 +08:00
dapan1121
cf9abe7258
fix: fix coverity check issues
2022-10-17 19:48:36 +08:00
Xiaoyu Wang
9abea76791
fix: do coverity scan
2022-10-17 15:43:42 +08:00
Hongze Cheng
d5255f1eb7
more format
2022-10-13 13:41:36 +08:00
dapan1121
dc0e36f742
Merge branch '3.0' into enh/clientPolicy
2022-09-23 16:41:18 +08:00
Xiaoyu Wang
ee9190e9c0
fix: subplans under set operator use different group ids
2022-09-23 11:26:03 +08:00
dapan1121
d2d761282f
enh: support multiple exchange operators in explain
2022-09-16 16:33:18 +08:00
dapan1121
a85a73e2de
fix: fix memory leak issues
2022-09-15 16:30:21 +08:00
dapan1121
9e44816bcc
enh: support client local merge policy
2022-09-15 14:46:15 +08:00
dapan1121
ad35a67f2f
fix: add table comment in show create table result
2022-08-30 11:30:43 +08:00
Xiaoyu Wang
99490c063e
feat: system table visible permission
2022-08-24 17:36:10 +08:00
dapan1121
bd179e880f
fix: fix stack overflow issue
2022-08-23 11:01:27 +08:00
dapan1121
12d9366b84
fix:fix explain analyze validate issue
2022-08-22 19:50:22 +08:00
Xiaoyu Wang
07ef00e89f
merge 3.0
2022-08-09 11:36:08 +08:00
Xiaoyu Wang
4345631d3c
fix: project adds whether to ignore the field of group id
2022-08-08 18:32:04 +08:00
Xiaoyu Wang
5ae9fdff7a
enh: increase explain output, enhance debugging function
2022-08-08 10:00:10 +08:00
Haojun Liao
4cd7af0ecf
other: merge 3.0
2022-08-03 19:02:43 +08:00
Haojun Liao
77ed2bc1e1
enh(query): add merge attribute in explain.
2022-08-02 21:25:55 +08:00
Xiaoyu Wang
f33959bd9b
fix: some problems of parser
2022-08-02 20:20:44 +08:00
afwerar
412d3437a8
feat: add cloud grant cfg
2022-08-01 19:54:13 +08:00
dapan1121
3dd0e99250
Merge pull request #15608 from taosdata/enh/explainLimit
...
enh: support limit in explain
2022-07-30 20:03:54 +08:00
dapan1121
2d8afab93b
enh: support limit in explain
2022-07-30 19:29:10 +08:00
dapan1121
2f1c9b3c16
enh: add local forbidden cfg processing
2022-07-30 09:50:19 +08:00
Xiaoyu Wang
0550ab5306
enh: last function optimize
2022-07-29 19:21:00 +08:00
Xiaoyu Wang
a7bca145aa
enh: last function optimize
2022-07-29 14:55:35 +08:00
Shengliang Guan
e4b6fa744e
enh: add wal option to show database command
2022-07-26 17:30:07 +08:00
Xiaoyu Wang
015193e816
feat: super table order by primary key optimization
2022-07-25 15:17:53 +08:00
Xiaoyu Wang
84266350cb
fix: plan problem when timeline function is used for interval query
2022-07-23 16:18:00 +08:00
dapan1121
c410a5a270
fix: fix explain crash issue
2022-07-21 15:56:50 +08:00
Xiaoyu Wang
299e117d38
fix: database options 'strict' and 'cachelast' syntax adjustments
2022-07-16 14:22:30 +08:00
dapan1121
ae132e6626
Merge branch '3.0' into enh/schPolicy
2022-07-14 18:44:21 +08:00
dapan1121
12b961c7f5
enh: add schedule policy
2022-07-14 18:42:26 +08:00
Xiaoyu Wang
ddb39a8dc2
fix: some problems of planner
2022-07-14 16:06:28 +08:00
dapan1121
a0f7cc6790
enh: add schedule policy
2022-07-14 14:03:27 +08:00
dapan1121
ca754adaa6
fix: add agg processing
2022-07-13 17:14:04 +08:00
Shengliang Guan
a846bb9381
refactor: rename cacheLastRow to cacheLast
2022-07-11 15:45:40 +08:00
Haojun Liao
1e18ba19c8
fix(query): set results for local query in async APIs.
2022-07-06 17:25:39 +08:00
Haojun Liao
0f595e8be1
refactor: do some internal refactor.
2022-07-05 19:09:00 +08:00
dapan1121
83cbc41088
fix: fix explain crash issue
2022-07-04 19:12:21 +08:00
dapan1121
57836d8bb2
enh: add type convert api
2022-07-04 17:40:20 +08:00
wangmm0220
085ace59e0
fix:to_json() function
2022-07-01 16:47:54 +08:00
Liu Jicong
0f0fe6276a
merge from 3.0
2022-06-29 21:33:10 +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
Liu Jicong
58803fafcf
fix(query): check datablock should check output flag
2022-06-28 16:05:00 +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
shenglian zhou
edc42a78ab
fix: fix compilation error
2022-06-23 13:59:31 +08:00
shenglian zhou
f4ec009a00
Merge branch '3.0' of github.com:taosdata/TDengine into feature/3_liaohj
2022-06-23 13:49:10 +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
33452da7bd
feat: alter local command
2022-06-22 19:45:41 +08:00
Haojun Liao
aa4d863598
fix(query): fix syntax error.
2022-06-22 17:36:48 +08:00
Haojun Liao
5c1e7f3114
Merge branch '3.0' into feature/3_liaohj
2022-06-22 17:23:57 +08:00
Haojun Liao
14ddf539e0
refactor(query): do some internal refactor.
2022-06-22 17:21:04 +08:00
dapan1121
66cfe3a3fc
feat: show dnode variables
2022-06-22 17:17:18 +08:00
shenglian zhou
84ea04ea2a
fix: change merge interval to merge aligned interval
2022-06-22 10:53:22 +08:00
dapan1121
a98601b11d
feat: show create table
2022-06-21 18:41:12 +08:00
dapan1121
88b48ec46c
Merge branch '3.0' into feature/showcreate
2022-06-21 17:40:52 +08:00
dapan1121
b084be71f6
feat: show create table
2022-06-21 09:18:53 +08:00
dapan1121
be2935cba6
feat: show create table
2022-06-20 20:58:36 +08:00
Xiaoyu Wang
33d7551cd4
merge 3.0
2022-06-20 20:38:08 +08:00
Xiaoyu Wang
5c185b909a
feat: sql command 'show local variables' and 'show dnode variables'
2022-06-20 20:36:15 +08:00
Haojun Liao
a2cec0e488
Merge pull request #14004 from taosdata/feature/3_liaohj
...
feature(query): support show table block distribution.
2022-06-20 15:13:10 +08:00
Haojun Liao
ad0595b9ec
Merge branch '3.0' into feature/3_liaohj
2022-06-20 14:08:21 +08:00
dapan1121
88aff7bae1
Merge branch '3.0' into feature/showcreate
2022-06-20 13:35:18 +08:00
Xiaoyu Wang
bac6e27c20
feat: sql command 'interp'
2022-06-19 19:39:12 +08:00
Haojun Liao
0e77d4dc1e
Merge branch '3.0' into feature/3_liaohj
2022-06-18 20:04:06 +08:00
Haojun Liao
2f4bcd2625
enh(query): add more info about tablescan.
2022-06-18 20:03:27 +08:00
dapan1121
2dc7bcbefc
show create db
2022-06-18 19:50:53 +08:00
Xiaoyu Wang
a06b329bee
feat: sql command 'show create database', 'show create table', 'show create stable' and 'alter local'
2022-06-17 21:16:13 +08:00
dapan1121
8ce76f7419
fix case issues
2022-06-17 17:30:57 +08:00
dapan1121
d320326371
reset query cache
2022-06-17 14:41:17 +08:00
Xiaoyu Wang
03f2fcde54
merge 3.0
2022-06-13 18:38:15 +08:00
Xiaoyu Wang
a5ce5192f2
merge 3.0
2022-06-13 18:37:25 +08:00
shenglian zhou
140e15bc8d
fix: merge interval operator optimization and explain analyze multimerge operator
2022-06-13 15:07:54 +08:00
Xiaoyu Wang
380a071551
fix: handle the memory leak of parser
2022-06-13 14:54:38 +08:00
shenglian zhou
ed58047581
Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/multiwaymerge
2022-06-13 09:56:54 +08:00
shenglian zhou
253cd955a1
feat: add explain analyze to multiway merge operator
2022-06-13 09:56:39 +08:00
dapan1121
001061fcd2
add get tb index async api
2022-06-09 15:17:10 +08:00
dapan1121
d4c7154cde
Merge branch '3.0' into feature/qnode
2022-06-09 09:10:37 +08:00
dapan1121
ef18a45d99
in data type convert
2022-06-09 09:09:48 +08:00
Liu Jicong
6733636a1a
Merge pull request #13601 from taosdata/feature/retrievemsg
...
refactor: do some internal refactor.
2022-06-08 21:27:16 +08:00