Commit Graph

14531 Commits

Author SHA1 Message Date
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
Haojun Liao 6a9c03309e
Merge pull request #21553 from taosdata/enh/changeRocksParam
change log level
2023-06-02 14:23:50 +08:00
yihaoDeng f4bde33dc3 avoid mem leak 2023-06-02 06:06:05 +00:00
yihaoDeng 04996a6463 Merge branch 'enh/dv3' into feature/TD-19042 2023-06-02 06:01:49 +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
yihaoDeng 63d9a5dcf3 avoid mem leak 2023-06-02 04:08:08 +00: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
dapan1121 6dda2e94f4 fix: distinct primary timestamp issue 2023-06-02 11:42: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
yihaoDeng becc5c51a4 fix compatibility 2023-06-02 02:35:15 +00: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
yihaoDeng 420ae73728 Avoid creating the same ID task multiple times 2023-06-02 00:35:45 +00: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
yihaoDeng 1571ea844a Avoid creating the same ID task multiple times 2023-06-01 11:25:55 +00:00
yihaoDeng 0315e89591 Avoid creating the same ID task multiple times 2023-06-01 11:13:01 +00: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
yihaoDeng 64edab6302 refactor code 2023-06-01 07:51:52 +00: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 91de00597d refactor: do some internal refactor. 2023-05-31 22:12:14 +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 ccc86f9916 refactor: do some internal refactor. 2023-05-31 19:36:34 +08:00
Haojun Liao 87deb36f8a refactor: do some internal refactor. 2023-05-31 19:36:02 +08:00
yihaoDeng 04f3784696 change log level 2023-05-31 11:05:03 +00:00
Haojun Liao a3abe25539 refactor: do some internal refactor. 2023-05-31 19:03:37 +08:00
wangjiaming0909 60100a0fb6 feature: add user priv when create db, remove priv check with create_dbs 2023-05-31 18:43:56 +08:00
Haojun Liao 65b81a803f refactor: do some internal refactor and add some logs. 2023-05-31 18:05:53 +08:00
Haojun Liao 8c240cede9
Merge pull request #21545 from taosdata/enh/changeRocksParam
Enh/change rocks param
2023-05-31 13:51:32 +08:00
Haojun Liao dd9f810f81
Merge pull request #21530 from taosdata/fix/TD-24365
fix sliding window issue
2023-05-31 13:51:14 +08:00
yihaoDeng 3b0a6d7f0b change db param 2023-05-31 03:15:25 +00:00
Ganlin Zhao 26cafdea13 fix: fix multiple diffs ouput less lines if null values present 2023-05-31 11:08:41 +08:00
dapan1121 23bcfc2fd0 enh: stmt column length validation 2023-05-31 09:16:47 +08:00
yihaoDeng 67becbd4d1 change db param 2023-05-31 01:10:36 +00:00
wangmm0220 96b8431f19 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/TD-19042 2023-05-30 23:17:35 +08:00
Haojun Liao fc20ca8423 fix(stream): set the correct rps flag as the dispatch rsp. 2023-05-30 18:42:23 +08:00
Haojun Liao d9cc9f2157 fix(stream): remove invalid free. 2023-05-30 18:03:21 +08:00
Haojun Liao 937f67f07b fix(stream): fix invalid free. 2023-05-30 18:02:42 +08:00
Haojun Liao e96ed81ec0 fix(stream): add input queue capacity check. 2023-05-30 17:29:01 +08:00
Haojun Liao eda06081ff enh(stream): refactor and serialize the attributes of history tasks. 2023-05-30 16:55:37 +08:00
wangmm0220 b8a4df4146 fix:avoid put tag to select if where condition is always true or false 2023-05-30 16:50:20 +08:00
dapan1121 bc4c32ee2c
Merge pull request #21514 from taosdata/fix/TD-24426-M
fix(query): invalid buf page
2023-05-30 15:58:30 +08:00
Haojun Liao d9c364d663 Merge branch '3.0' into refact/fillhistory 2023-05-30 15:51:12 +08:00
wangmm0220 689ee05527 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/TD-19042 2023-05-30 15:45:46 +08:00
Haojun Liao de7231e59e fix(stream): fix memory leak in handling dispatch msg when output buffer is full. 2023-05-30 15:35:59 +08:00
liuyao 7d699ae579 fix sliding window issue 2023-05-30 15:16:11 +08:00
Ganlin Zhao 1009c80967 fix bug 2023-05-30 14:21:32 +08:00
dapan1121 94d4de614a
Merge pull request #21525 from taosdata/fix/TD-24093
fix: disable debug info
2023-05-30 11:10:59 +08:00
wangmm0220 5d2c78ba6b fix:memory leak 2023-05-30 10:39:00 +08:00
wangmm0220 8835028002 fix:deal with node is null 2023-05-30 10:21:18 +08:00
dapan1121 c1ffc64e2d fix: disable debug info 2023-05-30 09:54:30 +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
Haojun Liao 2977a4d07f refactor: do some internal refactor. 2023-05-30 09:41:19 +08:00
Haojun Liao 65b1574fbe
Merge pull request #21499 from taosdata/mark/tmq
fix:put poll to push manager if wal not exist when offset is latest
2023-05-30 09:36:53 +08:00
Haojun Liao 20a0054c4a
Merge pull request #21472 from taosdata/enh/addCompileError
change parameter
2023-05-30 09:36:36 +08:00
Haojun Liao bcba18d90e
Merge pull request #21521 from taosdata/refact/fillhistory
refactor: do some internal refactor.
2023-05-30 00:38:38 +08:00
Benguang Zhao 267cbfbc1c enh: update syncNodePropose 2023-05-29 19:49:28 +08:00
yihaoDeng e00f79367d merge 3.0 2023-05-29 18:57:21 +08:00
Haojun Liao 3628888ecc refactor: do some internal refactor. 2023-05-29 18:02:45 +08:00
Haojun Liao cd2d225c93 refactor: do some internal refactor. 2023-05-29 17:50:39 +08:00
Ganlin Zhao b83a4b14e7 allow omit every clause for single point interp 2023-05-29 17:34:35 +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
Ganlin Zhao 57c301553b feat(query): support single point interp syntax 2023-05-29 16:40:30 +08:00
dapan1121 ccf57129bb fix: show create table privilege issue 2023-05-29 16:33:31 +08:00
yihaoDeng 87b2d76731 Merge branch 'enh/TD-24469/m1-build' into enh/addCompileError 2023-05-29 08:23:24 +00:00
yihaoDeng 1782ecd57e Merge branch 'fix/shared_link_rocksdb' into enh/addCompileError 2023-05-29 08:20:11 +00:00
kailixu f984e67eaa fix(query): invalid buffer page 2023-05-29 16:04:35 +08:00
Haojun Liao f2887278e2 refactor: do some internal refactor. 2023-05-29 15:44:45 +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
yihaoDeng 26cbcf996c Merge branch 'enh/3.0' into fix/shared_link_rocksdb 2023-05-29 07:31:14 +00: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
dapan1121 60588af694 fix: add topic query 2023-05-29 13:33:51 +08:00
wangmm0220 a71878d07f feat: support create topic as stable with conditions 2023-05-29 11:46:59 +08:00
wade zhang 8d679d7686
Merge pull request #21299 from taosdata/FIX/TD-22970-3.0
enh: refactor some func names for syncLogReplProcessReply
2023-05-29 10:59:56 +08:00
Haojun Liao 8f61e2d6ef refactor: do some internal refactor. 2023-05-29 10:50:50 +08:00
yihaoDeng 342ce14c7d Merge branch 'enh/3.0' into fix/shared_link_rocksdb 2023-05-29 02:37:47 +00:00
yihaoDeng 58cc631c22 Merge branch 'enh/3.0' into fix/shared_link_rocksdb 2023-05-29 02:29:56 +00:00
Haojun Liao 953a69a829 refactor: do some internal refactor. 2023-05-29 10:12:27 +08:00
yihaoDeng 0be1858b4b Merge branch 'enh/dev3.0' into enh/addCompileError 2023-05-29 01:50:43 +00:00
yihaoDeng de739ce086 Merge branch 'enh/dev3.0' into enh/addCompileError 2023-05-29 01:11:13 +00:00
dapan1121 e2d45438cb
Merge pull request #21405 from taosdata/szhou/scl-flt
enhance: scalar filter improvement
2023-05-28 18:49:39 +08:00
Haojun Liao 1e786624b2
Merge pull request #21501 from taosdata/refact/fillhistory
fix(stream): set the skip offset when resume stream task.
2023-05-27 22:45:54 +08:00
Haojun Liao d9de1813da Merge branch '3.0' into refact/fillhistory 2023-05-27 16:31:11 +08:00
Haojun Liao b38e253019 fix(stream): set the skip offset when resume stream task. 2023-05-26 22:51:58 +08:00
yihaoDeng 2f5fe2dec6 Merge branch 'enh/dev3.0' into enh/addCompileError 2023-05-26 14:01:05 +00:00
yihaoDeng 4b931d3007 Merge branch 'enh/dev3.0' into enh/addCompileError 2023-05-26 13:59:16 +00:00
yihaoDeng a71bffd719 Merge branch 'enh/dev3.0' into enh/addCompileError 2023-05-26 13:03:35 +00:00
yihaoDeng 57a4e56a61 change parameter 2023-05-26 20:30:03 +08:00
yihaoDeng 34d21bc03f change parameter 2023-05-26 20:11:33 +08:00
wangmm0220 a3e214b9e8 fix:put poll to push manager if wal not exist when offset is latest 2023-05-26 19:17:04 +08:00
wangmm0220 50487255b3 fix:put poll to push manager if wal not exist when offset is latest 2023-05-26 19:02:40 +08:00
Haojun Liao e31d9299cc
Merge pull request #21480 from taosdata/mark/sml
fix:memory leak
2023-05-26 19:00:21 +08:00
liuyao 5ebe75599e fix pause issue 2023-05-26 14:58:39 +08:00
slzhou b89f1652fc fix: remove tbl count scan modification from the PR 2023-05-26 14:52:14 +08:00
slzhou b83bf9163e fix: restore scalar mode computation and add filterScalarMode config variable and add test case 2023-05-26 14:46:32 +08:00
slzhou 70bcbafbb8 fix: json value length is not same as binary/nchar length 2023-05-26 13:36:56 +08:00
Haojun Liao 1e845acabe fix(tmq): allow seek before get assignment 2023-05-26 11:34:12 +08:00
slzhou 81c796953e fix: address sanitizer error 2023-05-26 10:55:52 +08:00
wangmm0220 208ba2ef4d fix:memory leak 2023-05-26 10:45:37 +08:00
yihaoDeng 52c384c7c9 change parameter 2023-05-26 09:06:19 +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
slzhou cbbd09b85c fix: for logical and condition, each element shall be collectable operator 2023-05-25 22:37:49 +08:00
slzhou 469b2b573c fix: fix error during emptyTsRange.sim 2023-05-25 21:49:28 +08:00
dapan1121 2713f4f6d4 feat: support create topic as stable with conditions 2023-05-25 19:01:58 +08:00
Haojun Liao 30de31e374 fix(test): fix unit test link error. 2023-05-25 18:17:09 +08:00
yihaoDeng cd44bd9f3f change parameter 2023-05-25 18:16:33 +08:00
Haojun Liao c3be7b14be fix: set correct function ptr. 2023-05-25 17:51:03 +08:00
slzhou 61b0635293 fix: get time range using new scalar mode range 2023-05-25 16:27:48 +08:00
yihaoDeng 9cb4a114e2 change parameter 2023-05-25 16:20:00 +08:00
yihaoDeng 2f90fda13d change parameter 2023-05-25 16:15:10 +08:00
slzhou de1848cb08 enhance: use scalar mode to run ci test 2023-05-25 14:51:53 +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 01f6f74fb9 fix: update the cmake file. 2023-05-24 22:27:45 +08:00
Haojun Liao ab907e3344 fix(query): fix syntax error. 2023-05-24 21:53:40 +08:00
wangmm0220 357e86b994 feat:add tag filter for stable subscribe 2023-05-24 18:59:47 +08:00
Hongze Cheng 4d526ed0cd change more 2023-05-24 18:59:09 +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
slzhou 768372fc7b fix: fix compilation warning 2023-05-24 16:45:06 +08:00
slzhou d7b1613d85 Revert "fix: rocksdb so"
This reverts commit e5f9d78b6d.
2023-05-24 16:42:50 +08:00
slzhou e5f9d78b6d fix: rocksdb so 2023-05-24 16:40:34 +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 a566180770 fix: fix syntax error. 2023-05-24 15:16:50 +08:00
dapan1121 3b6c469713
Merge pull request #21440 from taosdata/enh/TD-24357
enh: support config batch rows number when import data from csv file
2023-05-24 15:15:45 +08:00
Haojun Liao f203c7806d fix(tools): fix build failure on enterprise edition. 2023-05-24 14:52:50 +08:00
slzhou 5b1e0be756 enhance: add log 2023-05-24 13:41:21 +08:00
Haojun Liao 1f7f326bed refactor: do some internal refactor and set the api function ptr. 2023-05-24 13:22:05 +08:00
slzhou 383c828c85 fix: before review 2023-05-24 11:18:44 +08:00
wangjiaming0909 9a421a92f9 fix: core dump when select with interval caused by order 2023-05-24 10:32:10 +08:00
dapan1121 b52f867a1f fix: rebuild table data issue 2023-05-24 09:56:59 +08:00
dapan1121 693bac60a0
Merge pull request #21430 from taosdata/fix/TD-24349
fix: last(tbname) out of memory issue
2023-05-24 08:52:49 +08:00
slzhou 2e4c14c18c fix: fix bugs 2023-05-23 21:30:41 +08:00
dapan1121 5bedf6b19a enh: support config batch rows number when import data from csv file 2023-05-23 19:21:52 +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
wangmm0220 8c1c2a2f97 fix:add grammar support 2023-05-23 17:47:17 +08:00
slzhou 22616d235a fix: fix minior bugs 2023-05-23 16:36:27 +08:00
Hui Li 2fd9bb558b
Merge pull request #21435 from taosdata/test/3.0/TD-24343
test:comment unit test catalog in cases
2023-05-23 16:21:15 +08:00
chenhaoran 790d34c33b test:comment unit test catalog in cases 2023-05-23 16:20:00 +08:00
slzhou 857cf3d269 fix: fix bugs 2023-05-23 14:29:33 +08:00
slzhou 99620d434d fix: fix bugs 2023-05-23 14:11:52 +08:00
shenglian zhou c9140e547e fix: fix bugs of wrongly use sfltscloperator 2023-05-23 14:08:20 +08:00
dapan1121 d66f45308c fix: fix last(tbname) out of memory issue 2023-05-23 14:06:29 +08:00
yihaoDeng c15b1e3520 opt compile 2023-05-23 11:46:02 +08:00
kailixu a37d2c40fc chore: error logs of create sma cols 2023-05-23 11:06:44 +08:00
kailixu 329797ce23 fix: add _wstart if not exists 2023-05-23 10:57:34 +08:00
slzhou 77a1de444c fix: where c7 means c7 is true, the right child is null 2023-05-23 10:47:58 +08:00
slzhou 24ae8d7ecb fix: fix ci memory leak error 2023-05-23 09:49:42 +08:00
kailixu a171c0c860 Merge branch '3.0' into fix/TD-21457-3.0 2023-05-23 09:27:31 +08:00
dapan1121 4c88fd08de Merge remote-tracking branch 'origin/3.0' into fix/TD-24001 2023-05-23 09:25:37 +08:00
shenglian zhou 43ac6fb1fd fix: all null from block sma 2023-05-23 08:43:31 +08:00
kailixu c75aa54a3d fix: tsdb read and append _wstart for tsma 2023-05-22 20:33:29 +08:00
dapan1121 840eb21825 fix: last(tag) report error issue 2023-05-22 18:19:39 +08:00
kailixu f18fc19d76 fix: tsdb read and tsma _wstart append 2023-05-22 16:13:50 +08:00
shenglian zhou 8cba6850e9 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/scl-flt 2023-05-22 11:43:33 +08:00
shenglian zhou 6456d5dccf enhance: code finish 2023-05-22 11:41:19 +08:00
dapan1121 e7496d7b82
Merge pull request #21388 from wangjiaming0909/fix/TS-3423
fix: select last(*) ..group by tag return wrong rows of data
2023-05-22 11:13:26 +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
Haojun Liao 9423001fea
Merge pull request #21396 from taosdata/refact/fillhistory
Refact/fillhistory
2023-05-21 01:12:00 +08:00
Haojun Liao dcb91082f9 fix(stream): fix error. 2023-05-20 23:37:40 +08:00
Haojun Liao cb75e5a863 fix(stream): fix memory leak. 2023-05-20 22:07:04 +08:00
Haojun Liao 899e4d3350 refactor: do some internal refactor. 2023-05-20 18:13:58 +08:00
Haojun Liao de44c9160c refactor: do some internal refactor. 2023-05-20 18:05:39 +08:00
Haojun Liao 3cef1e7c42 fix(stream): add some logs. 2023-05-20 15:45:07 +08:00
Haojun Liao aa7ea60bca fix(stream): update the free strategy. 2023-05-20 15:43:48 +08:00
Haojun Liao 84146e6aaa other: merge main. 2023-05-20 15:16:51 +08:00
Haojun Liao 6932c59510 other: merge main. 2023-05-20 15:09:30 +08:00
Haojun Liao 10692fde5e other: merge main. 2023-05-20 14:53:28 +08:00
Haojun Liao afc384bead fix:remove invalid assert. 2023-05-20 14:44:34 +08:00
Haojun Liao 484788a60f fix:add null ptr check. 2023-05-20 14:29:51 +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 6e5ec3d097
Merge pull request #21358 from taosdata/feat/TD-23362-3.0
feat: support update active code by SQL
2023-05-20 14:09:20 +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
Haojun Liao 4974ac78f7 fix: fix invalid ref. 2023-05-20 13:42:09 +08:00
Haojun Liao 336102b8c5 refactor: do some internal refactor. 2023-05-20 13:34:49 +08:00
wangmm0220 04858fae22 fix:tsdbreader is free by mistake 2023-05-20 12:20:54 +08:00
Haojun Liao 5cbad1da3e refactor: do some internal refactor. 2023-05-20 12:20:04 +08:00
Haojun Liao 6ded3284da refactor: do some internal refactor. 2023-05-20 11:37:17 +08:00
Haojun Liao 8ab065d01e other: update some logs. 2023-05-19 23:53:23 +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 56e5a483dd other: update log. 2023-05-19 20:00:32 +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
Haojun Liao a9b7b8a5fd other: add some logs. 2023-05-19 19:26:15 +08:00
dapan1121 778b7b84fd
Merge pull request #21371 from taosdata/fix/TD-24234
fix: distinct wrong result issue
2023-05-19 18:15:04 +08:00
Haojun Liao e2ec8d738c other: add some logs. 2023-05-19 18:08:01 +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
shenglian zhou 1f6d894dfd fix: save work 2023-05-19 17:06:03 +08:00
dapan1121 42c65898ea
Merge pull request #21335 from taosdata/feat/TD-22746
feat: support client meta control
2023-05-19 16:55:08 +08:00
wangjiaming0909 3dbbe63092 fix: select last(*) ..group by tag return wrong rows of data 2023-05-19 16:50:27 +08:00
Ganlin Zhao a3ca23b688 forbid interp ignoring null value used for multiple cols 2023-05-19 16:43:39 +08:00
slzhou d77eefdc93 fix: change more variable names 2023-05-19 15:43:31 +08:00
slzhou f9da4abdcb fix: change more variable names 2023-05-19 15:38:52 +08:00
Haojun Liao 90687bae1c refactor: do some internal refactor. 2023-05-19 15:30:50 +08:00
shenglian zhou f36b0be17d fix: join eq conditions not only for tag 2023-05-19 14:32:03 +08:00
dapan efbc3fc7c6 fix: tmr in windows can't re-init issue 2023-05-19 14:19:29 +08:00
shenglian zhou 3e92ec7a8a fix: save work 2023-05-19 14:09:37 +08:00
wangmm0220 238254e49e fix:add task status check in doQueueScan & checkout consumer in tqProcessPollReq 2023-05-19 14:06:43 +08:00
liuyao e1291bd8b4 opt stream ci test 2023-05-19 13:28:58 +08:00
dapan1121 6a1eb62dd4 fix: distinct group issue 2023-05-19 11:26:40 +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 d8525123a2 enh(stream): add API to retrieve last ts for multi-tables. 2023-05-19 11:03:41 +08:00
wade zhang 1ade314043
Merge pull request #21325 from taosdata/feat/force-drop-dnode
Feat/force drop dnode
2023-05-19 09:23:54 +08:00
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
dapan1121 27b228b79b
Merge pull request #21365 from taosdata/fix/TD-24188
enh: optimize order by for partition by clause
2023-05-19 08:57:11 +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
kailixu 8eb4367d46 fix: range check and test case adjust 2023-05-19 06:50:12 +08:00
shenglian zhou 09837b7639 fix: save work 2023-05-18 19:00:10 +08:00
Haojun Liao e2f43d4ac8
Merge pull request #21362 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2023-05-18 18:48:23 +08:00
Ganlin Zhao 0a41ba1573 add test cases 2023-05-18 18:48:00 +08:00
wade zhang ce9507e3d4
Merge pull request #21350 from taosdata/fix/restore-learner-stuck
restore learner stuck
2023-05-18 18:13:00 +08:00
dapan1121 79623860a4 fix: distinct wrong result issue 2023-05-18 17:41:01 +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 c5cbd2583a
Merge pull request #21367 from taosdata/fix/TD-24167
fix pause agg task
2023-05-18 17:24:32 +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
liuyao da3fc5111e fix pause agg task 2023-05-18 15:29:41 +08:00
dapan1121 25ae00632e fix: code merge issue 2023-05-18 14:50:03 +08:00
dapan1121 72e6319592 enh: optimize order by for partition by clause 2023-05-18 14:41:32 +08:00
shenglian zhou dec15bf4ff Merge branch '2.0' of github.com:taosdata/TDengine into szhou/scl-flt 2023-05-18 14:26:02 +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 5ac91597b6
Merge pull request #21310 from wangjiaming0909/fix/TS-3398
fix: select <expr1>, <expr1##sth else> from ... return error data whe…
2023-05-18 10:07:06 +08:00
dapan1121 f5ebc17fae
Merge branch '3.0' into feat/TD-22746 2023-05-18 09:10:49 +08:00
Haojun Liao 96fa12e157
Merge pull request #21359 from taosdata/fix/liaohj_main
fix(stream): fix memory leak for stream processing.
2023-05-17 23:37:33 +08:00
Haojun Liao 03237f2cc7 other: merge main. 2023-05-17 22:42:08 +08:00
Haojun Liao 48dd3753aa
Merge pull request #21353 from taosdata/feature/3_liaohj
merge main, and do some internal refactor.
2023-05-17 22:34:34 +08:00
Haojun Liao 4d5bd2b6de fix(stream): fix memory leak for stream processing. 2023-05-17 19:40:21 +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
dapan1121 0ac0cd1012
Merge pull request #21346 from taosdata/fix/TS-3415
fix: join push down condition issue
2023-05-17 18:09:54 +08:00
Haojun Liao 92feb89a09 refactor: do some internal refactor. 2023-05-17 18:08:04 +08:00
Ganlin Zhao 20684f873e fix interp in nested query report error 2023-05-17 17:49:07 +08:00
Haojun Liao ffee5ebc61 Merge branch '3.0' into feature/3_liaohj 2023-05-17 17:47:44 +08:00
dmchen 0fdeb5fbae restore learner stuck 2023-05-17 17:28:20 +08:00
Ganlin Zhao 90ef52f40d fix fill(value, string) issue 2023-05-17 17:11:02 +08:00
shenglian zhou e16f4c7c44 fix: refactor and save work 2023-05-17 16:57:09 +08:00
Haojun Liao 041ffa91bd other: merge main. 2023-05-17 15:42:15 +08:00
dapan1121 ab7cb995a2 fix: join push down condition issue 2023-05-17 15:31:53 +08:00
liuyao 695de9d3ac fix stream queue mem leak 2023-05-17 15:19:14 +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
dapan1121 a89a3eb83c fix: sys db clear vgroups issue 2023-05-17 10:18:46 +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 a51de5cc93 fix: add restriction 2023-05-16 16:31:58 +08:00
shenglian zhou c6555c3b37 fix: join operator finished 2023-05-16 16:25:55 +08:00
wangjiaming0909 789b0c7178 fix: select <expr1>, <expr1##sth else> from ... return error data when strlen(expr1) > TSDB_COL_NAME_LEN 2023-05-16 15:42:30 +08:00
dapan1121 0eb94d97d3
Merge pull request #21320 from taosdata/fix/TD-24167
pause source task
2023-05-16 15:39:59 +08:00
Ganlin Zhao 6879a784ae reserve value node 2023-05-16 15:07:07 +08:00
dapan1121 a0d82ea74d
Merge pull request #21308 from taosdata/fix/TD-24154
fix: fix null pointer issue in destroyTimesliceOperator
2023-05-16 14:40:43 +08:00
dapan1121 de45d163ca fix: compile issue 2023-05-16 14:18:23 +08:00
Ganlin Zhao ace27326b0 enable ignore_null value param in client 2023-05-16 14:13:40 +08:00
dapan1121 e7df9b8fa0 enh: optimize copy group result 2023-05-16 14:12:48 +08:00
wangmm0220 e6e0ac7603 fix:alwalys in exec if consumer Id mismatch & check result for wal seek ver 2023-05-16 14:01:38 +08:00
Haojun Liao e35d145734 fix(stream): fix memory leak. 2023-05-16 13:59:13 +08:00
liuyao 3c81137ffe pause source task 2023-05-16 13:43:46 +08:00
Ganlin Zhao 6cd9fac7da fix linear interpolation bugs 2023-05-16 11:30:08 +08:00
dapan1121 ee2521a6ab Merge remote-tracking branch 'origin/3.0' into feat/TD-22746 2023-05-16 10:53:21 +08:00
dapan1121 9fcf56a4ee feat: support meta cleanup 2023-05-16 10:51:58 +08:00
Haojun Liao 30e7cb5860 fix(tmq): avoid return delete msg for table subscription. 2023-05-16 10:42:02 +08:00
dapan1121 cf7b4593e7 feat: add drop dnode unsafe command 2023-05-16 09:50:10 +08:00
Haojun Liao e1700d00dc fix(stream): avoid memory leak. 2023-05-16 09:26:19 +08:00
Haojun Liao 5e16db4e19 fix(stream):extract delete msg from wal. 2023-05-16 08:54:03 +08:00
Haojun Liao d585f34ea9 fix(tmq): avoid seek to previous position. 2023-05-15 18:48:50 +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
shenglian zhou 629ab2b85f fix: extract tag equal condition 2023-05-15 16:10:11 +08:00
yihaoDeng a001e3c424 refactor code 2023-05-15 07:22:29 +00:00
Ganlin Zhao b1ead824f8 fix: fix linear interpolation error 2023-05-15 14:26:09 +08:00
Haojun Liao 4c64260a7a refactor: do internal refactor. 2023-05-15 14:15:10 +08:00
yihaoDeng 4015f544db refactor code 2023-05-15 05:45:17 +00:00
yihaoDeng 42562d388f refactor code 2023-05-15 05:29:56 +00:00
shenglian zhou 51fa363fd5 feature: save work 2023-05-15 11:34:05 +08:00
Benguang Zhao 47a1d64125 enh: refactor some func names for syncLogReplProcessReply 2023-05-15 11:32:08 +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
dapan1121 198be9a7a6 fix: double decompress issue and memory leak issue 2023-05-15 10:13:20 +08:00
Haojun Liao 3b6e052c6b enh(stream): avoid clone submit block. 2023-05-15 10:11:08 +08:00
yihaoDeng 9c0d2c87c6 Merge branch 'enh/3.0' into enh/rocksdbSstateMerge 2023-05-15 01:52:42 +00:00
Haojun Liao 3d00f6ce54 refactor: do some internal refactor. 2023-05-14 22:08:17 +08:00
yihaoDeng 41ebd07472 factor code 2023-05-13 23:59:57 +00:00
Haojun Liao 8e15c64499 refactor: do some internal refactor. 2023-05-13 23:22:36 +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
slzhou 51fa0aeb64 Merge branch 'main' of github.com:taosdata/TDengine into szhou/fix-ts3400 2023-05-13 00:02:03 +08:00
shenglian zhou 0ea8de64df fix: code refactor 2023-05-12 20:20:53 +08:00
Haojun Liao 23f5f7f6da Merge remote-tracking branch 'origin/enh/rocksdbSstate' into enh/rocksdbSstate 2023-05-12 19:55:37 +08:00
Haojun Liao b78fc86550 fix(stream): remove some logs. 2023-05-12 19:55:22 +08:00
shenglian zhou bdee8ab3c1 enhance: save work and sync home/office 2023-05-12 19:00:26 +08:00
slzhou 5b866edae7 fix: disable table count scan optimized when filters and group by both exist 2023-05-12 18:51:18 +08:00
dapan1121 0c744e864b
Merge pull request #21258 from taosdata/szhou/fix-td24084
fix: bypass projection pruning if union set op and subquery
2023-05-12 17:02:54 +08:00
dapan1121 d33d63fc56
Merge pull request #21254 from wangjiaming0909/fix/TD-24009
fix: func ctgHandleGetTbMetasRsp invalid read SName
2023-05-12 16:11:31 +08:00
dapan1121 026a4b5540 fix: fix compile issue 2023-05-12 15:07:05 +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 061e963872
Merge pull request #21262 from taosdata/fix/TS-3397-M
fix: column length check when update/add column
2023-05-12 11:41:22 +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
yihaoDeng cfc6bd9f9f factor code 2023-05-12 02:10:40 +00:00
yihaoDeng eb3ab4fcea factor code 2023-05-11 13:34:17 +00:00
yihaoDeng 6cf1adf1b1 factor code 2023-05-11 13:01:45 +00:00
kailixu f4d90fb9bb fix: column length check when update/add column 2023-05-11 20:59:07 +08:00
liuyao 8b7b804606 opt partition by tbname 2023-05-11 18:47:27 +08:00
yihaoDeng 4e8f5f5d32 factor code 2023-05-11 09:58:53 +00:00
Ganlin Zhao 092ed0ddae Merge branch 'main' into fix/TD-24008 2023-05-11 17:58:47 +08:00
yihaoDeng afaee9c386 factor code 2023-05-11 09:51:01 +00:00
yihaoDeng 4715aacd41 factor code 2023-05-11 09:44:40 +00:00
yihaoDeng 59ff6bd301 factor code 2023-05-11 09:32:44 +00: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
yihaoDeng 04c7c99a67 factor code 2023-05-11 09:17:05 +00:00
yihaoDeng 0710fc39af factor code 2023-05-11 09:04:14 +00:00
Haojun Liao 8277d608f4 other: update logs. 2023-05-11 16:53:19 +08:00
yihaoDeng e6474caddf factor code 2023-05-11 08:51:41 +00:00
yihaoDeng a6fc4f9cc2 Merge branch 'enh/main' into enh/rocksdbSstateMerge 2023-05-11 08:21:13 +00:00
slzhou e8c1745d17 Merge branch 'main' of github.com:taosdata/TDengine into szhou/fix-td24084 2023-05-11 16:04:46 +08:00
slzhou e58fda2bdd fix: bypass projection pruning if union set op and subquery 2023-05-11 16:04:06 +08:00
Haojun Liao b2d141fe40 fix(stream): limit the batch size. 2023-05-11 15:07:07 +08:00
yihaoDeng f652f71d68 factor code 2023-05-11 06:37:57 +00: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 2b736ffd60 fix(stream): avoid duplicated task id in task id list. 2023-05-11 11:47:57 +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
Benguang Zhao b8933389bb enh: keep the trailing empty wal file in walCheckAdnRepairMeta 2023-05-11 09:42:46 +08:00
yihaoDeng d473fcf6b0 refactor code 2023-05-11 01:19:54 +00:00
yihaoDeng c7602a4c1a refactor code 2023-05-11 01:19:40 +00:00
Benguang Zhao 7433bad888 enh: tidy up walEndSnapshot 2023-05-11 09:14:37 +08:00
wangjiaming0909 db318a40c2 fix: func ctgHandleGetTbMetasRsp invalid read SName 2023-05-11 00:55:02 +08:00
Haojun Liao dbd79cc80c refactor: do some internal refactor. 2023-05-10 22:22:01 +08:00
Benguang Zhao 2a558323be fix: set absent closeTs with mtime of log files during walCheckAndRepairMeta 2023-05-10 20:35:08 +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 b4bd6a4f1c refactor code 2023-05-10 10:49:10 +00:00
dapan1121 daedb3618b Merge remote-tracking branch 'origin/3.0' into feat/TD-22746 2023-05-10 17:47:11 +08:00
dapan1121 79d4403377 feat: add client meta limitation 2023-05-10 17:44:53 +08:00
dapan1121 cacbc7d3d3 fix: query stop issue 2023-05-10 16:20:44 +08:00
yihaoDeng 5708fcb5cb Merge branch 'enh/3.0' into enh/rocksdbSstateMerge 2023-05-10 08:02:16 +00:00
dapan1121 eb7cd25e2e enh: support nest partition by clause 2023-05-10 14:34:41 +08:00
Ganlin Zhao 523f08fe4b return result after finish processing of each group 2023-05-10 11:18:42 +08:00
Hui Li b1b85c3d95
Merge pull request #21227 from taosdata/fix/TD-24058
fix:[TD-24058]send poll result to client if no data 5 times to avoid …
2023-05-10 11:12:20 +08:00
Yihao Deng c6e5879f44
Merge branch 'main' into enh/rocksdbSstate 2023-05-10 10:04:28 +08:00
liuyao 62ccd4bf16 avoid delete data 2023-05-10 09:11:04 +08:00
dapan1121 7ab11c42f4 fix: vnode key word issue 2023-05-10 09:07:52 +08:00
dapan1121 7d1a6e0e40
Merge pull request #21221 from taosdata/szhou/fix-ts3374
fix: check varchar/nchar column length for alter normal table
2023-05-10 08:59:12 +08:00
yihaoDeng 8356533eb1 Merge branch 'enh/standVer' into enh/rocksdbSstateMerge 2023-05-09 12:13:16 +00:00
dapan1121 2c403266e3 feat: support restore dnode clause 2023-05-09 19:29:57 +08:00
dapan1121 a8c65cd25a feat: support restore dnode clause 2023-05-09 19:19:14 +08:00
dapan1121 d0e26d2efc
Merge pull request #21216 from taosdata/fix/TS-3358
fix:after restarting taosd, stream does not work.
2023-05-09 19:01:43 +08:00
dapan1121 653f7f02f3
Merge pull request #21218 from wangjiaming0909/fix/3.0/TS-3319
fix: show table distributed  t; set the unit of Size to KB
2023-05-09 18:57:55 +08:00
yihaoDeng 711c475693 fix invalid free 2023-05-09 10:34:14 +00:00
wangmm0220 587f750c94 fix:[TD-24058]send poll result to client if no data 5 times to avoid lost data 2023-05-09 17:42:11 +08:00
liuyao 8224d49702 fix:after restarting taosd, stream does not work. 2023-05-09 17:24:11 +08:00
cadem 843d606058 feat/restore dnode 2023-05-09 17:15:37 +08: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
dapan1121 7ea23a33bc enh: optimize time line function validation 2023-05-09 16:37:08 +08:00
wangjiaming0909 479bb157e0 fix: select _block_dist() from t; set the unit of Size to KB 2023-05-09 15:19:21 +08:00
Ganlin Zhao e1140d4c15 optimize duplicate timestamp check 2023-05-09 15:05:41 +08:00
yihaoDeng b5fdaa327d avoid deadlock 2023-05-09 07:00:29 +00:00
shenglian zhou 50feb64748 fix: add check nchar/varchar column length for normal table 2023-05-09 14:29:09 +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
dapan1121 f4f3b886fc
Merge pull request #21213 from wangjiaming0909/fix/TS-3350
fix: data compare of signed and unsigned integers
2023-05-09 08:58:55 +08:00
Hui Li a68a5b73b8
Merge pull request #21212 from taosdata/fix/TD-24030
fix: fix invalid read
2023-05-08 20:30:44 +08:00
dapan1121 95b228a050
Merge pull request #21194 from taosdata/fix/TD-24010
fix:[TD-24010] subscribeStb.py failed in windows CI
2023-05-08 20:29:47 +08:00
wangjiaming0909 e22c62ffba fix: data compare of signed and unsigned integers 2023-05-08 18:13:37 +08:00
yihaoDeng c3e0de0bfc fix invalid read 2023-05-08 09:21:20 +00:00
Benguang Zhao bd5372c378 fix: protect against nullptr in syncRespCleanRsp 2023-05-08 17:08:24 +08:00
wangmm0220 f9142c0ddb fix:[TD24010] lost data if apply ver is small than commit ver 2023-05-08 16:49:56 +08:00
dapan1121 5d4830956a
Merge pull request #21187 from taosdata/szhou/fix-ts23905-ts23865
fix: forbid some stream computing
2023-05-08 16:24:00 +08:00
slzhou 2f45a3dfdb fix: change variable name 2023-05-08 14:42:31 +08:00
dapan1121 1526eb2923 fix: projection group merge issue 2023-05-08 10:28:07 +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
Minglei Jin bb7f050b37 Merge branch '3.0' into fix/TD-23623 2023-05-08 08:13:00 +08:00
Haojun Liao 31ac1e3eaa fix(stream): revise the input queue capacity. 2023-05-08 00:00:55 +08:00
Haojun Liao d026e7ef16 refactor: update some logs. 2023-05-07 22:55:49 +08:00
yihaoDeng 163a862f5f fix mem leak 2023-05-06 13:57:33 +00:00
yihaoDeng 08c3a63341 Merge branch 'enh/standVer' into enh/rocksdbSstateMerge 2023-05-06 12:37:54 +00:00
Haojun Liao c141abfbb8 fix(stream): set correct msg size; 2023-05-06 20:03:07 +08:00
dapan1121 c83367e455 enh: add table group cache 2023-05-06 19:24:47 +08:00
wangmm0220 261f2736f7 fix:[TD-24010] subscribeStb.py failed in windows CI 2023-05-06 19:17:36 +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
Haojun Liao 13f3ca4226 fix(stream): add input queue size limitation. 2023-05-06 18:47:29 +08:00
yihaoDeng 8be29dc98e failed to open rocksdb cf 2023-05-06 10:35:23 +00: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
slzhou 04e9648d8e enhance: change variable name 2023-05-06 17:16:27 +08:00
slzhou 276e5daa8c fix: pseudo column function are treated as variable 2023-05-06 17:13:14 +08:00
dapan1121 1f25cc57cd fix: projection merge issue 2023-05-06 16:39:40 +08:00