Commit Graph

1744 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
Zhixiao Bao af7e34e189
feat(keep): support keep on super table level. (#30097)
* Feat: support use keep while create super table.

* Test(keep): add test for create super table with keep option.

* Feat(keep): Add tmsg for create keep.

* Feat(keep): support alter table option keep.

* Fix(keep): Add baisc test for alter table option.

* Fix(keep): memory leek.

* Feat(keep): add keep to metaEntry&metaCache and fix earliestTs with stn keep.

* Test(keep): add some cases for select with stb keep.

* Fix: fix ci core while alter stb.

* Feat(keep): delete expired data in super table level.

* Feat: remove get stb keep while query.

* Fix : build error.

* Revert "Fix : build error."

This reverts commit 0ed66e4e848e5528d57f5a7c9fa7600c4742a71c.

* Revert "Feat(keep): delete expired data in super table level."

This reverts commit 36330f6b4c587bc126d3f75480d81e637d7601e6.

* Fix : build errors.

* Feat : support restart taosd.

* Fix : alter table comment problems.

* Test : add tests for super table keep.

* Fix: change sdb stb reserve size.

* Test: add more tests.

* Feat: Disable normal tables and sub tables from setting the keep parameter

* Fix: add more checks to avoid unknown address.

* Docs: Add docs for stable keep.

* Fix: some review changes.

* Fix: review errors.
2025-03-14 16:10:13 +08:00
Simon Guan 1a6becbd2b Merge branch '3.0' into merge/mainto3.0 2025-03-14 14:54:02 +08:00
WANG MINGMING 3d053e2c9b
feat(stream): optimize client logic of creating stream if with history (#30059)
* feat:[TS-5617]use last_row cache mode if creating stream in fill_history

* feat(stream): optimize client logic of creating stream if with history

* feat(stream): optimize client logic of creating stream if with history

* feat(stream): optimize client logic of creating stream if with history

* feat(stream): optimize client logic of creating stream if with history

* feat(stream): optimize client logic of creating stream if with history

* feat(stream): optimize client logic of creating stream if with history

* feat(stream): optimize client logic of creating stream if with history

* feat(stream): optimize client logic of creating stream if with history

* feat(stream): optimize client logic of creating stream if with history

* feat(stream): optimize client logic of creating stream if with history

* feat(stream): optimize client logic of creating stream if with history

* fix: heap use after free

* feat: add log

* fix: ci case error

* fix: compile error in windows

* fix: ci case error

* fix: heap user after free

* fix: memory leak

* fix: ci case error

* fix: ci case error

* fix: ci case error

---------

Co-authored-by: yihaoDeng <yhdeng@taosdata.com>
2025-03-14 13:55:52 +08:00
Simon Guan b31295eca7 Merge branch 'main' into merge/mainto3.0 2025-03-14 13:33:04 +08:00
danielclow d3fca89dc9 docs: fix two links in function doc 2025-03-14 12:32:18 +08:00
Simon Guan 724facd134 Merge branch 'main' into merge/mainto3.0 2025-03-14 11:49:02 +08:00
Pan Wei ddc43ea249
Merge pull request #30166 from taosdata/docs/TD-33992/interp_main
docs: interp
2025-03-14 11:15:51 +08:00
Pan Wei b4a64236db
Update 10-function.md 2025-03-14 11:14:45 +08:00
factosea 08a85d05f0 docs: interp ins 2025-03-14 09:40:11 +08:00
zyyang 32505dacec docs(opc): support request_ts#TS-5728 2025-03-13 21:04:08 +08:00
factosea 15146174aa docs: interp 2025-03-13 19:15:09 +08:00
dapan1121 90fcd168c9 Merge remote-tracking branch 'origin/3.0' into feat/TS-5992 2025-03-13 15:32:26 +08:00
dapan1121 30a98ddcab fix: add document error code description 2025-03-13 13:54:34 +08:00
danielclow bef2519480 docs: lowercase anchors for 3.0 2025-03-13 11:50:28 +08:00
danielclow 593af04b84 docs: lowercase anchors 2025-03-13 11:42:39 +08:00
Linhe Huo b915cfdd6f
Merge pull request #30141 from taosdata/docs/helm-chart-deployment-for-community
docs(kubernetes): support community image with new helm chart
2025-03-12 20:27:42 +08:00
Linhe Huo 6e652f5a32
Merge pull request #30139 from taosdata/fix/TS-6099-3.0A
feat: add batch query new feature (3.0)
2025-03-12 20:26:16 +08:00
Linhe Huo 3383f7d87c docs(kubernetes): support community image with new helm chart
Close [TS-6081](https://jira.taosdata.com:18080/browse/TS-6081)
2025-03-12 19:59:45 +08:00
Alex Duan d80e5d5545 cherry-pick from main->add batch query new feature 2025-03-12 18:15:53 +08:00
Alex Duan 3f846984c2 feat: add batch query new feature 2025-03-12 18:03:05 +08:00
Simon Guan 81e6f49399 Merge branch '3.0' into merge/mainto3.0 2025-03-12 14:20:43 +08:00
Simon Guan a084f03340 Merge branch 'main' into merge/mainto3.0 2025-03-12 14:18:42 +08:00
factosea fb2583f14c docs: function description sorting 2025-03-11 14:00:42 +08:00
factosea 1ee1636d9f docs: config 2025-03-11 13:40:36 +08:00
factosea 7e6edb82ba fix: param check 2025-03-11 13:40:36 +08:00
factosea 0959423d5b docs: greatest/least function desc 2025-03-11 13:40:30 +08:00
menshibin 3765d6c342 docs: correct FineBI spelling errors 2025-03-11 11:09:25 +08:00
Linhe Huo 6a95037190
Merge pull request #30038 from taosdata/docs/menshibin/TS-5279
docs: add Fine BI integration documents
2025-03-11 10:07:26 +08:00
menshibin 0f3f4026a1 docs: correct spelling errors 2025-03-10 17:48:59 +08:00
menshibin ff95a7989b docs: fix Finebi download address error 2025-03-10 14:55:03 +08:00
Simon Guan 690f5ee961 Merge branch 'main' into merge/mainto3.0 2025-03-10 14:50:34 +08:00
menshibin b1a17cb635 docs: add plug download address 2025-03-10 14:43:43 +08:00
Simon Guan 202466ceeb docs: update window logic 2025-03-10 11:20:23 +08:00
Simon Guan abaf48ae15 Merge branch '3.0' into merge/mainto3.0 2025-03-10 11:07:48 +08:00
Simon Guan 1170955b95 Merge branch 'main' into merge/mainto3.0 2025-03-10 11:05:52 +08:00
Simon Guan 9761d35b31 docs: update query images 2025-03-10 11:05:09 +08:00
menshibin 4b6a07e474 docs: change JPG image type to webp type 2025-03-10 09:50:37 +08:00
Linhe Huo d8ef73ea90
Merge pull request #29999 from taosdata/enh/TS-5089
feat: taosBenchmark supports exporting to CSV files
2025-03-08 14:17:35 +08:00
Simon Guan 493441f41e
Merge pull request #30058 from taosdata/docs/tdinternal-pics
docs: update english images
2025-03-07 18:48:09 +08:00
Yaming Pei 8292b8df25 docs: optimize document description 2025-03-07 18:19:57 +08:00
danielclow 96e541cd50 docs: update english images 2025-03-07 18:01:53 +08:00
Simon Guan 8fa8fc2a0c
Merge pull request #29934 from taosdata/enh/TS-5650/showLike
enh: show variables like
2025-03-07 16:37:19 +08:00
Simon Guan 19c1e33e8c
Merge pull request #30040 from taosdata/feat/TS-5927-fix-review
Feat: [ts 5927] fix review
2025-03-07 14:16:42 +08:00
xinsheng Ren 4edddd6038
Merge branch '3.0' into enh/TS-5650/showLike 2025-03-07 10:29:35 +08:00
yanyuxing 802a03c0bb docs(mqtt): update docs for mqtt topic parser/compression/encoding 2025-03-07 10:03:11 +08:00
Simon Guan 6250adb3b1 refactor: rename udfd to taosudf 2025-03-06 22:20:52 +08:00
menshibin 362d77e5a2 docs: modify fine bi plug windows path 2025-03-06 19:23:22 +08:00
dmchen f6ac51b184 feat: TS-5927-add-doc 2025-03-06 19:19:02 +08:00
Simon Guan c00d772492
Merge pull request #29649 from taosdata/feat/TS-5927-long-password
feat:[TS-5927]long-password
2025-03-06 17:25:48 +08:00
menshibin a594199461 docs: add Fine BI integration documents 2025-03-06 16:19:30 +08:00
factosea 2e64d8578e feat: doc desc 2025-03-06 16:04:38 +08:00
Linhe Huo 545a9c5311 docs: add DST(daylight Saving Time) guideline
Close [TS-5743](https://jira.taosdata.com:18080/browse/TS-5743)
2025-03-06 16:02:45 +08:00
Yaming Pei 31376ba714 docs: csv-related parameters descriptions 2025-03-06 15:17:43 +08:00
Joel Brass 37c4effa84
Update 03-kubernetes.md
fixing URL for download
2025-03-05 12:51:50 -08:00
Simon Guan b91bc76534
Merge pull request #29993 from taosdata/fix/marks/tmq_poll
fix: remove waitting for empty block & optimize poll logic
2025-03-05 14:21:40 +08:00
dongming chen e5fb75797a
Merge branch '3.0' into feat/TS-5927-long-password 2025-03-05 12:15:12 +08:00
Linhe Huo 0bbfef749b
Merge pull request #29960 from taosdata/docs/active-active-for-new-databases
docs: automatically add new databases for active-active replication
2025-03-05 10:40:20 +08:00
wangmm0220 08601c5dc9 fix: remove waitting for empty block & optimize poll logic 2025-03-05 09:32:45 +08:00
yihaoDeng 542f54297d feat:[TS-5991]update-retryWaitTime-minValue 2025-03-04 19:48:21 +08:00
Simon Guan 16ada1f0d3 Merge branch 'main' into merge/mainto3.0 2025-03-04 11:24:13 +08:00
menshibin 3fe9ffe6c8 docs: modify tableau configuration instructions error 2025-03-03 17:26:42 +08:00
menshibin 5ddc42874a docs: add tableau configuration odbc instructions 2025-03-03 17:16:26 +08:00
Simon Guan 7326e3d8bc Merge branch '3.0' into merge/mainto3.0 2025-03-03 14:01:51 +08:00
Simon Guan 6826edf5e0 Merge branch 'main' into merge/mainto3.0 2025-03-03 14:01:43 +08:00
Simon Guan 40a6e245ea docs: update keywords 2025-02-28 23:49:58 +08:00
Ping Xiao de472b755d test:update 3.3.5.8 release notes in office web 2025-02-28 20:35:00 +08:00
Hongze Cheng 0174d7404d Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TS-5445-3.0 2025-02-28 13:26:53 +08:00
Simon Guan ed2d3b258d Merge branch '3.0' into merge/mainto3.0 2025-02-28 09:11:14 +08:00
Simon Guan f5429637fa Merge branch 'main' into merge/mainto3.0 2025-02-28 09:11:10 +08:00
Linhe Huo 990b991633 docs: automatically add new databases for active-active replication
Relates to [TS-5606](https://jira.taosdata.com:18080/browse/TS-5606)
2025-02-27 23:49:37 +08:00
WANG Xu 78fdb6442b
Merge pull request #29947 from taosdata/docs/roadmap
docs: add roadmap
2025-02-27 18:39:35 +08:00
Hongze Cheng 0d2ca243b1 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TS-5445-3.0 2025-02-27 17:18:33 +08:00
dmchen cdf0018b47 feat/TS-5805-force-assign-leader-update-doc 2025-02-26 10:38:03 +00:00
danielclow e95ce441ae docs: add roadmap 2025-02-26 17:25:04 +08:00
Alex Duan 0c207e96db docs: modify 0.3.9 version log describe 2025-02-26 15:58:14 +08:00
Alex Duan 3da6f5d237 fix: submit doc with taos-ws-py 0.3.9 publish 2025-02-26 14:15:52 +08:00
Hongze Cheng 275c7f55ce update document 2025-02-25 17:24:30 +08:00
kevin men aa33cf7456
docs: update document structure of seeq/tableau/superset (#29920)
* docs: adjust the document directory structure

* docs: change chapter name

* docs: modify the structure of the superset document

* docs: modify the title of superset.

* docs: adjusting the superset directory and correcting title errors

* docs: Correct spelling errors

* docs: delete empty rows from the ordered list

* docs: modify the format of ordered sequences
2025-02-25 15:18:34 +08:00
Shengliang Guan 564f687204
Merge pull request #29843 from taosdata/docs/TD-33797
docs:add taos_slow_sql_detail & log principle
2025-02-25 09:19:54 +08:00
Shengliang Guan c017afb832 docs: minor changes 2025-02-24 18:14:12 +08:00
Shengliang Guan 488434771b Merge branch '3.0' into merge/mainto3.0 2025-02-24 16:20:43 +08:00
Shengliang Guan e28c3cb6d5 Merge branch 'main' into merge/mainto3.0 2025-02-24 16:18:33 +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 3a1d06f4d7
Merge pull request #29354 from taosdata/enh/TS-5255/colsFunc2
enh: ts5255/cols func2
2025-02-24 14:19:37 +08:00
Pan Wei b2089d87d1
Update 12-distinguished.md 2025-02-24 13:50:36 +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
facetosea 63dc2e1299 cols desc 2025-02-24 00:06:22 +08:00
facetosea 29b7b27e53 cols desc 2025-02-23 23:47:30 +08:00
menshibin 874b6e7301 docs: modify the structure of the BI document 2025-02-21 17:10:26 +08:00
yihaoDeng 15384dd022 docs:add desc for charset 2025-02-20 16:18:56 +08:00
Shengliang Guan 39bc844be0
Merge pull request #29846 from taosdata/merge/mainto3.03
merge: from main to 3.0 branch
2025-02-20 14:07:33 +08:00
Shengliang Guan 25f8bfce29
Merge pull request #29844 from taosdata/feat/TS-5776
docs:add msg.consume.rawdata parameters to doc
2025-02-20 11:44:01 +08:00
Shengliang Guan 86ea533b36 Merge branch '3.0' into merge/mainto3.03 2025-02-20 11:38:43 +08:00
Shengliang Guan d0eb99809f Merge branch 'main' into merge/mainto3.03 2025-02-20 11:38:41 +08:00
Shengliang Guan 26bc7b6081
Merge pull request #29838 from taosdata/merge/mainto3.03
merge: from main to 3.0 branch
2025-02-20 11:37:23 +08:00
wangmm0220 83d74c6b3b docs:add taos_slow_sql_detail & log principle 2025-02-20 11:19:57 +08:00
wangmm0220 36ae027824 docs:add msg.consume.rawdata parameters to doc 2025-02-20 10:56:03 +08:00
wangmm0220 6febcfe839 docs:add taos_slow_sql_detail & log principle 2025-02-20 10:29:26 +08:00