Commit graph

6505 commits

Author SHA1 Message Date
Jinqing Kuang
ac23a4fc55
feat(stream): support stream processing for virtual tables (#30144)
* enh: add client processing

* enh: add mnode vtables processing

* enh: add mnode vtable processing

* enh: add normal child vtable support

* fix: compile issues

* fix: compile issues

* fix: create stream issues

* fix: multi stream scan issue

* fix: remove debug info

* fix: agg task and task level issues

* fix: correct task output type

* fix: split vtablescan from agg

* fix: memory leak issues

* fix: add limitations

* Update 09-error-code.md

* Update 09-error-code.md

* fix: remove usless case

* feat(stream): extract original table data in source scan task

Implemented functionality in the source task to extract data
corresponding to the virtual table from the original table using WAL.
The extracted data is then sent to the downstream merge task for further
processing.

* feat(stream): multi-way merge using loser tree in virtual merge task

Implemented multi-way merge in the merge task using a loser tree to
combine data from multiple original table into a single virtual table.
The merged virtual table data is then pushed downstream for further
processing.  Introduced memory limit handling during the merge process
with configurable behavior when the memory limit is reached.

* fix(test): remove useless cases

---------

Co-authored-by: dapan1121 <wpan@taosdata.com>
Co-authored-by: Pan Wei <72057773+dapan1121@users.noreply.github.com>
2025-03-15 17:06:48 +08:00
Jing Sima
410324746b
feat:[TS-4897] virtual table (#30098)
* feat: [TS-4897] Support create/drop/alter/show/describe vtable

* feat: [TS-4897] Support vtable's query

* feat: [TS-4897] Support create virtual supertable

* feat: [TS-4897] Support explain analyze / where / count(*) and only select ts of vtable.

* feat: [TS-4897] Add create test and fix bugs

* feat: [TS-4897] Add alter/drop test and fix bugs

* feat: [TS-4897] Add describe/show test and fix bugs

* feat: [TS-4897] Add auth test and fix bugs

* feat: [TS-4897] Fix meta/catalog/cache bugs

* feat: [TS-4897] Support select tag from virtual child table

* feat: [TS-4897] Add select test and fix plenty of bugs

* feat: [TS-4897] Add optimize rule for vtable scan / support create vtable cross database / remove enterprise constraint / fix bugs.

* feat: [TS-4897] Fix 'schema is old'

* feat: [TS-4897] Support virtual stable query

* feat: [TS-4897] Add tests and Fix bugs

* feat: [TS-4897] resolve conflict.
2025-03-15 14:10:46 +08:00
liuyao
2de6736160
feat(stream): add new trigger continuous_window_close (#30125)
* opt stream build twa result

* opt force window close memory

* feat(stream):optimize new interval and scan operator

* adj log

* opt code

* opt code

* fill history

* fix issue for fill history

* add ci

* feat(stream): add new stream nonblock interval operator

* adjust code

* use new scan operator

* use new scan operator

* add log

* fix issue

* recover stream scan next function

* fix issue

* fix issue

* fix issue

* ignore disorder data

* fix issue

* fix issue for interval sliding

* fix issue

* fix ci issue

* fix ci issue

* fix ci issue

* add semi && final nonblock interval operator

* fix issue

* fix issue

* fix issue

* fix issue

* fix issue

* fix issue

* fix issue

* fix issue

* refactor(stream): track the msgId for each upstream tasks.

* fix(stream): fix race condition.

* fix(stream): update the task last msgId when putting into input queue succ.

* fix issue

* fix issue

* put recalculate data to rocksdb

* fix issue

* fix issue

* enh(query)[TD-33071]: add support for saving and restoring tsdbReader scan progress

- Implement functionality to save scan progress during tsdbReader operations
- Enable resuming scans from the last saved position

* fix issue

* fix issue

* fix issue

* fix issue

* fix issue

* add rec interval check

* enh(stream):add recalculate tasks.

* enh(stream): support the re-calculate the tasks.

* fix issue && do refactor

* do refactor

* fix issue

* fix issue

* update backend opt

* add new interface

* add new session operator

* support blob

* add new session operator

* fix issue

* add rec state for rec task

* fix invalid read

* add new session window

* enh(stream): update the stream tasks backend.

* new session operator

* add pull data

* fix(stream): fix error in expand stream backend.

* fix issue

* fix issue

* fix issue

* merge code

* fix issue

* fix(stream): check for null ptr.

* fix(stream): add more check.

* fix issue

* fix issue

* fix issue

* add debug code

* fix issue

* fix issue

* fix issue

* set rec end flag

* fix(stream): opt re-calculate stream tasks.

* fix issue

* fix issue

* add new operator

* enh(stream): dispatch recalculate block to agg tasks.

* fix issue

* fix issue

* fix(stream): adjust filter.

* fix issue

* refactor

* refactor(stream): adjust the recalculate end block.

* fix issue

* fix(stream): set correct create trigger block.

* fix issue

* fix(stream): fix error in build recalculate end block.

* fix(stream): check null ptr.

* add stream client && fix issue

* fix mem leak

* fix(stream): free msg.

* add stream client

* fix(stream): fix error.

* add stream client && fix issue

* add stream client

* refactor(stream): set the recalculate task complete.

* add wend and group_id for session window dest table

* feat(stream): refactor and set the recalcul agg task complete.

* add cfg for adapter

* fix issue

* add state && event operator

* feat(stream): support fill-history task.

* add new fill operator

* fix(stream): set correct backend when updating fill-history task to recalculate task.

* add new fill operator

* fix(stream): s2025-03-06 11:10:31.272
et ops always open in scan tsdb

* fix(stream):set the correct taskType for sink task.

* new fill operator

* adj stream fill operator

* fix issue

* fix issue

* fix issue

* fix issue

* fix issue

* fix issue

* fix issue

* fix issue

* adj test

* fix issue

* fix(stream): fix issue

* fix(steam): fix issue

* fix(steam): fix issue

* fix(steam): fix issue

* fix(steam): fix issue

* fix(stream): fix issue

* fix(stream): fix issue

* fix(stream): fix issue

* fix: ut com error

* fix(stream): fix mem leak and adjust operator type check rule

* fix(stream): fix mem leak and adjust test case

* refactor code

* fix(stream): free items.

* fix(stream): free fix memory leak.

* fix(stream): fix syntax error.

* fix: ignore unexpect block

* fix: adjust op type

---------

Co-authored-by: Haojun Liao <hjliao@taosdata.com>
Co-authored-by: Jinqing Kuang <kuangjinqingcn@gmail.com>
Co-authored-by: yihaoDeng <luomoxyz@126.com>
2025-03-14 20:14:01 +08:00
wangjiaming
f50fcb85b8
feat(decimal): support decimal data type (#30060)
* decimal: create table

* decimal: add test case decimal.py

* decimal: add decimal.c

* support input decimal

* decimal test

* refactor svalue

* fix test cases

* add decimal unit test

* add decimal test cmake

* support insert and query decimal type

* define wide integer, support decimal128

* support decimal128 divide

* set decimal type expr res types

* scalar decimal

* convert to decimal

* fix decimal64/128 from str and to str

* fix decimal from str and decimal to str

* decimal simple conversion

* unit test for decimal

* decimal conversion and unit tests

* decimal + - * /

* decimal scalar ops and comparision

* start to refactor GET_TYPED_DATA

* support decimal max func, cast func

* refactor GET_TYPED_DATA interface

* decimal scalar comparision

* start to implement sum for decimal

* support sum and avg for decimal type

* decimal tests

* add decimal test

* decimal add test cases

* decimal use int256/int128

* decimal testing

* fix decimal table meta and add tests for decimal col streams

* fix create stream and create tsma

* test insert decimal values

* decimal from str

* test decimal input

* test parse decimal from string

* add taos_fetch_field_e api

* decimal insert tests

* test decimal operators

* decimal operator test

* feat:support decimal in raw block

* decimal operator tests

* decimal test

* feat:support decimal in raw block

* feat:support decimal in raw block

* feat:add schemaExt to SMqDataRsp

* feat:remove add schemaExt to SMqDataRsp

* feat:remove add schemaExt to SMqDataRsp

* feat:remove add schemaExt to SMqDataRsp

* decimal test operators

* decimal operator test

* test decimal operators

* test decimal compare operators

* decimal unary operator test

* decimal col with decimal col oper test

* test decimal col filtering

* fix decimal float operator test

* decimal test where filtering

* fix decimal filtering

* fix decimal order by

* fix decimal op test

* test decimal agg funcs

* test decimal functions

* remove assert

* fix ci build for ret check

* fix decimal windows build

* fix ci ret check

* skip decimal ret check

* skip decimal ret check

* fix decimal tests

* fix decimal ci test

* decimal test

* fix(tmq): heap user after free

* fix(tmq): double free

* fix(tmq): double free

* fix decimal tests

* fix(decimal): decimal test ci build

* fix(decimal): windows build

* fix(decimal): decimal test build

* fix(decimal): fix decimal build and tests

* fix(decimal): fix decimal tests

* fix(decimal): fix taos_fetch_fields_e api

* fix(decimal): fix decimal taos_fetch_fields_e api

* fix(decimal): rebase 3.0

* fix(decimal): fix decimal functions

* fix(decimal): fix decimal test case memory leak

* fix(decimal): fix decimal tests

* fix(decimal): fix decimal test case

* fix(decimal): fix decimal tests

* feat(decimal): fix unit tests

* feat(decimal): fix deicmal unit test

---------

Co-authored-by: wangmm0220 <wangmm0220@gmail.com>
Co-authored-by: yihaoDeng <yhdeng@taosdata.com>
2025-03-14 18:08:07 +08:00
Simon Guan
1a6becbd2b Merge branch '3.0' into merge/mainto3.0 2025-03-14 14:54:02 +08:00
Kaili Xu
13f9bddf3d
feat: support customized taos/taosd (#29736)
* feat: support TDAcoreOS

* chore: cmake options for TD_ACORE

* chore: disable lemon for TD_ACORE

* chore: add lzma2 and msvcregex

* chore: cmake for lzma2

* chore: adapt for TD_ACORE

* chore: adapt strcasecmp for TD_ACORE

* chore: adapt for geos/threadName

* chore: build adapt for TD_ACORE

* chore: build adapt for TD_ACORE

* chore: build adapt for TD_ACORE

* chore: build adapt for TD_ACORE

* chore: build adapt for TD_ACORE termio

* chore: refact transComm.h for TD_ACORE

* chore: refact transportInt.h for TD_ACORE

* chore: refact trans.c for TD_ACORE

* chore: refact trpc.h for TD_ACORE

* chore: refact transCli.c/transComm.c/transSvr.c for TD_ACORE

* chore: refact uv.h for TD_ACORE

* chore: refact geosWrapper.h for TD_ACORE

* chore: refact token/builtins/udf for TD_ACORE

* chore: refact rocks for TD_ACORE

* chore: refact tsdbCache.c for TD_ACORE, use LRU cache for last/last_row, not use rocksdb

* chore: refact FAIL to _ERR to solve conflicts for TD_ACORE

* chore: restore lemon.c/lempar.c

* chore: support build lemon for TD_ACORE

* chore: refact trpc and siginfo_t for TD_ACORE

* chore: refact timezone for TD_ACORE

* chore: refact lz4 for TD_ACORE

* chore: refact TD_ACORE to make compile pass

* chore: code optimization for TD_ASTRA

* feat: support run taos with taosd integrated

* feat: support invoke taos shell

* feat: support invoke taos shell

* feat: support invoke taos shell

* chore: code optimization

* chore: fix undefined reference problem os TD_ASTRA

* chore: resolve compile problem for TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix getpid

* chore: fix typo

* chore: set stack size and ajust min pack size for TD_ASTRA

* chore: fix pthread create parameters

* chore: chmod adapt for TD_ASTRA

* chore: fix trans compile problem

* chore: adapt chmod for TD_ASTRA

* chore: byte alignment for TD_ASTRA

* chore: more code for adaption of TD_ASTRA

* chore: more code for adaption of TD_ASTRA

* chore: more code for adaption of TD_ASTRA

* chore: byte alignment for TD_ASTRA

* chore: conditional compile option

* chore: adapt for TD_ASTRA

* chore: adjust taosPId and msvcregex for TD_ASTRA

* chore: log dir separator for wal build name

* chore: fix type of pointer parameter

* chore: fix compile problem of tsdbGetS3Size

* enh: get last ver from wal log for TD_ASTRA

* enh: refact wal meta ver

* enh: refact wal meta ver

* fix: typo of taosUcs4Compare

* enh: process return value of CI

* chore: more code for TD_ASTRA adaption

* chore: return value of taosCloseFile in walMeta.c

* chore: fix compile problem

* chore: fix compile problem of TD_ASTRA

* fix: update macro for tq and stream task

* chore: code optimization for TD_ASTRA

* chore: restore create log and init cfg interface

* chore: restore strncasecmp and strcasecmp

* fix: adjust the field position of SDataBlockInfo

* fix: pragma pack min size

* fix: pragma pack min size

* chore: more code for TD_ASTRA adaption

* fix: type of parameters

* chore: adapt strncasecmp and strcasecmp for TD_ASTRA

* chore: restore interface of init log

* enh: pack push optimization

* fix: taos init cfg

* add astra support

* fix: fetch the value of suid

* chore: switch of  build with udf

* add temp code

* chore: more code for TD_ASTRA adaption

* chore: add macro ERRNO to replace errno

* chore: bytes align for TD_ASTRA

* fix: remove obsolete codes

* enh: support USE_UDF macro

* fix compile error

* fix: resolve redefinition problem

* fix: compile problem of log.cpp

* fix: compile problem of osTimezone

* fix: resolve compile problem of udf

* fix: pragma definition on windows

* fix: ucs4 and stpncpy for TD_ASTRA

* fix: memory align problem for TD_ASTRA

* enh: solve memory leak for TD_ASTRA_RPC

* fix: compile problem of taosSetInt64Aligned

* fix: restore mndSubscribe.c

* fix: scalar for udf

* chore: code adaption for TD_ASTRA

* chore: code optimization for TD_ASTRA

* fix: typo of add definition

* fix: typo of macro in tudf.h

* chore: remove void to make CI pass

* enh: move macro from cmake.platform to cmake.options

* enh: byte align for hash node and error code

* chore: restore the size for lru cache

* enh: restore some code about pack push

* chore: restore the pack push in tmsg.h

* fix: add macro of pack pop for windows

---------

Co-authored-by: yihaoDeng <luomoxyz@126.com>
2025-03-14 13:32:13 +08:00
Simon Guan
724facd134 Merge branch 'main' into merge/mainto3.0 2025-03-14 11:49:02 +08:00
dapan1121
90fcd168c9 Merge remote-tracking branch 'origin/3.0' into feat/TS-5992 2025-03-13 15:32:26 +08:00
facetosea
8fbd28eb6e fix: state col precal 2025-03-12 14:33:18 +08:00
Simon Guan
a084f03340 Merge branch 'main' into merge/mainto3.0 2025-03-12 14:18:42 +08:00
dapan1121
d997c144a1 Merge remote-tracking branch 'origin/3.0' into feat/TS-5992 2025-03-12 14:16:22 +08:00
54liuyao
051c34e2f1 fix(stream): fix stream mem leak 2025-03-11 11:30:13 +08:00
dapan1121
a4ed19b36d enh: add left join cases 2025-03-11 11:29:49 +08:00
54liuyao
1ddc510976 fix(stream): fix stream mem leak 2025-03-10 16:28:28 +08:00
Simon Guan
1170955b95 Merge branch 'main' into merge/mainto3.0 2025-03-10 11:05:52 +08:00
Simon Guan
34120a38c5 Merge branch '3.0' into merge/mainto3.0 2025-03-05 18:12:55 +08:00
Simon Guan
292b0cb317 Merge branch 'main' into merge/mainto3.0 2025-03-05 18:10:31 +08:00
Haojun Liao
24882459e3 chore: merge main 2025-03-05 13:40:44 +08:00
Haojun Liao
2c92cca603 test(analytics): add test case and set the unit to be second. 2025-03-04 23:31:02 +08:00
Haojun Liao
450561226a fix(analytics): fix syntax error. 2025-03-04 14:02:21 +08:00
Haojun Liao
0e37b45e06 fix(analytics): fix syntax error. 2025-03-04 13:56:39 +08:00
Simon Guan
1a9f75e663 Merge branch '3.0' into fix/internal 2025-03-04 13:47:03 +08:00
Haojun Liao
9139f3cb47 fix(analytics): fix syntax error. 2025-03-04 13:44:56 +08:00
Haojun Liao
8c035a930a refactor(analytics): do some internal refactor. 2025-03-04 13:40:33 +08:00
Haojun Liao
f85347b311 fix(analysis): fix syntax error. 2025-03-03 23:44:21 +08:00
Haojun Liao
19f09d679d feat(stream): add timeout parameter. 2025-03-03 23:05:14 +08:00
Haojun Liao
96cd36900a fix(analysis): fix syntax error. 2025-03-03 18:28:17 +08:00
Haojun Liao
f563a35b3f fix(stream):check the maximum allowed forecast rows, add one test case, and do some internal refactor. 2025-03-03 17:27:05 +08:00
Haojun Liao
ac667164ed refactor: do some internal refactor. 2025-03-03 16:20:58 +08:00
Simon Guan
6826edf5e0 Merge branch 'main' into merge/mainto3.0 2025-03-03 14:01:43 +08:00
Simon Guan
d7207861bb Merge remote-tracking branch 'origin/3.0' into fix/internal 2025-03-03 10:43:07 +08:00
Simon Guan
43ca6d5f9e refactor: adjust some logs 2025-02-28 16:49:46 +08:00
Simon Guan
1ae2bb28e8
Merge pull request #29954 from taosdata/enh/killtrans
enh(stream): not waiting during drop stream tasks.
2025-02-28 10:40:53 +08:00
Simon Guan
63992a3240 Merge remote-tracking branch 'origin/main' into merge/mainto3.0 2025-02-28 09:16:43 +08:00
Simon Guan
f5429637fa Merge branch 'main' into merge/mainto3.0 2025-02-28 09:11:10 +08:00
54liuyao
9d3a00920e fix(stream): fix mem leak && rebuild event window when the window end flag is modified 2025-02-27 11:23:40 +08:00
Simon Guan
76ad364b93 enh: adjust some logs 2025-02-27 09:55:11 +08:00
Haojun Liao
11e7126f98 Merge branch 'main' into enh/killtrans 2025-02-27 00:35:28 +08:00
Haojun Liao
786ee101cd other: merge main. 2025-02-27 00:18:25 +08:00
Haojun Liao
bf1f162aa0 fix(stream): drop task in synch model in write thread. 2025-02-27 00:15:36 +08:00
Haojun Liao
012ee53d35 fix(stream): drop task in synch model in write thread. 2025-02-27 00:15:31 +08:00
Haojun Liao
45b0e47a19 refactor(stream): add long exec stream queue for history tasks in step1 and re-calculate task execution. 2025-02-27 00:15:03 +08:00
Haojun Liao
c14ba08d7c refactor(stream): drop task in async ways 2025-02-27 00:12:11 +08:00
dapan1121
e41cd44c51 enh: add merge join primary expr type 2025-02-26 16:30:36 +08:00
Jinqing Kuang
a987d925a1 fix(query)[TD-33833]: fix function projectApplyFunctions for null pointer handling 2025-02-25 15:48:25 +08:00
Shengliang Guan
5ad05a662a Merge branch '3.0' into feat/TS-5470-3.0 2025-02-24 16:12:47 +08:00
Shengliang Guan
8fccf318ab
Merge pull request #29902 from taosdata/merge/mainto3.0
merge: from main to 3.0 branch
2025-02-24 15:47:21 +08:00
Shengliang Guan
3a1d06f4d7
Merge pull request #29354 from taosdata/enh/TS-5255/colsFunc2
enh: ts5255/cols func2
2025-02-24 14:19:37 +08:00
Jinqing Kuang
51ffff2079 feat(query)[TS-5470]: add syntax to specify minimum duration for event and state windows
Introduce the `true for` syntax to allow users to specify the minimum
duration for event and state windows. Add corresponding tests to
validate the feature. Updated the user manual with usage instructions.
2025-02-24 08:02:48 +08:00
Shengliang Guan
3a739beaa5 Merge branch 'main' into merge/mainto3.0 2025-02-22 20:07:40 +08:00
Haojun Liao
8c1ddb547f fix(query): check return value. 2025-02-21 02:24:00 +08:00
Haojun Liao
ecc667c22b
Revert "refactor(stream): drop task in async ways" 2025-02-21 01:10:18 +08:00
Shengliang Guan
1e59168396 fix: ci errors 2025-02-20 19:20:40 +08:00
facetosea
d9bbe0d888 return code 2025-02-20 19:15:22 +08:00
Shengliang Guan
2bee60a41a Merge branch 'main' into merge/mainto3.0 2025-02-20 18:12:02 +08:00
facetosea
75984e6d1e fix: group const value 2025-02-20 16:29:23 +08:00
Shengliang Guan
42bafc0d47
Merge pull request #29848 from taosdata/fix/ly_stream
fix(tsma):drop invalid state for tsma
2025-02-20 15:04:03 +08:00
54liuyao
870fe1c071 fix(tsma):drop invalid state for tsma 2025-02-20 11:52:04 +08:00
facetosea
71bdb6fcae nullTuple pos 2025-02-20 11:47:03 +08:00
Shengliang Guan
60245b4e46
Merge pull request #29800 from taosdata/enh/TD-26215
enh: optimize group by tag performance
2025-02-19 16:37:41 +08:00
facetosea
01518aae39 fix: result error 2025-02-19 11:09:32 +08:00
dapan1121
df674440bf fix: last row scan and tag in conds issues 2025-02-18 19:27:47 +08:00
Shengliang Guan
6735e5e948
Merge pull request #29822 from taosdata/kjq/enh-code-clarity
enh(stream): add options to control message and frame size
2025-02-18 18:59:28 +08:00
Shengliang Guan
8bee0e7030
Merge pull request #29666 from taosdata/feat/TS-5776
fix:[TS-5776]add raw type from consumer
2025-02-18 17:53:52 +08:00
Jinqing Kuang
a48095d467 enh(streams): add options to control message and frame size
Add options to allow users to specify message and frame size limits for
event notifications.
2025-02-18 17:20:38 +08:00
facetosea
8a7b633036 fix: alias name length 2025-02-18 00:20:40 +08:00
wangmm0220
6f2ccfc3b2 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-5776 2025-02-17 17:41:25 +08:00
Haojun Liao
c4cd6dd62d fix(stream): drop task in synch model in write thread. 2025-02-17 10:06:09 +08:00
Jinqing Kuang
fc2d2672b9 feat(stream)[TS-5469]: add more stream event notifications
- Add event notifications for all window types
- Implement window invalidation notifications
- Add statistics for event notification delivery
2025-02-16 11:07:16 +08:00
facetosea
c4cc51b583 cols: use aggfunc 2025-02-16 01:15:12 +08:00
Haojun Liao
465e5eabd7 fix(stream): drop task in synch model in write thread. 2025-02-15 23:20:05 +08:00
Haojun Liao
25cdfa5ee9 refactor(stream): add long exec stream queue for history tasks in step1 and re-calculate task execution. 2025-02-14 18:34:20 +08:00
Haojun Liao
fd96b096ea refactor(stream): drop task in async ways 2025-02-13 23:41:06 +08:00
facetosea
3c0121ef1a unused code 2025-02-11 07:38:12 +00:00
wangmm0220
94b74cc20f Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-5776 2025-02-07 18:25:08 +08:00
Shengliang Guan
a004d95996 Merge branch '3.0' into merge/mainto3.02 2025-02-06 13:46:36 +08:00
Haojun Liao
2f6977dfda Merge branch 'main' into enh/analysis 2025-01-23 18:55:32 +08:00
factosea
65e0990dc0 merge 3.0 2025-01-23 14:16:56 +08:00
Shengliang Guan
08e56fd27f
Merge pull request #29633 from taosdata/fix/TD-33551
enh: support ? in limit clause
2025-01-23 08:50:07 +08:00
wangmm0220
3fb2ec432e fix:[TS-5776]add raw type from consumer 2025-01-22 17:40:59 +08:00
Shengliang Guan
3bbecbbba4
Merge pull request #29626 from taosdata/fix/TS-5932
fix: invalid subtable in tbname list
2025-01-22 17:24:03 +08:00
wangmm0220
7c5c9f6245 fix:[TS-5776]add raw type from consumer 2025-01-22 16:38:37 +08:00
Haojun Liao
d6dc966ed1 fix(analysis): fix compiler error on windows. 2025-01-22 15:12:43 +08:00
Jing Sima
c2e15394d6 fix:[TS-5941] fix interpolate varchar/nchar data error 2025-01-22 13:40:26 +08:00
dapan1121
84c37d501a enh: support ? in limit clause 2025-01-22 11:45:12 +08:00
Haojun Liao
84580286ce enh(analysis): enable community edition to support anodes. 2025-01-22 11:11:06 +08:00
dapan1121
89cea7859a fix: invalid subtable in tbname in clause issue 2025-01-21 17:41:37 +08:00
Jinqing Kuang
eb5d463490 feat(stream)[TS-5469]. add support for window event notifications in stream processing
- Introduce new syntax to specify notification type and destination address
- Collect relevant event information during window computations
- Implement websocket-based notification delivery to the specified address
2025-01-21 17:39:46 +08:00
54liuyao
f3b38edb98 add stream event notify 2025-01-21 11:18:49 +08:00
Shengliang Guan
585e639328 Merge branch 'main' into merge/mainto3.0 2025-01-19 11:19:14 +08:00
Shengliang Guan
97a091a8bb
Merge pull request #29567 from taosdata/fix/TS-5906
fix:[TS-5906]clear meta cache for subscription if tag is changed
2025-01-15 10:39:19 +08:00
wangmm0220
cae21da2d4 fix:[TS-5906]clear meta cache for subscription if tag is changed 2025-01-14 15:35:43 +08:00
Shengliang Guan
7fcbf30595 Merge branch 'main' into merge/mainto3.0 2025-01-11 20:44:08 +08:00
Shengliang Guan
5087e42933
Merge pull request #29512 from taosdata/fix/TS-5863/join
fix: join cols not set
2025-01-11 19:26:20 +08:00
Shengliang Guan
c62e189496 Merge branch 'main' into merge/mainto3.0 2025-01-09 13:38:37 +08:00
factosea
9277b0285f fix: error code 2025-01-08 15:24:04 +08:00
factosea
e71ea69cdb fix: seqStableJoinComposeRes 2025-01-08 15:22:19 +08:00
factosea
c85a57c055 fix: join cols not set 2025-01-08 11:24:24 +08:00
Jing Sima
794ab3ae16 fix:[TD-33473] Fix cleanup percentile failed. 2025-01-07 14:59:51 +08:00
factosea
772c37b4d6 fix: empty block 2025-01-01 19:17:12 +08:00
Shengliang Guan
0312435deb
Merge pull request #29390 from taosdata/enh/TS-4994-more-test-case
Enh/ts 4994 more test case
2024-12-29 22:14:40 +08:00
Shengliang Guan
9a1b80847a
Revert "Revert "Revert "Revert "Enh:[td 29974]improve trans"""" 2024-12-29 19:40:32 +08:00
Shengliang Guan
63e3e33f14
Revert "Revert "Revert "Enh:[td 29974]improve trans""" 2024-12-29 19:37:58 +08:00
Shengliang Guan
3ae93c9c90
Merge pull request #29389 from taosdata/merge/mainto3.0
merge: from main to 3.0 branch
2024-12-29 19:29:36 +08:00
factosea
2611eef0e2 fix: mem leak 2024-12-29 10:02:56 +08:00
Shengliang Guan
5bb7be712d
Merge pull request #29376 from taosdata/fix/cov
test: update test cases and fix related bugs.
2024-12-28 16:19:40 +08:00
Shengliang Guan
ec2c8c435e
Revert "Enh:[td 29974]improve trans" 2024-12-27 22:26:43 +08:00
54liuyao
e8f63cded9 fix stream state operator issue 2024-12-27 22:04:28 +08:00
Haojun Liao
98a3fa1ab5 test: add test case for anamaly detection in tdanalytics. 2024-12-27 22:04:16 +08:00
Hongze Cheng
2d7c1a206f enh: add more cases 2024-12-27 15:10:21 +08:00
Shengliang Guan
b0f61b53ab
Merge pull request #29349 from taosdata/fix/3_liaohj
others: merge fix from main to 3.0, add test cases to improve the coverages.
2024-12-27 09:25:55 +08:00
Shengliang Guan
912fcb13bf
Merge pull request #29351 from taosdata/merge/mainto3.0
merge: from main to 3.0 branch
2024-12-27 09:06:35 +08:00
Hongze Cheng
ed9e3397be
Merge pull request #29347 from taosdata/enh/TS-4994-enh
enh: compact more enh
2024-12-27 08:49:24 +08:00
Shengliang Guan
2bff7a835c
Merge pull request #29165 from taosdata/enh/TD-29974-improve-trans
Enh:[td 29974]improve trans
2024-12-26 22:49:32 +08:00
Haojun Liao
9da42b7eb8 other: merge 3.0 2024-12-26 18:47:25 +08:00
Hongze Cheng
098ab9f4b4 enh: change some documents 2024-12-26 18:25:23 +08:00
Haojun Liao
7c395a4fc3 test: add test case for anamaly detection in tdanalytics. 2024-12-26 18:23:03 +08:00
Haojun Liao
c8b44b82c4 refactor:do some internal refactor. 2024-12-26 18:20:26 +08:00
Shengliang Guan
5099f24823
Merge pull request #29311 from taosdata/merge/3.0tomain
merge: from 3.0 to main branch
2024-12-25 21:27:45 +08:00
Pan Wei
149ac2fea7
Merge branch '3.0' into fix/TD-33275.2 2024-12-25 10:04:48 +08:00
dapan1121
b6863a0eff fix: add more UT cases 2024-12-25 09:59:26 +08:00
factosea
79b4b4bec1 fix: use limit with join 2024-12-24 09:53:11 +08:00
dapan1121
f502b93f1b Merge remote-tracking branch 'origin' into fix/TD-33275.2 2024-12-23 16:20:13 +08:00
dongming chen
48b24804d4
Merge pull request #29275 from taosdata/3.0
3.0
2024-12-23 13:53:16 +08:00
Shengliang Guan
5934324f3d
Merge pull request #29265 from taosdata/fix/TD-33275.2
fix: add more test cases
2024-12-23 11:48:28 +08:00
Jinqing Kuang
4f71d4a3f5 enh(query)[TD-33268]. add unit tests to increase test coverage 2024-12-22 14:23:05 +08:00
dapan1121
b1702132b4 fix: add ut cases 2024-12-20 13:52:53 +08:00
Haojun Liao
9eb2ba5269 refactor:do some internal refactor. 2024-12-19 15:27:23 +08:00
factosea
20f8d17c16 cols func 2024-12-19 10:48:40 +08:00
dongming chen
20cc54aaaa
Merge branch 'enh/TD-29974-improve-trans' into dmchen/trans-improve 2024-12-16 10:34:11 +08:00
Hongze Cheng
7905c80fd4 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-12-13 18:12:53 +08:00
Hongze Cheng
8bf5f3f62b Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-12-13 13:54:45 +08:00
dapan1121
2bd493f77b fix: return code issues 2024-12-11 19:18:50 +08:00
kailixu
eaf5978b2c Merge branch '3.0' into feat/TD-30268 2024-12-10 18:49:15 +08:00
WANG MINGMING
4a3eda51e0
Merge branch '3.0' into feat/TD-32642 2024-12-10 14:11:47 +08:00
dapan1121
7fd0d024fc fix: windows compile issue 2024-12-10 09:15:15 +08:00
Shengliang Guan
b99f32b8f0 Merge branch '3.0' into merge/mainto3.0 2024-12-09 19:06:11 +08:00
Shengliang Guan
e99b888654 Merge branch 'main' into merge/mainto3.0 2024-12-09 19:06:06 +08:00
dapan1121
d77147d296 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-12-06 17:43:19 +08:00
kailixu
f8343dcaac chore: merge 3.0 and update test case of show_create_db.py 2024-12-06 11:09:22 +08:00
wangmm0220
0165684131 feat:[TD-32642] merge from 3.0 2024-12-05 23:47:46 +08:00
dapan1121
011ff04234 fix: scheduler dead lock issue 2024-12-05 18:07:37 +08:00
54liuyao
b6aa299a3c opt stream build twa result 2024-12-05 08:57:12 +08:00
Jinqing Kuang
c2256e9443 feat(query)[TS-5058]: support AUTO OFFSET in INTERVAL clause
Add the AUTO keyword, which allows automatic determination of the
INTERVAL OFFSET based on the WHERE condition. It simplifies usage by
allowing users to rely on the system to infer the correct offset
without manual specification.
2024-12-04 10:06:47 +08:00
Hongze Cheng
25b9de5d51 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-12-03 14:32:03 +08:00
54liuyao
2a8263efea opt force window close memory 2024-12-03 09:11:46 +08:00
yihaoDeng
8fafd0e0a5 refactor code 2024-12-02 19:05:45 +08:00
yihaoDeng
3d92cbb691 Merge remote-tracking branch 'origin/3.0' into enh/addDiskUsage 2024-12-02 19:05:33 +08:00
yihaoDeng
411a476b91 refactor code 2024-12-02 18:42:01 +08:00
Hongze Cheng
61d8fbc9d9 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-12-02 09:11:44 +08:00
Shengliang Guan
7181c5d960
Merge pull request #28988 from taosdata/main
merge: from main to 3.0 branch
2024-11-30 11:06:48 +08:00
Shengliang Guan
41ccb28f86
Merge pull request #28975 from taosdata/feat/main/TS-5667
support interp fill extension
2024-11-29 17:48:25 +08:00
Hongze Cheng
9f6f82ff98 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-11-29 15:10:27 +08:00
yihaoDeng
e495d39220 Merge remote-tracking branch 'origin/3.0' into enh/addDiskUsage 2024-11-29 13:50:09 +08:00
54liuyao
2eb0d34d0f Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TD-33020 2024-11-29 08:59:06 +08:00
wangjiaming0909
3239a10b76 support interp fill extension 2024-11-28 20:30:53 +08:00
Shengliang Guan
fb4486cedb Merge branch 'main' into merge/mainto3.0 2024-11-28 19:21:25 +08:00
wangmm0220
ea9c5d3ce6 feat:[TD-32642] add timezone for connection support 2024-11-28 18:59:54 +08:00
Shengliang Guan
675008dd18
Merge pull request #28952 from taosdata/test/main/TD-32920
ci: set test step in ci when tdgpt file changed
2024-11-28 17:06:20 +08:00
Shengliang Guan
b1433deebe
Merge pull request #28839 from taosdata/enh/TD-32179/operatorInputCheck
enh: operator input check
2024-11-28 16:37:58 +08:00
Hongze Cheng
56df90322e more code 2024-11-28 16:03:46 +08:00
Shengliang Guan
26ba4b1f29 Merge branch '3.0' into merge/mainto3.0 2024-11-27 22:32:50 +08:00
Shengliang Guan
6db8a25c98 Merge branch 'main' into merge/mainto3.0 2024-11-27 22:31:17 +08:00
facetosea
a2f8a822da remove some check 2024-11-27 19:51:27 +08:00
yihaoDeng
afd3679633 rm unused code 2024-11-27 19:34:06 +08:00
Hongze Cheng
df8a4ea6dc more code 2024-11-27 18:49:48 +08:00
Hongze Cheng
3ae5a72a4c more code 2024-11-27 17:53:53 +08:00
54liuyao
9d668150d5 fix stream issue 2024-11-27 16:24:46 +08:00
Hongze Cheng
6b236018d5 more code and case change 2024-11-27 14:40:58 +08:00
wangmm0220
0e2a16d70f feat:[TD-32642] add charset for connection support 2024-11-27 14:25:34 +08:00
chenhaoran
7567e1a3fe Merge branch 'main' of https://github.com/taosdata/TDengine into test/main/TS-5671 2024-11-27 14:04:22 +08:00
54liuyao
e63b8a0ccb fix issue 2024-11-27 10:55:52 +08:00
54liuyao
0669910da5 fix issue 2024-11-27 08:58:39 +08:00
54liuyao
22023575ba opt stream force fill op 2024-11-26 19:46:36 +08:00
54liuyao
5472a22a11 Merge branch 'fix/TD-32999' of https://github.com/taosdata/TDengine into fix/TD-33020 2024-11-26 16:02:03 +08:00
54liuyao
f37ae57a87 opt stream row buff 2024-11-26 15:23:57 +08:00
54liuyao
721170dcb3 opt stream time slice 2024-11-26 08:45:44 +08:00
wangmm0220
2ca9f9c8ce feat:[TD-32642] merge from 3.0 2024-11-26 00:13:43 +08:00
wangmm0220
c7d0f69ca4 feat:[TD-32642] add timezone logic 2024-11-25 23:43:37 +08:00
chenhaoran
7688c3b7d9 ci: set test step in ci when tdgpt file changed 2024-11-25 17:23:55 +08:00
54liuyao
f2f613a529 Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TD-32999 2024-11-25 17:16:00 +08:00
54liuyao
39564a41ae fix(stream):build create table request for force_window_close 2024-11-25 13:54:31 +08:00
Hongze Cheng
496d9bb405 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-11-25 13:39:47 +08:00
factosea
22f3c20977 enh: check param 2024-11-25 11:33:02 +08:00
Shengliang Guan
877dbd8e90 fix: complie errors 2024-11-22 22:19:42 +08:00
factosea
266958b29e enh: error code 2024-11-22 17:53:50 +08:00
factosea
8f1eda88ad enh: error code 2024-11-22 17:18:42 +08:00
Shengliang Guan
f733583117 Merge branch 'main' into doc/internal 2024-11-22 16:30:48 +08:00
Shengliang Guan
2d13ce5105 refact: rename taos lib name 2024-11-22 15:33:55 +08:00
yihaoDeng
b8112ff3a0 refactor code 2024-11-22 14:58:44 +08:00
yihaoDeng
407eeb6620 Unable to 2024-11-22 14:43:11 +08:00
Shengliang Guan
a607951115 Merge branch 'main' into merge/mainto3.0 2024-11-22 13:39:44 +08:00
Shengliang Guan
36deebdde9
Merge pull request #28873 from taosdata/fix/liaohj
fix(analytics): do some internal refactor and fix the error in parse options.
2024-11-22 09:06:13 +08:00
Haojun Liao
91ce69e6af fix(analytics): check the null ptr. 2024-11-21 20:02:23 +08:00
Haojun Liao
e103d3963b fix(analytics): check return value. 2024-11-21 16:40:06 +08:00
Haojun Liao
af1c0c98bb fix(analytics): do some internal refactor and fix the error in parse the option string. 2024-11-21 15:14:37 +08:00
Shengliang Guan
cfa7d275f2 Merge branch 'main' into merge/mainto3.0 2024-11-21 11:00:00 +08:00
dapan1121
164fa67db5 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-11-21 10:23:57 +08:00
54liuyao
6464077cec add log 2024-11-21 09:50:45 +08:00
54liuyao
53ae014354 fix issue for streamscan 2024-11-20 19:13:05 +08:00
yihaoDeng
3ef53505b8 fix merge error 2024-11-20 08:30:11 +08:00
factosea
04af5f4b94 enh: check param 2024-11-19 19:38:40 +08:00
factosea
f3acf49e22 enh: include 2024-11-19 16:23:46 +08:00
Hongze Cheng
0d3210a2c9 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-11-19 14:59:13 +08:00
Shengliang Guan
99bebacd8e
Merge pull request #28784 from taosdata/fix/TD-32861-main
fix(query)[TD-32861]. fix that WHERE condition not work in statements with INTERP function
2024-11-19 09:40:28 +08:00
Hongze Cheng
5a85688819 enh: add query filesets sql supoort 2024-11-18 16:57:15 +08:00
Jinqing Kuang
f5c66cec19 fix(query)[TD-32861]. fix that WHERE condition not work with INTERP function
Previously, a statement with INTERP would force underlying TABLE SCAN
operator to scan all data within the RANGE clause, causing the time
range constraint in the WHERE condition to be ignored. This fix ensures
that the TABLE SCAN respects both the RANGE clause and WHERE condition,
improving query accuracy and performance.
2024-11-18 16:08:27 +08:00
wangjiaming0909
b589f9089c add test case 2024-11-18 09:33:43 +08:00
yihaoDeng
69710517e0 fix invalid fiter 2024-11-15 10:31:31 +08:00
dapan1121
85fc4dfc2b fix: data sink memory issues 2024-11-15 10:16:15 +08:00
54liuyao
87e1f8da47 fix(stream):fix bloom filter decode issue 2024-11-15 09:13:18 +08:00
yihaoDeng
e8045e6270 update interface 2024-11-14 21:35:36 +08:00
yihaoDeng
8bfee53e67 fix interface update 2024-11-14 18:02:12 +08:00
yihaoDeng
42065bf2e8 Merge remote-tracking branch 'origin/3.0' into enh/addDiskUsage 2024-11-14 17:44:29 +08:00
dapan1121
40f9e366e9 fix: data deleter schema issue 2024-11-14 17:38:20 +08:00
yihaoDeng
6ad894b356 support quick cmd 2024-11-14 17:04:11 +08:00
dapan1121
0995facd64 fix: hash put duplicated issue 2024-11-14 16:37:10 +08:00
Shengliang Guan
80b7cbdb84 Merge branch '3.0' into merge/mainto3.0 2024-11-13 23:11:05 +08:00
54liuyao
ea7c30505a fix(stream):fix bloom filter decode issue 2024-11-13 19:37:22 +08:00
dapan1121
34cfca745b fix: duplicated clientId issue 2024-11-13 19:19:00 +08:00
yihaoDeng
620c7627e9 add quick cmd 2024-11-13 17:01:56 +08:00
yihaoDeng
f876bfd6c9 fix error summery 2024-11-12 11:32:40 +08:00
yihaoDeng
6d56822f83 fix mem leak 2024-11-11 19:39:03 +08:00
yihaoDeng
2ad8637acf support disk usage 2024-11-11 19:18:11 +08:00
Shengliang Guan
25fc7025a4
Merge pull request #28703 from taosdata/fix/main/TS-5580
fix:[TS-5580] Fix wrong tag num from ins_tags.
2024-11-11 18:19:20 +08:00
yihaoDeng
11064d43e6 support disk usage 2024-11-11 18:16:41 +08:00
yihaoDeng
a7fe6d804f support disk usage 2024-11-11 15:03:10 +08:00
Jing Sima
e4bfef4977 fix:[TS-5580] Fix wrong tag num from ins_tags. 2024-11-11 13:56:37 +08:00
Jinqing Kuang
b4e0f9a922 enh(query)[TD-32127]: improve code quality of tsdbRead module
- Add parameter validation for functions to ensure robustness
- Nullify pointers when freeing memory to prevent dangling pointers
- Initialize local variables to avoid undefined behavior
- Add error handling and logging for better debugging
2024-11-11 11:53:28 +08:00
dapan1121
a8561fba4f Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-11-11 11:01:22 +08:00
dapan1121
411d61504f fix: remove taosMem calling 2024-11-11 09:09:40 +08:00
Shengliang Guan
f46cf6044d
Merge pull request #28709 from taosdata/main
merge: from main to 3.0 branch
2024-11-10 11:50:38 +08:00
dapan1121
371094cc13 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-11-08 10:13:20 +08:00
wangjiaming0909
2ddd07142a remove logs 2024-11-08 09:50:32 +08:00
wangjiaming0909
de8576a6a1 refine comments and functions 2024-11-08 09:50:07 +08:00
wangjiaming0909
9a92c136ce fix drop child table with tsma 2024-11-08 09:47:47 +08:00
wangjiaming0909
65dffbda0c fix tsma drop ctb 2024-11-08 09:47:04 +08:00
Shengliang Guan
d0828ddf1e
Merge pull request #28643 from taosdata/enh/TD-32732-main
enh(query)[TD-32732]: add client Id generation and usage
2024-11-08 09:44:07 +08:00
wangjiaming0909
f2860b766a add ret check for deletePartName 2024-11-08 09:42:59 +08:00
wangjiaming0909
fc39ea70ac fix tsma stream same tbname with same group id 2024-11-08 09:42:59 +08:00
54liuyao
2b924c68fd ignore delete result 2024-11-08 09:42:59 +08:00
54liuyao
f452ca47fe delete window state when drop table 2024-11-08 09:42:56 +08:00
yihaoDeng
ffd4829143 support disk usage 2024-11-08 08:14:16 +08:00
yihaoDeng
4f9c9a15db support disk usage 2024-11-07 20:20:44 +08:00
Haojun Liao
a8f7f153d9 refactor: do some internal refacrtor. 2024-11-07 16:44:43 +08:00
Haojun Liao
daedcc53fb refactor: return the error code and do some refactor. 2024-11-07 16:28:47 +08:00
dmchen
623017b16d dmchen/trans-improve-show 2024-11-07 02:32:44 +00:00
Jinqing Kuang
43a337ef74 enh(query)[TD-32732]: add client Id generation and usage
To address the issue of non-unique identifiers for query tasks, a unique
client ID (cid) is now generated during client initialization. This cid
is included in every task message sent to the server. The server will
use a composite key of <qid, cid, tid, eid> to uniquely identify each
query task.
2024-11-07 08:47:31 +08:00
Shengliang Guan
10df16b01a
Merge pull request #28667 from taosdata/merge/3.0tomain
merge: from 3.0 to main branch
2024-11-06 20:46:56 +08:00
dapan1121
c5c85efeb5 enh: adjust mode and retire policy 2024-11-06 19:26:14 +08:00
yihaoDeng
a6436882a2 support disk usage 2024-11-06 15:25:50 +08:00
54liuyao
527c3d59a9 fix issue 2024-11-06 11:44:02 +08:00
54liuyao
719a3faa12 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-11-06 11:13:15 +08:00
54liuyao
ba31bf2c52 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-11-06 09:42:50 +08:00
Shengliang Guan
0be118c0aa
Merge pull request #28408 from taosdata/enh/TD-32181/client
Enh/td 32181/client
2024-11-06 09:42:05 +08:00
yihaoDeng
dc576905f0 support disk usage 2024-11-05 19:57:13 +08:00
54liuyao
48d5f0e7cd fix issue 2024-11-05 18:14:35 +08:00
factosea
a51bd9a24f enh: cal output col counts 2024-11-05 15:42:57 +08:00
54liuyao
d010323eb6 fix ci issue 2024-11-05 13:15:32 +08:00
54liuyao
ecf8f92ac8 fix ci issue 2024-11-05 11:11:23 +08:00
54liuyao
35a1d79b98 fix(stream):check scan range of stream operator 2024-11-05 10:37:39 +08:00
Shengliang Guan
1539e04e8b
Merge pull request #28639 from taosdata/main
merge: from main to 3.0 branch
2024-11-05 09:04:38 +08:00
Jing Sima
355aa885de fix:[TD-32506] fix mem leak in percentile function. 2024-11-04 09:35:15 +08:00
54liuyao
de92e455a6 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-11-04 09:11:43 +08:00
xsren
7041e64744 add colDataSetVal func desc 2024-11-03 23:00:31 +08:00
Shengliang Guan
a71aacbb13
Merge pull request #28620 from taosdata/main
merge: from main to 3.0
2024-11-02 12:06:20 +08:00
yihaoDeng
160e2686c4 Merge remote-tracking branch 'origin/3.0' into enh/addDiskUsage 2024-11-01 15:58:57 +08:00
Shengliang Guan
526904fdd1
Merge pull request #28563 from taosdata/fix/main/TD-32727
fix:[TD-32727] fix bug when select interp with two more group key.
2024-11-01 14:31:25 +08:00
dapan1121
4a4351d4ec enh: add memory alloc & free stat 2024-11-01 13:35:46 +08:00
54liuyao
2a24805646 add block data capacity 2024-11-01 11:34:18 +08:00
54liuyao
0c30b3cf3c fix ci issue 2024-11-01 10:25:14 +08:00
54liuyao
0e0a7ae2e9 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-11-01 09:54:51 +08:00
Jing Sima
135adabd98 fix:[TD-32727] set SArray pointer to NULL after destroy. 2024-11-01 09:11:35 +08:00
54liuyao
e9b9ebeb6e fic comp issue 2024-10-31 18:52:24 +08:00
54liuyao
158eda13f9 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-31 17:49:58 +08:00
54liuyao
5b9f434532 fix issue for value 2024-10-31 17:47:54 +08:00
Shengliang Guan
f13d262a5a Merge branch '3.0' into merge/mainto3.0 2024-10-31 17:38:59 +08:00
Shengliang Guan
33cc4db548 Merge branch 'main' into merge/mainto3.0 2024-10-31 17:38:54 +08:00
Shengliang Guan
27cdac0910
Merge pull request #28579 from taosdata/merge/mainto3.0
merge: from main to 3.0 branch
2024-10-31 17:37:13 +08:00
54liuyao
fde9eeb9ca fix ci issue 2024-10-31 16:10:05 +08:00
54liuyao
5158bf6b96 fix issue 2024-10-31 15:50:56 +08:00
Shengliang Guan
f8952f6c17
Merge pull request #28550 from taosdata/fix/3.0/TD-32664
fix partition + having planner internal error
2024-10-31 15:32:41 +08:00
Shengliang Guan
cea0bb6445
Merge pull request #28480 from taosdata/enh/TD-32190
enh: add query plan test
2024-10-31 15:27:58 +08:00
xsren
974591f265 fix: colDataSetOrCover 2024-10-31 14:23:28 +08:00
Jing Sima
c87b054a02 fix:[TD-32727] fix bug when select interp with two more group key. 2024-10-31 09:50:36 +08:00
Shengliang Guan
3eb877aa5d Merge branch 'main' into merge/mainto3.0 2024-10-31 09:11:18 +08:00
Shengliang Guan
5d57d78826 Merge remote-tracking branch 'flyingangel2013/ts_3469_casefile' into doc/contrib 2024-10-31 00:02:41 +08:00
xsren
73be7ddbc6 fix: set tablefield of stream block to NULL 2024-10-30 19:38:08 +08:00
Jing Sima
2106a59872 fix:[TD-32727] fix bug when select interp with two more group key. 2024-10-30 18:11:14 +08:00
54liuyao
b6d16eccdb Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-30 14:54:42 +08:00
Shengliang Guan
ea9ed2e538
Merge pull request #28300 from taosdata/enh/TS-5441-3.0
enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info
2024-10-30 13:43:41 +08:00
wangjiaming0909
14ddaf7c39 add parition having tests and fix merge align interval + limit 2024-10-30 11:09:57 +08:00
54liuyao
d065d71821 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-30 10:09:48 +08:00
54liuyao
a0818d2a2d fix issue 2024-10-29 18:34:51 +08:00
54liuyao
fc2e62a18c use len of context buffer 2024-10-29 14:14:26 +08:00
xsren
85989212c6 fix: set scolumnInfo nodata flag where table scan notload 2024-10-28 19:38:56 +08:00
dapan1121
9f2fba6269 Merge remote-tracking branch 'origin/main' into enh/TD-32190 2024-10-28 18:48:40 +08:00
dapan1121
cea25e7f9d fix: scheduler ut issues 2024-10-28 18:47:15 +08:00
yihaoDeng
b523cf8802 fix:conflicts from 3.0 2024-10-28 17:34:20 +08:00
54liuyao
bb733ca52b fix issue 2024-10-28 11:18:31 +08:00
54liuyao
424e574e94 fix issue 2024-10-28 11:09:56 +08:00
54liuyao
658503f169 Merge branch 'fix/ly_res_main' of https://github.com/taosdata/TDengine into fix/ly_res_main 2024-10-27 15:51:22 +08:00
54liuyao
86e7371e87 fix issue for windows compile 2024-10-27 15:50:57 +08:00
xinsheng Ren
412c10ed94
Merge branch '3.0' into enh/TD-32181/client 2024-10-25 22:54:04 +08:00
54liuyao
417938d2b2 fix issue 2024-10-25 17:21:28 +08:00
54liuyao
f5626d45bc fix issue for windows compile 2024-10-25 16:13:43 +08:00
54liuyao
077005a9f9 fix ci issue 2024-10-25 16:08:38 +08:00
54liuyao
f79dcffc8c Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-25 14:14:43 +08:00
54liuyao
6b2d338a20 enh(executor):avoid use dangerous functions 2024-10-25 13:47:09 +08:00
54liuyao
9475664494 add stream doc 2024-10-25 13:39:26 +08:00
54liuyao
c590377bee merge 3.0 2024-10-24 19:29:14 +08:00
54liuyao
cea454b002 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-24 19:24:55 +08:00
Shengliang Guan
9a7000da4a
Merge pull request #28485 from taosdata/merge/30tomain
merge: from 3.0 to main branch
2024-10-24 19:12:17 +08:00
xsren
5d20fde692 safetycheck, use reserve state 2024-10-24 17:44:13 +08:00
dapan1121
f7503a2ea9 fix: new merge code 2024-10-24 17:19:26 +08:00
dapan1121
4f3484b823 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-10-24 16:49:38 +08:00
Shengliang Guan
402a9ad0d5
Merge pull request #28440 from taosdata/feat/3.0/TD-29667
fix fill with pesudo column exprs
2024-10-24 16:42:30 +08:00
dapan1121
8cd994645b fix: subplan test compile issue 2024-10-24 15:30:47 +08:00
dapan1121
7a45984c96 fix: table seq scan issue 2024-10-24 15:28:09 +08:00
dapan1121
f795e415e5 fix: add subplan test 2024-10-24 15:01:49 +08:00
54liuyao
dc9d6a8a73 fix issue for _isfilled 2024-10-24 14:59:53 +08:00
Shengliang Guan
058d605c5b
Merge pull request #28473 from taosdata/fix/TS-5546-main
avoid free memory incorrectly
2024-10-24 14:09:21 +08:00
54liuyao
20c54a24f0 avoid free memory incorrectly 2024-10-24 11:25:43 +08:00
Shengliang Guan
81c30ab7c0 fix: format cmake file 2024-10-24 10:10:07 +08:00
dapan1121
54bcd56da8 Merge remote-tracking branch 'origin/main' into enh/TD-32190 2024-10-23 19:14:13 +08:00
dapan1121
e52628ab57 fix: scheduler validate plan issues 2024-10-23 19:13:15 +08:00
wangjiaming0909
a7eb3c2607 fix filloperator memory leak 2024-10-23 18:19:37 +08:00
xsren
1e8565eca8 fix: check return value 2024-10-23 15:51:46 +08:00
xsren
e8835c2caa blockDataCheck 2024-10-23 15:37:49 +08:00
wangjiaming0909
d1d6689684 add not fill exprs for fill operator 2024-10-23 15:16:16 +08:00
xsren
00d374358a fix: rowSize check 2024-10-23 13:51:46 +08:00
xsren
2ae51f3118 enh: safetyCheck config 2024-10-23 13:51:46 +08:00
xsren
f57e3f3c85 enh: safetyCheck 2024-10-23 13:51:46 +08:00
xsren
7094a8ddcf fix: bytes of repeat and timezone 2024-10-23 13:51:46 +08:00
xsren
70c79abddc fix: concat null failed 2024-10-23 13:51:46 +08:00
xsren
f35d2847b9 enh: blockencode 2024-10-23 13:51:46 +08:00
xsren
d01a3481bc block buf len check 2024-10-23 13:51:46 +08:00
54liuyao
b025fd29b0 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-23 09:32:52 +08:00
54liuyao
b30097cc88 fix issue 2024-10-22 13:33:19 +08:00
54liuyao
3365da365f Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-22 10:17:49 +08:00
Shengliang Guan
4527e96d2b
Merge pull request #27907 from taosdata/enh/opt-transport
Enh: RPC transport optimization
2024-10-22 09:56:48 +08:00
dapan1121
a2665ebc82 fix: add plan validation in scheduler 2024-10-22 09:04:12 +08:00
Shengliang Guan
25d43c139c
Merge pull request #28363 from taosdata/feature/TS-5530
feat: data analysis
2024-10-21 19:51:24 +08:00
dapan1121
6a9fd0c95e enh: add operator 2024-10-21 19:24:52 +08:00
yihaoDeng
a7035daf17 Merge remote-tracking branch 'origin/3.0' into enh/opt-transport 2024-10-21 14:06:35 +08:00
Shengliang Guan
4c6dfe3308
Merge pull request #28273 from taosdata/fix/3.0/TD-32184
fix:[TD-32184] Support backwards compatibility for function's result info.
2024-10-21 13:35:02 +08:00
xsren
7a42756511 replace snprintf with tsnprintf 2024-10-20 22:36:52 +08:00
dapan1121
cde86c2e32 enh: add plan ut case 2024-10-18 18:18:10 +08:00
54liuyao
7a3f1afe68 fix issue 2024-10-18 16:08:22 +08:00
54liuyao
e9550a6b2c feat(stream):save force window close scan range 2024-10-18 15:40:37 +08:00
wangmm0220
bc05289192 enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info 2024-10-18 09:28:16 +08:00
54liuyao
e825d74213 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-17 17:12:00 +08:00
54liuyao
24b963d621 add ci 2024-10-17 16:43:47 +08:00
54liuyao
4a34ae2570 adj ci 2024-10-17 15:48:52 +08:00
54liuyao
a62b5a3efd fix issue 2024-10-17 14:55:07 +08:00
dapan1121
44726fe42a enh: add subplan test 2024-10-17 11:28:05 +08:00
dapan1121
041f3380ba enh: add more rand plan 2024-10-16 19:24:42 +08:00
54liuyao
39379af1a2 add twa ci 2024-10-16 17:34:03 +08:00
54liuyao
b24c9c5d20 fix ci check 2024-10-16 13:39:32 +08:00
54liuyao
17939a184b fix ci issue 2024-10-16 13:26:14 +08:00
54liuyao
3e49f40c74 stream twa 2024-10-16 12:16:59 +08:00
54liuyao
944457d7a6 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-16 12:09:17 +08:00
Jing Sima
2b83a20c69 Revert "fix:[TD-32334] Generate correct time window when using interp with fill next and linear."
This reverts commit 77e63d0922.
2024-10-16 08:05:53 +08:00
dapan1121
a8965fa98c Merge remote-tracking branch 'origin/3.0' into enh/TD-32190 2024-10-15 19:20:36 +08:00
dapan1121
ab61e05194 enh: add rand query plan 2024-10-15 19:19:21 +08:00
Shengliang Guan
868ccd86ab fix: forecast and anomaly can input up to 10000 rows 2024-10-15 16:25:14 +08:00
wangmm0220
10436cacff enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info 2024-10-15 16:17:58 +08:00
Shengliang Guan
55c7770d84 fix: param start and every calculation errors 2024-10-15 16:11:33 +08:00
Shengliang Guan
adbea71230 refact: adjust forecast paras such as wncheck 2024-10-15 16:00:07 +08:00
yihaoDeng
c4a8248f14 Merge remote-tracking branch 'origin/3.0' into enh/opt-transport 2024-10-15 14:24:12 +08:00
Shengliang Guan
c723452f83 fix: func return value 2024-10-15 11:00:18 +08:00
Shengliang Guan
3003e7286e feat: data analysis 2024-10-15 10:00:38 +08:00
Shengliang Guan
9f05ca5ee8 revert: data analysis 2024-10-14 23:27:11 +08:00
54liuyao
7799898896 fix(stream): adj result flag 2024-10-14 19:40:55 +08:00
54liuyao
55b5b905b7 init groupResInfo 2024-10-14 17:30:36 +08:00
Jing Sima
9bd22e4e61 fix:[TD-32184] result row do decode only when version is different. 2024-10-14 14:05:58 +08:00
wangmm0220
61531e7339 enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info 2024-10-14 13:55:45 +08:00
54liuyao
9377450199 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-14 13:55:05 +08:00
Jing Sima
cf3db4f1a6 fix:[TD-32184] fix heap use after free. 2024-10-14 11:24:02 +08:00
Jing Sima
06121e6c9d fix:[TD-32184] fix compile error. 2024-10-14 11:00:20 +08:00
Jing Sima
11ed8a1540 fix:[TD-32184] Support backwards compatibility for function's result info. 2024-10-14 11:00:20 +08:00
yihaoDeng
ae770e1dd0 Merge remote-tracking branch 'origin/3.0' into enh/opt-transport 2024-10-12 19:20:21 +08:00
yihaoDeng
a0324f41a6 Merge remote-tracking branch 'origin/3.0' into enh/opt-transport 2024-10-12 16:45:55 +08:00
wangmm0220
3cb60211de enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info 2024-10-12 15:43:58 +08:00
Haojun Liao
e0018734a4
Merge pull request #28322 from taosdata/fix/ly_stream
fix(stream): check reload function
2024-10-12 09:22:33 +08:00
Hongze Cheng
142d111c19
Merge pull request #28307 from taosdata/fix/TD-32505
fix mem leak
2024-10-12 08:40:46 +08:00
yihaoDeng
514b04a6bd Merge remote-tracking branch 'origin/3.0' into enh/opt-transport 2024-10-11 16:43:56 +08:00
54liuyao
ef0782d378 fix(stream): check reload function 2024-10-11 15:27:29 +08:00
Haojun Liao
cd7734735b
Merge pull request #28299 from taosdata/fix/ly_stream
fix(stream):check release function of stream
2024-10-11 15:21:00 +08:00
yihaoDeng
dc9027bb90 Merge remote-tracking branch 'origin/3.0' into enh/opt-transport 2024-10-11 11:13:36 +08:00
Pan Wei
fc05f92fc9
Merge pull request #28250 from taosdata/fix/TD-32409
fix: use safe function
2024-10-11 10:25:09 +08:00
yihaoDeng
ca3aee591f fix mem leak 2024-10-11 09:15:09 +08:00
Shengliang Guan
2076a6b5f5 Merge branch 'feat/anode7' into feat/anode8 2024-10-10 21:06:48 +08:00
54liuyao
91cb5aa919 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/ly_stream 2024-10-10 19:11:12 +08:00
wangmm0220
a9f393aa56 fix:[TS-5441] conflicts from 3.0 2024-10-10 18:32:25 +08:00
wangmm0220
42b7520d34 enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info 2024-10-10 18:27:42 +08:00
yihaoDeng
486b559167 Merge remote-tracking branch 'origin/3.0' into enh/opt-transport 2024-10-10 18:13:10 +08:00
54liuyao
1ce919b5b7 fix(stream):check release function of stream 2024-10-10 17:17:21 +08:00
54liuyao
5c121fd90d Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-10 15:58:07 +08:00
Haojun Liao
928b123612
Merge pull request #28280 from taosdata/fix/TD-32437
add limit on number fo history window
2024-10-10 15:02:51 +08:00
Shengliang Guan
8d15823d43 Merge remote-tracking branch 'origin/3.0' into feat/anode3 2024-10-10 11:36:27 +08:00
dapan1121
01a4256d0a fix: add merge join 2024-10-10 11:32:37 +08:00
54liuyao
9f72bd7e70 add limit on number fo history window 2024-10-10 10:42:04 +08:00
yihaoDeng
1ba3178a85 add config 2024-10-09 20:11:56 +08:00
yihaoDeng
e58f667611 add config 2024-10-09 20:11:21 +08:00
54liuyao
669c3aa4db fix windows ci issue 2024-10-09 19:48:24 +08:00
54liuyao
dd7f705dcc Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-09 19:31:44 +08:00
Shengliang Guan
6ab7eff6ea feat: enable analysis 2024-10-09 19:21:57 +08:00
Shengliang Guan
ef39c9c41e
Merge pull request #28265 from taosdata/feat/anode1
feat: anode
2024-10-09 18:48:55 +08:00
Pan Wei
2ab40b9abe
Merge pull request #28261 from taosdata/enh/TD-31691
enh:modify error code passing
2024-10-09 18:31:20 +08:00
wangmm0220
e6bf8dcfde enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info 2024-10-09 18:10:43 +08:00
54liuyao
69b8505a8d fix ci issue 2024-10-09 17:49:24 +08:00
Shengliang Guan
22f50c4bbf feat: analysis operator 2024-10-09 17:46:40 +08:00
Shengliang Guan
4dc0c2f47e feat: data analysis 2024-10-09 17:09:43 +08:00
54liuyao
8709a12ce2 fix ci issue 2024-10-09 17:00:09 +08:00
54liuyao
e6f11c180c fix ci issue 2024-10-09 16:03:09 +08:00
lyh250-666
676f8759e2 enh:modify error code passing 2024-10-09 15:37:00 +08:00
dapan1121
ff5e7556c4 enh: add merge join ut 2024-10-09 14:29:56 +08:00
54liuyao
58d8b9f84e fix ci issue 2024-10-09 11:32:20 +08:00
54liuyao
609fb0b198 fix ci issue 2024-10-09 10:19:31 +08:00
54liuyao
67237ae615 fix ci issue 2024-10-09 10:07:39 +08:00
54liuyao
1353614dc2 fix ci issue 2024-10-09 10:02:52 +08:00
Jing Sima
8acdbe597d fix:[TD-32372] Clean up in a right way. 2024-10-09 09:26:57 +08:00
54liuyao
1e5a9870ed Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-09 09:05:25 +08:00
dapan1121
0055d9544c fix: use safe function 2024-10-08 19:18:48 +08:00
dapan1121
e51199d541 fix: data deleter memory leak issue 2024-10-08 15:16:48 +08:00
dapan1121
bde18abb60 enh: add projection plan 2024-09-30 18:07:14 +08:00
54liuyao
c9308e7482 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-30 17:12:25 +08:00
dapan1121
1b6bb5e4b9 fix: random test issues 2024-09-30 16:30:47 +08:00
Pan Wei
76f7d4a702
Merge pull request #28209 from taosdata/fix/TD-32401/mem
fix: mem  free
2024-09-30 16:20:29 +08:00
xsren
8db52fbf97 fix: mem free 2024-09-30 13:58:28 +08:00
54liuyao
2a6e0ed386 calculate stream fill row buff size 2024-09-30 11:33:44 +08:00
dapan1121
c18da7f273 Merge remote-tracking branch 'origin/3.0' into enh/TD-32190 2024-09-30 09:55:09 +08:00
dapan1121
1143adce33 fix: add random case 2024-09-30 09:54:37 +08:00
54liuyao
d13819bbf4 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-30 09:05:46 +08:00
Haojun Liao
84da5eab2e
Merge pull request #28187 from taosdata/fix/3_liaohj
fix(stream): use meta id instead of ptr.
2024-09-30 09:00:56 +08:00
Haojun Liao
4173144ded fix(stream): return value. 2024-09-29 22:59:18 +08:00
Haojun Liao
f8b46586ed
Merge pull request #28180 from taosdata/fix/TD-32391
fix(stream):fix issue for stream count window state buff
2024-09-29 17:44:14 +08:00
dapan1121
a068f807a2 fix: add random test case 2024-09-29 17:04:57 +08:00
Pan Wei
ef18811654
Merge pull request #28170 from taosdata/fix/TD-32360-3.0
fix(query)[TD-32360]. Fix memory leak during tsort in exceptional scenarios
2024-09-29 17:01:10 +08:00
Hongze Cheng
fe18c77809
Merge pull request #28163 from taosdata/fix/TD-32338-3.0
enh: add lrucache overwriter
2024-09-29 16:06:13 +08:00
Jinqing Kuang
f5c9bf9b5d fix(query)[TD-32360]. Fix memory leak during tsort in exceptional scenarios
When extracting data from the sort source, an error may cause a long
jump to the outermost execution layer. This leads to a local variable in
createBlocksQuickSortInitialSources not being released, resulting a
memory leak. This fix ensures proper resource cleanup in such cases to
prevent leaks.
2024-09-29 14:53:21 +08:00
54liuyao
7517228dde fix(stream):fix issue for stream count window state buff 2024-09-29 14:16:16 +08:00
Jing Sima
5a2c78daa2 fix:[TD-32385] Return true errcode when error occurs. 2024-09-29 10:09:15 +08:00
54liuyao
370fb56a0d add ci 2024-09-27 18:24:28 +08:00
dapan1121
65985c7aaa enh: add tag scan test 2024-09-27 18:08:36 +08:00
Shungang Li
10bd0fed21 enh: add lrucache overwriter 2024-09-27 17:24:45 +08:00
Haojun Liao
e134ed1c99 refactor: do some internal refactor. 2024-09-27 17:19:11 +08:00
Pan Wei
b9df867479
Merge pull request #28155 from taosdata/fix/ly_res
adjust log level
2024-09-27 15:48:04 +08:00
Pan Wei
1be93844ef
Merge pull request #28153 from taosdata/fix/TD-32353-3.0
fix(query)[TD-32353]. Fix error handling during tag scan
2024-09-27 15:20:51 +08:00
Pan Wei
dc7f309f85
Merge pull request #28130 from taosdata/fix/3.0/TD-32334
fix:[TD-32334] Generate correct time window when using interp with fill next and linear.
2024-09-27 15:06:51 +08:00
Haojun Liao
5780740623
Merge pull request #28149 from taosdata/fix/syntax
fix(query): fix memory leak.
2024-09-27 14:55:16 +08:00
54liuyao
c52da5ab33 adjust log level 2024-09-27 14:21:51 +08:00
Jinqing Kuang
03c33e77aa fix(query)[TD-32353]. Fix error handling during tag scan
Correct the row count in the result data block when the tag scan
tolerates partial errors. This prevents upper-layer operators from
accessing invalid memory address.
2024-09-27 13:55:11 +08:00
54liuyao
df8cfa65c2 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-27 11:37:37 +08:00
xinsheng Ren
8ee207881f
Merge branch '3.0' into enh/TD-32203/taosndup 2024-09-27 09:52:40 +08:00
Haojun Liao
b1942889d8 refactor: remove unused code. 2024-09-27 09:34:46 +08:00
Haojun Liao
64cb7a1d5e fix(query): fix memory leak. 2024-09-27 09:27:58 +08:00
Jing Sima
77e63d0922 fix:[TD-32334] Generate correct time window when using interp with fill next and linear. 2024-09-27 09:08:17 +08:00
xsren
9972357c17 file function result 2024-09-26 18:13:52 +08:00
dapan1121
8be15d5b13 enh: add plan test cases 2024-09-26 16:29:57 +08:00
54liuyao
459a53c20b enh:optimize code 2024-09-26 14:51:57 +08:00
Haojun Liao
09600132ec other: merge 3.0 2024-09-26 09:59:29 +08:00
Pan Wei
6d8ab955cf
Merge pull request #28094 from taosdata/fix/3.0/TD-32310
fix:[TD-32310] Avoid access null pointer when error occurs..
2024-09-26 09:50:13 +08:00
54liuyao
818a1f6a81 adj code 2024-09-25 16:53:06 +08:00
54liuyao
d44529e62f Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-09-25 15:12:15 +08:00
Jing Sima
8d02e3e310 fix:[TD-32310] Avoid access null pointer when error occurs.. 2024-09-25 11:15:48 +08:00
Haojun Liao
c2ff609c5f
Merge pull request #28068 from taosdata/fix/TD-32265
fix(stream):rebuild stream event window
2024-09-25 10:49:11 +08:00
54liuyao
cc3ec61089 add ci and fix issue 2024-09-25 10:29:55 +08:00
Pan Wei
159a625cc1
Merge pull request #28051 from taosdata/fix/TD-32258-3.0
fix(query)[TD-32258]. Fix error handling in operator interface functions
2024-09-25 09:45:08 +08:00
Haojun Liao
3c7f718210 fix(query): check for null ptr. 2024-09-25 09:37:23 +08:00
Haojun Liao
922b0681ea fix(query): check for null ptr. 2024-09-24 19:38:49 +08:00
54liuyao
2d56c8f058 fix issue & add log 2024-09-24 19:34:34 +08:00
54liuyao
72bd34a6b2 Merge branches '3.0' and 'fix/TD-32265' of https://github.com/taosdata/TDengine into fix/TD-32265 2024-09-24 19:25:05 +08:00
Haojun Liao
cc6daa0855 Merge branch '3.0' into fix/3_liaohj 2024-09-24 19:14:50 +08:00
Jinqing Kuang
7f3c6c5e97 fix(query)[TD-32259]. Fix error handling in merge sort
- Ensure proper release of allocated datablocks on error
- Address potential double free issue
2024-09-24 19:06:20 +08:00
Haojun Liao
c1333a920d fix(query): check for null. 2024-09-24 18:58:49 +08:00
Haojun Liao
4e4003c5a7 Merge branch '3.0' into fix/3_liaohj 2024-09-24 18:36:18 +08:00
Haojun Liao
2b78b660bd refactor: update the error logs. 2024-09-24 18:19:47 +08:00
Jinqing Kuang
83f1a590b0 fix(query)[TD-32258]. Fix error handling in operator interface functions
- Contain errors within individual operators, preventing error
  propagation to upper-level operators
- Use longjmp to jump directly to the outermost error handler
  for unresolvable issues, avoiding unnecessary error code
  returns through multiple layers
- Simplify error-handling logic for better maintainability
2024-09-24 18:15:14 +08:00
54liuyao
db50c9230a fix issue 2024-09-24 16:58:46 +08:00
54liuyao
9764d210a8 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-32265 2024-09-24 16:30:01 +08:00
lyh250-666
5f6802e0a1 enh:modify addede rror code passing 2024-09-24 16:29:28 +08:00
54liuyao
8eff35cd77 fix(stream):rebuild stream event window 2024-09-24 14:33:53 +08:00
Jing Sima
ad7b2ddc1b enh:[TD-32158] Free memory only when function need cleanup. 2024-09-24 11:35:36 +08:00
Jing Sima
122b707ac8 enh:[TD-32158] Free memory allocated in function setup. 2024-09-24 11:35:36 +08:00
Pan Wei
c26385d19f
Merge pull request #28025 from taosdata/fix/3.0/TD-32262
fix:[TD-32262] Avoid mem leak when error occurs.
2024-09-23 16:09:50 +08:00
Pan Wei
5d83ea76dc
Merge pull request #28022 from taosdata/fix/TD-32256
fix: memory leak in group cache issue
2024-09-23 15:33:07 +08:00
Jing Sima
23b525458e fix:[TD-32262] Avoid mem leak when error occurs. 2024-09-23 13:50:55 +08:00
dapan1121
5bdb9ce563 fix: compile issue 2024-09-23 11:35:43 +08:00
Haojun Liao
2f698f525e
Merge pull request #28003 from taosdata/fix/ly_stream_3.0
fix(stream):fix issue for stream operator decode
2024-09-23 11:11:41 +08:00
dapan1121
d2d6a6078a fix: memory leak in group cache issue 2024-09-23 10:23:41 +08:00
Hongze Cheng
ec143691ef
Merge pull request #28012 from taosdata/fix/fixMemleak
Fix/fixMemleak
2024-09-23 10:19:08 +08:00
54liuyao
a0e7791e49 fix issue 2024-09-23 10:13:42 +08:00
Pan Wei
3a7c03e2d8
Merge pull request #28005 from taosdata/fix/TD-32196-3.0
fix(query)[TD-32196]. Fix error code handling in group sort
2024-09-23 09:53:06 +08:00
yihaoDeng
962d77db62 fix mem leak 2024-09-20 18:24:46 +08:00
54liuyao
b9c39b59fc Merge branch '3.0' of https://github.com/taosdata/TDengine into 3.0 2024-09-20 18:03:32 +08:00
Pan Wei
918a20a9fd
Merge pull request #27993 from taosdata/enh/TD-31691
enh:modify error code passing
2024-09-20 17:26:58 +08:00
54liuyao
681b20bdfb fix(stream):fix issue for stream operator decode 2024-09-20 16:41:14 +08:00
Jinqing Kuang
0dacdff1f3 fix(query)[TD-32196]. Fix error code handling in group sort 2024-09-20 16:37:50 +08:00