* test: add python scripts for test windows cases replace the old bat scripts
* refactor: update color_echo function to use log_file instead of error_file
* ci: update workflow to use fixed branch for Windows test runs
* chore: add empty line for better readability in tdengine-test.yml
* test:fix from branch fix/xftan/taos-shell-configdir
* fix: replace global variant configDir with local variant on taos
* fix: remove check cfgdir exist
* fix: restore no input msg
* fix: move dumpConfig after taos_options
* fix: dump Config on windows failed
* fix: move configDirShell variant to shellArgument.c
* fix: get last char pos is -1
* ci: update Windows test workflow to use main branch and enhance test output
* ci: remove unnecessary line from tdengine-test workflow
---------
Co-authored-by: Alex Duan <417921451@qq.com>
* chore(ci): statistics ci report
* chore(ci): statistics ci report never fail
* chore(ci): statistics ci report sort by size desc
* Update .github/workflows/taosd-ci-build.yml
* docs: upgrade the node.js connector version (#30264)
* feat: change the max value of minFreeDiskSize to 2TB (#30250)
* feat: change the max value of minFreeDiskSize to 2TB
* fix: CI test case change
* enh: remove useless comment
* docs(query): enhance time window clause descriptions in the documentation
* docs: fix image position in DST document (#30266)
* fix node.js example error (#30287)
* test: node example case
* fix: node.js example error
* fix: restore test case validation
* fix(stream): fix race condition in send msg. (#30277)
Co-authored-by: 54liuyao <54liuyao@163.com>
Co-authored-by: Jinqing Kuang <kuangjinqingcn@gmail.com>
Co-authored-by: wangmm0220 <wangmm0220@gmail.com>
Co-authored-by: yihaoDeng <luomoxyz@126.com>
* add c stmt2 example to doc (#30286)
* add: stmt2 insert example
* fix: free all heap
* format code
* add c stmt2 example
* update en doc desc
* mod makefile
---------
Co-authored-by: pengrongkun94@qq.com <pengrongkun94@qq.com>
---------
Co-authored-by: freemine <freemine@yeah.net>
Co-authored-by: WANG Xu <feici02@outlook.com>
Co-authored-by: kevin men <men_shi_bin@163.com>
Co-authored-by: Hongze Cheng <hzcheng@taosdata.com>
Co-authored-by: Jinqing Kuang <kuangjinqingcn@gmail.com>
Co-authored-by: Linhe Huo <linhehuo@gmail.com>
Co-authored-by: Haojun Liao <hjxilinx@users.noreply.github.com>
Co-authored-by: 54liuyao <54liuyao@163.com>
Co-authored-by: wangmm0220 <wangmm0220@gmail.com>
Co-authored-by: yihaoDeng <luomoxyz@126.com>
Co-authored-by: She Yanjie <57549981+sheyanjie-qq@users.noreply.github.com>
Co-authored-by: pengrongkun94@qq.com <pengrongkun94@qq.com>
* fix(stream): support packaging enterprise edition.
* feat(gpt): support lstm and do some internal refactor, add sample autoencoder model.
* feat(gpt): support lstm and do some internal refactor, add sample autoencoder model.
* test(gpt): disable model case.
* test(gpt): disable model case.
* doc: fix title error in doc.
* doc: add mlp doc.
* fix(gpt): add gpt
* fix(gpt): update the test cases.
* fix(gpt): update the test cases.
* test(gpt): disable gpt test in github action.
* fix(gpt): check the grant, check the rsp code.
* fix(gpt): limit the forecast rows.
* fix(gpt): use default gpt service
* fix(gpt): update error code.
- Fixed status check in virtual table stream processing
- Fixed multi-way merge logic for super virtual tables
- Fixed generation of target subtable names during merge
* feat[TS-6115]: drop topic & consumer group in force
* feat[TS-6115]: drop topic & consumer group in force
* feat[TS-6115]: drop topic & consumer group in force
* 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
* feat: support fill_history 1 async when creating stream
* feat: support fill_history 1 async when creating stream
* fix: compile error
* feat[TS-5617]: support fill_history 1 async when creating stream
---------
Co-authored-by: yihaoDeng <yhdeng@taosdata.com>
* 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>
* 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>
* 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 0ed66e4e84.
* Revert "Feat(keep): delete expired data in super table level."
This reverts commit 36330f6b4c.
* 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.
* enh: remove interlace autocreate tb limit
* enh: autocreate tb with single ctb
* enh: multi-insert in one ctb
* enh: Function realization
* fix: some unit test error
fix: stmt1 unit test
* fix: review and autoCreateTb & interlace support insert into stb syntax
* fix: insert into tags fixed value auto create table
* fix: remove a wrong test
* fix: adapter segment fault
* fix: adaptor core
* fix: get fields make interlace error
* fix: adapter core problem 2
* fix: multi bind exec invalid message problem
* 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>