Commit graph

78 commits

Author SHA1 Message Date
Jing Sima
72d3189367
feat: [TD-37052] Handle origin table's vnode change in stream query. (#32931) 2025-09-10 16:12:11 +08:00
Simon Guan
3468fa4153
fix: compile error in windows platform (#32198)
* fix: compile error in windows platform

* fix: typos
2025-07-24 15:16:15 +08:00
Jing Sima
84da33463a feat: [TS-6100] Fix virtual table 2025-07-15 17:58:53 +08:00
Jinqing Kuang
85fad8e178 Merge branch '3.0' into temp 2025-06-23 18:08:09 +08:00
Simon Guan
f691365426 Merge branch 'main' into merge/mainto3.0 2025-06-14 10:32:34 +08:00
Kaili Xu
8d361be3e7
fix: naming rule with quotation char (#31180) 2025-05-27 16:27:57 +08:00
Jing Sima
e2147145e0 feat: [TS-6100] Parse create stream sql: Support vtable. 2025-05-27 09:39:59 +08:00
xinsheng Ren
7376e8401f
fix: when there are offline dnodes, "show dnode * variables" does not return any output. (#30667) 2025-04-11 11:21:55 +08:00
Jing Sima
f84f04398d
fix: [TS-4897] Support query stables cross databases and fix potential deadlock. (#30507) 2025-03-28 10:07:08 +08:00
Simon Guan
ddc05f168e
refactor: adjust the log to track the data writing process on the server via QID (#30195)
* refactor: adjust wal log infos

* refactor: adjust some log's level

* refactor: adjust some log's level

* fix: add traceId for sync module

* refactor: adjust log level

* refactor: adjust log level

* refactor: adjust log levels

* refactor: adjust log levels

* refactor: adjust log levels

* refactor: adjust log levels

* refactor: adjust log levels

* refactor: adjust log levels

* refactor: adjust log levels

* fix: compile errors in windows

* refactor: minor changes
2025-03-18 16:21:44 +08:00
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
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
76ad364b93 enh: adjust some logs 2025-02-27 09:55:11 +08:00
wangmm0220
0e2a16d70f feat:[TD-32642] add charset for connection support 2024-11-27 14:25:34 +08:00
wangmm0220
2ca9f9c8ce feat:[TD-32642] merge from 3.0 2024-11-26 00:13:43 +08:00
wangmm0220
69da972796 feat:[TD-32642] add timezone logic 2024-11-22 18:31:51 +08:00
wangjiaming0909
6c18289de0 fix tsbs perf issue 2024-11-18 14:11:21 +08:00
kailixu
9cc0702a77 enh: drop table with uid 2024-09-19 18:34:49 +08:00
kailixu
107ad05273 enh: support drop table with uid 2024-09-18 19:04:44 +08:00
kailixu
ba10e95723 enh: support drop table with uid 2024-09-18 16:05:05 +08:00
kailixu
28edf40c2a enh: support drop table with uid 2024-09-18 13:57:17 +08:00
kailixu
302c08331f enh: support drop table with uid 2024-09-17 10:33:38 +08:00
kailixu
cd358de7ce enh: support drop table with uid 2024-09-16 18:54:53 +08:00
kailixu
31bb993e0d enh: support drop table with uid 2024-09-14 17:57:30 +08:00
wangjiaming0909
4d5cd9cd1a planner/nodes/parser ret check 2024-07-26 17:57:27 +08:00
wangjiaming0909
1994c3339b nodes add ret check 2024-07-26 17:55:48 +08:00
Shungang Li
b3368f6472 feat: 'create table' from csv file 2024-06-24 22:13:03 +08:00
wangjiaming0909
70ca830378 support recursive tsma creation 2024-04-16 14:17:12 +08:00
wangjiaming0909
0fd66d7e8a tsma optimization 2024-04-16 14:14:39 +08:00
wangjiaming0909
ef47fd57d6 support tsma catalog cache 2024-04-16 14:14:34 +08:00
dapan1121
dcc650521a Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-03-19 16:04:15 +08:00
kailixu
9901825bb0 enh: support binary/hex integer 2024-03-13 15:12:21 +08:00
kailixu
433179af0d fix: unify tag value parsing syntax 2024-03-10 22:14:57 +08:00
dapan1121
19752b020f feat: support more join type 2023-11-27 20:01:00 +08:00
dapan1121
9801d5d7b7 fix: desciribe view and memory issues 2023-10-27 19:28:22 +08:00
dapan1121
5b639a172d feat: support query from view 2023-10-08 18:36:06 +08:00
dapan1121
a67b0c99fc feat: support create/drop view 2023-09-21 19:28:07 +08:00
dapan1121
14e8db289d feat: support view 2023-09-19 14:19:54 +08:00
dapan1121
6a78053b51 feat: add hint supporting 2023-08-14 17:21:15 +08:00
wangjiaming0909
6713882b48 fix: window fill ts range check with int64 overflow 2023-07-28 14:17:21 +08:00
dapan1121
ddd3a53e56 Merge remote-tracking branch 'origin/3.0' into fix/TD-24001 2023-06-02 13:57:34 +08:00
dapan1121
2713f4f6d4 feat: support create topic as stable with conditions 2023-05-25 19:01:58 +08:00
dapan1121
7ea23a33bc enh: optimize time line function validation 2023-05-09 16:37:08 +08:00
Xiaoyu Wang
f44c219360 feat: table level privilege 2023-04-07 11:15:05 +08:00
Xiaoyu Wang
469fcd314e enh: ins_tables optimize 2022-11-21 18:44:04 +08:00
dapan1121
9f7e06721c enh: support vgroup epset update 2022-11-09 18:48:52 +08:00
Xiaoyu Wang
8513dc1067 enh: insert optimize 2022-11-04 15:21:38 +08:00
Xiaoyu Wang
3ed27805c3 fix: query information_schema.ins_tags error 2022-09-30 14:43:51 +08:00
Xiaoyu Wang
4290582249 enh: insert optimize 2022-08-10 17:47:28 +08:00
dapan1121
bcce0d1aac
Merge pull request #15771 from taosdata/enh/ctgPerf
enh: improve catalog performance
2022-08-06 16:54:22 +08:00