Commit Graph

328 Commits

Author SHA1 Message Date
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
dapan1121 463212513f fix: set operator limit issue 2025-01-22 18:06:03 +08:00
dapan1121 84c37d501a enh: support ? in limit clause 2025-01-22 11:45:12 +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 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
xiao-77 a6e1af6b42 Merge branch '3.0' into enh/3.0/TS-5007 2024-12-13 15:04:36 +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
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 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
xiao-77 dbaa4349ea Merge branch '3.0' into enh/3.0/TS-5007 2024-12-04 19:34:14 +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
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
xiao-77 bcabfa3382 Merge branch '3.0' into enh/3.0/TS-5007 2024-11-29 11:33:38 +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
factosea f3acf49e22 enh: include 2024-11-19 16:23:46 +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 9adc756975 enh: parameter validation 2024-11-07 17:37:33 +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
xinsheng Ren 412c10ed94
Merge branch '3.0' into enh/TD-32181/client 2024-10-25 22:54:04 +08:00
Shengliang Guan 81c30ab7c0 fix: format cmake file 2024-10-24 10:10:07 +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