54liuyao
3bbfb26e09
stream count window
2024-01-17 14:22:19 +08:00
kailixu
bf0205b54d
Merge branch '3.0' into feat/TD-27463-3.0
2024-01-17 11:29:47 +08:00
dapan1121
2fef37a5cc
Merge pull request #24315 from taosdata/fix/xsren/TD-28068/columnNodeRef2
...
fix: columanRefNode illegal type conversion
2024-01-16 10:08:34 +08:00
shenglian zhou
5bef3ab24f
feat: add phyiProjectCopy
2024-01-16 08:23:34 +08:00
shenglian zhou
9c9d9dc24b
fix: add input ignore group
2024-01-16 08:13:47 +08:00
wangmm0220
2ab54a1335
fix:conflicts from 3.0
2024-01-15 16:54:52 +08:00
fullhonest
cb2ab749b5
Fix TD-27003: use last row scan when select last_row, last
2024-01-15 15:22:29 +08:00
facetosea
1191902d38
fix error code and delete unused code
2024-01-15 13:06:22 +08:00
facetosea
c277abd3bf
fix: functionNode skip
2024-01-14 21:47:13 +08:00
kailixu
ddefc5f46a
chore: merge 3.0
2024-01-11 20:05:23 +08:00
factosea
c8fb8486ef
fix: SColumnRefNode disable
2024-01-10 19:07:21 +08:00
dapan1121
e784a5c210
Merge remote-tracking branch 'origin/3.0' into feat/TD-27337
2024-01-10 18:57:19 +08:00
factosea
d243308541
fix: colref
2024-01-10 09:04:40 +08:00
dapan1121
8e73bedbc7
enh: add join ut
2024-01-05 14:40:05 +08:00
factosea
b6b2a41d83
fix: columnrefnode
2024-01-03 18:30:57 +08:00
dapan1121
194b1f03ae
enh: support inner join
2023-12-26 19:28:19 +08:00
Bob Liu
15694df001
adjust
2023-12-25 11:54:10 +08:00
Bob Liu
c9b69316c1
calcNeedCountEmpty
2023-12-24 01:19:16 +08:00
Bob Liu
e3098accc4
support count empty table
2023-12-22 18:14:26 +08:00
dapan1121
bc38885856
Merge remote-tracking branch 'origin/3.0' into feat/TD-27337
2023-12-19 11:22:41 +08:00
kailixu
70006bb711
feat: support alter cluster
2023-12-18 16:34:31 +08:00
WANG MINGMING
6f23b63d9e
Merge branch '3.0' into feat/ly_multi_marks
2023-12-18 16:22:56 +08:00
kailixu
9fa90fc953
Merge branch '3.0' into feat/TD-27463-3.0
2023-12-18 14:20:10 +08:00
kailixu
b54f816c2a
feat: support uniq grant
2023-12-18 14:18:52 +08:00
dm chen
81767dfa32
Merge branch '3.0' into feat/TS-4229
2023-12-14 17:02:51 +08:00
dapan1121
6d24c08651
fix: compile errors
2023-12-14 14:13:01 +08:00
dapan1121
13ab89bd1b
Merge remote-tracking branch 'origin/3.0' into feat/TD-27337
2023-12-13 08:25:25 +08:00
dapan1121
8528fb7a15
Merge pull request #23963 from taosdata/enh/xsren/TD-22212/taosQueryParam3.0
...
enh: td-22212 taos query param3.0
2023-12-13 08:24:39 +08:00
slzhou
2743228217
Merge branch '3.0' of github.com:taosdata/TDengine into feat/TS-4229
2023-12-11 14:15:17 +08:00
wangmm0220
d1c2a03dc7
fix:conflicts from 3.0
2023-12-08 15:58:52 +08:00
factosea
f01241f720
Merge branch 'fix/xsren/TD-22212/taosQueryParam3.0' into enh/xsren/TD-22212/taosQueryParam3.0
2023-12-06 17:39:25 +08:00
Hongze Cheng
04e84ba152
Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4229
2023-12-06 16:43:00 +08:00
shenglian zhou
ac531c6d7f
enhance: add fileset delimited front end
2023-12-06 10:45:12 +08:00
wangmm0220
fc9dfc77d0
fix:add plan for multi agg operator in stream
2023-12-05 20:07:20 +08:00
dapan1121
f5aaa92a7e
enh: merge join
2023-12-01 18:33:50 +08:00
dapan1121
3b4a8f6ead
Merge remote-tracking branch 'origin/3.0' into feat/TD-27337
2023-12-01 08:33:04 +08:00
dapan1121
a09b9ac240
enh: push down conditions
2023-11-30 20:09:49 +08:00
Bob Liu
d5989b0f74
revert nodes func
2023-11-30 11:56:33 +08:00
dapan1121
abdf6d337a
enh: push down conditions
2023-11-29 20:06:30 +08:00
Bob Liu
084a0b1a65
Merge branch '3.0' into fix3.0/TS-4272
2023-11-29 15:46:20 +08:00
Bob Liu
5c5efa34eb
fix crash when insert big csv
2023-11-29 01:53:13 +08:00
dapan1121
84cc80be1c
fix: add window_offset translate
2023-11-28 14:35:11 +08:00
dapan1121
19752b020f
feat: support more join type
2023-11-27 20:01:00 +08:00
slzhou
878ab262e6
fix: show compact detail
2023-11-23 16:26:17 +08:00
slzhou
c53bd04894
feat: after select compacts
2023-11-23 15:26:21 +08:00
Bob Liu
146c36b0ad
rm unused
2023-11-20 19:25:31 +08:00
Bob Liu
ffc952e31e
adjust funcNodes init
2023-11-20 14:40:46 +08:00
Bob Liu
6e1e4702a5
adjust
2023-11-20 11:13:09 +08:00
Bob Liu
084d0ab367
fix destoryShowCreateTableStmt
2023-11-19 23:56:34 +08:00
Bob Liu
59a8fab0d7
adjust init funcNodes
2023-11-19 17:11:26 +08:00
Bob Liu
e453962271
rewrite nodes function
2023-11-19 16:31:47 +08:00
slzhou
9ad86d7753
commit: add create show stmt support
2023-11-16 11:41:02 +08:00
shenglian zhou
b51e4b18ce
feat: compact return id and kill compact id
2023-11-16 11:03:56 +08:00
Bob Liu
82ad690eb4
rewrite nodesNodeName
2023-11-13 20:20:45 +08:00
dapan1121
350fac01a0
Merge remote-tracking branch 'origin/3.0' into feat/TD-24802
2023-11-10 11:48:55 +08:00
wangjiaming0909
a6600ab23a
correct colid in blockinfo
2023-11-09 15:41:01 +08:00
dapan1121
49ebb7145e
enh: support split cache last and other functions
2023-11-08 18:42:41 +08:00
dapan1121
c2ec373557
Merge remote-tracking branch 'origin/3.0' into feat/TD-24802
2023-11-07 10:09:10 +08:00
dapan1121
0ed4d1507f
feat: support non_sort mode
2023-11-07 09:23:06 +08:00
xinsheng Ren
da24384f0e
Merge branch '3.0' into fix/xsren/TD-22212/taosQueryParam3.0
2023-11-04 17:41:41 +08:00
slzhou
4a2c52783b
Merge branch '3.0' of github.com:taosdata/TDengine into szhou/insert-stb-tbname
2023-11-01 14:10:02 +08:00
dapan1121
099f72e84a
fix: memory issues
2023-10-27 11:36:17 +08:00
facetosea
759a5d4bbf
fix ctest
2023-10-26 21:06:08 +08:00
slzhou
c17300557d
fix: memory sanitizer error of simple insert stb
2023-10-25 10:56:28 +08:00
dapan1121
dbbceae061
fix: union all view issue
2023-10-24 11:29:04 +08:00
dapan1121
42f440b0fb
Merge remote-tracking branch 'origin/3.0' into feat/TD-25204
2023-10-20 08:46:32 +08:00
dapan1121
478de7ae56
feat: add show create view implement
2023-10-11 10:38:22 +08:00
dapan1121
d229492616
Merge remote-tracking branch 'origin/3.0' into feat/TD-25204
2023-10-09 18:34:08 +08:00
dapan1121
6c8db261f3
feat: support show views command
2023-10-09 17:19:36 +08:00
slzhou
1aad905558
fix: collection functions hash set distinct error
2023-10-08 15:55:01 +08:00
slzhou
fb62588dd3
fix: nodesIsStar and nodesIsTableStar
2023-09-22 15:26:39 +08:00
dapan1121
a61d90f672
enh: remove column list
2023-09-22 11:36:53 +08:00
slzhou
9bb628650c
fix: pass basic test
2023-09-22 10:13:17 +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
f4dbd5d9c9
enhance: show normal/child tables and show user/system databases
2023-09-19 16:14:17 +08:00
wangjiaming0909
1e53e6cfeb
optimize count()/last() + partition by tbname/tag
2023-09-19 14:56:02 +08:00
dapan1121
b9d554275c
Merge remote-tracking branch 'origin/3.0' into feat/TD-25204
2023-09-19 14:21:00 +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
dapan1121
8ef01584ee
Merge pull request #22629 from taosdata/feat/TD-25620
...
feat: optimize partition node, replace with sort node
2023-09-14 17:26:15 +08:00
wangjiaming0909
cb78c54d72
optimize sort perf
2023-09-13 18:37:42 +08:00
wangjiaming0909
4a131000e4
fix: data error of partition by col + interval
2023-09-07 10:49:09 +08:00
wangjiaming0909
2c4e0fee07
feat: optimize partition node, replace with sort node
2023-09-05 10:53:30 +08:00
slzhou
f41783c73f
fix: address sanitizer error
2023-08-30 17:12:12 +08:00
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
73d7caa63a
fix: remove uid from scan list
2023-08-16 19:12:32 +08:00
dapan1121
143c657571
Merge remote-tracking branch 'origin/3.0' into feat/TD-24700
2023-08-16 14:50:31 +08:00
dapan1121
91d6734b34
fix: join condition push down issue
2023-08-16 14:28:39 +08:00
dapan1121
a6ecb7253e
Merge pull request #22390 from taosdata/feat/3.0/TD-25365
...
feat: optimize select agg_func partition by tag slimit
2023-08-16 13:32:58 +08:00
wangjiaming0909
e587cc50e6
feat: optimize select agg_func partition by tag slimit
2023-08-16 11:20:56 +08:00
slzhou
4fdaaba3ce
Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tag-scan-opt
2023-08-15 17:18:25 +08:00
slzhou
49e4b11547
fix: fix compilation error
2023-08-15 17:00:53 +08:00
slzhou
450d7e2d3c
enhance: compilation error
2023-08-15 16:56:15 +08:00
shenglian zhou
84e472ad03
enhance: tag cond col list only once and tag scan derive from scan
2023-08-15 16:10:54 +08:00
dapan1121
8fc0f1bbd6
Merge remote-tracking branch 'origin/3.0' into feat/TD-24700
2023-08-15 09:00:53 +08:00
slzhou
012248b681
fix: move the only ctb idx flag to logical plan
2023-08-14 19:26:53 +08:00
dapan1121
6a78053b51
feat: add hint supporting
2023-08-14 17:21:15 +08:00
slzhou
6688d70ba4
fix: fix planner test error
2023-08-13 18:46:55 +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
shenglian zhou
1c7f854a71
enhance: add only meta ctb index to tag scan physi node
2023-08-11 14:47:28 +08:00
dapan1121
1aac643a9b
enh: support single vnode join
2023-08-09 10:30:35 +08:00
dapan1121
e83a46b88f
enh: cache necessary file for seq mode
2023-07-26 19:17:59 +08:00
dapan1121
4f75eb5655
Merge remote-tracking branch 'origin/3.0' into feat/TD-24700
2023-07-24 11:43:15 +08:00
wangjiaming0909
7d850c1a5e
feat: optimize partition by tbname slimit
2023-07-20 15:07:55 +08:00
dapan1121
c45359c989
enh: add batch table scan
2023-07-19 10:37:30 +08:00
dapan1121
a1e18ac898
fix: fix global cache issue
2023-07-17 09:25:28 +08:00
dapan1121
188df1d675
fix: fix bugs
2023-07-14 19:36:56 +08:00
dapan1121
2312f10372
enh: support concurrent fetch from group cache
2023-07-14 13:30:13 +08:00
dapan1121
a42bd9e478
Merge remote-tracking branch 'origin/3.0' into feat/TD-24700
2023-07-11 19:34:39 +08:00
wangjiaming0909
1d7515213b
feat: 1. add limit for diskBasedBuf
...
2. use referenced tuple before actually pushing into pq
3. use limitInfo instead of maxRows in sort pyhsical node
2023-07-11 14:16:20 +08:00
dapan1121
5b5b5648ac
Merge remote-tracking branch 'origin/3.0' into feat/TD-24700
2023-07-07 19:32:50 +08:00
dapan1121
779224f0a6
fix: fix bugs
2023-07-06 19:33:31 +08:00
wangjiaming0909
1f71ce9409
feature: get last timestamp before create sma index
2023-07-06 10:33:22 +08:00
dapan1121
ac35ae9839
feat: add dynamic query ctrl operator
2023-07-03 19:29:46 +08:00
dapan1121
60290b98e4
feat: add group cache operator
2023-06-30 19:20:36 +08:00
dapan1121
226ee06209
enh: add physical plan processing
2023-06-29 19:28:32 +08:00
dapan1121
9f0da17c49
Merge remote-tracking branch 'origin/3.0' into feat/TD-24700
2023-06-28 19:40:55 +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
wangjiaming0909
57ddb3437d
feature: optimize order by limit using priority queue
2023-06-27 17:50:50 +08:00
dapan1121
ce2635074d
enh: add uid/vgid functions
2023-06-26 11:48:47 +08:00
Ganlin Zhao
77d2737f91
fix: fix userAlias issue when keepColumnName is set to true
2023-06-25 17:51:51 +08:00
wangjiaming0909
fb4f174fbc
feature: add input, output ts order for execution plans
2023-06-16 10:26:09 +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
dapan1121
ddd3a53e56
Merge remote-tracking branch 'origin/3.0' into fix/TD-24001
2023-06-02 13:57:34 +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
dapan1121
e70c433a59
enh: support time line query from union/union all subquery
2023-05-26 08:44:23 +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
4c88fd08de
Merge remote-tracking branch 'origin/3.0' into fix/TD-24001
2023-05-23 09:25:37 +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
wade zhang
1ade314043
Merge pull request #21325 from taosdata/feat/force-drop-dnode
...
Feat/force drop dnode
2023-05-19 09:23:54 +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
dapan1121
ab7cb995a2
fix: join push down condition issue
2023-05-17 15:31:53 +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
dapan1121
cf7b4593e7
feat: add drop dnode unsafe command
2023-05-16 09:50:10 +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
yihaoDeng
5708fcb5cb
Merge branch 'enh/3.0' into enh/rocksdbSstateMerge
2023-05-10 08:02:16 +00:00