Commit graph

203 commits

Author SHA1 Message Date
Kaili Xu
da32f297a2
enh: support rollup vgroups and show create rsma (#33128) 2025-09-29 17:04:05 +08:00
Kaili Xu
13ae5350b7
feat: rollup sma (#33063) 2025-09-26 17:32:32 +08:00
Yihao Deng
0b50ab8d8c
enh: update show creata table (#32320) 2025-07-29 10:37:47 +08:00
Yihao Deng
bcabf3536a
feat: support BLOB data type (#31704) 2025-07-17 14:17:47 +08:00
Bomin Zhang
876979b5f5
feat[ts-6107]: shared storage (#31552)
* add API to use s3 as shared storage

* support using local file system as shared storage

* upload file to shared storage

* support read, compact and drop

* finish basic mnode & vnode msg processing

* follower sync migration state

* implement mnode transaction, and improve log

* send migration progress msg to dnode to avoid deadlock

* implement following migration

* remove mcount

* avoid redo migration on startup

* avoid follower deadlock when leader is down

* trigger migrate by timer,  avoid compact after migration

* comment out the usage of 'tcs' functions in stream

* change config item prefix from s3 to ss

* change db option prefix from s3 to ss

* rename s3 data struct, function, file to ss

* rename s3 macro to ss

* update s3 sql to ss

* rename remaining s3 items to ss

* check ss configruation, improve s3 retry

* grant object storage -> shared storage,  check ssEnabled

* fix memory leaks

* update build options

* omit sensitive information when dump config

* fix backward compatibility issue

* fix issues found in ci-checks

* fix some failed test cases

* avoid follower timeout and improve log

* fix: follower timeout because migration status not updated

* refuse migration if there's an in progress one

* fix ss test case

* remove garbage files and other minor improvement

* fix failed test cases

* update unit test

* fix failed test case

* fix failed test case

* update document

* update document and fix failed test cases

* fix minor issues in code, test and document

* check new commit after migration task is scheduled

* fix several issus

1. migrate information cannot be dropped sometimes because progress response was put into read queue.
2. memory leak in rare cases
3. data corruption in rare cases
4. failed test case

* add shared storage upgrade tool

* fix compile error
2025-07-14 16:33:53 +08:00
Kaili Xu
8d361be3e7
fix: naming rule with quotation char (#31180) 2025-05-27 16:27:57 +08:00
Simon Guan
75df845c05
fix: show create table and desc table statements return composite key instead of primary key (#30830) 2025-04-19 13:32:34 +08:00
Zhixiao Bao
0b8bff92c6
enh: add keep option while show stable. (#30294) 2025-03-20 15:30:22 +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
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
factosea
36bec2c958 fix: rows 2025-03-02 22:48:21 +08:00
factosea
e91014f807 feat: show variables like 2025-03-02 22:48:05 +08:00
kailixu
27963d0978 fix: keep_time_offset format of show create database 2025-02-10 14:21:44 +08:00
Hongze Cheng
37c1be4818 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-12-14 23:51:25 +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
xiao-77
c50781d089 Send alter msg sync. 2024-12-11 15:46:44 +08:00
Zhixiao Bao
405d924a6f
Merge branch '3.0' into enh/3.0/TS-5007 2024-12-10 14:32:43 +08:00
wangmm0220
67a1df6269 feat:[TD-32642] fix problems reviewd 2024-12-09 16:15:48 +08:00
kailixu
fb029944a4 feat: auto compact options for db 2024-12-04 15:46:42 +08:00
kailixu
77418f154a feat: db options for auto compact 2024-12-04 10:49:33 +08:00
wangmm0220
0e2a16d70f feat:[TD-32642] add charset for connection support 2024-11-27 14:25:34 +08:00
xiao-77
d778ada8f9 Add show 2024-11-26 16:08:16 +08:00
wangmm0220
2ca9f9c8ce feat:[TD-32642] merge from 3.0 2024-11-26 00:13:43 +08:00
xiao-77
cf8cea4c2d Merge branch '3.0' into enh/3.0/TS-5007 2024-11-25 14:47:38 +08:00
xiao-77
db67245af0 Add more dyn configs and fix vesion in mnd bug. 2024-11-22 15:57:18 +08:00
wangmm0220
7aef49638e feat:[TD-32642] add timezone logic 2024-11-15 19:44:03 +08:00
Shengliang Guan
82d8f1357c
Merge pull request #28743 from taosdata/fix/TD-32860-main
fix: print multi dataDir
2024-11-14 16:03:03 +08:00
Shungang Li
67da7b1036 feat: alter systable variablesSchema 2024-11-13 16:51:40 +08:00
factosea
0bb872c1d9 enh: command/explain 2024-11-12 15:03:48 +08:00
xsren
5c01cff369 enh: param 2024-11-07 16:19:57 +08:00
xsren
62fbb62b9c fix: merge conflict 2024-10-29 23:06:57 +08:00
xinsheng Ren
c5ec062a12
Merge branch '3.0' into enh/TD-32181/client 2024-10-29 23:00:46 +08:00
Minglei Jin
53826a320f fix(s3/s3_chunksize): rename to s3_chunkpages & default to 128k pages 2024-10-28 16:46:26 +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
xsren
7a42756511 replace snprintf with tsnprintf 2024-10-20 22:36:52 +08:00
xsren
8930252f97 fix: tag filed snprintf lenth error 2024-10-17 11:22:24 +08:00
xsren
14a2cb073a enh: add return len 2024-10-12 18:40:56 +08:00
xsren
e03ccdc6e2 replace snprintf 2024-10-10 10:35:48 +08:00
xsren
c7f6349e14 tsnprintf 2024-10-10 10:35:29 +08:00
xsren
e88a8317af fix: buff size 2024-10-09 09:45:56 +08:00
xsren
7f2a2cfbd0 enh: safe function 2024-10-08 14:25:51 +08:00
lyh250-666
116844208d enh:modify error code passing 2024-09-20 13:23:44 +08:00
xsren
f684e12c27 pointer check 2024-09-14 18:11:36 +08:00
Pan Wei
5953e94e5c
Merge pull request #27792 from taosdata/feat/TS-4257
feat:Optimising the duration and keep
2024-09-12 09:24:53 +08:00
lyh250-666
f5e2a36f23 feat:update 2024-09-11 06:29:35 +00:00
lyh250-666
25c0b92885 feat:Optimising the duration and keep 2024-09-11 01:11:56 +00:00
Haojun Liao
0236db51f6 fix(query): fix memory leak and do some internal refactor. 2024-09-06 15:44:25 +08:00
dapan1121
2d6d3d769f
Merge pull request #27440 from taosdata/feat/TS-4257
feat:Optimising the duration and keep of the show create database;
2024-08-26 16:35:32 +08:00
lyh250-666
33c284a1d9 Optimising the duration and keep of the show create database 2024-08-26 14:23:37 +08:00