Commit graph

5189 commits

Author SHA1 Message Date
slzhou
0a567252f5 fix: oom issue since table merge scan 2023-06-17 18:50:33 +08:00
wangjiaming0909
61309862c2 fix comments of TD-24656 2023-06-16 18:12:02 +08:00
Ganlin Zhao
9cddf06053 handle 0 result case for groups 2023-06-16 16:11:56 +08:00
Ganlin Zhao
e4c9a7474e remove test code 2023-06-16 14:58:23 +08:00
Ganlin Zhao
e74c0ac987 save index instead of ts 2023-06-16 14:11:19 +08:00
dapan1121
bb8840d4ec
Merge pull request #21749 from taosdata/szhou/fix-ts3543
fix: table merge scan oom with muliti-level merge sort
2023-06-16 14:05:25 +08:00
dapan1121
9a3781ea19
Merge pull request #21743 from taosdata/fix/td-24784
fix: cleanup datablock so that varmeta length is right
2023-06-16 13:20:56 +08:00
wade zhang
d5f37359f4
Merge pull request #21722 from taosdata/fix/TD-24761
fix(tsdb/cache): rewrite cache update to fix cpu usage
2023-06-16 11:52:02 +08:00
wangjiaming0909
fb4f174fbc feature: add input, output ts order for execution plans 2023-06-16 10:26:09 +08:00
Ganlin Zhao
fe2629d061 Merge branch '3.0' into feat/TD-22193 2023-06-16 10:16:51 +08:00
Haojun Liao
933801269a fix(stream): fix memory leak and failed to close vnode. 2023-06-16 09:55:11 +08:00
slzhou
e35553d6a0 fix: fix memory sanitizer error 2023-06-16 09:02:15 +08:00
shenglian zhou
376688479c fix: remove multi-reader since two level merge is used 2023-06-16 09:00:50 +08:00
slzhou
0b61b88c10 fix: fix oom issue 2023-06-16 09:00:31 +08:00
dapan1121
e6afcbf07f feat: hash join init version 2023-06-15 19:34:15 +08:00
Haojun Liao
f3df37bf28 fix(stream): fix memory leak. 2023-06-15 17:56:58 +08:00
Minglei Jin
158ae209bf cache/lru: new applyF API for tlrucache 2023-06-15 16:34:51 +08:00
shenglian zhou
b7165da5e3 fix: cleanup datablock so that varmeta length is right 2023-06-15 16:10:28 +08:00
Haojun Liao
74e0138f72 Merge branch '3.0' into refact/fillhistory 2023-06-15 15:25:00 +08:00
liuyao
693942b821 trans state 2023-06-15 14:13:17 +08:00
Haojun Liao
1b9eca5ce0 other: merge main. 2023-06-15 13:03:17 +08:00
Haojun Liao
55724157c4 refactor: remove one function. 2023-06-15 10:40:25 +08:00
Haojun Liao
7c6fbd7772 enh(stream): do some internal refactor and support secondary scan for history data. 2023-06-14 14:10:09 +08:00
yihaoDeng
ed33e6ea43 change log level when filter tag 2023-06-13 07:06:08 +00:00
slzhou
13ddd37529 fix: fix memory sanitizer error 2023-06-13 14:51:41 +08:00
liuyao
c58bde9715 stream operator fill history 2023-06-13 10:57:36 +08:00
yihaoDeng
8dc6d1cc6a change log level when filter tag 2023-06-13 01:51:22 +00:00
dapan1121
7956a8c420 fix: row size too big issue 2023-06-09 13:49:25 +08:00
Haojun Liao
53246ed6bb other: merge other branch. 2023-06-09 09:41:10 +08:00
Ganlin Zhao
bef6214904 remove test code 2023-06-08 19:30:05 +08:00
Ganlin Zhao
145bb93967 fix block only have one row 2023-06-08 19:21:04 +08:00
Haojun Liao
c9aa59cbb9 refactor: do some internal refactor. 2023-06-08 18:59:25 +08:00
Ganlin Zhao
21fccc2d48 fix switchin group issue 2023-06-08 18:25:32 +08:00
Ganlin Zhao
7ee05df7c6 fix lastBlock remain ts not saved 2023-06-08 17:46:25 +08:00
Ganlin Zhao
b4c2085ddc feat: add pipeline processing for timeslice operator 2023-06-08 16:32:35 +08:00
Haojun Liao
2b6ace653a refactor: do some internal refactor. 2023-06-08 16:14:27 +08:00
dapan1121
a9ed1f6d46
Merge pull request #21567 from wangjiaming0909/fix/3.0/TD-24525
fix: prevent projectoperator scanning all rows when limit with no group
2023-06-08 15:14:48 +08:00
Haojun Liao
f582705feb refactor: do some internal refactor. 2023-06-08 14:18:06 +08:00
dapan1121
958160be0b
Merge pull request #21599 from taosdata/enh/TD-24274
enh: enable interp fill value support scarlar expression
2023-06-08 10:39:38 +08:00
dapan1121
6c74282946
Merge pull request #21597 from taosdata/enh/TD-24586
enh: optimize filter performance
2023-06-08 09:05:56 +08:00
Ganlin Zhao
c612d945ec fix fill value bug 2023-06-07 18:27:29 +08:00
dapan1121
a4f5bac344
Merge pull request #21606 from taosdata/szhou/fix-ts3498
fix: rewrite count(*) to count(1) for temp table
2023-06-07 15:56:50 +08:00
dapan1121
47c891fbc5 Merge remote-tracking branch 'origin/main' into enh/TD-24586 2023-06-07 09:27:56 +08:00
liuyao
2ab43ca0d0 semi interval op check data ts 2023-06-07 09:24:17 +08:00
Haojun Liao
6a3c935b4a fix(stream): fix error in fill history scan. 2023-06-07 09:15:55 +08:00
wangjiaming0909
3cb64f3775 fix: prevent projectoperator scanning all rows when limit with no group 2023-06-06 19:28:55 +08:00
liuyao
bff2aae354 fix stream ci issue 2023-06-06 19:18:43 +08:00
liuyao
49ca147c47 fix stream ci issue 2023-06-06 19:18:43 +08:00
dapan1121
a0428387a9 enh: corrent column data reassign issue 2023-06-06 16:44:15 +08:00
liuyao
201d0f2d18 fix stream ci issue 2023-06-06 16:37:08 +08:00
dapan1121
65d323d9c7
Merge pull request #21222 from taosdata/fix/TD-24001
enh: optimize timeline function validation
2023-06-06 14:22:53 +08:00
dapan1121
02b1257b01 enh: reassign data column in blocks 2023-06-06 11:17:02 +08:00
slzhou
e2ac3d00ad fix: fix mem leak 2023-06-06 10:20:52 +08:00
dapan1121
7381209618 enh: optimize filter performance 2023-06-05 16:08:11 +08:00
Haojun Liao
fcc706c45c enh(stream): refactor the fill history task. 2023-06-05 15:59:01 +08:00
Minglei Jin
d02746d86f fix(query/sys): pause/resume with sys scan operator 2023-06-05 15:24:39 +08:00
dapan1121
532e02fb2a enh: improve filter performance 2023-06-05 10:47:15 +08:00
Haojun Liao
044e56fc97
Merge branch '3.0' into fix/resume_mem 2023-06-03 12:19:17 +08:00
Haojun Liao
cb7bb954b5
Merge pull request #21577 from taosdata/fix/TD-24515
reset unclosed window info
2023-06-03 11:21:06 +08:00
Haojun Liao
cca69f3038 Merge branch '3.0' into fix/resume_mem 2023-06-02 18:40:48 +08:00
liuyao
17f2c3f882 reset wind info 2023-06-02 18:27:22 +08:00
Haojun Liao
3d7defa881 refactor: do some internal refactor. 2023-06-02 15:43:38 +08:00
Haojun Liao
2edba85efe refactor: do some internal refactor. 2023-06-02 15:27:44 +08:00
Haojun Liao
bcd8867fb2 refactor: do some internal refactor. 2023-06-02 15:27:14 +08:00
Haojun Liao
76106165da other: add some logs. 2023-06-02 15:13:25 +08:00
yihaoDeng
f59161464d avoid mem leak 2023-06-02 06:48:26 +00:00
dapan1121
ddd3a53e56 Merge remote-tracking branch 'origin/3.0' into fix/TD-24001 2023-06-02 13:57:34 +08:00
Haojun Liao
cce87a036f other: merge 3.0. 2023-06-02 13:34:20 +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
f1bd829977 refactor: do some internal refactor. 2023-06-02 13:10:54 +08:00
dapan1121
7df4f8a89e
Merge pull request #21556 from taosdata/fix/TD-24489
fix: fix interval operator ensure capacity logic
2023-06-02 11:52:25 +08:00
Haojun Liao
b5d87b1d5c
Merge pull request #21564 from taosdata/fix/TD-24565
set recover scan version
2023-06-02 11:20:53 +08:00
Haojun Liao
27b7d1ec88 refactor: do some internal refactor. 2023-06-02 11:17:44 +08:00
liuyao
274771d7b4 TD-24565 2023-06-02 10:08:07 +08:00
Haojun Liao
fca91b3c0b
Merge pull request #21558 from taosdata/fix/TD-24520
reset sream fill block index
2023-06-02 09:04:38 +08:00
Haojun Liao
bbf3f1ccd9 fix(query): add more check. 2023-06-02 00:22:35 +08:00
Haojun Liao
403617976c fix(query): fix error in fill. 2023-06-01 22:45:03 +08:00
Haojun Liao
1036259a7b fix(query): fix error in fill. 2023-06-01 18:25:05 +08:00
jiajingbin
2935ebcfc4 set session update info 2023-06-01 17:26:03 +08:00
liuyao
64656a59d9 reset sream fill block index 2023-06-01 16:28:32 +08:00
Haojun Liao
706e350217 fix(query): fix error in fill and partition. 2023-06-01 14:36:42 +08:00
Ganlin Zhao
6517ede044 fix: fix interval operator ensure capacity logic 2023-06-01 11:23:31 +08:00
Haojun Liao
5d98a319c7
Merge pull request #21515 from taosdata/feature/TD-19042
feat: support create topic as stable with conditions
2023-06-01 09:56:55 +08:00
Haojun Liao
5301c5756a other: merge main into 3.0. 2023-06-01 09:29:18 +08:00
Haojun Liao
46f731e4d9
Merge pull request #21551 from taosdata/fix/resume_mem
fix(query): check the version range when dump partial rows. #TD-24504
2023-05-31 21:51:07 +08:00
Haojun Liao
87deb36f8a refactor: do some internal refactor. 2023-05-31 19:36:02 +08:00
liuyao
7d699ae579 fix sliding window issue 2023-05-30 15:16:11 +08:00
wangmm0220
8835028002 fix:deal with node is null 2023-05-30 10:21:18 +08:00
wangmm0220
d490ca753f Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/TD-19042 2023-05-30 09:48:49 +08:00
wangmm0220
16e14b1c82 fix:compile error 2023-05-29 17:27:35 +08:00
wangmm0220
41ed0138b4 fix:compile error 2023-05-29 17:25:11 +08:00
wangmm0220
07bdb95b1a fix:compile error 2023-05-29 17:10:11 +08:00
kailixu
f984e67eaa fix(query): invalid buffer page 2023-05-29 16:04:35 +08:00
Haojun Liao
2ac83ec9c7
Merge pull request #21511 from taosdata/refact/fillhistory
refactor: do some internal refactor.
2023-05-29 15:43:40 +08:00
wangmm0220
78db3520a6 fix:conflict 2023-05-29 14:57:03 +08:00
kailixu
3bbf5405c6 fix(query): invalid buf page 2023-05-29 14:36:29 +08:00
wangmm0220
a71878d07f feat: support create topic as stable with conditions 2023-05-29 11:46:59 +08:00
Haojun Liao
8f61e2d6ef refactor: do some internal refactor. 2023-05-29 10:50:50 +08:00
Haojun Liao
953a69a829 refactor: do some internal refactor. 2023-05-29 10:12:27 +08:00
dapan1121
e2d45438cb
Merge pull request #21405 from taosdata/szhou/scl-flt
enhance: scalar filter improvement
2023-05-28 18:49:39 +08:00
slzhou
70bcbafbb8 fix: json value length is not same as binary/nchar length 2023-05-26 13:36:56 +08:00
slzhou
81c796953e fix: address sanitizer error 2023-05-26 10:55:52 +08:00
Haojun Liao
cea8334427
Merge pull request #21449 from taosdata/refact/fillhistory
refactor: remove the module dependency.  TD-24279
2023-05-26 09:01:45 +08:00
dapan1121
e70c433a59 enh: support time line query from union/union all subquery 2023-05-26 08:44:23 +08:00
Haojun Liao
e24ce2111f fix: set function ptr. 2023-05-26 00:00:07 +08:00
Haojun Liao
c3be7b14be fix: set correct function ptr. 2023-05-25 17:51:03 +08:00
Haojun Liao
0966213847 fix(arch): set the correct module api dependency. 2023-05-25 14:21:40 +08:00
Haojun Liao
da9f33a483 fix: fix error in set function ptr. 2023-05-25 09:56:34 +08:00
liuyao
1f81642303 fix sma sliding window 2023-05-25 09:12:10 +08:00
Haojun Liao
4a42f6b983 fix: fix error in api call. 2023-05-25 00:50:03 +08:00
Haojun Liao
a9b18d203d fix:fix error. 2023-05-24 23:49:26 +08:00
Haojun Liao
ab907e3344 fix(query): fix syntax error. 2023-05-24 21:53:40 +08:00
dapan1121
137a9eb602
Merge pull request #21455 from taosdata/enh/add_varchar_sma
fix: fix count var type error
2023-05-24 18:41:01 +08:00
wangmm0220
8537e4e80e feat:add tag filter for stable subscribe 2023-05-24 18:26:55 +08:00
Haojun Liao
fe09705855 fix: set the init function pointer. 2023-05-24 17:13:20 +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
Ganlin Zhao
89bea7100f fix: fix count var type error 2023-05-24 00:31:05 -07:00
Haojun Liao
1f7f326bed refactor: do some internal refactor and set the api function ptr. 2023-05-24 13:22:05 +08:00
wangjiaming0909
9a421a92f9 fix: core dump when select with interval caused by order 2023-05-24 10:32:10 +08:00
Haojun Liao
66477a28ca refactor: do some internal refactor. 2023-05-23 19:10:50 +08:00
Haojun Liao
85afbf0d35 refactor: do some internal refactor. 2023-05-23 18:58:54 +08:00
Haojun Liao
a63473b1cc refacotor: do some internal refactor. 2023-05-23 18:54:32 +08:00
Haojun Liao
c66c0c4dfd refactor: do some internal refactor. 2023-05-23 18:42:52 +08:00
Haojun Liao
3d084adf1f Merge remote-tracking branch 'origin/refact/fillhistory' into refact/fillhistory
# Conflicts:
#	source/dnode/vnode/inc/vnode.h
#	source/libs/executor/src/executil.c
#	source/libs/index/CMakeLists.txt
#	source/libs/index/src/indexFilter.c
2023-05-23 18:32:47 +08:00
Haojun Liao
e67b532d8a refactor: refactor the module dependency. 2023-05-23 18:29:23 +08:00
yihaoDeng
c15b1e3520 opt compile 2023-05-23 11:46:02 +08:00
Haojun Liao
f520de0dab refactor: adjust the module dependency. 2023-05-22 10:07:01 +08:00
Hui Li
3f824e2045
Merge pull request #21355 from taosdata/mark/tmq
fix:error in pHandle lock
2023-05-22 08:57:45 +08:00
dapan1121
8fe62bb0e1
Merge pull request #21391 from taosdata/fix/TD-24278
fix: fix assert crash in tsort.c
2023-05-20 14:15:19 +08:00
dapan1121
70444e2d82
Merge pull request #21329 from taosdata/feat/TD-21187
feat(query): interp support ignore null value opition
2023-05-20 14:14:21 +08:00
dapan1121
d801aaa2e6
Merge pull request #21352 from taosdata/fix/TD-24218
fix: fix interp in nested query and fill value with string issue
2023-05-20 14:10:26 +08:00
dapan1121
c0d3da9b32
Merge pull request #21382 from taosdata/szhou/fix-td24277
fix: result block ensure capacity when finalize may produce serveral …
2023-05-20 14:08:41 +08:00
wangmm0220
04858fae22 fix:tsdbreader is free by mistake 2023-05-20 12:20:54 +08:00
wangmm0220
f8de38e532 fix:core dump in tsdbreader is null when tsdbreader is closed by subscribe msg and current offset equal to saved 2023-05-19 22:52:58 +08:00
Haojun Liao
200c1a367b
Merge pull request #21378 from taosdata/fix/nodisk
fix(query): do some internal refactor, and fix the bug when calender duration exists in sliding and offset.
2023-05-19 19:30:04 +08:00
Ganlin Zhao
709b59a3a6 fix: fix assert crash in tsort.c 2023-05-19 17:27:15 +08:00
wangmm0220
ff2b545b27 fix:set task status killed when vnode receive subscribe msg from mnode 2023-05-19 17:16:47 +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
wangmm0220
238254e49e fix:add task status check in doQueueScan & checkout consumer in tqProcessPollReq 2023-05-19 14:06:43 +08:00
slzhou
7218a03487 fix: result block ensure capacity when finalize may produce serveral rows 2023-05-19 11:16:31 +08:00
Haojun Liao
93c4e3fe70 other: remove empty files. 2023-05-19 09:12:16 +08:00
Haojun Liao
1e020a46c9 other: merge main. 2023-05-19 09:07:35 +08:00
Haojun Liao
d4b0e102af fix:do some internal refactor. 2023-05-19 08:55:59 +08:00
dapan1121
386b8484ba
Merge pull request #21328 from taosdata/szhou/fix-ts3405
fix: join improvement
2023-05-19 08:51:06 +08:00
Haojun Liao
c4c5bbb65c other: merge 3.0 2023-05-18 17:28:40 +08:00
Haojun Liao
dbd52ecffa
Merge pull request #21364 from taosdata/enh/rocksdbSstate
state merge into 3.0
2023-05-18 17:25:44 +08:00
Haojun Liao
84a81716b3
Merge branch '3.0' into feature/3_liaohj 2023-05-18 17:00:56 +08:00
Haojun Liao
8a328b6636 fix(stream): fix error in stream read. 2023-05-18 16:59:18 +08:00
slzhou
4db88e8ffe fix: fix ci comments 2023-05-18 15:45:58 +08:00
dapan1121
b2333b7f15
Merge pull request #21363 from taosdata/fix/TD-24246
fix: fill window end issue
2023-05-18 15:36:52 +08:00
yihaoDeng
9380b22394 merge 3.0 2023-05-18 05:46:38 +00:00
slzhou
51cb79fc1d fix: set rightUseBuildTable correctly 2023-05-18 13:28:46 +08:00
slzhou
304423e27b Merge branch 'main' of github.com:taosdata/TDengine into szhou/fix-ts3405 2023-05-18 13:27:58 +08:00
slzhou
7102c107eb fix: remove parameter of filling build table 2023-05-18 13:19:52 +08:00
Haojun Liao
5d5b2bb16a refactor: do some internal refactor. 2023-05-18 12:59:19 +08:00
shenglian zhou
d7f8757844 fix: memory leak 2023-05-18 11:23:50 +08:00
shenglian zhou
14d4a81e75 fix: build hash table is created during creating join operator 2023-05-18 11:15:04 +08:00
shenglian zhou
ee16b46112 fix: remove group keys from join operator 2023-05-18 10:46:19 +08:00
dapan1121
8994081592 fix: memory size overflow issue 2023-05-18 10:25:10 +08:00
dapan1121
e494c99839 fix: fill window end issue 2023-05-17 19:35:57 +08:00
Haojun Liao
b9c6e2a294 fix(stream): fix syntax error. 2023-05-17 18:47:13 +08:00
Haojun Liao
ffee5ebc61 Merge branch '3.0' into feature/3_liaohj 2023-05-17 17:47:44 +08:00
Ganlin Zhao
90ef52f40d fix fill(value, string) issue 2023-05-17 17:11:02 +08:00
Haojun Liao
041ffa91bd other: merge main. 2023-05-17 15:42:15 +08:00
Haojun Liao
366cd1871a
Merge pull request #21314 from taosdata/fix/liaohj_main
fix(stream):extract delete msg from wal.
2023-05-17 14:52:49 +08:00
dapan1121
fb7a06e06e
Merge pull request #21271 from taosdata/enh/tsbsPerf.4
Enh/tsbs perf.4
2023-05-17 11:00:14 +08:00
Haojun Liao
f3f52c0232 fix(stream): add some logs and set the wal offset to be the ended version when finishing the step2 recover stage. 2023-05-17 10:43:23 +08:00
Ganlin Zhao
727a628861 Merge branch '3.0' into feat/TD-21187 2023-05-17 10:34:38 +08:00
slzhou
03e77288e8 fix: add on conditions null check and rightRowLocations no longer hides the outer scope rightRowLocations 2023-05-17 10:07:19 +08:00
Haojun Liao
d457b84aba
Merge pull request #21311 from taosdata/mark/tmq
fix:add lock to pHandle for safety
2023-05-17 09:11:39 +08:00
shenglian zhou
568725a245 fix: using right rows to build hash table when the tag equal cond is not null and same ts row row number is greater than 16 2023-05-17 08:33:47 +08:00
dapan1121
df973ce28e fix: remove debug info 2023-05-16 18:37:00 +08:00
Ganlin Zhao
375aa2f26b feat(query): interp support ignore null value opition 2023-05-16 16:33:28 +08:00
shenglian zhou
c6555c3b37 fix: join operator finished 2023-05-16 16:25:55 +08:00
dapan1121
de45d163ca fix: compile issue 2023-05-16 14:18:23 +08:00
dapan1121
e7df9b8fa0 enh: optimize copy group result 2023-05-16 14:12:48 +08:00
Haojun Liao
e35d145734 fix(stream): fix memory leak. 2023-05-16 13:59:13 +08:00
Ganlin Zhao
6cd9fac7da fix linear interpolation bugs 2023-05-16 11:30:08 +08:00
wangmm0220
36454c73ed fix:add lock to pHandle for safety 2023-05-15 18:38:14 +08:00
Ganlin Zhao
23c1aa2db0 fix: fix multithread issue in destroyTimesliceOperator 2023-05-15 17:55:37 +08:00
liuyao
502efb3d01 op stream selectivity buff 2023-05-15 16:26:24 +08:00
Ganlin Zhao
b1ead824f8 fix: fix linear interpolation error 2023-05-15 14:26:09 +08:00
liuyao
a6570a4327 Merge branch 'enh/rocksdbSstate' of https://github.com/taosdata/TDengine into enh/rocksdbSstate 2023-05-15 11:19:55 +08:00
liuyao
9258dcd740 fix:mem leak 2023-05-15 11:19:17 +08:00
Haojun Liao
170c603995 other: merge 3.0 2023-05-13 20:16:55 +08:00
Haojun Liao
99148d6719 other: merge 3.0 2023-05-13 20:02:48 +08:00
Haojun Liao
236926b9ee other: merge enh/rocksdbstate 2023-05-13 19:49:28 +08:00
Haojun Liao
1975e94501 Merge branch 'main' into enh/rocksdbSstate 2023-05-13 19:41:03 +08:00
Haojun Liao
5b2ef2a675 other: merge main and remove invalid return data for poll. 2023-05-13 02:31:39 +08:00
dapan1121
69795286fa Merge remote-tracking branch 'origin/main' into enh/tsbsPerf.4 2023-05-12 13:46:16 +08:00
Haojun Liao
43e06b9132 Merge branch '3.0' into feature/3_liaohj 2023-05-12 13:36:02 +08:00
dapan1121
0dd0b16842 enh: optimize table scan for last query 2023-05-12 13:30:17 +08:00
Haojun Liao
7ef16e1922 other: merge main. 2023-05-12 11:49:53 +08:00
dapan1121
9394afec68
Merge pull request #21144 from taosdata/feat/TD-19801
feat(query): support interp with super table
2023-05-12 11:37:20 +08:00
Ganlin Zhao
83e049812c fix asan error 2023-05-12 10:21:01 +08:00
liuyao
8b7b804606 opt partition by tbname 2023-05-11 18:47:27 +08:00
Ganlin Zhao
3bf9cb2d78 fix 2023-05-11 17:28:46 +08:00
Ganlin Zhao
788b521592 Revert "fix"
This reverts commit 9ce1e8ccf4.
2023-05-11 17:20:58 +08:00
Haojun Liao
a76e47ef54 refactor: add some logs. 2023-05-11 14:19:27 +08:00
Haojun Liao
f0f90888ab refactor: update some logs. 2023-05-11 13:48:50 +08:00
Ganlin Zhao
9ce1e8ccf4 fix 2023-05-11 13:23:40 +08:00
Haojun Liao
28c43f0151 fix(stream): add null check. 2023-05-11 11:36:27 +08:00
Haojun Liao
8a1b0ed052 refactor: do some internal refactor. 2023-05-11 10:35:09 +08:00
Haojun Liao
b02b3117b5 refactor: do some internal refactor. 2023-05-11 10:14:29 +08:00
Ganlin Zhao
121564de2f add threshold for group result 2023-05-11 10:04:25 +08:00
Haojun Liao
dbd79cc80c refactor: do some internal refactor. 2023-05-10 22:22:01 +08:00
Ganlin Zhao
37d607c820 enh: remove group_key from subsidiaries if multiple select function
presents
2023-05-10 18:51:21 +08:00
yihaoDeng
5708fcb5cb Merge branch 'enh/3.0' into enh/rocksdbSstateMerge 2023-05-10 08:02:16 +00:00
Ganlin Zhao
523f08fe4b return result after finish processing of each group 2023-05-10 11:18:42 +08:00
liuyao
62ccd4bf16 avoid delete data 2023-05-10 09:11:04 +08:00
yihaoDeng
711c475693 fix invalid free 2023-05-09 10:34:14 +00:00
dapan1121
52fd6a84ac enh: support db cfg cache update 2023-05-09 17:04:20 +08:00
yihaoDeng
55014aa003 Merge branch 'enh/rocksdbSstate' into enh/rocksdbSstateMerge 2023-05-09 08:58:51 +00:00
Ganlin Zhao
e1140d4c15 optimize duplicate timestamp check 2023-05-09 15:05:41 +08:00
Ganlin Zhao
4693c22970 optimize group key storage 2023-05-09 14:06:09 +08:00
wade zhang
ebdc1a3234
Merge pull request #20996 from taosdata/fix/TD-23623
enh(cache/rocks): base for rocks put/get
2023-05-09 13:27:33 +08:00
dapan1121
a1eefd25ea fix: count wrong group number issue 2023-05-09 11:33:47 +08:00
Ganlin Zhao
3b10ac29ce use functionType instead of functionName 2023-05-09 11:09:29 +08:00
liuyao
eb52e73305 Merge branch 'enh/rocksdbSstate' of https://github.com/taosdata/TDengine into enh/rocksdbSstate 2023-05-08 09:54:00 +08:00
liuyao
fc8cab6fe1 recover setSelectValueColumnInfo 2023-05-08 09:53:27 +08:00
Yihao Deng
cb223acf82
Merge branch 'main' into enh/rocksdbSstate 2023-05-08 09:45:27 +08:00
yihaoDeng
08c3a63341 Merge branch 'enh/standVer' into enh/rocksdbSstateMerge 2023-05-06 12:37:54 +00:00
dapan1121
c83367e455 enh: add table group cache 2023-05-06 19:24:47 +08:00
Haojun Liao
c6007d53e8
Merge pull request #21190 from taosdata/fix/TS-3347
fix:[TS-3347]set ver to first version if version stored is smaller th…
2023-05-06 18:51:49 +08:00
dapan1121
1de5f84536
Merge pull request #21184 from taosdata/fix/TD-23898-a
fix: fix taosd not exit when press ctrl+c
2023-05-06 17:46:38 +08:00
liuyao
6ceda68365 opt selectivity function 2023-05-06 17:42:38 +08:00
wangmm0220
ee32620808 fix:[TS-3347]set ver to first version if version stored is smaller than first version in wal when subscribe db 2023-05-06 16:22:30 +08:00
Minglei Jin
596bee8028 Merge branch '3.0' into fix/TD-23623 2023-05-06 16:07:26 +08:00
Ganlin Zhao
33d4e0cc67 fix: fix taosd not exit when press ctrl+c 2023-05-06 15:03:17 +08:00
Haojun Liao
da6212bab0 other: merge main. 2023-05-06 12:51:38 +08:00
Shengliang Guan
af81f91c0f
Merge pull request #21162 from taosdata/FIX/TD-22103-3.0
enh: unify error msg for disk space checking in doInitAggInfoSup
2023-05-06 11:15:57 +08:00
Haojun Liao
29fcd1b83a refactor: do some internal refactor. 2023-05-06 10:08:05 +08:00
Haojun Liao
08ce790cda fix(query): fix memory leak. 2023-05-05 18:20:27 +08:00
Ganlin Zhao
5a1681d91d fix data block not properly saved 2023-05-05 15:24:15 +08:00
Benguang Zhao
0e6de09353 enh: unify error msg for disk space checking in doInitAggInfoSup 2023-05-05 14:53:32 +08:00
Haojun Liao
9b5c205498 fix(stream): set correct ssdatablock for tqRetrieveDataBlock 2023-05-05 13:41:25 +08:00
yihaoDeng
a1b9dcf595 fix mem leak 2023-05-05 02:20:11 +00:00
Haojun Liao
23c49594b7 other: merge main. 2023-05-04 16:41:53 +08:00
Haojun Liao
09a04052ec refactor: do some internal refactor. 2023-05-04 16:15:14 +08:00
Haojun Liao
39cac9d308 refactor: remove log ; 2023-04-29 14:06:26 +08:00
Haojun Liao
8b57184a9a
Merge pull request #21123 from taosdata/fix/liaohj_main
refactor: remove assert.
2023-04-29 00:44:24 +08:00
Haojun Liao
05d416f3b9 fix(stream): fix invalid access when handling error, not start stream if tsDisablestream is set. 2023-04-28 23:53:53 +08:00
Ganlin Zhao
42df9f587f fix group_key not set properly 2023-04-28 16:41:36 +08:00
Haojun Liao
a0d08b7fe4 fix(query): add null ptr check. 2023-04-28 16:29:09 +08:00
Ganlin Zhao
76eea9f7c4 fix group_key check 2023-04-28 14:59:35 +08:00
Haojun Liao
b3da6cb224 fix(query): fix syntax error. 2023-04-28 14:56:50 +08:00
Haojun Liao
03b1de017a refactor: remove assert. 2023-04-28 14:12:17 +08:00
Haojun Liao
b7c8346b44 other: merge other branch. 2023-04-28 13:06:47 +08:00
Haojun Liao
a0c2b34788
Merge pull request #21119 from taosdata/fix/liaohj_main
refactor: do some internal refactor.
2023-04-28 12:53:31 +08:00
Haojun Liao
da0d9c78ef refactor: do some internal refactor. 2023-04-28 11:42:34 +08:00
Haojun Liao
f850388ed9
Merge pull request #21116 from taosdata/fix/liaohj_main
fix(query): stop tsdbreade ASAP, and do some internal refactor. TD-23249
2023-04-28 11:42:05 +08:00
liuyao
2984c5a758 merge main 2023-04-28 10:34:46 +08:00
Haojun Liao
3ac1ce69b6 fix(query): set correct scan flag. 2023-04-28 10:02:37 +08:00
Haojun Liao
6482ef9ad1 refactor: do some internal refactor. 2023-04-28 09:19:53 +08:00
Haojun Liao
8205168428 fix(query): fix memory leak. 2023-04-28 09:16:11 +08:00
Haojun Liao
7adc21028a refactor: do some internal refactor. 2023-04-28 00:23:38 +08:00
Haojun Liao
25010cb11e fix(query): stop tsdbreade ASAP, and do some internal refactor. 2023-04-27 22:21:18 +08:00
kailixu
fa822ff286 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-27 19:11:16 +08:00
Haojun Liao
ad7c3218f7
Merge pull request #21111 from taosdata/fix/liaohj_main
enh(query): stop tsdb reader ASAP.  TD-23249
2023-04-27 17:45:38 +08:00
Haojun Liao
91f9b58f9a refactor: do some internal refactor. 2023-04-27 16:06:06 +08:00
Haojun Liao
17a5691afb refactor: remove assert. 2023-04-27 15:37:33 +08:00
Haojun Liao
d83f29dc23 refactor: remove assert. 2023-04-27 15:33:04 +08:00
Haojun Liao
e1bd65ec0a
Merge pull request #21105 from taosdata/fix/liaohj_main
fix(query): check the init status for pReader->status.merger  TD-23903
2023-04-27 12:40:13 +08:00
Ganlin Zhao
54d82fce8a add reset when switching groups 2023-04-27 11:28:20 +08:00
Haojun Liao
db1d75bb48 refactor: do some internal refactor. 2023-04-27 09:28:20 +08:00
Ganlin Zhao
c64788ad71 fix group restore 2023-04-26 18:37:23 +08:00
Ganlin Zhao
75f76a62ab fix process next group bug 2023-04-26 18:07:19 +08:00
Minglei Jin
a1fba2df65 Merge branch '3.0' into fix/TD-23623 2023-04-26 17:38:47 +08:00
dapan1121
5db5205e31 fix: schema/tag version update to int32 2023-04-26 13:41:16 +08:00
Ganlin Zhao
fc6ca69afa refactor timeslice operator 2023-04-26 11:30:21 +08:00
dapan1121
919d98d393
Merge pull request #21066 from taosdata/szhou/tag-scan-group-slimit
feature: tag scan group and slimit
2023-04-26 11:17:29 +08:00
Ganlin Zhao
c56bb64f1c refactor timeslice operator 2023-04-26 11:04:13 +08:00
Ganlin Zhao
d4c783b590 check duplicate timestamps 2023-04-26 09:48:43 +08:00
Minglei Jin
2566bd4ae8 row/iter: fix null column iter 2023-04-25 16:17:58 +08:00
Benguang Zhao
12f28a4a43 enh: unify error msg for no disk space 2023-04-25 15:39:11 +08:00
shenglian zhou
93ab81437f enhance: code refactor and operator full implement slimit 2023-04-25 11:08:58 +08:00
liuyao
d429e070da fix fill bug 2023-04-24 18:23:35 +08:00
shenglian zhou
758427b3c4 fix: use slimit to indicate group for tag scan 2023-04-24 15:48:20 +08:00
liuyao
eca7b68fa0 ignore update 2023-04-24 15:01:56 +08:00
Minglei Jin
f8bf98f6dc Merge branch '3.0' into fix/TD-23623 2023-04-24 14:28:49 +08:00
kailixu
b26842e398 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-24 14:19:49 +08:00
Haojun Liao
057cc2d30d
Merge pull request #21018 from taosdata/feature/3_liaohj
fix(stream): set the correct start offset for stream task.
2023-04-24 12:02:20 +08:00
liuyao
cb2757f967 fix:fill retrive 2023-04-24 09:52:14 +08:00
yihaoDeng
917b07348c Merge branch 'fix/rocksdbState' into enh/rocksRevert 2023-04-23 02:37:26 +00:00
dapan1121
9e22bd07a4
Merge pull request #21008 from taosdata/szhou/fix-ts3248
fix: when db_name!=xxx can not be used in systable scan index
2023-04-23 09:50:14 +08:00
chenhaoran
7d7a0769b3 Merge remote-tracking branch 'origin/main' into enh/tsbsPerf.1 2023-04-21 16:20:37 +08:00
Haojun Liao
f1e289e9ce
Merge pull request #21006 from taosdata/fix/TS-3082
fix:[TS-3082] change offset to firstver if offset is smller than firs…
2023-04-21 16:07:32 +08:00
kailixu
77a8e3b213 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-21 16:04:09 +08:00
slzhou
c971fe1606 fix: when db_name != xxx can not be optimized by uid index 2023-04-21 15:01:35 +08:00
slzhou
5531775f8e fix: when db_name!=xxx is used in systable scan index 2023-04-21 14:59:35 +08:00
wangmm0220
81b0670bd5 fix:[TS-3082] change offset to firstver if offset is smller than firstVer when wal is removed 2023-04-21 11:43:39 +08:00
Haojun Liao
e4199a62de fix(stream): fix memory leak. 2023-04-21 10:37:50 +08:00
Haojun Liao
f9801ba9c5 enh(stream): stop stream asap. 2023-04-20 18:58:07 +08:00
Minglei Jin
1e51b2d781
Merge branch '3.0' into fix/TD-23623 2023-04-20 16:32:43 +08:00
Minglei Jin
642aa47887 last: first round implementation for column loading 2023-04-20 16:26:27 +08:00
liuyao
f2560fd5e9 opt test 2023-04-20 11:50:42 +08:00
yihaoDeng
83cfd5d8b1 Merge branch 'enh/rocksRevert' of https://github.com/taosdata/TDengine into enh/rocksRevert 2023-04-19 18:01:03 +08:00
yihaoDeng
5402a6061f Merge branch 'dev' into enh/rocksRevert 2023-04-19 17:37:07 +08:00
liuyao
2a74aa317f inc sleep time 2023-04-19 16:41:53 +08:00
Xiaoyu Wang
7cf9919ab0
Merge pull request #20964 from taosdata/enh/3.0_planner_optimize
feat: last queries with tags output can be read from cache
2023-04-19 14:34:32 +08:00
54liuyao
5b7ccc42ca inc sleep time 2023-04-19 13:38:30 +08:00
Minglei Jin
76edc16ce1 operator/cache-scan: pass col list down to tsdb cache 2023-04-19 10:04:48 +08:00
Xiaoyu Wang
6669c3a5ad feat: last queries with tags output can be read from cache 2023-04-18 17:13:14 +08:00
liuyao
db4f7ca55f fix bug 2023-04-18 14:00:28 +08:00
dapan1121
5becc19c3c fix: add debug info 2023-04-18 11:40:20 +08:00
kailixu
50053fdc01 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-18 11:13:30 +08:00
Haojun Liao
97da34050b fix(query): fix invalid free. 2023-04-18 10:40:53 +08:00
dapan1121
8ef7fa9bf8 fix: add group cache hash 2023-04-17 16:33:55 +08:00
dapan1121
bd71cb8870 fix: group cache save issue 2023-04-17 16:09:54 +08:00
dapan1121
20c9cea5f0 fix: free uid list issue 2023-04-17 15:50:25 +08:00
dapan1121
ed3778dc9f fix: nodes free issue 2023-04-17 15:44:15 +08:00
dapan1121
31d187444e fix: grou cache issue 2023-04-17 15:33:54 +08:00
dapan1121
4506813ddb enh: add group cache 2023-04-17 15:14:06 +08:00
Haojun Liao
4ed26bbc19 fix(stream): update the table list api. 2023-04-17 14:08:54 +08:00
kailixu
fd3b552357 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-17 11:42:46 +08:00
Haojun Liao
eb7f510ccb fix(query): return correct suid to delete sink. 2023-04-17 10:59:24 +08:00
Haojun Liao
1350af5267 fix(stream): set the correct initial checkpoint version to restore the operators state and add check for the initial destination tables. 2023-04-16 22:48:22 +08:00
Haojun Liao
04e042f21d Merge branch 'feature/3_liaohj' into enh/rocksRevert 2023-04-15 09:35:43 +08:00
Haojun Liao
3ee3b16ebb fix(query): fix the invalid read. 2023-04-14 19:37:58 +08:00
Haojun Liao
d420734971 Merge remote-tracking branch 'origin/enh/rocksRevert' into enh/rocksRevert 2023-04-14 18:03:19 +08:00
Haojun Liao
ab4b08a4b5 Merge branch 'feature/3_liaohj' into enh/rocksRevert 2023-04-14 17:44:50 +08:00
liuyao
b8ac811f20 fix bug 2023-04-14 17:35:17 +08:00
dapan1121
423ec923ca enh: reuse tsdb cache reader 2023-04-14 14:30:20 +08:00
Haojun Liao
eb0e1f848a fix(stream): remove unused tqreader, do some internal refactor, set the meta value for streamtask. 2023-04-14 12:00:09 +08:00
Haojun Liao
5850a3ab01 Merge remote-tracking branch 'origin/enh/rocksRevert' into enh/rocksRevert 2023-04-14 10:37:17 +08:00
Haojun Liao
b57c813681 other: merge feature/3_liaohj 2023-04-14 10:36:54 +08:00
liuyao
4906855a8b delete mark 2023-04-14 09:47:56 +08:00
liuyao
cb0b4ffbd3 use interval state 2023-04-14 09:38:35 +08:00
Haojun Liao
f8b672f09f other: merge main. 2023-04-14 09:07:18 +08:00
liuyao
34bf638f19 fix bug 2023-04-13 16:21:57 +08:00
dapan1121
48f2e26c79 fix: remove protect 2023-04-13 15:59:52 +08:00
dapan1121
1b47b35c3d fix: memory protect issue 2023-04-13 15:23:35 +08:00
dapan1121
945997f22a fix: add memory protect 2023-04-13 15:18:53 +08:00
Xiaoyu Wang
a44d455e56 merge 3.0 2023-04-13 14:32:05 +08:00
dapan1121
e86ffad8ef fix: add debug info 2023-04-13 14:23:12 +08:00
liuyao
259815fd83 scan multiple range 2023-04-13 10:46:38 +08:00
dapan1121
3493fffa2f
Merge pull request #20863 from taosdata/fix/TD-23556
fix: fix max/min(tag) random result
2023-04-13 09:57:18 +08:00
liuyao
8992721e20 refact child cache 2023-04-13 09:15:50 +08:00
Ganlin Zhao
81610773c5 add test cases 2023-04-12 18:40:56 +08:00
liuyao
e42caca9c2 delete some log 2023-04-12 17:39:44 +08:00
liuyao
9be89ce00a delete expired check point 2023-04-12 17:33:58 +08:00
dapan1121
ba1219303b fix: add debug info 2023-04-12 15:48:18 +08:00
dapan1121
23920e10c1 enh: optimize log perf 2023-04-12 13:58:29 +08:00
liuyao
20f7838c8f opt interval final window 2023-04-12 13:32:49 +08:00
kailixu
2daab8e65e Merge branch '3.0' into enh/TD-21161-3.0 2023-04-12 13:10:12 +08:00
kailixu
04fa4d2e87 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-12 13:05:47 +08:00
liuyao
6a98d55c2f add ci test 2023-04-12 11:04:57 +08:00
Xiaoyu Wang
8b8ac0cd77 merge main 2023-04-12 10:43:28 +08:00
yihaoDeng
29d80b1c76 fix invalid free 2023-04-11 14:04:39 +00:00
Haojun Liao
f6315af0c9 other: merge main. 2023-04-11 19:41:17 +08:00
Xiaoyu Wang
9578c4538a Merge remote-tracking branch 'origin/3.0' into fix/3.0_merge_main 2023-04-11 19:33:23 +08:00
yihaoDeng
71d161ae38 Merge branch 'enh/rocksRevert' of https://github.com/taosdata/TDengine into enh/rocksRevert 2023-04-11 11:15:41 +00:00
yihaoDeng
911f08b382 Merge branch 'dev3' into enh/rocksRevert 2023-04-11 11:10:33 +00:00
liuyao
4c2d0b5f63 feat:opt final window 2023-04-11 19:10:10 +08:00
liuyao
34ff1322e4 op final window 2023-04-11 19:10:10 +08:00
Haojun Liao
24c9495772
Merge pull request #20857 from taosdata/fix/TS-3081
fix:optimize log & change the length of tag if tag is null in schemaless
2023-04-11 19:01:07 +08:00
yihaoDeng
b24b91886a Merge branch 'dev3' into enh/rocksRevert 2023-04-11 10:59:00 +00:00
Ganlin Zhao
0201348bbe add test cases 2023-04-11 17:58:55 +08:00
liuyao
665fbd1b40 disable encode 2023-04-11 17:15:14 +08:00
Xiaoyu Wang
4c04b155d5 merge main 2023-04-11 15:56:28 +08:00
Ganlin Zhao
d163a16f3a fix: fix max/min(tag) random result 2023-04-11 15:46:32 +08:00
liuyao
95d81604c7 feat:encode&&decode stream scan op 2023-04-11 14:34:31 +08:00
wangmm0220
c40c695ea7 fix:optimize log & change the length of tag if tag is null in schemaless 2023-04-11 13:49:18 +08:00
Ganlin Zhao
ea6c96df32 fix memory leak 2023-04-11 11:13:23 +08:00
liuyao
74da3c05bc feat:set check point id 2023-04-11 10:33:10 +08:00
Haojun Liao
a4ba5401f9 enh(stream): set the start version of all operators. 2023-04-11 10:01:36 +08:00
xinsheng Ren
965af6cc82
fix: handle leak (#20836)
* fix: handle leak

* fix: del unused code

---------

Co-authored-by: facetosea <25808407@qq.com>
2023-04-11 09:46:06 +08:00
Ganlin Zhao
3078e2d487 feat(query): INTERP support boolean type 2023-04-10 18:35:35 +08:00
Haojun Liao
497c9ea9c8 Merge branch 'main' into feature/3_liaohj 2023-04-10 17:57:26 +08:00
liuyao
f236457904 feat:add data version 2023-04-10 17:35:16 +08:00
Haojun Liao
f5b52749c2 refactor: do some internal refactor. 2023-04-09 01:39:09 +08:00
slzhou
af5a16b129 fix: set block allocated to false for each call to downstream operator 2023-04-07 18:54:37 +08:00
liuyao
955f8f9f07 feat:optimize get patitionby name 2023-04-07 18:45:09 +08:00
kailixu
e976fcb91d Merge branch '3.0' into enh/TD-21161-3.0 2023-04-07 17:51:35 +08:00
wangmm0220
05ec2b0928 fix:[TD-23517] set offset type to wal if only meta & check if tag is the same type in schemaless 2023-04-07 14:24:29 +08:00
liuyao
1f63859e21 feat:add buff swap 2023-04-07 12:50:59 +08:00
liuyao
0716a4aee8 feat:add check point 2023-04-06 16:45:22 +08:00
Haojun Liao
7e734e3088 Merge remote-tracking branch 'origin/feature/3_liaohj' into feature/3_liaohj 2023-04-06 15:09:06 +08:00
Haojun Liao
665ba407cf fix: fix syntax error. 2023-04-06 15:08:35 +08:00
Haojun Liao
06c7bbe91b
Merge branch 'main' into feature/3_liaohj 2023-04-06 14:41:06 +08:00
Haojun Liao
18955be092 refactor: erase unnecessary error log. 2023-04-06 14:40:01 +08:00
Haojun Liao
2b2059ef18
Merge pull request #20534 from taosdata/fix/TD-22671
fix:error in TD-23218 & remove useless logic
2023-04-06 11:47:24 +08:00
Xiaoyu Wang
c134432c45 merge main 2023-04-06 09:31:45 +08:00
54liuyao
1892b806b5 feat:add stream state buff 2023-04-04 17:09:35 +08:00
54liuyao
429b5cd646 feat:add stream file state 2023-04-04 17:09:35 +08:00
yihaoDeng
628bb62c8a add backpressure 2023-04-04 07:20:05 +00:00
Xiaoyu Wang
e9d7a099cc merge main 2023-04-04 14:50:58 +08:00
Ganlin Zhao
23ec9287c9 fix: fix tsim crash on windows due to invalid input to strftime 2023-04-04 10:33:41 +08:00
wangmm0220
1d7581f660 fix:conflicts from main 2023-04-03 19:59:33 +08:00
wangmm0220
d651ba02ae fix:lose consume data because of exec close if consume while insert data 2023-04-03 19:54:52 +08:00
Haojun Liao
3ef7d43dae refactor: do some internal refactor. 2023-04-03 17:47:48 +08:00
wangmm0220
1114d358a4 fix:lose consume data because of exec close if consume while insert data 2023-04-03 17:06:51 +08:00
kailixu
37bc1bca36 enh: column/row max length support up to 64K 2023-04-03 17:00:52 +08:00
Haojun Liao
08bd021a6f refactor: do some internal refactor. 2023-04-03 14:49:14 +08:00
Haojun Liao
81c3d16a2d fix(query):set the table list ptr. 2023-04-03 13:29:11 +08:00
Haojun Liao
6e0f1cb1e0 refactor: do some internal refactor. 2023-04-03 11:57:43 +08:00
Haojun Liao
91ae07b6c7 fix(tmq): set the table list correctly. 2023-04-03 11:57:17 +08:00
wangmm0220
2d6436c57d fix:modify log & sleep 500ms if data is inserting while consume 2023-04-03 11:24:22 +08:00
wangmm0220
446f31925e fix:conflict from main 2023-04-02 23:47:58 +08:00
Haojun Liao
09df16f6e4 fix(query): fix memory leak. 2023-04-02 22:47:26 +08:00
wangmm0220
f977b27b88 fix:remove useless setmsg 2023-04-02 22:38:18 +08:00
wangmm0220
b029c8f157 fix:remove useless setmsg 2023-04-02 22:34:51 +08:00
Haojun Liao
167a56f8d0 fix(query): set the correct group table list. 2023-04-02 21:25:54 +08:00
Haojun Liao
a887ccda89 fix(query): destroy the tablelist in cache scanner. 2023-04-02 15:30:56 +08:00
Haojun Liao
addabf3ba7 refactor: push down the tableListinfo to scanner. 2023-04-02 15:25:31 +08:00
Haojun Liao
ae4234cce0 fix(tmq): add lock when check table list. 2023-03-31 19:36:27 +08:00
wangmm0220
97b5c7abee fix:merge from main 2023-03-31 16:20:21 +08:00
Haojun Liao
82d98f9c97
Merge branch 'main' into feature/3_liaohj 2023-03-31 16:07:40 +08:00
Haojun Liao
f57899e070 refactor: do some internal refactor. 2023-03-31 16:06:38 +08:00
Haojun Liao
36ccf34d50
Merge pull request #20707 from taosdata/fix/TD-23397
fix:state window return wrong block type
2023-03-31 11:31:30 +08:00
Haojun Liao
450c5b447c fix(tmq): quit the scan asap. 2023-03-31 10:35:13 +08:00
dapan1121
00376b45fb
Merge pull request #20708 from taosdata/szhou/fix-ts3013
fix: add filter to exchange node for union-all subquery
2023-03-30 18:14:48 +08:00
shenglian zhou
a3a3dc8243 fix: add filter to exchange node for union-all subquery 2023-03-30 16:41:26 +08:00
54liuyao
ae98ad43a5 fix:state window return wrong block type 2023-03-30 16:38:54 +08:00
dapan1121
15578cf980
Merge branch 'main' into fix/cencVer 2023-03-30 15:36:30 +08:00
Haojun Liao
d947619b4f
Merge pull request #20691 from taosdata/feature/3_liaohj
fix(stream):fix the race condition when creating new tables.
2023-03-30 14:39:20 +08:00
dapan1121
a778dc8c09
Merge pull request #20698 from taosdata/szhou/fix-ts23354-2
fix: join before interval
2023-03-30 14:14:45 +08:00
Haojun Liao
e1d85ce074 fix(tmq): fix error. 2023-03-30 12:04:47 +08:00
Haojun Liao
5f4cb41e28 fix(tmq): set correct start offset value. 2023-03-29 23:45:41 +08:00
slzhou
84d75c2ec0 fix: join after interval 2023-03-29 19:51:13 +08:00
Haojun Liao
c8ad465a0d refactor: do some internal refactor. 2023-03-29 19:40:34 +08:00
Haojun Liao
56c98d7768 refactor: do some internal refactor. 2023-03-29 19:35:04 +08:00
dapan1121
3810e57c15 fix: tag copy issue 2023-03-29 19:10:10 +08:00
wangmm0220
2243184a4d fix:conflicts 2023-03-29 17:53:05 +08:00
wangmm0220
9d9ae749d1 opti:tmq logic & fix CI cases 2023-03-29 17:27:04 +08:00
Haojun Liao
d998912ce8 fix(query): fix syntax error. 2023-03-29 17:11:41 +08:00
Haojun Liao
25245b9005 Merge branch 'main' into feature/3_liaohj 2023-03-29 16:40:12 +08:00
Haojun Liao
152fc5daab fix(stream):fix the race condition when creating new tsables. 2023-03-29 16:36:35 +08:00
dapan1121
9952be43f6 Merge remote-tracking branch 'origin/main' into fix/cencVer 2023-03-29 15:50:14 +08:00
dapan1121
0659814d16
Merge pull request #20674 from taosdata/fix/TS-3010
fix: query schema is old issue
2023-03-29 11:41:07 +08:00
dapan1121
0327a8eaa3 fix: block rows number type 2023-03-29 10:46:56 +08:00
wangmm0220
d0c55ef572 fix:conflicts 2023-03-28 18:12:13 +08:00
dapan1121
a87d35be08 fix: optimize performance 2023-03-28 17:40:46 +08:00
dapan1121
22ad3129b9 fix: query schema is old issue 2023-03-28 15:21:47 +08:00
Haojun Liao
fca79dbc53 Merge branch 'fix/liaohj' into main 2023-03-28 11:20:01 +08:00
yihaoDeng
e1046015ae add backend 2023-03-28 02:25:11 +00:00
Haojun Liao
c158087d66 fix(tmq): kill the ongoing tsdb scans while transferring the ownership of vnode to other consumers. 2023-03-28 09:53:49 +08:00
Haojun Liao
5c128e2292 refactor: do some internal refactor. 2023-03-28 09:27:48 +08:00
yihaoDeng
47bd13a7b1 add backend 2023-03-27 13:25:06 +00:00
dapan1121
61571d9296 enh: optimize count performance 2023-03-27 19:40:29 +08:00
yihaoDeng
2cc2e5d522 add backend 2023-03-27 01:39:00 +00:00
wangmm0220
f1d67b6059 fix:conflict 2023-03-25 19:03:23 +08:00
Haojun Liao
7d1aa634fb
Merge pull request #20527 from taosdata/fix/TD-23200
fix:scan of fill history ended prematurely
2023-03-25 15:01:42 +08:00
Haojun Liao
61974b9f70
Merge pull request #20605 from taosdata/fix/TD-23272
fix:add combine function for groupKey
2023-03-25 15:01:33 +08:00
Haojun Liao
27c848453e
Merge pull request #20625 from taosdata/fix/TD-23220
fix: modify stream fill linear
2023-03-25 15:01:06 +08:00
yihaoDeng
b9531fc9a7 add backend 2023-03-25 06:46:19 +00:00
yihaoDeng
8e409f81ae add backend 2023-03-25 06:43:17 +00:00
54liuyao
f18cfc25d6 fix:reset parameter ignoreExpried for fill history 2023-03-24 11:06:05 +08:00
54liuyao
ffa59f69aa fix:add combine function for groupKey 2023-03-23 15:20:45 +08:00
yihaoDeng
b701198dbb add backend 2023-03-22 13:19:56 +00:00
wangmm0220
6fae38619d fix:error in TD-23218 & remove useless logic 2023-03-22 19:36:12 +08:00
dapan1121
6506805784 fix: fix no group slimit issue and test cases 2023-03-22 17:14:45 +08:00
wangmm0220
dd4cf0597b fix:error in optimize consume logic 2023-03-22 17:04:02 +08:00
dapan1121
5b02af6a91 fix: merge main to 3.0 2023-03-22 16:08:16 +08:00
dapan1121
97c7d363f2 fix: slimit not work issue 2023-03-22 15:18:54 +08:00
dapan1121
7258ea9244
Merge pull request #20576 from taosdata/fix/TS-2933
enh: optimize table merge scan performance
2023-03-22 13:45:00 +08:00
wangmm0220
c07e563ecd fix:error in optimize consume logic 2023-03-22 10:43:11 +08:00
dapan1121
cb3b4a6d8a Merge remote-tracking branch 'origin/main' into fix/TS-2947 2023-03-22 08:56:21 +08:00
dapan1121
56d5034b7f fix: table merge scan limit issue 2023-03-22 08:55:43 +08:00
dapan1121
ddfcba76f3 fix: optimize table merge scan perf 2023-03-21 18:51:16 +08:00
54liuyao
a614ef777f fix: modify pull linear 2023-03-21 18:19:45 +08:00
dapan1121
3ab55496c1
Merge pull request #20561 from taosdata/fix/TS-2891-M
fix: select ins_columns from stb/tb
2023-03-21 16:24:46 +08:00
Haojun Liao
d5a386a563 fix(client): fix coverity issues. 2023-03-21 14:03:36 +08:00
dapan1121
ddab83a2ba enh: optimize table merge scan performance 2023-03-21 11:42:46 +08:00
kailixu
179579f204 chore: more code 2023-03-20 17:41:22 +08:00
kailixu
24dbcaa844 chore: merge main 2023-03-20 17:32:54 +08:00
wangmm0220
f7b7320f5f fix:set offset if read wal none 2023-03-20 16:57:45 +08:00
wangmm0220
506c192bff fix:error in TD-23218 & remove useless logic 2023-03-20 16:26:15 +08:00
Haojun Liao
ca1dffff45
Merge pull request #20508 from taosdata/fix/liaohj
fix(client): fix potential memory leak.
2023-03-20 16:11:22 +08:00
wangmm0220
f80078030c fix:error in TD-23218 & remove useless logic 2023-03-20 15:40:01 +08:00
wangmm0220
f94b1df529 fix:error in TD-23218 & remove useless logic 2023-03-20 14:55:11 +08:00
wangmm0220
c0b41ea0b3 fix:error in TD-23218 & remove useless logic 2023-03-20 14:09:13 +08:00
wangmm0220
a5144f0ba2 fix:set offset if read wal none 2023-03-20 10:10:07 +08:00
Haojun Liao
c678740968 refactor: do some internal refactor. 2023-03-19 19:22:43 +08:00
Haojun Liao
7e712a14b6 fix(tmq): adjust log. 2023-03-19 19:06:28 +08:00
Haojun Liao
ae5155edcf fix(tmq): do some internal refactor. 2023-03-19 10:49:30 +08:00
Cary Xu
7a3c897a80
Revert "fix(query): invalid write when query of ins_columns" 2023-03-18 20:49:48 +08:00
wangmm0220
ccba1d07c6 fix:error in TD-23218 & remove useless logic 2023-03-18 18:42:49 +08:00
wangmm0220
7616a283e3 fix:error in TD-23218 & remove useless logic 2023-03-18 18:23:38 +08:00
yihaoDeng
afaa77cc3e fix tag filter 2023-03-18 10:01:45 +00:00
54liuyao
2185464836 fix:scan of fill history ended prematurely 2023-03-18 13:38:33 +08:00
kailixu
d90c8e834a chore: var def optimization 2023-03-18 13:07:15 +08:00
kailixu
45a625f2dc fix: add mem check 2023-03-18 12:50:37 +08:00
Ganlin Zhao
8fa4aa1435 fix(query): do not update ts window at exchange operator. 2023-03-18 12:06:59 +08:00
kailixu
5d82380993 chore: code optimization 2023-03-17 16:55:53 +08:00
kailixu
5f2ced466b Merge branch 'main' into fix/TS-2891-M 2023-03-17 16:49:06 +08:00
kailixu
ed3fc6bdf1 fix: select ins_columns from stb/ctb 2023-03-17 14:48:23 +08:00
Haojun Liao
8d1c6956d6 fix(query): set the tag filter flag. 2023-03-17 14:28:30 +08:00
kailixu
a85e30efe6 fix: select ins_columns from stb/ctb 2023-03-17 14:19:00 +08:00
Haojun Liao
d5a8a4aefe
Merge pull request #20502 from taosdata/fix/liaohj
fix(client): set the initial value for num_of_rows.
2023-03-17 12:50:04 +08:00
kailixu
7ed966e3f1 fix: select ins_columns from stb/tb 2023-03-17 12:33:34 +08:00
Haojun Liao
970155a845 fix(query): fix coverity issues. 2023-03-16 21:53:34 +08:00
kailixu
ba5c3fb2ab fix: select ins_columns for stb with 4096 columns 2023-03-16 00:01:54 +08:00
kailixu
acd57f03e6 fix(query): invalid write when query of ins_columns 2023-03-15 20:31:54 +08:00
Shengliang Guan
51e503dd2c
Merge pull request #20464 from taosdata/fix/TD-23156
fix:source task needs to wait && stream state window does not handle null
2023-03-15 14:09:26 +08:00
Shengliang Guan
dd2940b8b3
Merge pull request #20463 from taosdata/fix/TS-2883
fix: fix table count operator groupId issue
2023-03-15 14:08:54 +08:00
Shengliang Guan
09ca41b3f7
Merge pull request #20467 from taosdata/fix/TS-2893
fix:create same sub table
2023-03-15 14:07:47 +08:00
54liuyao
25732f7c3c fix:source task needs to wait & stream state window does not handle null 2023-03-15 13:15:17 +08:00
54liuyao
d5defa3def fix:create same sub table 2023-03-15 11:10:55 +08:00
dapan1121
20c8a9031d fix: fix table count operator groupId issue 2023-03-15 08:35:40 +08:00
Haojun Liao
32ddecc347 other: merge main. 2023-03-14 12:13:09 +08:00
Shengliang Guan
6d09532f10
Merge pull request #20396 from taosdata/fix/TD-23087
fix(query): remove assert
2023-03-14 09:36:31 +08:00
Shengliang Guan
6989f1be61
Merge pull request #20418 from taosdata/fix/TD-22671
fix:deal with ASSERT in tmq
2023-03-14 09:34:52 +08:00
Haojun Liao
21ef5e5577 Merge branch 'main' into fix/liaohj 2023-03-14 09:19:49 +08:00
Ganlin Zhao
c3b0245ff5 Merge branch 'main' into fix/TD-23087 2023-03-13 18:43:43 +08:00
Haojun Liao
731a2138df fix(tmq): fix error in tmq. 2023-03-13 17:08:17 +08:00
Shengliang Guan
041f03e918
Merge pull request #20414 from taosdata/feat/TD-23058
feat: correct slimit&limit clause
2023-03-12 20:48:16 +08:00
dapan1121
91df1b3298 fix: group merge issue 2023-03-12 15:04:53 +08:00
Haojun Liao
564e9bb833 Merge branch 'main' into fix/liaohj 2023-03-12 14:38:38 +08:00
dapan1121
f74c488c42 fix: keep group for interval query 2023-03-12 11:03:41 +08:00
wangmm0220
5b75ee4396 opti:modify tmq logic 2023-03-11 19:13:50 +08:00
dapan1121
16209644c4 fix: regenerate groupId and case issue 2023-03-11 17:24:54 +08:00
Xiaoyu Wang
a846c26ef9 merge main 2023-03-11 16:14:27 +08:00
wangmm0220
9cc7a9f504 fix:deal with ASSERT in tmq 2023-03-11 16:12:11 +08:00
dapan1121
5df32cbc78 feat: correct slimit&limit clause 2023-03-11 13:08:20 +08:00
Ganlin Zhao
f82dcf0316 fix(query): remove assert 2023-03-10 16:45:13 +08:00
WANG MINGMING
0dec8dd844
Merge pull request #20375 from taosdata/fix/TD-22671
fix:add error log
2023-03-09 19:49:57 +08:00
54liuyao
87ba6cb019 fix:fill history check update 2023-03-08 19:19:09 +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
wangmm0220
49e2924f1d fix:add error log 2023-03-08 17:02:19 +08:00
yihaoDeng
c408a434d6 fix tbname in error 2023-03-08 14:31:38 +08:00
Xiaoyu Wang
4c8bab7e58 merge main 2023-03-08 10:59:33 +08:00
Haojun Liao
d54ae0c840 fix(tmq): free reader after check the reader status. 2023-03-07 17:49:20 +08:00
54liuyao
0cd871010f fix:fix fill history bug 2023-03-07 13:34:26 +08:00
Haojun Liao
72ddb045a6 Merge branch 'main' into fix/liaohj 2023-03-07 09:40:47 +08:00
Shengliang Guan
5791426b3e
Merge pull request #20276 from taosdata/fix/TD-22986
fix:return empty ssdatablock
2023-03-07 09:05:35 +08:00
Haojun Liao
fdd16ad9cb Merge branch 'main' into fix/liaohj 2023-03-06 23:38:59 +08:00
Haojun Liao
53e6d49e8c other: add some logs. 2023-03-06 22:29:42 +08:00
Haojun Liao
2790368a03
Merge pull request #20269 from taosdata/feature/3_liaohj
fix(qurey): fix som errors and add some logs.
2023-03-06 20:38:22 +08:00
wangmm0220
86ef6522ae fix:wal curVersion error if switch to wal 2023-03-06 17:40:02 +08:00
54liuyao
933fa721d6 fix:return empty ssdatablock 2023-03-06 15:49:57 +08:00
54liuyao
d8fb591435 fix:incorrectly judged that the stream was killed 2023-03-06 09:46:12 +08:00
Haojun Liao
22a85734c6 fix(mq): add more chek for balance couner to avoid the negative value emerges. 2023-03-05 13:23:50 +08:00
Haojun Liao
24bb33f24a refactor: add some logs. 2023-03-03 18:34:38 +08:00
Xiaoyu Wang
cf9c2a112f fix: the number of output lines is incorrect when the event window is used with the multiline function 2023-03-03 15:20:07 +08:00
Ganlin Zhao
1081d68858 add inherit from upstream order option for exchange 2023-03-01 11:36:41 +08:00
Ganlin Zhao
c8a41e3444 fix(query): make exchange operator inherit input order from upstream 2023-03-01 11:36:30 +08:00
dapan1121
f27a2e8a78
Merge pull request #20207 from taosdata/fix/TD-22822
fix(query): add inherit input order from upstream option for exchange operator
2023-03-01 11:16:57 +08:00
dapan1121
4a02c73084
Merge pull request #20202 from taosdata/szhou/fix/td-22788
fix: ensure capacity and move to next group
2023-03-01 10:22:15 +08:00
Haojun Liao
a3ffddba2d
Merge pull request #20204 from taosdata/fix/3_coverity
fix(query): fix coverity issue.
2023-03-01 09:28:36 +08:00
Haojun Liao
744a942ae9 fix(query): remove the invalid null check. 2023-02-28 19:03:15 +08:00
Ganlin Zhao
cad32b12a5 add inherit from upstream order option for exchange 2023-02-28 18:30:51 +08:00
Haojun Liao
95c6629937 fix(query): check for the handle value. 2023-02-28 16:28:02 +08:00
Xiaoyu Wang
e36d9a4c25 merge main 2023-02-28 16:13:28 +08:00
shenglian zhou
8f2ec81f76 Merge branch 'main' of github.com:taosdata/TDengine into szhou/fix/td-22789 2023-02-28 16:05:49 +08:00
Ganlin Zhao
5ad0d18c2e fix(query): make exchange operator inherit input order from upstream 2023-02-28 16:05:41 +08:00
Haojun Liao
f1f9e570e6 Merge branch '3.0' into fix/3_coverity 2023-02-28 16:03:28 +08:00
wangmm0220
986ae9c4d0 fix:conflicts 2023-02-28 15:11:16 +08:00
Haojun Liao
60188e82a6 fix(query): fix coverity issue. 2023-02-28 13:42:19 +08:00
shenglian zhou
ce38d80480 fix: ensure capacity and move to next group 2023-02-28 11:19:13 +08:00
Haojun Liao
b92de1e9e6 fix(query): fix invalid read. 2023-02-28 09:34:16 +08:00
Haojun Liao
d18dd3067b other: merge main. 2023-02-28 00:38:37 +08:00
Haojun Liao
5e9f53560d
Merge branch 'main' into feature/3_liaohj 2023-02-27 18:23:35 +08:00
Xiaoyu Wang
6a5934983c
Merge pull request #20181 from taosdata/fix/3.0_merge_main
merge main
2023-02-27 17:08:35 +08:00
dapan1121
178d2cac00
Merge pull request #20156 from taosdata/fix/TD-22520
fix(query): fix apply limit error for doMultiwayMerge operator if datablocks belongs to the same group
2023-02-27 14:20:42 +08:00
54liuyao
f2dfe5ab74 fix:create same sub table 2023-02-27 09:55:34 +08:00
wangmm0220
c638564179 fix:confilcts from main 2023-02-26 23:09:57 +08:00
Haojun Liao
a28156e832 refactor: do some internal refactor and add some logs for tmq. 2023-02-26 12:35:50 +08:00
Haojun Liao
b46098793d refactor: do some internal refactor and add some logs for tmq. 2023-02-26 12:16:45 +08:00
Xiaoyu Wang
d6dd087f84 merge main 2023-02-25 10:29:20 +08:00
Xiaoyu Wang
5856a39827
Merge pull request #20123 from taosdata/fix/3.0_merge_main
merge main
2023-02-25 10:01:26 +08:00
wangmm0220
54a546931c fix:optimize version logic in tmq and remove useless code 2023-02-24 19:22:08 +08:00
Haojun Liao
097723f446
Merge pull request #20151 from taosdata/feature/3_liaohj
fix(query): expand output buffer.
2023-02-24 18:56:51 +08:00
Ganlin Zhao
f9f4066f3c fix(query): fix apply limit error for doMultiwayMerge operator if
datablocks within same group
2023-02-24 17:17:55 +08:00
Xiaoyu Wang
961107d1ca merge main 2023-02-24 16:55:50 +08:00
Haojun Liao
de0f55e804 fix(query): expand output buffer. 2023-02-24 16:04:00 +08:00
Haojun Liao
993ae9e7e9 Merge branch '3.0' into fix/3_coverity 2023-02-24 14:34:01 +08:00
dapan1121
c70e80ea55
Merge pull request #20138 from taosdata/fix/TD-22707
fix: report error when NULL ts is inserted
2023-02-24 13:52:12 +08:00
Xiaoyu Wang
58fc265b80 merge main 2023-02-24 13:26:45 +08:00
Haojun Liao
22aa03307c fix(query): fix syntax errors on centos. 2023-02-24 11:38:54 +08:00
Haojun Liao
645c3e672f
Merge pull request #20144 from taosdata/fix/3_coverity
fix(query): fix coverity issue.
2023-02-24 11:31:36 +08:00
54liuyao
40f9aaa715 fix:Ignore expression exception & add some log 2023-02-24 11:30:39 +08:00
54liuyao
84cf3ec696 fix:add log 2023-02-24 11:30:32 +08:00
Haojun Liao
f4885ef456
Merge pull request #20128 from taosdata/fix/TD-22639
fix:table name is null
2023-02-24 10:35:53 +08:00
Haojun Liao
97024f1468 fix(query): fix coverity issue. 2023-02-24 09:48:34 +08:00
dapan1121
8514f1c7f0 fix: report error when NULL ts is inserted 2023-02-23 18:56:32 +08:00
54liuyao
e8a721dda2 fix:set table name 2023-02-23 18:36:09 +08:00
54liuyao
e42d5ba3dc fix:table name is null 2023-02-23 17:31:47 +08:00
Haojun Liao
6e39bec448
Merge pull request #20089 from taosdata/fix/TD-22671
fix:remove useless logic in tmq
2023-02-23 17:27:00 +08:00
Xiaoyu Wang
1ab144609e merge main 2023-02-23 14:58:22 +08:00
Haojun Liao
c16bbfadbb
Merge pull request #20115 from taosdata/feature/3_liaohj
refactor: add some logs.
2023-02-23 11:23:48 +08:00
dapan1121
6aa05c4370
Merge pull request #20067 from taosdata/fix/TS-2687
fix: add merge join operator result limitation
2023-02-23 10:40:23 +08:00
dapan1121
31615d0ccc
Merge pull request #20072 from taosdata/fix/TD-22647
fix: tag filter crash issue
2023-02-23 10:39:32 +08:00
dapan1121
05c7bc170e
Merge pull request #20098 from taosdata/feat/TS-2671
feat(query): optimize percentile function performance
2023-02-23 10:24:06 +08:00
Haojun Liao
b203107922
Merge branch 'main' into feature/3_liaohj 2023-02-23 10:22:17 +08:00
Haojun Liao
6015729560 refactor: add some logs. 2023-02-23 09:21:32 +08:00
Haojun Liao
4432ae51e6
Merge branch 'main' into fix/liaohj 2023-02-23 09:04:32 +08:00
Haojun Liao
5b1c2fc314
Merge pull request #20094 from taosdata/feature/3_liaohj
fix(tmq): update the epset when the leader of vnode changed.
2023-02-23 08:58:40 +08:00
dapan1121
402abdb725
Merge pull request #20078 from taosdata/fix/TD-22626
fix: interval start window error
2023-02-23 08:56:13 +08:00
Haojun Liao
cd1089acb3 refactor: fix coverity issues. 2023-02-22 16:43:37 +08:00
Haojun Liao
8532de31cf refactor: remove assert. 2023-02-22 14:32:39 +08:00
Haojun Liao
82067f3bd2 fix(query): fix coverity issues. 2023-02-22 13:38:13 +08:00
Ganlin Zhao
61140d3143 fix parameter check 2023-02-22 11:09:23 +08:00
Haojun Liao
61a7001274 fix(query): fix coverity issues. 2023-02-22 10:50:42 +08:00
Ganlin Zhao
9102c7a42a change repeat_scan to pre_scan 2023-02-22 10:22:10 +08:00
Ganlin Zhao
fea9126453 remove debug logs 2023-02-22 10:07:03 +08:00
Ganlin Zhao
961ac26f92 Revert "add perf logs"
This reverts commit f7a8393c47.
2023-02-22 10:04:35 +08:00
Ganlin Zhao
61de3b179a Revert "add stats"
This reverts commit 09ce818223.
2023-02-22 10:04:28 +08:00
Ganlin Zhao
7e01d092a2 optimize repeat scan 2023-02-22 09:25:18 +08:00
wangmm0220
b28c0ad952 fix:remove useless logic in tmq 2023-02-21 18:49:39 +08:00
dapan1121
7b193ed943 fix: interval start window error 2023-02-21 15:52:22 +08:00
yihaoDeng
2d85d0191c fix: add vgroup count 2023-02-21 14:40:10 +08:00
dapan1121
3df3fea0bd fix: tag filter crash issue 2023-02-21 13:29:04 +08:00
dapan1121
968c538be5 fix: add merge join operator result limitation 2023-02-21 08:54:05 +08:00
Ganlin Zhao
09ce818223 add stats 2023-02-20 19:35:06 +08:00
Xiaoyu Wang
46ca6c9466 fix: tag filter 2023-02-20 19:06:07 +08:00
Xiaoyu Wang
319dfd8f06 merge 3.0 2023-02-20 17:21:37 +08:00
Haojun Liao
ad0be66a78
Merge pull request #19935 from taosdata/enh/dynamicIdx
feat:  change  index dynamicly
2023-02-20 15:48:49 +08:00
Ganlin Zhao
f7a8393c47 add perf logs 2023-02-20 15:23:11 +08:00
Haojun Liao
ae95c97b78
Merge pull request #19977 from taosdata/fix/TS-2638
fix:[TS638]diable tsdbReader open in streamScanOperator
2023-02-20 14:25:31 +08:00
Ganlin Zhao
28693ce285 feat(query): allow percentile function to take multiple params
to enhance performance
2023-02-20 14:07:24 +08:00
Xiaoyu Wang
c597de099f merge main 2023-02-20 13:41:27 +08:00
Haojun Liao
7fe250412f refactor:do some internal refactor. 2023-02-20 10:13:11 +08:00
Haojun Liao
8d187efc18 refactor:do some internal refactor. 2023-02-20 10:04:08 +08:00
Haojun Liao
a488f31ba9 refactor:do some internal refactor. 2023-02-20 09:52:11 +08:00
Haojun Liao
579b1b0a6c fix(query): check correct unit. 2023-02-19 15:12:19 +08:00
yihaoDeng
51755e9783 fix: fix drop error 2023-02-18 16:44:29 +08:00
yihaoDeng
db7dec0347 fix filter error 2023-02-18 11:21:10 +08:00
yihaoDeng
1acb4dd676 opt filter 2023-02-18 09:38:54 +08:00
Haojun Liao
9b90416bf3 test: add unit test case. 2023-02-17 18:38:08 +08:00
Haojun Liao
0d9d2ea293 fix(query): do some internal refactor, and fix the bug when calender time duration exists in sliding and offset. 2023-02-17 18:31:32 +08:00
Xiaoyu Wang
d5cd2d36af feat: compatible with older versions of wal 2023-02-17 15:55:55 +08:00
Benguang Zhao
dea3c0285b fix: keep processing on tqNextBlock failure 2023-02-17 09:29:15 +08:00
Benguang Zhao
2a08e2a549 enh: refactor some asserts in doQueueScan 2023-02-16 16:06:51 +08:00
54liuyao
05c9d46fac fix:wrong tag value 2023-02-16 10:22:31 +08:00
Haojun Liao
717392782a fix(query): remove the invalid free. 2023-02-15 19:50:56 +08:00
Haojun Liao
e681bb02cd fix(query): set the initial number of tables values. 2023-02-15 19:23:49 +08:00
Haojun Liao
cb35b453d4
Merge pull request #19870 from taosdata/feature/3_liaohj
other: merge opt to main.
2023-02-15 12:55:04 +08:00
54liuyao
88970c88a9 fix:dispatch create sub table 2023-02-15 11:04:49 +08:00
Haojun Liao
c2370fcdcc fix(query): set correct flag in create dummy ctx. 2023-02-15 09:57:05 +08:00
Haojun Liao
f6ced36c87 fix(query): fix memory leak. 2023-02-15 01:28:50 +08:00
Haojun Liao
4e9146f061 fix(query): fix memory leak. 2023-02-14 22:46:31 +08:00
wangmm0220
6aa44b2fa9 fix:[TS638]diable tsdbReader open in streamScanOperator 2023-02-14 17:54:24 +08:00
Haojun Liao
78e67995cc
Merge pull request #19966 from taosdata/fix/nodisk
fix(query): check validation of suid
2023-02-14 16:14:43 +08:00
Haojun Liao
a1eafe88ac fix(query): fix some errors. 2023-02-14 14:48:33 +08:00
wangmm0220
a74f7895e4 fix:[TS638]diable tsdbReader open in streamScanOperator 2023-02-14 14:12:45 +08:00
Xiaoyu Wang
031a13c945 fix: create stream check and error code wrong 2023-02-14 11:24:44 +08:00
Haojun Liao
6fffc71785 fix(query): check validation of suid, 2023-02-14 10:41:17 +08:00
54liuyao
3f38d56c0d fix:number of ssdatablock rows exceeds the capacity 2023-02-14 10:40:16 +08:00
Haojun Liao
61a7751b57 fix(query): fix bug in tIntToHex and add test case. 2023-02-14 10:12:13 +08:00
Haojun Liao
fab32ae930 fix(query): fix bug in "tbname in" query. 2023-02-13 23:19:09 +08:00
Haojun Liao
a4c66dd6bb
Merge pull request #19949 from taosdata/fix/TS-2538
fix:crash at generate session scan range
2023-02-13 19:05:33 +08:00
Haojun Liao
0328013309
Merge pull request #19948 from taosdata/feature/event
fix(query): identify the data blocks from different group.
2023-02-13 17:22:04 +08:00
Haojun Liao
c9ce01c878 Merge branch 'main' into feature/3_liaohj 2023-02-13 17:09:27 +08:00
Haojun Liao
13362841fe
Merge pull request #19946 from taosdata/fix/nodisk
fix(query): add kill check for cache scan operator.
2023-02-13 13:37:00 +08:00
Yihao Deng
5af1faf916
Merge branch '3.0' into enh/dynamicIdx 2023-02-13 13:36:06 +08:00
54liuyao
31a75f837b fix:crash at generate session scan range 2023-02-13 13:33:38 +08:00
Haojun Liao
f26fa32340 other: add some comments. 2023-02-13 13:32:01 +08:00
Haojun Liao
c96362d5fc other: merge event branch. 2023-02-13 13:28:16 +08:00
Haojun Liao
6a6c649113 fix(query): identify the data blocks from different group. 2023-02-13 13:24:59 +08:00
Haojun Liao
b37bf56794 fix(query): add kill check for table merge scan. 2023-02-13 10:12:13 +08:00
Haojun Liao
08126ccde1 fix(query): add kill check for cache scan operator. 2023-02-13 10:07:56 +08:00
Liu Jicong
0cd6bd3d86 Merge branch 'main' into enh/stream_buffer_param 2023-02-13 09:48:02 +08:00
yihaoDeng
a929aa22d8 merge 3.0 2023-02-12 10:48:18 +08:00
Haojun Liao
f6a262eeb1 fix(query): fix invalid write. 2023-02-11 01:56:28 +08:00
Haojun Liao
38df631629 fix(query): set correct table number. 2023-02-11 00:28:10 +08:00
Haojun Liao
2de2733405 fix(query): set correct table number. 2023-02-11 00:27:17 +08:00
Haojun Liao
ae7fc15170 fix(query): set correct table number. 2023-02-11 00:11:21 +08:00
Haojun Liao
b14afeef0a refactor: do some internal refactor. 2023-02-10 23:40:53 +08:00
Haojun Liao
120ee13d6d refactor: do some internal refactor. 2023-02-10 23:34:03 +08:00
Haojun Liao
595a57dfc9 fix(query): fix a typo 2023-02-10 23:32:16 +08:00
Haojun Liao
1b53f4b0bd
Merge pull request #19919 from taosdata/fix/liaohj
fix(query): add check for table/super table dropped
2023-02-10 23:00:55 +08:00
Haojun Liao
8781f31d17 fix(query): fix a typo. 2023-02-10 19:22:38 +08:00
Haojun Liao
a7fdc4bae3 other: merge 3.0 2023-02-10 19:20:24 +08:00
Haojun Liao
6839ed22f2 fix(query): fix bug in tag filter. 2023-02-10 18:28:35 +08:00
Xiaoyu Wang
3382a24a69 merge main 2023-02-10 18:03:11 +08:00
Haojun Liao
e378668571
Merge pull request #19915 from taosdata/fix/nodisk
ehn(query): dynamic set the initial buffer size for data block from d…
2023-02-10 17:49:46 +08:00
Haojun Liao
f6b2da8c06 fix(query): add check for table/super table dropped, when retrieving cache rows. 2023-02-10 16:53:11 +08:00
Haojun Liao
c8f1c3b6e4 fix(query): set the max rows as the default block buffer rows. 2023-02-10 16:18:30 +08:00
Haojun Liao
72287a3b5f fix(query): set correct tag value during tag filter and do some internal refactor. 2023-02-10 16:03:11 +08:00
Xiaoyu Wang
b2e60da1cf merge main 2023-02-10 10:34:55 +08:00
Haojun Liao
c537c6c12f Merge branch 'main' into fix/liaohj 2023-02-10 10:24:43 +08:00
Haojun Liao
443e8e2500 fix(query): add limit/offset for sys table scan operator. 2023-02-10 10:23:41 +08:00
Haojun Liao
e46657ada2 fix(query): fix memory leak. 2023-02-10 00:30:56 +08:00
Xiaoyu Wang
e595dce463
Merge pull request #19890 from taosdata/enh/3.0_planner_optimize
fix: tsdb reader deadlock
2023-02-09 17:34:32 +08:00
Xiaoyu Wang
e5a27765a2 fix: tsdb reader deadlock 2023-02-09 15:57:37 +08:00
Haojun Liao
6cf363600b
Merge pull request #19785 from taosdata/fix/TD-21899
fix:auto create table & NULL NONE problem for taosx
2023-02-09 15:31:13 +08:00
Xiaoyu Wang
fcff07675d merge main 2023-02-09 11:29:38 +08:00
54liuyao
40987fa507 feat:do not check whether the expired data has been update 2023-02-09 11:14:28 +08:00
Xiaoyu Wang
79440f7a26
Merge pull request #19860 from taosdata/fix/3.0_merge_main
merge main
2023-02-09 09:22:19 +08:00
Haojun Liao
a39665800e
Merge pull request #19868 from taosdata/fix/liaohj
fix(query): set correct group table size.
2023-02-08 19:00:55 +08:00
Xiaoyu Wang
c000ed6d81 merge main 2023-02-08 17:55:28 +08:00
Liu Jicong
ae4ad7d851 Merge branch 'main' into enh/stream_buffer_param 2023-02-08 16:09:35 +08:00
Haojun Liao
d69b57fab9 fix(query): set correct size for the last group. 2023-02-08 15:48:27 +08:00
Haojun Liao
43cce095d0 fix(query): set correct group table size. 2023-02-08 14:26:04 +08:00
Xiaoyu Wang
4ff3b5b370
Merge pull request #19861 from taosdata/feat/3.0_wxy
fix: invild free
2023-02-08 13:17:11 +08:00
54liuyao
bafe5a577e ci:add ci 2023-02-08 10:54:45 +08:00
Xiaoyu Wang
0ec0717263 fix: invild free 2023-02-08 10:35:25 +08:00
Xiaoyu Wang
09925437e3 merge main 2023-02-08 09:51:52 +08:00
Xiaoyu Wang
8b6a50d970 feat: add explain test case 2023-02-07 18:35:42 +08:00
dapan1121
19508d118f
Merge pull request #19817 from taosdata/feat/TS-2502
feat: support force fill in interval clause
2023-02-07 17:00:01 +08:00
54liuyao
e89362fb36 feat:stream ignore check update data 2023-02-07 15:29:05 +08:00
Haojun Liao
25f7ac7991
Merge pull request #19836 from taosdata/fix/nodisk
fix(query):add check for no disk error.
2023-02-07 13:36:30 +08:00
Haojun Liao
5f89fe7652 fix(query):add check for no disk error. 2023-02-07 11:01:52 +08:00
Haojun Liao
46fb9227f1
Merge pull request #19825 from taosdata/fix/nodisk
fix(query):set null for if the queried table is dropped
2023-02-07 09:19:58 +08:00
Haojun Liao
2d951c1690 fix(query):set null for if the queried table is dropped when retrieving the corresponding tags. 2023-02-06 22:34:27 +08:00
dapan1121
ded47e1312 Merge remote-tracking branch 'origin' into feat/TS-2502 2023-02-06 17:22:18 +08:00
Haojun Liao
3822225231 other: merge main. 2023-02-06 16:24:15 +08:00
dapan1121
955c3f6275
Merge pull request #19810 from taosdata/fix/TD-22175
fix: fix return invalid code
2023-02-06 16:15:51 +08:00
Haojun Liao
c93108bcbc
Merge pull request #19811 from taosdata/fix/nodisk
enh(query): add check for limit reach status.
2023-02-06 14:32:12 +08:00
Haojun Liao
24cdf0e758 enh(query): add check for limit reach status. 2023-02-06 13:40:51 +08:00
yihaoDeng
4939f54707 fix invalid code 2023-02-06 12:15:45 +08:00
wangmm0220
762f6466f3 fix:conflicts from 3.0 2023-02-06 09:23:29 +08:00
yihaoDeng
0dd4433e58 opt index 2023-02-05 11:49:45 +08:00
Haojun Liao
8dcd73abf0
Merge pull request #19790 from taosdata/fix/nodisk
fix(query): set the correct number of rows when calculating using sma
2023-02-04 00:58:59 +08:00
dapan1121
225bf28536
Merge pull request #19744 from taosdata/fix/TD-22009
enhance: optimize building table delete skyline performance
2023-02-03 19:00:47 +08:00
Haojun Liao
845530e125 other: add some logs. 2023-02-03 17:33:35 +08:00
Xiaoyu Wang
5d499e52f9 merge main 2023-02-03 17:13:11 +08:00
wangmm0220
51760c10ec fix:conflicts from 3.0 2023-02-03 15:40:20 +08:00
dapan1121
ef89a31e8f feat: force fill function 2023-02-03 15:37:04 +08:00
Haojun Liao
0030c4b5ee refactor(query): opt perf by remove some functions. 2023-02-03 14:24:00 +08:00
Haojun Liao
645c45a274 refactor(query): opt perf by remove some functions. 2023-02-03 10:28:12 +08:00
dapan1121
120af5da33
Merge pull request #19751 from taosdata/fix/TS-2530
fix: interp support filter and scalar calc
2023-02-03 09:57:57 +08:00
Haojun Liao
8e73e3090c
Merge pull request #19652 from taosdata/fix/liaohj
fix(query): do some internal refactor, and identify a bug.
2023-02-02 22:22:55 +08:00
dapan1121
40b745932c fix: scalar expr memory leak issue 2023-02-02 19:39:08 +08:00
dapan1121
d5bc02c1e8 feat: support force fill 2023-02-02 18:03:30 +08:00
Haojun Liao
e9490a3235 refactor(query): disable tag filter cache by default. 2023-02-02 17:38:21 +08:00
dapan1121
d88f1efeb1 feat: support force fill clause 2023-02-02 17:16:30 +08:00
Haojun Liao
aab31f655c fix(query): fix bug in multi-group limit/offset of the merge sort . 2023-02-02 16:57:05 +08:00
Haojun Liao
ab8c977417 other: merge main. 2023-02-02 14:00:36 +08:00
dapan1121
e234dda2de fix: interp support filter and scalar calc 2023-02-02 11:44:08 +08:00
Haojun Liao
97ca4dfd0b
Merge pull request #19732 from taosdata/feat/ly_stream_stable
Feat/ly stream stable
2023-02-02 10:57:09 +08:00
Haojun Liao
3897a91a95 refactor: do some internal refactor. 2023-02-02 10:17:39 +08:00
Haojun Liao
6a5ce7d663 refactor: opt tag filter perf. 2023-02-02 10:11:36 +08:00
54liuyao
c4414ec646 feat(stream):exists stable bug&ci 2023-02-01 17:27:04 +08:00
54liuyao
fa43fc455a refactor stream interval build result data 2023-02-01 17:27:03 +08:00
wangmm0220
8a21d7f307 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-21899 2023-02-01 16:13:06 +08:00
yihaoDeng
fa0b70b156 opt tag filter 2023-01-31 22:43:59 +08:00
yihaoDeng
c83b697eb3 fix invalid ver 2023-01-31 17:00:19 +08:00
dapan1121
c8394cbf6e fix: add get tb from mem time info 2023-01-31 16:38:29 +08:00
Xiaoyu Wang
000eefac82 enh: deal coverity scan 2023-01-31 16:16:03 +08:00
54liuyao
1ce1f8143c fix:process data with incorrect timestamp 2023-01-30 13:29:15 +08:00
wangmm0220
d96cdff8f3 fix:add logic for auto create table while inserting data for taosx 2023-01-28 18:25:43 +08:00
Xiaoyu Wang
24157e78d6 merge main 2023-01-28 17:52:58 +08:00
Liu Jicong
089bc74055 Merge branch 'main' into enh/stream_buffer_param 2023-01-28 11:24:25 +08:00
Xiaoyu Wang
6d1621c221 Merge remote-tracking branch 'origin/fix/main_bugfix_wxy' into fix/liaohj 2023-01-28 10:36:23 +08:00
Haojun Liao
21d57a3624 fix(query): check for failure during add new buf pages. 2023-01-22 01:45:29 +08:00
Haojun Liao
a898be4f7d fix(query): set correct total rsp rows. 2023-01-20 23:38:31 +08:00
Haojun Liao
7803104b7e fix(query): do some internal refactor, and identify a bug. 2023-01-20 22:50:35 +08:00
Haojun Liao
41f73b4294 Merge branch 'main' into fix/liaohj 2023-01-20 22:08:36 +08:00
Haojun Liao
fae4f2c4ed refactor: do some internal refactor. 2023-01-20 18:08:34 +08:00
Haojun Liao
fd5820b052
Merge pull request #19643 from taosdata/fix/liaohj
enh: optimize execute plan when 'tail' function is used with 'partition by' clause
2023-01-19 18:42:37 +08:00
dapan1121
d363971675
Merge pull request #19638 from taosdata/fix/TS-2404
fix: atexit memory leak issue
2023-01-19 10:14:25 +08:00
dapan1121
2d579cfc16 fix: fix compile issue 2023-01-18 17:27:27 +08:00
Xiaoyu Wang
f8082bc752
Merge pull request #19623 from taosdata/enh/3.0_planner_optimize
enh: optimize execute plan when 'tail' function is used with 'partition by' clause
2023-01-18 17:25:16 +08:00
dapan1121
d130d1a84a fix: atexit memory leak issue 2023-01-18 17:13:35 +08:00
Haojun Liao
c9a1b3ba01 fix(query): handle the multi-group limit/offset in table group merge scan/ multiway-merge executor. 2023-01-18 16:24:29 +08:00
dapan1121
17bfb8228a fix: rows number exceeds block capacity issue 2023-01-18 15:55:24 +08:00
Xiaoyu Wang
dd0ea40768 Merge remote-tracking branch 'origin/fix/liaohj' into enh/3.0_planner_optimize 2023-01-18 10:56:03 +08:00
54liuyao
e03deeaed8 feat:add stream delete mark 2023-01-17 16:21:51 +08:00
Haojun Liao
f69e8509c3 fix(query): disable some warnings. 2023-01-16 19:17:37 +08:00
Haojun Liao
abc8c0fda1 refactor: do some internal refactor. 2023-01-16 18:40:44 +08:00
Haojun Liao
59e25c0191
Merge pull request #19576 from taosdata/fix/liaohj
test: add new sim to CI.
2023-01-16 18:17:39 +08:00
Xiaoyu Wang
0b1bb7a1fb merge 3.0 2023-01-16 17:55:35 +08:00
Haojun Liao
138d1d26f0 refactor: opt hash perf. 2023-01-16 17:55:25 +08:00
Haojun Liao
e3248d0053 refactor: disable warning. 2023-01-16 16:02:23 +08:00
dapan1121
62b64631dc
Merge pull request #19547 from taosdata/fix/TD-21648
fix:add interface for odbc
2023-01-16 13:29:15 +08:00
Haojun Liao
9f61d3ebab
Merge pull request #19559 from taosdata/fix/liaohj
fix(query): use the recycled blocks to reduce the cached buffer.
2023-01-16 11:34:38 +08:00
Haojun Liao
82f4db302e refactor: do some internal refactor. 2023-01-14 23:17:57 +08:00
Haojun Liao
9997362cf7 fix(query): use the recycled blocks to reduce the cached buffer. 2023-01-14 01:12:15 +08:00
Haojun Liao
eea9d4f21d enh(query): prepare the buffer on the stack, instead of heap. 2023-01-13 14:34:15 +08:00
Xiaoyu Wang
9a0c2805f4 merge main 2023-01-13 13:54:04 +08:00
shenglian zhou
50bb847ff9 fix: no stable null group when no normal table 2023-01-12 09:06:58 +08:00
wangmm0220
8af5230bc8 fix:add logic for ins_columns 2023-01-11 23:55:53 +08:00
wangmm0220
672378f000 fix:add logic for ins_columns 2023-01-11 18:54:43 +08:00
Haojun Liao
fc42143c47 fix(query): fix error in generated the group results. 2023-01-11 18:53:20 +08:00
Haojun Liao
e9fc109edf enh(query): opt query perf. 2023-01-11 18:47:45 +08:00
Haojun Liao
7efdc9e27a fix(query): fix memory leak. 2023-01-11 18:00:36 +08:00
Haojun Liao
67a291955e fix(query): initialize output buffer for each output. 2023-01-11 17:36:01 +08:00
Haojun Liao
53f27901a5 Merge branch 'main' into feature/3_liaohj 2023-01-11 15:42:34 +08:00
wangmm0220
19e72938f6 fix:add logic for ins_columns 2023-01-11 15:06:42 +08:00
wangmm0220
3e7aaf6adc fix:add logic for ins_columns 2023-01-11 14:27:36 +08:00
Haojun Liao
78f49db0ad other: merge main. 2023-01-11 13:31:41 +08:00
Haojun Liao
e0dbe22199 fix(query): fix uninitialized memory buffer accessed. 2023-01-11 10:27:23 +08:00
wangmm0220
3b4ff4d094 fix:add logic for scan ins_columns 2023-01-10 20:32:31 +08:00
Liu Jicong
fcbac7236e fix: reset table scan status 2023-01-10 13:47:18 +08:00
Haojun Liao
1354eac985 Merge branch 'main' into feature/3_liaohj 2023-01-10 13:21:49 +08:00
54liuyao
d5ade95b31 feat(stream):user define tag 2023-01-10 10:13:56 +08:00
dapan1121
71d5916030 fix: error code not returned issue 2023-01-09 13:22:11 +08:00
Liu Jicong
c79b722372 remove state commit 2023-01-09 10:12:24 +08:00
Shengliang Guan
d90eef6656 Merge branch '3.0' into merge/mainto3.0_0108 2023-01-08 09:54:21 +08:00
Shengliang Guan
8c042f0eef
Merge pull request #19338 from taosdata/fix/TD-21697
fix: td-21697
2023-01-07 10:55:09 +08:00
Haojun Liao
972f9b6948 refactor: do some internal refactor. 2023-01-07 00:59:05 +08:00
wangmm0220
e1020b7967 fix:add interface for taos_get_current_db 2023-01-06 19:20:31 +08:00
Haojun Liao
d208282a2b refactor: do some internal refactor. 2023-01-06 13:17:22 +08:00
Haojun Liao
9dd07cc1e1 other:merge main. 2023-01-06 12:54:26 +08:00
Haojun Liao
264383c2be enh(query): disable an error log. 2023-01-05 18:59:36 +08:00
Shengliang Guan
3016f35e9f Merge branch '3.0' into merge/mainto3.0_0105 2023-01-05 16:08:23 +08:00
wangmm0220
730fbe42cb fix:add logic for system table ins_columns 2023-01-05 14:34:07 +08:00
Haojun Liao
44e103a6a9 enh(query): remove unnecessary malloc. 2023-01-05 09:38:01 +08:00
Haojun Liao
b0885dddba fix(query): update the hash function for varchar data. 2023-01-04 18:47:12 +08:00
Liu Jicong
5ee7e7aed9 fix: init tsdb read snap 2023-01-04 17:55:00 +08:00
Haojun Liao
c6512b09e8 fix(query): memset the resultrow info 2023-01-04 17:29:02 +08:00
Haojun Liao
c7020e0b82 fix(query): add error check. 2023-01-04 17:08:40 +08:00
Haojun Liao
fbf728f807 enh(query):init result row size. 2023-01-04 17:02:56 +08:00
Minglei Jin
625bf9992f
Merge branch '3.0' into fix/long_query 2023-01-04 15:15:51 +08:00
Liu Jicong
e30c00875c enh: close tsdb reader 2023-01-04 15:14:00 +08:00
Shengliang Guan
848b16b8f6
Merge pull request #19345 from taosdata/feature/3_liaohj
enh(query): opt filter perf.
2023-01-04 13:22:24 +08:00
Haojun Liao
5a343bd01c fix(query): increase the index when handling the var data type. 2023-01-04 11:48:54 +08:00
Xiaoyu Wang
fdde287ca9 merge main 2023-01-04 11:43:20 +08:00
dapan1121
efa994f445
Merge pull request #19339 from taosdata/fix/TD-21659
fix: drop task while task executing issue
2023-01-04 10:35:57 +08:00
Haojun Liao
e07c30be1c fix(query): clear the length before append var data. 2023-01-04 00:49:38 +08:00
Haojun Liao
1a97a659bc fix(query): fix error in filter. 2023-01-04 00:19:04 +08:00
Haojun Liao
00c2d382b1 fix(query): opt filter perf. 2023-01-03 22:45:02 +08:00
yihaoDeng
d383dcd59d fix mem leak 2023-01-03 21:57:00 +08:00
yihaoDeng
b5dbc8439f fix mem leak 2023-01-03 20:35:26 +08:00
Haojun Liao
5c0fd80195 fix(query): fix memory leak. 2023-01-03 19:45:41 +08:00
Haojun Liao
05a2eeed44 fix(query): fix memory leak. 2023-01-03 19:36:53 +08:00
Haojun Liao
bf70cdb474 enh(query): opt filter perf. 2023-01-03 19:35:38 +08:00
Haojun Liao
4dce537a8a enh(query): opt filter perf. 2023-01-03 19:27:16 +08:00
Minglei Jin
b020383046 fix(tsdb): comment qlist out to please CI 2023-01-03 18:30:50 +08:00
dapan1121
1477ce97a7 fix: drop task while task executing issue 2023-01-03 18:07:18 +08:00
Haojun Liao
169a6703d1 enh(query): support event window. 2023-01-03 17:51:50 +08:00
yihaoDeng
68d84a1c37 fix mem leak 2023-01-03 17:49:07 +08:00
yihaoDeng
2fbede75a3 fix mem leak 2023-01-03 17:46:17 +08:00
Haojun Liao
53c3cbd661 enh(query): support event window. 2023-01-03 17:41:10 +08:00
Minglei Jin
07f16b1660 Merge branch 'v3.0' into fix/long_query 2023-01-03 17:21:10 +08:00
dapan1121
47e885da07 fix: evac page failed issue cause of disk full 2023-01-03 15:40:40 +08:00
Haojun Liao
e7b1a7dc78 enh(query): support event window. 2023-01-03 13:15:09 +08:00
Minglei Jin
e4e72dd9e9 fix(tsdb/read): new tsdbReleaseDataBlock api from release reader's lock 2023-01-03 09:43:29 +08:00
dapan1121
d33bcc9977
Merge pull request #19280 from taosdata/fix/TD-21547
fix: insert into select with disorder column issue
2023-01-03 09:24:04 +08:00
Alex Duan
2439c345d9 enh: clear assert remove tbuffer.h 2022-12-30 18:04:54 +08:00
dapan1121
98a2eb03f0 fix: index not updated issue 2022-12-30 17:48:24 +08:00
dapan1121
d674bae88e fix: fix index not update issue 2022-12-30 17:47:06 +08:00
dapan1121
ad777cc793 fix: insert into select with disorder column issue 2022-12-30 14:34:02 +08:00
dapan1121
ee719d02b4 fix: insert into select with disorder column issue 2022-12-30 14:31:56 +08:00
54liuyao
4c6702ab73 fix:modify parameter type 2022-12-30 13:29:29 +08:00
dapan1121
e6c5fd874a
Merge pull request #19175 from taosdata/szhou/fixbugs2
enhance: remove assert
2022-12-30 09:53:59 +08:00
Shengliang Guan
25e9d94f5b
Merge pull request #19244 from taosdata/feature/stream_main
enh: put func state into tdb
2022-12-29 17:17:29 +08:00
Liu Jicong
7721353b6b enh: put func state into tdb 2022-12-29 12:39:07 +08:00
dapan1121
4a142018da
Merge pull request #19224 from taosdata/fix/TD-21561
fix(query): fix count/hyperloglog return additional row in group by when queryPolicy is set to 3.
2022-12-29 12:28:28 +08:00
Ganlin Zhao
24b2ee0fff fix(query): fix count/hyperloglog return additional row in group by
when queryPolicy is set to 3.
2022-12-28 17:29:07 +08:00
54liuyao
c90a632f42 fix:fill operator fill next issue 2022-12-28 15:00: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
Shengliang Guan
d342ebcd77
Merge pull request #18720 from taosdata/refact/submit_req
Refact/submit req
2022-12-28 10:29:00 +08:00
Haojun Liao
5dd9322cbf enh(query): add event window. 2022-12-28 09:16:10 +08:00
dapan1121
79c5b20ba6
Merge pull request #19187 from taosdata/fix/TD-21553
fix:calculate next sliding window error
2022-12-27 18:51:16 +08:00
54liuyao
e5c4196c98 fix:calculate next sliding window error 2022-12-27 17:19:47 +08:00
Shengliang Guan
f9d643dd0b
Merge pull request #19178 from taosdata/fix/set_scan_limit
enh: set scan limit
2022-12-27 16:53:41 +08:00
Shengliang Guan
c844922aef
Merge pull request #19172 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2022-12-27 16:07:23 +08:00
Liu Jicong
39eb62d80d enh: set scan limit 2022-12-27 14:52:41 +08:00
54liuyao
962fab4ff3 fix:remove assert 2022-12-26 17:32:41 +08:00
slzhou
0bef5fdc38 fix: rename symbol 2022-12-26 14:42:36 +08:00
slzhou
5aec2f3ba8 Merge branch 'main' into szhou/fixbugs 2022-12-26 14:39:13 +08:00
slzhou
e1b1ae575b fix: select tbname from system tables 2022-12-26 14:39:00 +08:00
Haojun Liao
8a4fb244fb fix(query): fix coverity issues. 2022-12-26 14:20:05 +08:00
Haojun Liao
f54f6201be fix(query): fix coverity issues. 2022-12-26 14:07:22 +08:00
Haojun Liao
1a07451bc3 refactor: do some internal refactor. 2022-12-26 13:45:25 +08:00
Haojun Liao
723efba79b
Merge branch '3.0' into refact/submit_req 2022-12-26 13:25:25 +08:00
Liu Jicong
cc81892db1
Merge branch '3.0' into feature/stream_3.0 2022-12-26 13:22:24 +08:00
Haojun Liao
a5165ab5e7 refactor: do some internal refactor. 2022-12-26 10:58:17 +08:00
Shengliang Guan
664dcb6b4e Merge branch 'main' into merge/mainto3.0_1226 2022-12-26 09:26:54 +08:00
Shengliang Guan
028cc52846
Merge pull request #19116 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2022-12-26 09:12:35 +08:00
dapan1121
8ea246e549
Merge pull request #19120 from taosdata/fix/TD-21448
fix: interval + fill desc order result different issue
2022-12-25 15:29:10 +08:00
dapan1121
94677762f6 fix: interval + fill desc order result different issue 2022-12-23 18:19:29 +08:00
Xiaoyu Wang
0c269c317b merge 3.0 2022-12-23 17:50:05 +08:00
Haojun Liao
224f5a72c2 refactor: do some internal refactor. 2022-12-23 17:45:12 +08:00
Haojun Liao
a4213aedf0 refactor: do some internal refactor. 2022-12-23 17:23:31 +08:00
Liu Jicong
b1bd24d15a enh: scan exec set limit 2022-12-23 16:35:40 +08:00
dapan1121
1858b8ec36 Merge branch 'fix/TS-2286' into fix/TS-2324 2022-12-23 16:09:12 +08:00
dapan1121
1ae71a858b fix: fix none fill column value issue 2022-12-23 16:01:13 +08:00
dapan1121
c318be9214 fix: duplicated groups result in group by 2022-12-23 12:04:20 +08:00
dapan1121
2c63901782
Merge pull request #19090 from taosdata/fix/TD-21439
fix: invalid interval query result
2022-12-23 09:58:27 +08:00
dapan1121
9ab98f0230 fix: fill value issue 2022-12-22 20:56:23 +08:00
dapan1121
d83883d20e fix: get ts column when data loaded 2022-12-22 20:02:43 +08:00
54liuyao
7c84ddd46d fix:timestampe is out of order 2022-12-22 16:48:33 +08:00
dapan1121
98b2307eb3 fix: invalid interval query result 2022-12-22 16:31:16 +08:00
dapan1121
dacb2cd533 fix: fill null value issue 2022-12-22 14:59:41 +08:00
Liu Jicong
2a7de0cd46 refactor: remove assert 2022-12-21 13:54:14 +08:00
dapan1121
be4361c872 fix: interp takes too much time issue 2022-12-21 11:41:18 +08:00
dapan1121
294a437657 fix: fix percentile + interval res error 2022-12-20 19:50:09 +08:00
dapan1121
32e8202a25 enh: refact insert into select processing 2022-12-20 16:55:11 +08:00
Liu Jicong
c734d040f1 fix(query): projection for null input 2022-12-20 10:24:44 +08:00
Haojun Liao
60b8ce329b Merge branch 'refact/submit_req' of github.com:taosdata/tdengine into refact/submit_req 2022-12-19 11:42:04 +08:00
Haojun Liao
fdade6d6a3
Merge branch '3.0' into refact/submit_req 2022-12-19 11:24:00 +08:00
Ganlin Zhao
09061bcc57 Merge branch '3.0' into feat/TS-2158 2022-12-19 09:23:32 +08:00
Haojun Liao
364e023ba5 fix(query): fix memory leak. 2022-12-16 19:07:09 +08:00
Haojun Liao
28559dc41c fix(query): fix the invalid decode. 2022-12-16 00:43:19 +08:00
Ganlin Zhao
702054c345 feat(query): add _isfilled pseudocolumn to indicate data is origin
or filled.
2022-12-14 17:16:52 +08:00
Shengliang Guan
04750d9078
Merge pull request #18905 from taosdata/feature/3_liaohj
refactor: do multiple refactor and improve some query perf.
2022-12-14 08:01:42 +08:00
Haojun Liao
8b1f452312 fix(query): set data load flag for multi-way merge . 2022-12-13 22:37:29 +08:00
Haojun Liao
9afdee5fd3 fix(query): set data load flag. 2022-12-13 01:30:10 +08:00
Haojun Liao
e3e42cdfbd fix(query): set update ts flag for stream. 2022-12-13 00:16:40 +08:00
Haojun Liao
d7edcfd207 fix(query): set dataload flag. 2022-12-12 18:33:44 +08:00
Haojun Liao
48f7fc5c3d
Merge branch '3.0' into refact/submit_req 2022-12-12 18:11:17 +08:00
Haojun Liao
c31f36d841 fix(query): set data load flag for multi-way merge . 2022-12-12 15:06:40 +08:00
Haojun Liao
2bf21e6a17 fix(query): set flag for merged block. 2022-12-12 14:33:39 +08:00
Haojun Liao
1d9514d6d8 refactor(query): add an assert. 2022-12-12 14:28:08 +08:00
Haojun Liao
6283581cb8 fix(query): remove invalid update block timestamp range. 2022-12-12 13:19:59 +08:00
Haojun Liao
4b5f4e5175 fix(query): fix error in check if load block is needed 2022-12-12 13:07:30 +08:00
Ganlin Zhao
3c777c492d fix: fix taosd crash caused by assert 2022-12-12 10:20:03 +08:00
Shengliang Guan
aa512f1d55
Merge pull request #18874 from taosdata/fix/TD-21117
fix: control rpc qitem memory
2022-12-10 15:58:31 +08:00
Shengliang Guan
066cb34a2d Merge branch 'fix/liao_cov' of https://github.com/taosdata/TDengine into fix/liao_cov 2022-12-10 15:34:30 +08:00
Haojun Liao
7563ba2dfc fix(query): keep the correct value. 2022-12-10 14:07:34 +08:00
Shengliang Guan
50b66df39f fix: control rpc qitem memory 2022-12-10 14:02:57 +08:00
Shengliang Guan
f866f5d294
Merge pull request #18871 from taosdata/main
release: build 3.0.2.0
2022-12-10 12:56:59 +08:00
Shengliang Guan
0c6abb71c8
Merge pull request #18873 from taosdata/fix/liao_cov
fix(query): remove invalid assert and fix the error in memcpy data.
2022-12-10 12:27:41 +08:00
Haojun Liao
c1a68f7f3b fix(query): remove invalid assert and fix the error in memcpy data. 2022-12-10 12:09:07 +08:00
Shengliang Guan
585efa1ffd
Merge pull request #18864 from taosdata/fix/metaCacheMemLeak
fix:fix mem leak
2022-12-10 11:28:29 +08:00
yihaoDeng
e7e34456fb fix mem leak 2022-12-09 22:25:26 +08:00
54liuyao
8caca97568 feat:add delete mark for sma 2022-12-09 11:34:58 +08:00
Haojun Liao
27ebafdbaa other: merge 3.0 2022-12-09 10:19:05 +08:00
kailixu
096e7054f0 refact: tsma/rsma process 2022-12-08 14:16:57 +08:00
Liu Jicong
74a253eac4 refactor 2022-12-08 13:34:42 +08:00
54liuyao
942152947b fix:stream update data 2022-12-08 11:36:34 +08:00
dapan1121
5b21a2394c
Merge pull request #18779 from taosdata/fix/TD-20958-3.0
fix(query): ensure the SMA  SArray*  capacity is enough big to save all the columns for scanning
2022-12-08 09:13:04 +08:00
Shengliang Guan
1bb1025f7d enh: add tassert 2022-12-07 22:24:47 +08:00
Shengliang Guan
6d94afe48f
Revert "refact: adjust some assert cases" 2022-12-07 21:51:17 +08:00
Shengliang Guan
4172acf95d git lo 2022-12-07 19:39:53 +08:00
Shengliang Guan
cc87f99854
Merge pull request #18778 from taosdata/feature/3_liaohj
fix(query):fix the invalid write operation.
2022-12-07 19:34:33 +08:00
Liu Jicong
25df820419 refactor: support submitreq2 2022-12-07 19:06:16 +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
Haojun Liao
0c8bbf5496 fix(query):add an assert. 2022-12-07 18:16:12 +08:00
Liu Jicong
9e7bbf622a refactor: support submitreq2 2022-12-07 17:54:09 +08:00
Alex Duan
15b8b28972 fix(query): SMA ensure support info pColAgg capacity over column numfor this table 2022-12-07 17:52:49 +08:00
Liu Jicong
c5dc7e8227 refactor: support submitreq2 2022-12-07 16:39:46 +08:00
Liu Jicong
b133a56219 refactor: support submitreq2 2022-12-07 15:19:34 +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
Shengliang Guan
24619fef78
Merge pull request #18747 from taosdata/fix/TD-21017
fix: fix tbnameIn bug on normal table
2022-12-06 19:38:11 +08:00
dapan1121
2eb496e9d0
Merge pull request #18741 from taosdata/fix/TD-20929
fix:read data and compute group id
2022-12-06 19:04:47 +08:00
yihaoDeng
2af319ac0a fix tbnameIn bug on normal table 2022-12-06 17:16:34 +08:00
54liuyao
99975ae524 fix:read data and compute group id 2022-12-06 16:26:33 +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
Liu Jicong
619bbdfd82 refactor: support submitreq2 2022-12-06 05:58:28 +08:00
Haojun Liao
7c66b80045 Merge branch '3.0' into feature/3_liaohj 2022-12-04 22:21:49 +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
241638de33
Merge pull request #18661 from taosdata/fix/liao_cov
enh(query): improve the performance and add some todo
2022-12-03 21:41:38 +08:00
Haojun Liao
4a121d40d6 fix(query): fix syntax error. 2022-12-03 13:47:51 +08:00
Haojun Liao
658cb393a7 enh(query): improve the performance and add some todo 2022-12-03 12:11:20 +08:00
Shengliang Guan
d9c261cd13 refact: remove some error codes 2022-12-03 10:17:02 +08:00
Haojun Liao
de0022b473 fix(query): fix error in record the created time. 2022-12-02 23:38:05 +08:00
Haojun Liao
5e77b3eca3 refactor: add function for extract the required buffer during query. 2022-12-02 23:10:03 +08:00
dapan1121
94ab465b15
Merge pull request #18621 from taosdata/fix/removeInvalidTab
fix: remove invalid table
2022-12-02 21:07:43 +08:00
dapan1121
84eb77e124
Merge pull request #18590 from taosdata/szhou/table-count-scan
enhancement: table count scan
2022-12-02 21:07:28 +08:00
Shengliang Guan
6d70f48802
Merge pull request #18592 from taosdata/feature/3_liaohj
enh(query): optimize query perf.
2022-12-02 21:00:35 +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
878f2a2c19 fix(shell): reset dataDispatcher mistake modify 2022-12-02 17:01:40 +08:00
Alex Duan
39482b24db feat(shell): supported affected rows int64_t 2022-12-02 16:42:38 +08:00
Haojun Liao
42a512c39f refactor: do some internal refactor. 2022-12-02 15:52:32 +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
dapan1121
dff4c36092
Merge branch '3.0' into fix/TD-20802 2022-12-02 10:11:39 +08:00
Haojun Liao
83782fb27b fix(query): fix invalid tag fill and clear nullbitmp 2022-12-02 10:07:48 +08:00
Haojun Liao
1faf616f1d fix(query): fix null ptr access in evaluation block distribution. 2022-12-01 22:17:53 +08:00
Haojun Liao
24614d03bd fix(query): set correct sma retrieve procedure. 2022-12-01 21:35:01 +08:00
yihaoDeng
1750b5cc92 remove invalid table 2022-12-01 20:34:06 +08:00
Haojun Liao
efcc3b06bb fix(query): fix memory leak. 2022-12-01 20:01:09 +08:00
slzhou
ee5d0a384f fix: refactor table scan count 2022-12-01 19:05:33 +08:00
Haojun Liao
740daefdc5 fix(query): fix a typo. 2022-12-01 18:39:15 +08:00
Haojun Liao
8c62d5f9fa fix(query): fix bug in tsdbread. 2022-12-01 18:34:26 +08:00
Haojun Liao
f8a2ab8338 refactor: do some internal refactor. 2022-12-01 17:24:26 +08:00
slzhou
a2de81e908 fix: fill scan type for select count(*) from ins_tables 2022-12-01 16:58:47 +08:00
slzhou
b8ed0459a6 fix: change the paramter instead of table name 2022-12-01 16:50:23 +08:00
54liuyao
bccb31aced fix:stream crash && add debug log 2022-12-01 14:15:50 +08:00
dapan1121
6e73c89e50 fix: executor returns kill task error code 2022-12-01 12:22:03 +08:00
slzhou
58c75dde6f fix: add seperate group for normal table when group by db_name/stbable_name 2022-12-01 11:38:34 +08:00
dapan1121
b430f653b9 Merge remote-tracking branch 'origin/3.0' into fix/TD-20802 2022-12-01 09:22:31 +08:00
slzhou
903718940d Merge branch '3.0' of github.com:taosdata/TDengine into szhou/table-count-scan 2022-12-01 09:14:10 +08:00
Haojun Liao
cefe4be1ab refactor: do some internal refactor. 2022-12-01 00:34:06 +08:00
Shengliang Guan
6304959f9b
Merge pull request #18580 from taosdata/fix/TS-2163
fix(query): fix interp with fill(prev) error
2022-11-30 23:21:51 +08:00
Shengliang Guan
5c2ac1a625
Merge pull request #18591 from taosdata/fix/liao_cov
refactor: do some internal refactor.
2022-11-30 22:12:56 +08:00
Haojun Liao
26ab0894a8 fix(query): fix syntax error. 2022-11-30 21:56:02 +08:00
Haojun Liao
2c8b962b5a refactor: do some internal refactor. 2022-11-30 21:04:58 +08:00
slzhou
45ecc2ba52 fix: no result for table cout scan group by dbname,stable_name for systable 2022-11-30 19:52:29 +08:00
Ganlin Zhao
ef054d9ddc fix(query): fix interp with fill(prev) error 2022-11-30 18:01:20 +08:00
slzhou
323e52b8c5 Merge branch 'enh/3.0_planner_optimize' into szhou/table-count-scan 2022-11-30 15:43:41 +08:00
slzhou
259b893f0a fix: integration test of table count scan 2022-11-30 15:42:45 +08:00
54liuyao
b30c56bf7c fix:stream scan handles empty datablcok 2022-11-30 15:21:43 +08:00
dapan1121
45cf5acc32
Merge pull request #18501 from taosdata/fix/TS-2149
fix(query): handle countAlwaysReturnValue behavior
2022-11-30 13:20:51 +08:00
Liu Jicong
89119c6247 Merge branch '3.0' into feature/stream 2022-11-30 09:50:22 +08:00
Haojun Liao
a8703c7fc2 enh(query): optimize the perf. 2022-11-30 00:11:21 +08:00
Liu Jicong
548684e5ac fix(stream): delete multiple row 2022-11-29 23:39:58 +08:00
Haojun Liao
445c4f28f0 enh(query): optimize the perf. 2022-11-29 23:34:22 +08:00
slzhou
6d86fb5b51 Merge branch 'enh/3.0_planner_optimize' into szhou/table-count-scan 2022-11-29 22:19:36 +08:00
Ganlin Zhao
900fe01f0e fix error 2022-11-29 19:32:51 +08:00
Ganlin Zhao
2956eec51f fix partition/group by tag count should not have output 2022-11-29 19:01:09 +08:00
Ganlin Zhao
8c3ff15342 fix partition by column 2022-11-29 18:00:44 +08:00
54liuyao
0b91b5b2b3 fix:calculate the correct deletion range 2022-11-29 17:24:52 +08:00
dapan1121
8ee170bef1 enh: add retry for vnode closed case 2022-11-29 16:17:05 +08:00
dapan1121
d3bf2c3abb
Merge pull request #18527 from taosdata/fix/TD-20667-3.0
fix(query): memory leak with pPageIdList on sort
2022-11-29 12:08:41 +08:00
Haojun Liao
63d5fd4ef2 Merge branch '3.0' into feature/3_liaohj 2022-11-29 11:39:14 +08:00
Haojun Liao
a1585f16f1 ehn(query): improve the merge sort performance. 2022-11-29 11:06:20 +08:00
Haojun Liao
797af5373d enh(query): improve the multi-way merge performance. 2022-11-29 10:59:40 +08:00
Ganlin Zhao
daeeacb450 fix compilation error 2022-11-28 23:54:42 +08:00
Ganlin Zhao
682b3b60ef Merge branch '3.0' into fix/TS-2149 2022-11-28 23:42:16 +08:00
Ganlin Zhao
0597511460 fix scalar error 2022-11-28 22:54:27 +08:00
Alex Duan
0b3f21bef7 fix(query): memory leak with pPageIdList on sort1 2022-11-28 21:51:43 +08:00
Alex Duan
48f4d26acd fix(query): memory leak with pPageIdList on sort1 2022-11-28 21:49:29 +08:00
Alex Duan
cab48ced20 fix(query): memory leak with pPageIdList on sort 2022-11-28 21:40:46 +08:00
Shengliang Guan
b56b9414a3
Merge pull request #18516 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2022-11-28 20:56:33 +08:00
Shengliang Guan
1f77b78de7
Merge pull request #18515 from taosdata/feature/stream
fix(stream): fill combine with subtable
2022-11-28 16:46:16 +08:00
Haojun Liao
3878af10c9 refactor: do some internal refactor. 2022-11-28 16:13:18 +08:00
Liu Jicong
95e4a4812e fix(stream): fill combine with subtable 2022-11-28 15:04:35 +08:00
Haojun Liao
e802fb47ad fix(query): update the copy function. 2022-11-28 14:36:55 +08:00
Haojun Liao
6e81e8cc73 refactor: do some internal refactor. 2022-11-28 12:32:40 +08:00
slzhou
b289adce9b fix: save work 2022-11-28 11:12:06 +08:00
Ganlin Zhao
8fba0b631c Merge branch '3.0' into fix/TS-2149 2022-11-28 01:02:57 +08:00
Haojun Liao
d8da10f2bb refactor: do some internal refactor. 2022-11-28 00:51:18 +08:00
Ganlin Zhao
ab86b6ba47 fix hyperloglog bugs 2022-11-28 00:30:39 +08:00
Haojun Liao
87d9836a75 refactor: do some internal refactor. 2022-11-28 00:28:29 +08:00
Haojun Liao
b0ee829db2 refactor: do some internal refactor. 2022-11-28 00:27:49 +08:00
Shengliang Guan
e6aed5195d
Merge pull request #18468 from taosdata/feature/3_liaohj
refactor: improve the perf in query
2022-11-27 23:10:00 +08:00
Ganlin Zhao
c019645193 fix bugs 2022-11-27 20:38:39 +08:00
Ganlin Zhao
294af08f7a fix(query): handle countAlwaysReturnValue behavior
when input data is empty
2022-11-27 16:04:36 +08:00
Haojun Liao
e29e477b0c fix(query): update api to avoid deadlock. 2022-11-27 15:46:31 +08:00
Haojun Liao
203ea1f9c8 fix(query): fix error 2022-11-27 14:57:44 +08:00
slzhou
b5b6fff68b feature: save work 2022-11-27 13:50:36 +08:00
Haojun Liao
31c2aa89ef fix(query): do some internal refactor. 2022-11-27 01:59:49 +08:00
slzhou
2cccfe2be4 feature: save work 2022-11-26 23:03:12 +08:00
Haojun Liao
0948216ca9 fix(query): fix dead lock. 2022-11-26 21:13:34 +08:00
Haojun Liao
9997ff9ada fix(query): fix one typo 2022-11-26 15:33:53 +08:00
Haojun Liao
965ee9a6c8 fix(query): keep block order in exchange operator. 2022-11-26 15:32:36 +08:00
Haojun Liao
257137e55e fix(query): fix memory leak. 2022-11-26 12:15:49 +08:00
Shengliang Guan
ccc2407fe6
Merge pull request #18459 from taosdata/feature/stream
enh(stream): new api for stream queue
2022-11-26 09:26:01 +08:00
Shengliang Guan
7eb5ac340b
Merge pull request #18464 from taosdata/fix/liao_cov
fix(query): check the error code, if the downstream is an exchange operator.
2022-11-26 09:24:30 +08:00
Haojun Liao
0015e65f5b fix(query): remove invalid free 2022-11-26 02:13:46 +08:00
Haojun Liao
802ca0f607 fix(query): fix memory leak. 2022-11-26 00:58:29 +08:00
Haojun Liao
86fda9f3da fix(query): fix error in windows and darwin system. 2022-11-25 23:06:32 +08:00
slzhou
c2a7404b42 save work in case it losts 2022-11-25 23:00:14 +08:00
Haojun Liao
7fe4cf7bbe
Merge branch '3.0' into feature/3_liaohj 2022-11-25 22:24:59 +08:00
dapan1121
5cce33b45b
Merge pull request #18458 from taosdata/fix/TD-20654-3.0
fix: asan problems for rsma
2022-11-25 19:49:51 +08:00
Haojun Liao
ead69f7779 refactor: do some internal refactor. 2022-11-25 18:22:09 +08:00
Haojun Liao
46e1438c2a fix(query): check the error code, if the downstream is an exchange operator. 2022-11-25 18:16:27 +08:00
Liu Jicong
48894c8bdb enh(stream): new api for stream queue 2022-11-25 18:03:40 +08:00
kailixu
a70583c4af fix: asan problems for rsma 2022-11-25 16:15:15 +08:00
54liuyao
4108d8f898 fix:support scalar function with fill 2022-11-25 14:59:11 +08:00
Shengliang Guan
397a92ee56
Merge pull request #18450 from taosdata/fix/liao_cov
fix(query): check for null ptr before extracting info
2022-11-25 13:36:37 +08:00
Haojun Liao
b39153101a fix(query): check for null ptr before extract sort execution information. 2022-11-25 11:42:38 +08:00
Haojun Liao
e5e817ae55 other: merge 3.0 2022-11-24 17:24:24 +08:00
Haojun Liao
8dd780b486 other: merge 3.0 2022-11-24 17:17:53 +08:00
Haojun Liao
f745dec5ec other: merge 3.0 2022-11-24 17:17:22 +08:00
Haojun Liao
9a208b2d09 other: merge 3.0 2022-11-24 17:08:15 +08:00
Shengliang Guan
130d6e3b6c
Merge pull request #18419 from taosdata/fix/TD-20664
fix:Explicit null dereferenced
2022-11-24 16:50:16 +08:00
Xiaoyu Wang
5956d8f4fd enh: group by tbname optimize 2022-11-24 15:38:48 +08:00
Haojun Liao
1e22adeabc fix(query): set correct data source flag. 2022-11-24 15:11:24 +08:00
54liuyao
e0e663c6fa fix:Explicit null dereferenced 2022-11-24 14:51:15 +08:00
Shengliang Guan
631dc756b1
Merge pull request #18426 from taosdata/fix/liao_cov
fix(query): fix error in seq fetch data block.
2022-11-24 13:44:07 +08:00
Haojun Liao
5d5538a12c fix(query): fix error in seq fetch data block. 2022-11-24 12:36:14 +08:00
Shengliang Guan
7d91f3565d
Merge pull request #18395 from taosdata/fix/liao_cov
refactor: enable continue query when the buffer of sink node is empty
2022-11-24 11:47:07 +08:00
Haojun Liao
b460974f43 fix(query): fix syntax error. 2022-11-24 10:32:31 +08:00
54liuyao
b27faba7ef fix:initialize maxts 2022-11-24 10:29:01 +08:00
Shengliang Guan
7f4a14fbb7
Merge pull request #18369 from taosdata/szhou/fixbugs
fix: build data from mem/imem first when large nchar column incur …eBlockShouldLoad since SDataBlockToLoadInfo.moreThanCapacity
2022-11-24 08:24:41 +08:00
Shengliang Guan
962aa4aff4
Merge pull request #18383 from taosdata/feature/stream
fix(stream): memory leak
2022-11-24 08:17:40 +08:00
Liu Jicong
a02919495b fix(stream): set tbname for parition 2022-11-24 03:59:50 +08:00
slzhou
8d77b0cfb7 fix: save work 2022-11-23 20:42:00 +08:00
shenglian zhou
7f6ff39648 feat: table merge scan save work 2022-11-23 19:47:24 +08:00
slzhou
8b9c34504d fix: core dump when left data block id is equal to right data block id 2022-11-23 16:38:59 +08:00
Haojun Liao
05f84c184e fix(query): fix syntax error. 2022-11-23 15:36:38 +08:00
dapan1121
b85fc92771
Merge pull request #18375 from taosdata/fix/TS-2091-V30
fix(shell): output redirect to file need not call fflush
2022-11-23 15:10:27 +08:00
Haojun Liao
c623336b6e refactor: enable continue query when the buffer of sink node is lower or empty. 2022-11-23 13:59:38 +08:00
dapan1121
188e6e6c7d
Merge pull request #18325 from taosdata/enh/msgRefactor2
enh: refact some messages
2022-11-23 13:53:37 +08:00
Haojun Liao
f92c1d4271 refactor: add some logs. 2022-11-23 13:48:15 +08:00
Haojun Liao
6b53003f94 refactor: add some logs. 2022-11-23 12:18:38 +08:00
Alex Duan
3ad83db5b7 fix(query): remove 2.6 test code 2022-11-23 10:55:28 +08:00
Shengliang Guan
fda726df0c
Merge pull request #18371 from taosdata/fix/liao_cov
refactor: do some internal refactor.
2022-11-23 09:25:13 +08:00
Haojun Liao
ee371ba6c3 Merge branch '3.0' into fix/liao_cov 2022-11-23 09:09:32 +08:00
dapan1121
2a1e6bf244
Merge pull request #18362 from taosdata/fix/TD-20584
fix: crash issue caused by insert from query clause
2022-11-23 08:43:16 +08:00
Haojun Liao
50a64b1ee8 refactor: do some internal refactor. 2022-11-22 22:46:06 +08:00
Haojun Liao
0d60f24db5 refactor: do some internal refactor. 2022-11-22 22:42:44 +08:00
Shengliang Guan
d588cd37f8
Merge pull request #18357 from taosdata/fix/liao_cov
fix(query): fix memory leak.
2022-11-22 20:49:33 +08:00
Shengliang Guan
a2138bfc62
Merge pull request #18353 from taosdata/fix/TD-20620
fix:Direct leak in timewindowoperator.c
2022-11-22 19:45:56 +08:00
dapan1121
842217e77d fix: crash issue caused by insert from query clause 2022-11-22 18:53:48 +08:00
dapan1121
e1ea03fbda
Merge pull request #18345 from taosdata/fix/TD-20591
fix:  crash caused by elect null and issues found in asan
2022-11-22 18:49:19 +08:00
Haojun Liao
7c7b2f1cef fix(query): fix memory leak. 2022-11-22 18:06:01 +08:00
54liuyao
5b8d3d57bb fix:Direct leak in timewindowoperator.c 2022-11-22 17:01:59 +08:00
54liuyao
2020ea0a76 fix:stream fill crash 2022-11-22 16:28:55 +08:00
dapan1121
e42f895fea fix: fix select null crash issue and asan issues 2022-11-22 16:07:04 +08:00
dapan1121
dd5b2b73b3
Merge pull request #18336 from taosdata/fix/TD-20563
fix [ASAN] memory leak while tdbRealloc
2022-11-22 15:48:22 +08:00
Haojun Liao
2da5a6106e refactor: do some internal refactor. 2022-11-22 15:31:20 +08:00
54liuyao
d3fe6f0ba3 fix [ASAN] memory leak while tdbRealloc 2022-11-22 14:36:27 +08:00
dapan1121
19852ba85b Merge remote-tracking branch 'origin/3.0' into enh/msgRefactor2 2022-11-22 10:45:11 +08:00
dapan1121
cafc5e4cae enh: refact fetch message 2022-11-22 10:43:56 +08:00
Haojun Liao
6d5a256774 fix(query): fix some memory leaks. 2022-11-21 22:40:20 +08:00
Haojun Liao
1bd0cc4a5a refactor: do some internal refactor, and update the logs. 2022-11-21 15:09:18 +08:00
dapan1121
d3a75048c2
Merge pull request #17972 from taosdata/fix/TD-20246
refactor: optimize interp linear interpolation ignore NULL values during calculation
2022-11-21 10:15:37 +08:00
Haojun Liao
5c60bf9a47 fix(query): disable limit in table merge scan. 2022-11-18 23:16:33 +08:00
Haojun Liao
f24eb634ef fix(query): fix memory leak. 2022-11-18 22:38:50 +08:00
Haojun Liao
e09ea90b97 other: merge 3.0 2022-11-18 22:19:32 +08:00
Shengliang Guan
0312833e48
Merge pull request #18270 from taosdata/fix/TD-20413
fix: fix memleak
2022-11-18 21:04:48 +08:00
Shengliang Guan
9eca87aceb
Merge pull request #18234 from taosdata/szhou/fixbugs
fix: scalar mnode for in set more than 10 and print only 1000 groups …
2022-11-18 20:01:50 +08:00
Shengliang Guan
a12cf7f91d
Merge pull request #18266 from taosdata/feature/stream
enh(stream): put user defined tb name into stream state
2022-11-18 19:56:56 +08:00
yihaoDeng
6775888545 fix memleak 2022-11-18 18:21:22 +08:00
Haojun Liao
54e7335477 fix(query): set the scan flag. 2022-11-18 17:27:05 +08:00
Liu Jicong
9a603e5663 enh(stream): put user defined tb name into stream state 2022-11-18 17:21:50 +08:00
Haojun Liao
a39dc7b2bb fix(query): init cache. 2022-11-18 17:07:09 +08:00
slzhou
9994a9f2c5 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-11-18 16:24:49 +08:00
Ganlin Zhao
4703ccc4bc fix fill prev/next error 2022-11-18 15:54:25 +08:00
Ganlin Zhao
7291f2bd5a change interp linear behavior 2022-11-18 14:35:44 +08:00
Haojun Liao
f26a492c67 fix(query): check result size before store it. 2022-11-18 14:00:27 +08:00
Haojun Liao
8b1e13af5e refactor: do some internal refactor. 2022-11-18 13:40:03 +08:00
Haojun Liao
875989aa30 refactor: do some internal refactor. 2022-11-18 11:24:56 +08:00
dapan1121
48d5e13ae3
Merge pull request #18233 from taosdata/fix/TS-2069-3.0
fix(query): createOneDataBlock rowsize must reset to zero
2022-11-18 11:11:48 +08:00
slzhou
83ee245715 fix: only set scan info information when the interp input operator is table scan 2022-11-18 10:12:21 +08:00
Haojun Liao
2055879deb refactor: do some internal refactor. 2022-11-18 09:47:26 +08:00
Ganlin Zhao
c8f069c647 change interp linear behavior 2022-11-18 09:43:40 +08:00
Shengliang Guan
fa6705df7a Merge branch '3.0' into fix/TD-20458 2022-11-17 21:23:42 +08:00
Haojun Liao
786caafab5 fix: check correct error code. 2022-11-17 19:01:16 +08:00
Haojun Liao
e9aae51d85 fix(query): set correct error code. 2022-11-17 18:59:15 +08:00
Haojun Liao
4cb8d1b16c Merge branch '3.0' into fix/liao_cov 2022-11-17 18:45:36 +08:00
54liuyao
2635ec27b4 fix:memory leak while drop stream 2022-11-17 18:45:12 +08:00
Haojun Liao
05ce262277 refactor:set the correct error code. 2022-11-17 17:30:57 +08:00
dapan1121
6aed8932a9
Merge pull request #18231 from taosdata/fix/TD-20428
fix:fill operator core
2022-11-17 17:05:05 +08:00
Haojun Liao
4cb7b369ac refactor: suppress one error. 2022-11-17 16:11:42 +08:00
Shengliang Guan
9b29fa0cc6
Merge pull request #18223 from taosdata/feature/stream
fix(stream): stop scan when no output
2022-11-17 13:44:36 +08:00
54liuyao
507aa0c7f8 fix:fill operator core 2022-11-17 13:35:23 +08:00
Ganlin Zhao
8a19e84fe4 Merge branch '3.0' into fix/TD-20246 2022-11-17 11:20:33 +08:00
Liu Jicong
5161eca70f fix(stream): stop scan when no output 2022-11-17 10:30:05 +08:00
Shengliang Guan
bffe0eea2a
Merge pull request #18216 from taosdata/feature/stream
fix(stream): skip check update for scalar
2022-11-16 19:53:03 +08:00
Liu Jicong
e2005cfa86 fix(stream): skip check update for scalar 2022-11-16 18:48:08 +08:00
Shengliang Guan
c8f9707d5a
Merge pull request #18203 from taosdata/feature/stream
enh(stream): add tbname map cache
2022-11-16 17:15:30 +08:00
Alex Duan
28c692b52f fix(query): fixed build error 2022-11-16 16:10:22 +08:00
Alex Duan
8b82fdf0e8 fix(query): correct calc sort page size 2022-11-16 16:00:37 +08:00
Haojun Liao
42f8abcc0e refactor: do some internal refactor. 2022-11-16 15:24:30 +08:00
Haojun Liao
819235dd3b refactor: do some internal refactor. 2022-11-16 15:21:33 +08:00
Haojun Liao
2ee5fa87d0 refactor: do some internal refactor. 2022-11-16 15:19:15 +08:00
Liu Jicong
ab57d069d4 enh(stream): add tbname map cache 2022-11-16 15:18:31 +08:00
Haojun Liao
fade0507fa refactor: do some internal refactor. 2022-11-16 15:17:13 +08:00
Haojun Liao
82f22e407d refactor: do some internal refactor. 2022-11-16 15:13:54 +08:00
Haojun Liao
23da7bc5e9 refactor: add some logs. 2022-11-16 15:13:38 +08:00
Haojun Liao
2320c0d2bd refactor: update some logs. 2022-11-16 14:40:39 +08:00
Haojun Liao
7d00b7a6c4 refactor: add tag filter cache. 2022-11-16 14:23:12 +08:00
slzhou
8f6ba995a5 fix: get group id from the group list when last row scan 2022-11-16 13:27:53 +08:00
Shengliang Guan
7d443b1679
Merge pull request #18174 from taosdata/feature/stream
refactor: stream meta ref count
2022-11-15 20:07:42 +08:00
Shengliang Guan
53167df712
Merge pull request #18175 from taosdata/fix/TD-20444
fix stack-buffer-overflow in timewindowoperator.c
2022-11-15 19:47:35 +08:00
Liu Jicong
a9bf05bc01 refactor: stream meta ref count 2022-11-15 19:11:42 +08:00
54liuyao
d696745e00 fix stack-buffer-overflow in timewindowoperator.c 2022-11-15 18:42:10 +08:00
dapan1121
49a3623f1a
Merge pull request #18112 from taosdata/fix/TD-19892
fix(query): report error if certain function query stable has duplicate timestamps
2022-11-15 17:24:08 +08:00
Cary Xu
6c1361ef80 fix: null pointer check when invoke memcpy 2022-11-15 13:59:00 +08:00
Liu Jicong
efde22f081 fix: memory leak 2022-11-15 11:59:29 +08:00
Shengliang Guan
1312b9c785
Merge pull request #18125 from taosdata/fix/liao_cov
fix(query): fix errors found by asan.
2022-11-14 20:55:25 +08:00
Alex Duan
b2f9eeb5bb fix(query): fill operator memory leak fixed 2022-11-14 18:49:11 +08:00
Haojun Liao
cf56c38e7a fix(query): fix errors found by asan. 2022-11-14 17:10:25 +08:00
Haojun Liao
c35f668c17 refactor: increase the initial buffer size. 2022-11-14 14:37:28 +08:00
Haojun Liao
c888cbf068 refactor: do some internal refactor. 2022-11-14 14:14:24 +08:00
dapan1121
14a1f4e373
Merge pull request #18074 from taosdata/fix/TD-20300
fix: fix query thread quit issue
2022-11-14 11:28:30 +08:00
Haojun Liao
7b53b8142e refactor: do some internal refactor. 2022-11-12 16:03:47 +08:00
Shengliang Guan
48c0358e98
Merge pull request #18073 from taosdata/feature/stream
fix(query): set tbname for stream session delete
2022-11-12 09:42:18 +08:00
Haojun Liao
ab52d28cb0 refactor: do some internal refactor. 2022-11-11 22:18:06 +08:00
dapan1121
56b33e9200 Merge remote-tracking branch 'origin/3.0' into fix/TD-20300 2022-11-11 18:57:12 +08:00
dapan1121
f60441e2dd fix: fix query thread quitting issue 2022-11-11 18:44:59 +08:00
Haojun Liao
6ae82b071e refactor: do some internal refactor. 2022-11-11 18:28:16 +08:00
dapan1121
7af2444300
Merge pull request #18065 from taosdata/fix/TD-20333
fix:avoid duplicate results
2022-11-11 18:16:20 +08:00
Haojun Liao
f3be445412 refactor: do some internal refactor. 2022-11-11 18:09:38 +08:00
Liu Jicong
0a298fb23d fix(query): set tbname for stream session delete 2022-11-11 18:06:41 +08:00
Shengliang Guan
b33d0e05f7
Merge pull request #18060 from taosdata/fix/set_offset_for_empty_record
fix(query): set offset for empty record
2022-11-11 17:30:38 +08:00
dapan1121
89c13efba8 fix: fix query thread quit issue 2022-11-11 17:13:55 +08:00
54liuyao
7ea790021f fix:avoid duplicate results 2022-11-11 16:18:54 +08:00
Liu Jicong
265bb81b49 fix(query): set offset for empty record 2022-11-11 15:35:17 +08:00
Ganlin Zhao
1cba568604 fix(query): report error if certain function query stable has duplicate
timestamps

TD-19892
2022-11-11 15:22:00 +08:00
Shengliang Guan
b28f05e6fb
Merge pull request #18037 from taosdata/feature/stream
fix(stream): tbname max len to 192
2022-11-11 11:08:40 +08:00
Liu Jicong
df4fd528c0 fix(stream): tbname max len to 192 2022-11-11 10:09:46 +08:00
dapan1121
0eb89b1bd7
Merge pull request #18022 from taosdata/fix/TS-2038
fix(operator):Operator double free
2022-11-11 09:38:44 +08:00
54liuyao
1ca9839170 fix(operator):Operator double free 2022-11-10 15:47:07 +08:00
Liu Jicong
4afa56eb38 merge 3.0 2022-11-10 15:38:30 +08:00
Haojun Liao
9f5cf450de refactor: do some internal refactor. 2022-11-10 15:37:18 +08:00
Liu Jicong
cebc6b6697 fix(stream): state and session agg partition tbname 2022-11-10 14:43:37 +08:00
Shengliang Guan
5fb254739c
Merge pull request #18013 from taosdata/feature/stream
fix(stream): partition tbname reset to null
2022-11-10 11:22:06 +08:00
Liu Jicong
d56dc950e4 fix(stream): partition tbname reset to null 2022-11-10 10:02:45 +08:00
Haojun Liao
a2cec238ec fix(query): set correct operator type. 2022-11-09 22:16:56 +08:00
Haojun Liao
015f1a1df8 other: merge 3.0 2022-11-09 19:17:45 +08:00
Haojun Liao
2402fd1d48 refactor: do some internal refactor. 2022-11-09 19:14:27 +08:00
Haojun Liao
dc67c5041a refactor: do some internal refactor. 2022-11-09 13:46:19 +08:00
Haojun Liao
b48752686e refactor: do some internal refactor. 2022-11-09 13:45:46 +08:00
54liuyao
da13891ca4 fix(stream):partition operator memory leak 2022-11-09 12:52:17 +08:00
Shengliang Guan
0d4239af46
Merge pull request #17976 from taosdata/feature/3_liaohj
enh(query): optimize the query perf.
2022-11-09 11:41:17 +08:00
dapan1121
7af6a0feaa
Merge pull request #17963 from taosdata/feature/stream_ly
fix(stream): state window, error result after deleting data
2022-11-09 11:18:25 +08:00
Haojun Liao
68f2f92116 fix(query): fix the syntax errors. 2022-11-09 09:07:21 +08:00
Haojun Liao
d238f387ce other: merge 3.0 2022-11-09 00:00:14 +08:00
Ganlin Zhao
b902ab0d61 refactor code 2022-11-08 18:48:22 +08:00
Ganlin Zhao
f19f620136 interp fill linear do not output NULL value 2022-11-08 18:25:38 +08:00
dapan1121
884144ba23
Merge pull request #17960 from taosdata/fix/TD-20267
fix: filter merge issue
2022-11-08 17:52:31 +08:00
Ganlin Zhao
6aca4b8a5c enh: interp fill linear ignore null values during calculation 2022-11-08 14:51:32 +08:00
Ganlin Zhao
a7d21c9ee7 enh: interp fill linear ignore null values during calculation 2022-11-08 14:50:03 +08:00
54liuyao
f66eded1e1 fix(stream): state window, error result after deleting data 2022-11-08 14:40:44 +08:00
dapan1121
d09351da68 fix: filter merge issue 2022-11-08 14:22:00 +08:00
Liu Jicong
bc469f7f7b fix(stream): delete tb should be checked in write thread 2022-11-08 11:30:29 +08:00
Haojun Liao
9863879951 refactor: do some internal refactor. 2022-11-08 09:21:43 +08:00
Haojun Liao
1da67a569d fix(query): set correct status. 2022-11-08 00:23:40 +08:00
Haojun Liao
b16853983e fix(query): count the correct number of completed sources. 2022-11-07 19:27:35 +08:00
Haojun Liao
d016fc9d47 fix(query): set retrieve completed flag for exchange operator. 2022-11-07 18:27:26 +08:00
Haojun Liao
9932fa6bf0 refactor: refactor to avoid spin operator in exchange operator. 2022-11-07 17:48:27 +08:00
Haojun Liao
0e11d344cc fix(query): increase the buffer size to 128Kb. 2022-11-07 16:04:13 +08:00
Haojun Liao
088a61bee5 fix(query): release the handle 2022-11-07 16:02:53 +08:00
Haojun Liao
c86427c771 fix(query): enable update buf. 2022-11-07 15:27:09 +08:00
Haojun Liao
fea40da5dc other: merge 3.0 2022-11-07 14:31:01 +08:00
Haojun Liao
2a49fed4ad fix(query): remove invalid free. 2022-11-07 14:02:23 +08:00
Haojun Liao
558cf28ae7 other: add log. 2022-11-07 13:26:10 +08:00
Haojun Liao
8ec132be6e other: add log. 2022-11-07 13:25:09 +08:00
Haojun Liao
cd29972a4d enh(query): add cache for table meta. 2022-11-07 11:53:23 +08:00
Haojun Liao
be5b72b25d enh(query): add cache for table meta entry in table scan. 2022-11-07 10:17:42 +08:00
Haojun Liao
c1794e0252 refactor: do some internal refactor. 2022-11-07 09:38:44 +08:00
Haojun Liao
270404318c other: merge 3.0 2022-11-07 09:28:22 +08:00
Haojun Liao
341112923b fix(query): init filter in group operator. 2022-11-06 23:42:04 +08:00
Haojun Liao
2c4c9e69de fix(query): init filter in sys table scan. 2022-11-06 23:15:23 +08:00
Haojun Liao
f44dd569cc fix(query): remove the invalid capacity changing. 2022-11-06 16:09:19 +08:00
Haojun Liao
10cd3c0f29 fix(query): remove the invalid capacity changing. 2022-11-06 15:18:33 +08:00
Haojun Liao
9d1998d7d2 fix(query): temporarily disable assert. 2022-11-06 11:53:07 +08:00
Haojun Liao
e3d0bc6bf7 other: merge 3.0. 2022-11-06 11:37:21 +08:00
Haojun Liao
d200fe5145 refactor: do some internal refactor. 2022-11-06 01:34:04 +08:00
dapan1121
91ff489813
Merge pull request #17899 from taosdata/fix/TD-20170
fix: fix interval query memory leak
2022-11-05 16:44:15 +08:00
Haojun Liao
8c4be7dc21 refactor: do some internal refactor. 2022-11-04 22:13:40 +08:00
Haojun Liao
03f4918b3b refactor: do some internal refactor. 2022-11-04 18:46:48 +08:00
Shengliang Guan
8ce2e12423
Merge pull request #17886 from taosdata/feature/3_liaohj
fix(query): set the last key of each tablescan info
2022-11-04 18:46:17 +08:00
Shengliang Guan
8886785be1
Merge pull request #17853 from taosdata/fix/liao_cov
refactor(query): do some internal  refactor.
2022-11-04 15:58:11 +08:00
dapan1121
69d545fb8d fix: fix interval query memory leak 2022-11-04 13:55:54 +08:00
Haojun Liao
0315414623 other: merge 3.0 2022-11-03 19:03:09 +08:00
Haojun Liao
4959529127 fix(query): set the last key of each tablescan info 2022-11-03 19:00:13 +08:00
Shengliang Guan
33d64b67ff
Merge pull request #17865 from taosdata/feature/stream
refactor(stream): stream deploy and state transfer
2022-11-03 15:24:39 +08:00
dapan1121
62ca522b80
Merge pull request #17861 from taosdata/fix/TD-20086
fix: fix taosd memory leak issue
2022-11-03 15:05:57 +08:00
Liu Jicong
15ad147c40 Merge branch '3.0' into feature/stream 2022-11-03 13:37:59 +08:00
Liu Jicong
2fbc8e6306 refactor(stream): stream deploy and state transfer 2022-11-03 13:22:23 +08:00
dapan1121
499a266daf
Merge pull request #17855 from taosdata/fix/TD-20087
fix: fix tbname in crash issue
2022-11-03 11:48:31 +08:00
dapan1121
d282e511e3 fix: fix taosd memory leak issue 2022-11-03 11:47:15 +08:00
Haojun Liao
7a14bc05ea fix(query): fix some issues about the initialization of SColumnInfoData. 2022-11-03 10:57:05 +08:00
Haojun Liao
e83159f0d9 refactor: increase the buffer for each agg operator, and make the pointer attributes in SColumnInfoData to be aligned to 8bit in memory to speedup the execution of memmove & memset. 2022-11-03 10:47:55 +08:00
dapan1121
4039e99d96
Merge pull request #17816 from taosdata/fix/TD-19686
fix: return err code when query fail
2022-11-03 10:45:54 +08:00
dapan1121
1eef25620d fix: fix tbname in crash issue 2022-11-03 10:09:36 +08:00
Haojun Liao
9f5a0f01ea Merge branch '3.0' into fix/liao_cov 2022-11-03 10:02:23 +08:00
Haojun Liao
11c4878ca1 refactor(query): do some internal refactor. 2022-11-03 10:01:11 +08:00
yihaoDeng
7fba18bbbd merge 2022-11-02 09:50:55 +08:00
dapan1121
c19a915ec3
Merge pull request #17809 from taosdata/feature/TD-20100
fix(executor): Batch Partition Operator memory leak
2022-11-02 09:07:32 +08:00
yihaoDeng
12be1a8b22 merge 2022-11-01 21:47:58 +08:00
yihaoDeng
f8695563f0 fix TD-19686 2022-11-01 19:27:35 +08:00
yihaoDeng
fafdfc73ca fix TD-19686 2022-11-01 19:13:07 +08:00
Liu Jicong
60bb2c18dc Merge branch '3.0' into feature/stream 2022-11-01 18:19:15 +08:00
Liu Jicong
94e7c79ca0 fix(tmq): handle adding subtable for subscribing stb 2022-11-01 18:18:26 +08:00
54liuyao
a1c4572ad8 fix(executor): Batch Partition Operator memory leak 2022-11-01 17:25:05 +08:00
Shengliang Guan
18f7d658d9
Merge pull request #17804 from taosdata/feature/3_liaohj
refactor: add some logs.
2022-11-01 16:46:24 +08:00
Shengliang Guan
68f1641991
Merge pull request #17800 from taosdata/feature/stream
refactor(stream): fill history
2022-11-01 16:15:07 +08:00
Liu Jicong
92804d317e Merge branch '3.0' into feature/stream 2022-11-01 15:47:37 +08:00
Haojun Liao
cff5d9295e refactor: add some logs. 2022-11-01 15:00:02 +08:00
Haojun Liao
b78249c548 other: merge 3.0 2022-11-01 13:52:08 +08:00
Haojun Liao
83495ed5d3 fix(query): set the correct buffer to accommodate the tag values. 2022-11-01 13:49:02 +08:00
Liu Jicong
5ff701ef1d fix(query):reset tsdb reader 2022-11-01 13:35:23 +08:00
Liu Jicong
8ca5f0bd9c Merge branch '3.0' into feature/stream 2022-11-01 13:20:20 +08:00
Liu Jicong
5e253cc8ea refactor(stream): fill history 2022-11-01 11:56:14 +08:00
Haojun Liao
e533794cb7 Merge branch '3.0' into fix/liao_cov 2022-11-01 09:08:46 +08:00
Haojun Liao
c17a921a03 fix(query): set the correct buffer to accommodate the tag values. 2022-10-31 23:19:40 +08:00
Haojun Liao
1fd3ad502a fix(query): ensure the capacity before loading tags value. 2022-10-31 19:01:28 +08:00
54liuyao
b8e451d272 fix(stream): scalar stream update data 2022-10-31 18:33:30 +08:00
Haojun Liao
f29127a15e ehn(query): do some internal refactor. 2022-10-31 18:04:58 +08:00
Haojun Liao
08c2b3ff05 fix(query): set correct error code. 2022-10-31 16:40:03 +08:00
Haojun Liao
f38e9664f9 other:merge 3.0 2022-10-31 15:32:48 +08:00
Haojun Liao
7135f35b21 refactor: do some internal refactor. 2022-10-31 15:06:51 +08:00
Haojun Liao
a1db402500 refactor: do some internal refactor. 2022-10-31 14:38:01 +08:00
Haojun Liao
adf085ab46 refactor: do some internal refactor. 2022-10-31 14:17:57 +08:00
Haojun Liao
c4f4e008d0 fix(query): add null ptr check. 2022-10-31 11:53:35 +08:00
Haojun Liao
79ea4c2c79 fix(query): add null ptr check. 2022-10-31 11:43:00 +08:00
Haojun Liao
f790d91b45 fix(query): check null before free resource, and some internal refactor. 2022-10-31 10:41:25 +08:00
Haojun Liao
864e2c60a7 fix(query): invoke the different api for extract queried table list. 2022-10-31 09:48:23 +08:00
Haojun Liao
a3ed903dfd refactor: do some internal refactor. 2022-10-30 22:26:11 +08:00
Haojun Liao
46a6d9ab99 refactor: do some internal refactor. 2022-10-30 22:23:27 +08:00
Haojun Liao
f990ceab6e refactor: do some internal refactor. 2022-10-30 22:13:49 +08:00
Haojun Liao
365e6eec80 refactor: do some internal refactor. 2022-10-30 11:29:55 +08:00
Haojun Liao
41c99c02ef refactor: do some internal refactor. 2022-10-30 11:17:07 +08:00
Haojun Liao
2c524cad4a refactor: do some internal refactor. 2022-10-30 03:08:33 +08:00
Haojun Liao
52c3777823 refactor: do some internal refactor. 2022-10-30 03:01:40 +08:00
Haojun Liao
4e74782799 refactor: do some internal refactor. 2022-10-29 20:47:14 +08:00
Haojun Liao
6fc0e1b60d refactor: do some internal refactor. 2022-10-29 18:32:17 +08:00
Haojun Liao
1886087e7b refactor: do some internal refactor. 2022-10-29 18:17:43 +08:00
Haojun Liao
e4de732285 fix(query): always build hash map from uid to keyinfo 2022-10-29 18:15:00 +08:00
Haojun Liao
4cd14c4163 fix(query): fix memory leak. 2022-10-29 10:25:14 +08:00
Haojun Liao
d7f3ddf2dd fix(query): set correct reader handle. 2022-10-29 10:17:41 +08:00
Haojun Liao
61634070ec other: merge 3.0 2022-10-28 23:23:53 +08:00
Haojun Liao
307b7e0ac8 other: merge 3.0 2022-10-28 22:27:57 +08:00
Haojun Liao
029a4a85b3 fix(query): support partition by + limit push down. 2022-10-28 22:21:02 +08:00
Haojun Liao
9b99c69785 fix(query): support partition by + limit push down. 2022-10-28 19:56:32 +08:00
Haojun Liao
0035bb1966
Merge branch '3.0' into feature/3_liaohj 2022-10-28 19:43:47 +08:00
Haojun Liao
cb0adb0e9b refactor: remove some codes. 2022-10-28 19:40:55 +08:00
Haojun Liao
c52dc709f1 refactor: remove some codes. 2022-10-28 19:39:25 +08:00
Haojun Liao
d1097b7c2d other:merge 3.0 2022-10-28 19:37:43 +08:00
Haojun Liao
5b7855eb87 other:merge 3.0 2022-10-28 19:35:31 +08:00
Haojun Liao
335cb6513e other:merge 3.0 2022-10-28 19:32:57 +08:00
Haojun Liao
9ccf7addb3 other:merge 3.0 2022-10-28 18:46:08 +08:00
Haojun Liao
4b2fa43dae
Revert "fix(query): handle partition by in table scan operator" 2022-10-28 18:05:19 +08:00
Haojun Liao
d0a7a43e6f other:merge 3.0 2022-10-28 18:02:50 +08:00
Haojun Liao
8c3b4db944 fix(query): add check for return value. 2022-10-28 17:23:43 +08:00
Shengliang Guan
8a8aa3efea
Merge pull request #17723 from taosdata/enh/optQueryMem
enh: opt query mem
2022-10-28 17:09:17 +08:00
Haojun Liao
3fe3c3d2b7 fix(query): add check for return value. 2022-10-28 16:06:27 +08:00
Haojun Liao
407a3453ca fix(query): set fetch block info. 2022-10-28 14:45:35 +08:00
yihaoDeng
419e501002 refactor reader 2022-10-28 14:21:00 +08:00
yihaoDeng
63827f7551 use sys mem 2022-10-28 13:56:55 +08:00
54liuyao
7d8a282258 fix(stream):tqBuildDeleteReq error 2022-10-28 11:19:26 +08:00
Haojun Liao
2c896012df fix(query): check status before add table uid in hash map. and do some other refactor. 2022-10-28 10:43:25 +08:00
yihaoDeng
f8e0ff86d3 opt mem 2022-10-28 08:48:52 +08:00
yihaoDeng
29dedb5c8c opt mem 2022-10-27 23:18:04 +08:00
Haojun Liao
4774baa635 fix(query): handle the case of the single block in last files. 2022-10-27 22:43:42 +08:00
yihaoDeng
07d8ece370 opt mem 2022-10-27 22:19:47 +08:00
yihaoDeng
9de0afc8ea opt mem 2022-10-27 21:22:36 +08:00
yihaoDeng
6a978be730 opt mem 2022-10-27 20:38:57 +08:00
Haojun Liao
a7ca29c627 other: merge 3.0 2022-10-27 18:04:28 +08:00
Haojun Liao
5a971dd03a fix(query): handle partition by in table scan operator with limit/offset value. 2022-10-27 16:58:32 +08:00
Liu Jicong
52d8f7bd35
Merge pull request #17701 from taosdata/feature/stream
fix(query): set block capacity
2022-10-27 13:38:46 +08:00
Liu Jicong
6cd8361a0a refactor(sma) 2022-10-27 11:06:16 +08:00
Haojun Liao
c5c5b5aa9f
Merge pull request #17662 from taosdata/feature/3_liaohj
enh(query): enable the limit clause to be push down
2022-10-27 10:46:21 +08:00
Liu Jicong
fc1b85bba1 fix(query): set block capacity 2022-10-27 10:28:41 +08:00
Shengliang Guan
3b6c636583
Merge pull request #17653 from taosdata/fix/rmDebugLog
fix: rm debug log
2022-10-27 10:14:34 +08:00
Haojun Liao
376e7ea5b9 fix(query): support limit/offset in merge sort operator. 2022-10-26 19:23:05 +08:00
54liuyao
8fb78fd7fd feat(stream):add ci 2022-10-26 17:40:07 +08:00
Haojun Liao
81d795c293 fix(query): enable limit in grouped scan. 2022-10-26 17:11:56 +08:00
Haojun Liao
8d2de8d723 fix(query): handle the offset value. 2022-10-26 16:25:33 +08:00
wade zhang
d3e8ec9342
Merge pull request #17665 from taosdata/fix/TD-19858
fix(query): fix interp crash issue
2022-10-26 16:11:36 +08:00
Haojun Liao
b13e7c150d fix(query): remove invalid code check. 2022-10-26 13:44:53 +08:00
Ganlin Zhao
88e5fa75e6 fix(query): fix interp crash issue
TD-19858
2022-10-26 12:43:29 +08:00
Haojun Liao
8cf3339b25 enh(query): enable the limit clause to be push down to the table scan operator. 2022-10-26 11:31:31 +08:00
Liu Jicong
b56e7a0f8c
Merge pull request #17650 from taosdata/feature/stream
refactor(stream): recover and fill history
2022-10-26 11:10:03 +08:00
Haojun Liao
339c93021f
Merge pull request #17654 from taosdata/fix/liao_cov
refactor: fix typo and do  some internal  refactor.
2022-10-26 10:41:00 +08:00
Liu Jicong
8d8fd2b2bc refactor(stream): recover and fill history 2022-10-26 10:20:33 +08:00
Hongze Cheng
4b15cd5efe
Merge pull request #17621 from taosdata/fix/TD-19468-2
fix: optimize tsdb cache loading speed
2022-10-26 09:47:50 +08:00
Haojun Liao
d06bcb2219 refactor: fix typo and do some internal refactor. 2022-10-26 09:47:11 +08:00
yihaoDeng
cc03ab2edd rm debug log 2022-10-26 09:23:35 +08:00
Liu Jicong
52b4b510a8 merge 3.0 2022-10-26 09:18:29 +08:00
Liu Jicong
75e5e490fd refactor(stream): recover and fill history 2022-10-26 00:31:00 +08:00
54liuyao
796cf764f4 fix(executor):add lock to hash map 2022-10-25 17:54:01 +08:00
Shengliang Guan
414fe9c03d
Merge pull request #17629 from taosdata/feature/stream_ly
fear(stream): add log
2022-10-25 17:46:27 +08:00
Minglei Jin
c84618ea3f
Merge branch '3.0' into fix/TD-19468-2 2022-10-25 17:36:56 +08:00
Haojun Liao
0a007131d1
Merge pull request #17631 from taosdata/fix/liao_cov
fix(query):set correct column match info size.
2022-10-25 17:35:19 +08:00
Shengliang Guan
7ebf2d5de0
Merge pull request #17614 from taosdata/opt/optSysIdxPerf
enh: opt sys idx perf
2022-10-25 16:25:47 +08:00
Haojun Liao
a87f915ebf fix(query):set correct column match info size. 2022-10-25 15:30:41 +08:00
54liuyao
d9615c7d4c fear(stream): add log 2022-10-25 15:17:42 +08:00
Minglei Jin
441fe8119c Merge branch '3.0' into fix/TD-19468-2 2022-10-25 10:51:35 +08:00
yihaoDeng
2092430556 opt trans on no-windows 2022-10-25 10:45:47 +08:00
Minglei Jin
89f7ad2920 fix: optimize tsdb cache loading speed 2022-10-25 10:36:30 +08:00
yihaoDeng
0905f16294 opt trans on no-windows 2022-10-25 10:17:05 +08:00
Haojun Liao
e0d72e4749 refactor: do some internal refactor, and reduce the number of bufferred intermediate blocks. 2022-10-24 19:10:50 +08:00
yihaoDeng
6ee7b412ed opt sys index 2022-10-24 18:35:59 +08:00
Haojun Liao
992a130860 refactor: do some internal refactor. 2022-10-24 17:24:20 +08:00
Haojun Liao
e654f3f92c refactor: do some internal refactor. 2022-10-24 16:44:44 +08:00
Haojun Liao
319cd8af85 fix(query): refactor and fix some coverity issues. 2022-10-24 15:02:17 +08:00
Haojun Liao
b06870f70f Merge branch '3.0' into fix/liao_cov 2022-10-24 14:07:59 +08:00
Haojun Liao
9f722438d2 fix(query): remove redundant codes. 2022-10-24 13:30:04 +08:00
Haojun Liao
2f5ed16cb8 fix(query): remove redundant ts cols in cache scan. 2022-10-24 13:26:54 +08:00
Shengliang Guan
7947882614
Merge pull request #17589 from taosdata/fix/sysTableIdx
fix: fix sys idx bug
2022-10-24 12:38:44 +08:00
yihaoDeng
bac0f359ee fix sys idx bug 2022-10-24 10:31:49 +08:00
Shengliang Guan
9903bbc527
Merge pull request #17577 from taosdata/fix/liao_cov
fix(query): fix coverity issues.
2022-10-23 23:12:36 +08:00
Haojun Liao
6ebf6b29bd fix(query): fix coverity issues. 2022-10-23 15:20:29 +08:00
Shengliang Guan
e86cdc8cde
Merge pull request #17381 from taosdata/feature/addIdxToSysTable
Feature/addIdxToSysTable
2022-10-23 14:38:37 +08:00
yihaoDeng
edc0f38921 avoid invalid read/write 2022-10-23 10:11:20 +08:00
yihaoDeng
3cd517cd19 avoid invalid read/write 2022-10-22 23:23:28 +08:00
yihaoDeng
e5be6663c8 avoid invalid read/write 2022-10-22 23:06:41 +08:00
yihaoDeng
471b581cea avoid invalid read/write 2022-10-22 22:13:21 +08:00
yihaoDeng
48604314e6 avoid invalid read/write 2022-10-22 21:19:25 +08:00
yihaoDeng
8e08d8dcc0 avoid invalid read/write 2022-10-22 20:03:20 +08:00
yihaoDeng
e2465387c6 avoid invalid read/write 2022-10-22 18:40:54 +08:00
yihaoDeng
79ac1153ce avoid invalid read/write 2022-10-22 16:02:09 +08:00
Shengliang Guan
93557c3670
Merge pull request #17557 from taosdata/feature/stream_ly
feat(stream):change stream mode & add ci
2022-10-22 08:15:41 +08:00
Shengliang Guan
5d293869a9
Merge pull request #17553 from taosdata/fix/liao_cov
fix(query): fix coverity issues.
2022-10-22 08:14:44 +08:00
54liuyao
308c3cad11 feat(stream):change stream mode & add ci 2022-10-21 17:46:15 +08:00
Haojun Liao
5899d1d619 refactor: do some internal refactor. 2022-10-21 14:59:10 +08:00
Liu Jicong
5571ebee0f
Merge pull request #17542 from taosdata/feature/stream
enh(stream): internal optimize
2022-10-21 14:31:42 +08:00
Haojun Liao
b53cc7f3dd fix(query): fix coverity issues. 2022-10-21 14:00:46 +08:00
54liuyao
d9beaeb3a3 fix(stream):session window max_delay crash 2022-10-21 11:49:45 +08:00
yihaoDeng
69531c11d0 add executor to systable filter 2022-10-21 11:44:28 +08:00
Liu Jicong
035e6b13c8 enh(stream): internal optimize 2022-10-21 10:29:05 +08:00
Haojun Liao
5a9d81b10f
Merge pull request #17536 from taosdata/fix/liao_cov
fix(query): fix no-fill expression calculation bug.
2022-10-20 21:27:21 +08:00
yihaoDeng
38747697b2 fix create_time idx bug 2022-10-20 21:12:52 +08:00
yihaoDeng
1898656a41 add executor to systable filter 2022-10-20 19:02:04 +08:00
Haojun Liao
abff4fb1f2
Merge pull request #17336 from taosdata/feature/3_liaohj
other:merge 3.0, and support last query cache
2022-10-20 18:15:38 +08:00
Haojun Liao
bcb3dcc7dc refactor: remove some comments. 2022-10-20 18:12:27 +08:00
Haojun Liao
6e15719ccb other: merge 3.0 2022-10-20 18:10:44 +08:00
Haojun Liao
14fe065528 fix(query): fix no-fill expression calculation bug. 2022-10-20 18:07:38 +08:00
yihaoDeng
19958284e2 add executor to systable filter 2022-10-20 17:56:30 +08:00
yihaoDeng
c4f7607e8c opt sys query 2022-10-20 14:04:18 +08:00
yihaoDeng
f612eafee8 opt sys query 2022-10-20 13:53:04 +08:00
Haojun Liao
c41713cf21
Merge pull request #17495 from taosdata/fix/liao_cov
refactor: remove redundant codes and do some internal refactor.
2022-10-20 13:16:02 +08:00
Haojun Liao
3fcd60e627 fix(query): remove invalid check. 2022-10-20 12:18:56 +08:00
Haojun Liao
70adc0ea33 fix(query): fix coverity issues. 2022-10-20 11:27:33 +08:00
Shengliang Guan
91302965eb
Merge pull request #17497 from taosdata/feature/TD-19666
feat(stream):optimize state window disc buff
2022-10-20 11:05:37 +08:00
dapan1121
991da95643 fix: fix coverity issues 2022-10-20 09:06:18 +08:00
54liuyao
368f5134c5 feat(stream):optimize state window disc buff 2022-10-20 09:04:51 +08:00
Shengliang Guan
097a047b61 Merge remote-tracking branch 'origin/3.0' into FIX/TD-19593-3.0 2022-10-19 20:08:49 +08:00
yihaoDeng
54c7d6cbb9 merge 3.0 2022-10-19 20:03:55 +08:00
yihaoDeng
66a3269c6b add pre check 2022-10-19 19:57:31 +08:00
Shengliang Guan
308dd56537
Merge pull request #17486 from taosdata/fix/liao_cov
refactor: remove redundant codes.
2022-10-19 19:51:59 +08:00
yihaoDeng
12ec7d7193 add pre check 2022-10-19 17:54:06 +08:00
Haojun Liao
b20e2ed5af fix(query): set correct last value. 2022-10-19 17:43:23 +08:00
Benguang Zhao
2aa7afe7fa Merge branch '3.0' into FIX/TD-19593-3.0 2022-10-19 16:31:13 +08:00
Haojun Liao
325712fdf9 fix(query): add some init functions. 2022-10-19 15:54:43 +08:00
Liu Jicong
213a12c0c5
Merge pull request #17473 from taosdata/feature/stream
fix(query): project pass partition name
2022-10-19 15:53:13 +08:00
Liu Jicong
b51ef11dde fix(query): project pass partition name 2022-10-19 15:05:07 +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
yihaoDeng
526f46dbfb add pre check 2022-10-19 13:54:12 +08:00
Haojun Liao
74305814f0 fix(query): fix coverity issues. 2022-10-19 13:38:01 +08:00
Shengliang Guan
87586431f9
Merge pull request #17465 from taosdata/feature/stream
fix(stream): stream state and session support partition tbname
2022-10-19 12:48:03 +08:00
Liu Jicong
8357c7342b fix(stream): stream state and session support partition tbname 2022-10-19 11:43:01 +08:00
Haojun Liao
12fd11c481 fix(query): fix syntax error. 2022-10-19 11:41:30 +08:00
Haojun Liao
f7fdeecc44
Merge branch '3.0' into feature/3_liaohj 2022-10-19 11:23:55 +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
Shengliang Guan
5849f99710
Merge pull request #17446 from taosdata/feature/stream_ly
feat(stream):replace disk buff
2022-10-19 09:05:51 +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
54liuyao
8efd7e8763 feat(stream):replace disk buff 2022-10-18 18:13:47 +08:00
dapan1121
fe5b898ee5
Merge pull request #17430 from taosdata/fix/TD-19609
fix: fix case when crash issue
2022-10-18 17:37:37 +08:00
yihaoDeng
f0d2f145e2 add pre check 2022-10-18 17:25:13 +08:00
dapan1121
0fe14f0b16 fix: fix coverity issues 2022-10-18 16:33:27 +08:00
yihaoDeng
e74881c17c add systable filter 2022-10-18 15:26:29 +08:00
dapan1121
ab7a00abbe fix: fix case when crash issue 2022-10-18 11:54:30 +08:00
Haojun Liao
2e4dca1171 fix: remove a typo 2022-10-18 11:53:22 +08:00
Haojun Liao
91c376ab63 other: merge 3.0 2022-10-18 11:52:44 +08:00
Shengliang Guan
3ff1ae2bd5
Merge pull request #17421 from taosdata/feature/stream_ly
fix(stream): coverity scan, memory leak
2022-10-18 11:49:14 +08:00
Haojun Liao
95dd30be57 fix(query): fix coverity issues. 2022-10-18 11:43:58 +08:00
yihaoDeng
0c6ada5eea Merge branch 'n2' into new 2022-10-18 11:42:00 +08:00
Xiaoyu Wang
78589248f2
Merge branch '3.0' into fix/3.0_bugfix_wxy 2022-10-18 09:53:08 +08:00
54liuyao
5fc475b960 fix(stream): coverity scan, memory leak 2022-10-18 09:40:19 +08:00
Haojun Liao
7e1521ba0a
Merge pull request #17401 from taosdata/fix/liao_cov
fix(query): fix coverity  issues.
2022-10-17 22:45:02 +08:00
dapan1121
1992925d8d Merge remote-tracking branch 'origin/3.0' into fix/coverity.pw 2022-10-17 19:50:37 +08:00
dapan1121
cf9abe7258 fix: fix coverity check issues 2022-10-17 19:48:36 +08:00
Haojun Liao
c8b180b129 fix(query): update the cached last query. 2022-10-17 19:14:06 +08:00
Haojun Liao
6d965b8b81 fix(query): fix coverity issues. 2022-10-17 16:27:44 +08:00
Shengliang Guan
ced97588d1
Merge pull request #17395 from taosdata/szhou/fixbugs
fix: reserve enough capacity for inter/final result block when performing scalar calculation of fill operator
2022-10-17 16:26:24 +08:00
Haojun Liao
89f80436c6 fix(query): fix coverity issues. 2022-10-17 16:17:16 +08:00
Xiaoyu Wang
9abea76791 fix: do coverity scan 2022-10-17 15:43:42 +08:00
slzhou
4c2896236f fix: reserve enough capacity for inter/final result block when performing scalar calculation of fill operator 2022-10-17 14:34:34 +08:00
Haojun Liao
ed9ec795eb fix(query): fix coverity issues. 2022-10-17 14:05:40 +08:00
Haojun Liao
87516ea332 fix(query): fix bug in group by tag. 2022-10-17 13:00:31 +08:00
yihaoDeng
1132f72440 Merge branch 'n2' into new 2022-10-16 21:33:12 +08:00
yihaoDeng
4ff0b21bb4 opt systable query 2022-10-16 21:30:53 +08:00
Haojun Liao
bcb3d41d08 fix(query): fix coverity issues. 2022-10-16 13:46:21 +08:00
Haojun Liao
aa9c99fa53 Merge branch '3.0' into feature/3_liaohj 2022-10-16 12:50:05 +08:00
Hongze Cheng
329b750701
Revert "enh(query): opt group by tag perf." 2022-10-15 16:14:50 +08:00
Haojun Liao
77cafebd63
Merge pull request #17368 from taosdata/refact/tag_agg_opt
enh(query): opt group by tag perf.
2022-10-14 23:26:34 +08:00
yihaoDeng
044f025bc6 opt systable query 2022-10-14 19:54:05 +08:00
dapan1121
0df311a78f
Merge pull request #17264 from taosdata/refact/query_opt
refactor:do some internal refactor to optimize the query performance.
2022-10-14 19:51:46 +08:00
Haojun Liao
aa04aee7fd enh(query): opt group by tag perf. 2022-10-14 18:49:19 +08:00
dapan1121
fdffc2883f fix: fix code merge issue 2022-10-14 17:05:18 +08:00
Liu Jicong
cface2840e
Merge pull request #17349 from taosdata/feature/stream
fix(tmq): push msg
2022-10-14 14:18:17 +08:00
Liu Jicong
6f8d4d6955 fix(tmq): push msg 2022-10-14 13:31:05 +08:00
yihaoDeng
bd5b94cb94 Merge branch 'd3' into new 2022-10-14 10:06:21 +08:00
dapan1121
f3919c4450 Merge remote-tracking branch 'origin/3.0' into feat/caseWhen 2022-10-14 09:14:01 +08:00
yihaoDeng
b5c2ee1dc7 add index to ins_tables 2022-10-13 22:21:20 +08:00
yihaoDeng
974bc4b7c6 add systable filterr 2022-10-13 21:49:53 +08:00
Haojun Liao
d234681b74 other:merge 3.0 2022-10-13 15:39:06 +08:00
Haojun Liao
18740e7b48 other:merge 3.0, and support last query cache 2022-10-13 15:35:51 +08:00
Haojun Liao
f5f0a7026f other: merge 3.0 2022-10-13 14:20:51 +08:00
Hongze Cheng
d5255f1eb7 more format 2022-10-13 13:41:36 +08:00
Hongze Cheng
bd2546a765
Merge pull request #17303 from taosdata/fix/TD-19482
fix(meta): META_READER_NOLOCK with inner meta readers
2022-10-13 13:19:57 +08:00
Minglei Jin
060eb307a9 fix(mac): new metaReaderReleaseLock api to keep reader's buffer 2022-10-13 12:02:18 +08:00
dapan1121
5e4148e1cf feat: add more case when test cases 2022-10-12 16:02:21 +08:00
dapan1121
a13f553868 Merge remote-tracking branch 'origin/3.0' into feat/caseWhen 2022-10-12 13:33:41 +08:00
Liu Jicong
69352e6e89 fix tbanme length check 2022-10-12 10:50:54 +08:00
Haojun Liao
d3b37ef294 other:merge 3.0 2022-10-11 22:56:54 +08:00
Minglei Jin
0d52e92210 fix(meta): META_READER_NOLOCK with inner meta readers 2022-10-11 20:18:08 +08:00
Haojun Liao
c71810c887 fix(query): fix memory leak. 2022-10-11 19:37:06 +08:00
Liu Jicong
14c4ff1d94 add demo for stream user defined table name 2022-10-11 16:48:13 +08:00
Liu Jicong
11ca4ddf8c
Merge pull request #17288 from taosdata/feature/stream
refactor(stream): state/session map id to tbname
2022-10-11 16:07:22 +08:00