shenglian zhou
b8205f23bf
enhance: ip whitelist before debug
2023-08-30 14:32:46 +08:00
dapan1121
581f04a18b
fix: empty table name for tbname issue
2023-08-18 15:00:00 +08:00
dapan1121
daf91648fe
fix: invalid read memory issue
2023-08-18 13:57:17 +08:00
dapan1121
e8fa9aa633
fix: join blockId and target issues
2023-08-17 13:50:26 +08:00
dapan1121
91d6734b34
fix: join condition push down issue
2023-08-16 14:28:39 +08:00
dapan1121
8fc0f1bbd6
Merge remote-tracking branch 'origin/3.0' into feat/TD-24700
2023-08-15 09:00:53 +08:00
dapan1121
6a78053b51
feat: add hint supporting
2023-08-14 17:21:15 +08:00
dapan1121
c9656d3f77
fix: fix memory issues
2023-08-11 17:39:41 +08:00
dapan1121
8987553d9c
fix: remove ins_modules
2023-08-11 15:56:38 +08:00
dapan1121
5b5b5648ac
Merge remote-tracking branch 'origin/3.0' into feat/TD-24700
2023-07-07 19:32:50 +08:00
wangjiaming0909
1f71ce9409
feature: get last timestamp before create sma index
2023-07-06 10:33:22 +08:00
dapan1121
226ee06209
enh: add physical plan processing
2023-06-29 19:28:32 +08:00
dapan1121
81a2bf10cf
enh: optimize stable join
2023-06-28 19:39:04 +08:00
dapan1121
8f39b9d2e4
enh: optimize query plan
2023-06-27 19:36:51 +08:00
dapan1121
ce2635074d
enh: add uid/vgid functions
2023-06-26 11:48:47 +08:00
dapan1121
e52c6aae8c
Merge pull request #21620 from taosdata/fix/TD-24567-3.0
...
fix: tsma query with order by _wstart/_wend
2023-06-15 09:06:57 +08:00
kailixu
4cd039c38e
chore: compare funcNode without aliasName
2023-06-12 16:47:03 +08:00
dapan1121
170182fecd
feat: support fill history with sub request
2023-06-12 16:10:54 +08:00
Haojun Liao
d45aa7ef84
Merge pull request #21555 from taosdata/fix/liaohj_main
...
other: merge main into 3.0.
2023-06-02 13:11:12 +08:00
Haojun Liao
5301c5756a
other: merge main into 3.0.
2023-06-01 09:29:18 +08:00
wangmm0220
5d2c78ba6b
fix:memory leak
2023-05-30 10:39:00 +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
slzhou
f9da4abdcb
fix: change more variable names
2023-05-19 15:38:52 +08:00
shenglian zhou
f36b0be17d
fix: join eq conditions not only for tag
2023-05-19 14:32:03 +08:00
slzhou
304423e27b
Merge branch 'main' of github.com:taosdata/TDengine into szhou/fix-ts3405
2023-05-18 13:27:58 +08:00
dapan1121
5ac91597b6
Merge pull request #21310 from wangjiaming0909/fix/TS-3398
...
fix: select <expr1>, <expr1##sth else> from ... return error data whe…
2023-05-18 10:07:06 +08:00
Haojun Liao
041ffa91bd
other: merge main.
2023-05-17 15:42:15 +08:00
wangjiaming0909
789b0c7178
fix: select <expr1>, <expr1##sth else> from ... return error data when strlen(expr1) > TSDB_COL_NAME_LEN
2023-05-16 15:42:30 +08:00
shenglian zhou
629ab2b85f
fix: extract tag equal condition
2023-05-15 16:10:11 +08:00
Haojun Liao
99148d6719
other: merge 3.0
2023-05-13 20:02:48 +08:00
dapan1121
69795286fa
Merge remote-tracking branch 'origin/main' into enh/tsbsPerf.4
2023-05-12 13:46:16 +08:00
dapan1121
a8c65cd25a
feat: support restore dnode clause
2023-05-09 19:19:14 +08:00
liuyao
2984c5a758
merge main
2023-04-28 10:34:46 +08:00
Xiaoyu Wang
e584bb3ea1
feat: subtable level privilege
2023-04-25 17:39:28 +08:00
Xiaoyu Wang
dc5235eb92
feat: add pause/resume stream statement
2023-04-24 14:48:33 +08:00
Xiaoyu Wang
4bb7a25fc7
feat: subtable level privilege
2023-04-23 16:30:28 +08:00
chenhaoran
7d7a0769b3
Merge remote-tracking branch 'origin/main' into enh/tsbsPerf.1
2023-04-21 16:20:37 +08:00
dapan1121
ed3778dc9f
fix: nodes free issue
2023-04-17 15:44:15 +08:00
Xiaoyu Wang
4c04b155d5
merge main
2023-04-11 15:56:28 +08:00
Xiaoyu Wang
f44c219360
feat: table level privilege
2023-04-07 11:15:05 +08:00
Xiaoyu Wang
eb79046a70
merge 3.0
2023-03-22 11:42:02 +08:00
cadem
ea35f0ae11
feat/balance vgroup leader
2023-03-22 09:36:59 +08:00
Xiaoyu Wang
58ebd3539d
feat: alter database wal_retention_period/wal_retention_size
2023-03-21 16:45:19 +08:00
dapan1121
273d0c0c07
fix: all columns are invisiable in system table query
2023-03-09 10:40:27 +08:00
Alex Duan
3249b83890
fix: destroy node with wrong type coversion
2023-02-28 17:38:35 +08:00
Haojun Liao
b92de1e9e6
fix(query): fix invalid read.
2023-02-28 09:34:16 +08:00
Xiaoyu Wang
9bc225ffda
merge 3.0
2023-02-09 09:44:29 +08:00
Xiaoyu Wang
09925437e3
merge main
2023-02-08 09:51:52 +08:00
Xiaoyu Wang
f2ff17dace
merge 3.0
2023-02-06 14:18:13 +08:00
dapan1121
d88f1efeb1
feat: support force fill clause
2023-02-02 17:16:30 +08:00
Xiaoyu Wang
024824fb3d
fix: event_window memory leak
2023-02-01 09:34:14 +08:00
Xiaoyu Wang
9df6f69371
merge 3.0
2023-01-04 15:02:31 +08:00
Alex Duan
0c422345b3
feat: support show cluster alive; and show db.alive;
2022-12-29 18:07:57 +08:00
Hongze Cheng
a0fa31954c
Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact
2022-12-28 13:53:59 +08:00
Xiaoyu Wang
b52ebb6fd5
feat: sql command 'compact database'
2022-12-27 11:11:02 +08:00
Xiaoyu Wang
0c269c317b
merge 3.0
2022-12-23 17:50:05 +08:00
Xiaoyu Wang
aecd05cf34
enh: improve unit tests
2022-12-21 13:51:06 +08:00
Xiaoyu Wang
ad7f9b274b
enh: improve unit tests
2022-12-20 16:53:08 +08:00
Haojun Liao
fdade6d6a3
Merge branch '3.0' into refact/submit_req
2022-12-19 11:24:00 +08:00
Xiaoyu Wang
2f9753c540
event window query
2022-12-13 14:18:03 +08:00
Xiaoyu Wang
bc36bc188e
feat: event window
2022-12-08 09:36:37 +08:00
Hongze Cheng
2d85c7c451
Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req
2022-12-07 09:04:00 +08:00
Xiaoyu Wang
bc413b8fff
feat: add stream option 'delete_mark'
2022-12-06 16:07:11 +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
Shengliang Guan
d9c261cd13
refact: remove some error codes
2022-12-03 10:17:02 +08:00
Xiaoyu Wang
85ea8bbbb3
Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize
2022-12-02 14:04:50 +08:00
Hongze Cheng
f9870c3637
Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req
2022-12-01 14:24:29 +08:00
Xiaoyu Wang
4e8acca2eb
feat: sql command 'show user privileges'
2022-11-30 19:24:15 +08:00
Xiaoyu Wang
948502be25
enh: replace row format
2022-11-27 17:09:02 +08:00
Xiaoyu Wang
d00f65a8fe
Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize
2022-11-18 15:05:19 +08:00
Xiaoyu Wang
dc0d3745a7
enh: fill value supports implicit type conversion
2022-11-17 15:48:42 +08:00
Xiaoyu Wang
6a50e9e271
Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize
2022-11-16 10:58:06 +08:00
Xiaoyu Wang
40c7562470
enh: optimize statement for querying the number of sub tables of the super table
2022-11-15 16:38:51 +08:00
Xiaoyu Wang
901c9b8f77
fix: some problems of parser
2022-11-14 16:53:01 +08:00
Xiaoyu Wang
38f20ec32d
enh: show table tags command extension
2022-11-10 17:22:13 +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
Xiaoyu Wang
02ac6fa552
enh: add unit test and delete useless code
2022-10-26 17:01:55 +08:00
Xiaoyu Wang
0fdce91b5a
fix: wrong permissions of 'show variables' command
2022-10-24 16:34:10 +08:00
dapan1121
a80f382c5d
fix: fix tsc query memory leak
2022-10-21 17:00:11 +08:00
Xiaoyu Wang
601f0f3edf
fix: handle coverity scan
2022-10-19 13:56:39 +08:00
Xiaoyu Wang
ab98754c56
Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize
2022-10-14 13:45:15 +08:00
Xiaoyu Wang
3cce178721
enh: do coverity scan
2022-10-13 16:43:56 +08:00
dapan1121
55a26990da
feat: support case when cases
2022-10-08 19:07:43 +08:00
Xiaoyu Wang
73642ac3a2
feat: sql command 'show table tags from table_name'
2022-09-29 16:16:49 +08:00
54liuyao
747297bd28
feat(stream): stream fill
2022-09-27 18:11:44 +08:00
Xiaoyu Wang
1d62834e5c
feat(stream): tag and child table name improvement
2022-09-26 18:39:47 +08:00
Xiaoyu Wang
50ebcb5006
feat: case when expression
2022-09-22 19:20:21 +08:00
Xiaoyu Wang
5116e0a01b
enh: added memory allocators for parser and planner
2022-09-21 17:04:12 +08:00
Xiaoyu Wang
a914816ce7
enh: added memory allocators for parser and planner
2022-09-21 11:28:34 +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
Xiaoyu Wang
8a010a58f3
enh: added memory allocators for parser and planner
2022-09-20 16:13:08 +08:00
Xiaoyu Wang
e2586979eb
enh: the delete physical plan increases the timestamp interval of the actual deleted data
2022-09-14 17:51:21 +08:00
54liuyao
83e62c3849
feat(stream):stream partition by column
2022-09-01 15:05:24 +08:00
freemine
0bcaf253df
fix leakage in `SFillLogicNode`
2022-08-20 16:47:22 +08:00
Haojun Liao
dc991a9040
other:merge 3.0
2022-08-12 14:51:52 +08:00
Xiaoyu Wang
4f0c6d3aa4
enh: show command optimize
2022-08-11 15:37:26 +08:00
Xiaoyu Wang
200b0cc93e
fix: sql command 'show create stable' error
2022-08-08 17:12:14 +08:00
Haojun Liao
0d60d54a4a
other: merge 3.0
2022-08-06 15:26:15 +08:00
Xiaoyu Wang
adc8bd236b
fix: some problems of parser
2022-08-02 20:55:25 +08:00
Xiaoyu Wang
f33959bd9b
fix: some problems of parser
2022-08-02 20:20:44 +08:00
Xiaoyu Wang
f8bd778979
enh: the fill physical scheme distinguishes between interpolated and non-interpolated expressions
2022-08-02 16:18:53 +08:00
dapan1121
6addac61f8
fix: fix client memory leak
2022-08-01 09:58:49 +08:00
Xiaoyu Wang
15a08b9999
fix: some problems of planner
2022-07-30 15:29:57 +08:00
Xiaoyu Wang
b08a28d559
fix: some problems of planner
2022-07-30 13:14:44 +08:00
Xiaoyu Wang
015193e816
feat: super table order by primary key optimization
2022-07-25 15:17:53 +08:00
Xiaoyu Wang
37ec05a715
fix: memory leak problems of parser and planner
2022-07-20 17:20:29 +08:00
Xiaoyu Wang
68dd74bcb3
Merge pull request #15117 from taosdata/feature/3.0_debug_wxy
...
feat: sql command 'show tags from table_name'
2022-07-19 19:49:59 +08:00
Xiaoyu Wang
5988fc0e4a
feat: sql command 'show tags from table_name'
2022-07-19 15:31:44 +08:00
dapan1121
03e9b15237
fix: fix taosc memory leak
2022-07-18 13:32:17 +08:00
dapan1121
077fbd6787
Merge pull request #15010 from taosdata/fix/TD-17460
...
fix: fix taosd mem leak
2022-07-18 09:18:43 +08:00
Xiaoyu Wang
43852a0e69
some problems of planner
2022-07-16 19:15:14 +08:00
dapan1121
9ec14ece62
fix: fix taosd mem leak
2022-07-16 18:58:29 +08:00
Xiaoyu Wang
e5e9252388
some problems of planner
2022-07-16 17:40:54 +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
Xiaoyu Wang
9887c63c5d
feat: support pseudo columns such as _qstart, _qend and _qduration
2022-07-13 19:03:40 +08:00
Xiaoyu Wang
4830b7d9d3
feat: support pseudo columns such as _qstart, _qend and _qduration
2022-07-13 18:12:02 +08:00
Xiaoyu Wang
43b5ca1efe
feat: support pseudo columns such as _qstart, _qend and _qduration
2022-07-13 15:13:01 +08:00
Xiaoyu Wang
8b89492101
fix: some problems of parser
2022-07-12 15:11:55 +08:00
Xiaoyu Wang
6a845b746c
fix: some problems of parser
2022-07-11 15:15:39 +08:00
Xiaoyu Wang
0bc700eb82
feat: sql command 'trim database'
2022-07-11 10:53:06 +08:00
Haojun Liao
916dbebb00
other: merge 3.0
2022-07-06 13:49:39 +08:00
Xiaoyu Wang
a67eb1a9a0
eat: sql command 'insert ... select'
2022-07-06 11:55:47 +08:00
Xiaoyu Wang
c8508248e2
feat: sql command 'insert ... select'
2022-07-05 21:12:10 +08:00
Haojun Liao
15d8ae0fee
other: merge 3.0
2022-07-05 19:22:50 +08:00
Haojun Liao
6bfe5df94a
other: merge 3.0
2022-07-05 09:47:39 +08:00
slzhou
024796599c
Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/push-cond-child-proj
2022-07-04 20:14:15 +08:00
slzhou
a380e0cd7c
feat: merge condition, on condition and other conditions
2022-07-04 19:49:16 +08:00
Hongze Cheng
ddb198de23
Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact
2022-07-04 03:42:50 +00:00
Xiaoyu Wang
246b3e245d
fix: a problem of group by tbname
2022-07-02 11:31:35 +08:00
Xiaoyu Wang
2a114a6b83
fix: a problem of group by tbname
2022-07-01 21:06:08 +08:00
wangmm0220
4e6b3d72ac
Merge branch '3.0' into feature/TD-13041
2022-07-01 16:54:18 +08:00
wangmm0220
085ace59e0
fix:to_json() function
2022-07-01 16:47:54 +08:00
slzhou
b6d6657174
feat: support push agg operator condition to scan
2022-06-30 15:14:16 +08:00
Xiaoyu Wang
11a8f7f04d
feat: sql command 'flush database'
2022-06-29 18:20:27 +08:00
Xiaoyu Wang
cd36807faf
feat: refactor the plan implementation of unique function
2022-06-27 21:30:20 +08:00
Xiaoyu Wang
a334337755
feat: merge and merge scan add group sort field
2022-06-27 15:57:02 +08:00
Xiaoyu Wang
7b60b3223b
feat: tail function rewrite to statement
2022-06-26 14:44:58 +08:00
Xiaoyu Wang
9c85131d22
Merge pull request #14219 from taosdata/feature/3.0_debug_wxy
...
feat: support partition by expression and aggregate function output together
2022-06-25 12:42:09 +08:00
wangmm0220
ff3cb336d8
fix:merge from 3.0
2022-06-24 16:01:58 +08:00
Xiaoyu Wang
ab23faed63
fix: planner memory leak
2022-06-24 15:52:13 +08:00
Xiaoyu Wang
28d66616e1
fix: fix invalid write
2022-06-24 10:48:49 +08:00
Xiaoyu Wang
0b9eb79bf7
merge 3.0
2022-06-23 18:08:47 +08:00
Xiaoyu Wang
4fcd667bf6
feat: sql command 'show consumers' and 'show subscriptions'
2022-06-23 18:03:15 +08:00
wangmm0220
c8f223a6ec
fix:merge from 3.0
2022-06-23 14:26:26 +08:00
WANG MINGMING
9012834531
Merge branch 'feature/3.0_wxy' into 3.0
2022-06-23 10:16:58 +08:00
Xiaoyu Wang
acd1bbd8e3
merge 3.0
2022-06-22 17:00:11 +08:00
Xiaoyu Wang
a5ca4965a4
feat: some sql syntax adjustments
2022-06-22 16:35:14 +08:00