Ensure virtual tables invalidate cached schema metadata and reload it when a schema change (e.g., ALTER VTABLE) is detected. This prevents stale schema references and query errors after structural updates.
* chore(ci): with cmake verbose, temporarily
* chore(cmake): prefer Threads::Threads
* fix(cmake): debug building gtest on ubuntu 20.04 for the moment
* fix(cmake): try adding Threads::Threads
* fix(cmake): debug building gtest on ubuntu 20.04 for the moment
* fix(cmake): revert taosd-ci-build.yml
* fix(cmake): debug building on ubuntu 20.04 for the moment
* fix(cmake): debug building on ubuntu 20.04 for the moment
* fix(cmake): debug building on ubuntu 20.04 for the moment, adding dl right after DEP_ext_libuv
* fix(cmake): debug building on ubuntu 20.04 for the moment, try full run
* fix(cmake): fix building on ubuntu 20.04
* fix(cmake): dl is only valid in non-windows platform
* fix(cmake): dl order
* refactor(cmake): adjust option/cache variables for external dependencies
* refactor(cmake): mv patch files from contrib/ to cmake/
* refactor(cmake): typo
* refactor(cmake): adding cache on ci
* refactor(cmake):
1. ext_lzma2 is only used by Linux
2. fix bug in taosd-ci-build.yml
* enh: adding functionalities of build.sh
* fix(ci): `cmake -B` shall maintain consistency
* refactor(cmake): LOCAL_REPO/LOCAL_URL as cache variable
* refactor(cmake): taosadapter to be built in main build directory rather than .externals
* refactor(cmake): adding rpath for taosadapter, linux now
* refactor(cmake): adding rpath for taosadapter, macos now
* chore(cmake): remove some comments
* debug(ci): bypass TD_EXTERNALS_USE_ONLY
* debug(ci): bypass .externals caching for the moment
* fix(cmake): temporarily use taosadapter/main branch because this branch(freemine.cmake.3.0) has not include taos_fetch_fields_e from upstream
* refactor(cmake): clean GIT_TAG/GIT_SHALLOW pairs
* enh(ci): use build.sh rather than hard-coded in taosd-ci-build.yml, linux for now
* debug(ci): undefined __isoc23_strtoull
* debug(ci): benchmarkTest
* debug(ci): what if use_only = off
* debug(ci): remove .externals to make a refresh build
* debug(ci): back to cache, and ls files of gtest
* debug(ci): remove find coz {} not escaped
* debug(ci): cache key seems missing "matrix.os"
* refactor(ci): fixed cache key and reopen macos/windows
* chore(ci): literally -j4
* chore(ci): Trigger GitHub Actions re-run
* chore(ci): Trigger GitHub Actions re-run
* fix(ci): typo
* chore(ci): JOBS calculated by build.sh itself
* refactor(ci): enable WEBSOCKET in build.sh by default
* refactor(ci): enable WEBSOCKET in build.sh by default, macOS
* chore(cmake): remove obsoletes
* refactor(ci): stop service before running taosd
* chore(ci): `./build.sh install` just install TDengine, you will have to start taosd by `./build.sh start`
* refactor(cmake): adding source code found on http://emfisis.physics.uiowa.edu/Software/C/libargp/
* refactor(cmake): moving jansson/snappy/avro to .externals, and porting BUILD_TEST/WEBSOCKET on Windows
* refactor(cmake): porting linux
* refactor(cmake): porting macos
1. check argp.h
2. re-enable building taosdump
* refactor(cmake): porting linux
1. adjust CMAKE_C/CXX_FLAGS
* refactor(cmake): porting windows, adjust CMAKE_C/CXX_FLAGS
* refactor(cmake): use cmake_parse_arguments in macro INIT_EXT
* refactor(cmake): format ci cache directives
* refactor(cmake): adding comments for ci externals-cache directives
* refactor(cmake): adding check_env.cmake to checking libraries installed on the system
* refactor(cmake): porting linux, make homebrew-installed-libs available
* refactor(cmake): remove BYPRODUCTS from INIT_EXT macro
* refactor(cmake): INC_DIR is oneValueArg
* refactor(cmake): taosdump depends on ext_xz(LZMA)
* refactor(cmake): add copy_pthreadVC3 target on windows
* refactor(cmake): mv taosd-ci-build.yml to tdengine-build.yml
* chore(ci): try to fix yml syntax error
* refactor(cmake): use brew --prefix to get HomeBrew's install path
* refactor(cmake): typo
* debug(ci): build and cache externals first
* debug(ci): adding -Wno-stringop-overread for the moment
* debug(ci): make Threads::Threads public from os target
* debug(ci): make os public
* debug(ci): re-enable start and test
* debug(ci): let it go even if taosBenchmark failed
* debug(ci): copy logic from TDengine/main
* debug(ci): try ./build.sh start/test
* debug(ci): revert to original simple test logic in ci, taosBenchark/taos
* chore(cmake): code-convention and ci-logic
* debug(ci): show versions
* debug(ci): forcefully use specific GIT_TAG by commit-id for taos-connector-rust.git and taosadapter.git
* refactor(cmake): remove empty lines
* debug(ci): typo
* debug(ci): set supportVnodes to 256 before starting taosd
* debug(ci): fix: sudo and pipe
* debug(ci): cat /etc/taos/taos.cfg to check if supportVnodes effective
* debug(ci): cat forceReadConfig to taos.cfg
* debug(ci): adding taos -s "show dnodes"
* debug(ci): print more info
* debug(ci):
1. git log .... in an independant step
2. sleep 3 deliberately
* build: release ver-3.3.6.0
* chore(ci): comment and remove unnecessary code
* refactor(ci): cleanup tools/CMakeLists.txt
1. remove unnecessary or uneffective codes
2. better approach to pass compile flags to go
* chore(cmake): remove unnecessary code
* merge(cmake): porting linux
* merge(cmake): porting macOS
* merge(cmake): porting windows
* merge(cmake): pitfall fix: use literal format string instead
* merge(cmake): ver-3.3.6.0 for both taosadatper and taosws
* merge(cmake): adjust ci for debug purposes
* merge(cmake): add dependenices to make sure native built
* merge(main): link os
* merge(main): revert to main
* chore(cmake): remove freemine'd comments
* chore(cmake): make github ci to run with empty change
* refactor(cmake): remove unnecessaries
* refactor(cmake): remove unnecessaries
* chore(cmake):
1. remove taosudf in build.sh::do_purge
2. packaging taosBenchmark
* chore(cmake):
1. typo corrections
2. add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to bypass compatibility check imposed by latest cmake since 4.0
* chore(cmake): show cmake version
* chore(cmake): add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to bypass compatibility check imposed by latest cmake since 4.0
* chore(cmake): typo
* chore(cmake): remove unnecessaries
* cmake: debug enterprise compilation
* refactor: preparatory work before merging the freemin PR
* refactor(cmake): revert to d91205594a
* refactor(cmake): optimize by adjusting cache key
* chore(cmake): make github ci to run with empty change
* refactor(cmake): move libs3 and azure to external.cmake
* refactor(cmake): porting macOS
* refactor(cmake): move cos to external.cmake
* refactor(cmake): bypass s3/azure/cos on windows for the moment
* refactor(cmake): try find_package(Threads)
* refactor(cmake): add dl/pthread in libs3
* refactor(cmake): enable s3/azure for the moment, hard-coded
* refactor(cmake): adjust BUILD_WITH_ANALYSIS option
* refactor(cmake):
1. enum AVROTYPE => enum enAVROTYPE
2. remove INSTALL(CODE ...) from tools/taos-tools/CMakeLists.txt
* refactor(cmake): portint macOS and typo
* refactor(cmake): ticking external cache key to force refresh external building
* refactor(cmake): remove obsoletes
* refactor(cmake): remove obsoletes
* refactor(cmake): remove obsoletes, contrib/deps-download related
* refactor(cmake): adding build.bat, and use build.bat in .github/workflows/tdengine-build.yml
* refactor(cmake):
1. call .\build.bat
2. remove POST_BUILD which is not valid in this signature of add_custom_command
* refactor(ci): use 'NMake Makefiles JOM'
* refactor(ci): typo
* refactor(ci): debug
* refactor(ci): debug
* refactor(ci): debug
* refactor(ci): use call on windows
* refactor(cmake): move utils/TSZ to contrib/TSZ
* chore(cmake): make github ci to run with empty change
* refactor(cmake): mv cmake.* -> *.cmake and related in CMakeLists.txt
* refactor(cmake): debugging integrating community
* refactor(cmake): debugging integrating community
* chore(cmake): make github ci to run with empty change
* refactor(cmake): revert geos.git back to 3.12.0
* refactor(cmake): revert doc/** to main branch
* refactor(cmake): revert tests/** to main branch, except tests/taosc_test/CMakeLists.txt
* refactor(cmake): revert test/cases/** to main branch
* refactor(cmake): revert test/docs/** to main branch
* refactor(cmake): revert tools/taos-tools/deps/{avro,jansson,libargp,snappy,zlib-1.2.13} to main branch, which need to be removed later
* refactor(ci): revert .github/workflows/{deploy-case-docs.yml,tdengine-doc-build.yml} to main branch
* refactor(cmake): revert tcommon.h and related to main branch
* refactor(cmake): revert test/* stuffs back to main branch
* refactor(cmake): revert libuv.git back to v1.49.2
* refactor(cmake): revert .h/.c and related to main branch
* refactor(cmake): typo format string
* refactor(cmake): typo correction, incorrect use of macro `assert`
* refactor(cmake): adding /wd4028 to bypass thttp.c under enterprise build for the moment
* refactor(cmake):
1. adding some rules to .gitignore for the last resort to save
2. adding source files manually to source/libs/parser/CMakeLists.txt to exclude potential sql.c generated by old build system
* refactor(cmake): add -Wno-unused-result for the moment
* refactor(cmake): adjust target dependencies
* refactor(cmake): tweaking building of mxml
* refactor(cmake): adjust externals CMAKE_ARGS to save compilation time
* refactor(cmake): temporarily use tomchon-patch-3
* refactor(cmake): temporarily adding dumpbin directives
* refactor(cmake): adding NODEFAULTLIB temporarily for debugging purpose
* refactor(cmake): adding NODEFAULTLIB:libcpmt temporarily for debugging purpose
* refactor(cmake): adding NODEFAULTLIB:cpmt temporarily for debugging purpose
* chore(cmake): make github ci to run with empty change
* chore(cmake): make github ci to run with empty change
* refactor(ci): use freemine.debug branch for the moment
* refactor(ci): revert back to use run-tests-on-windows.yml of tomchon-patch-3 branch
* chore(cmake): make github ci to run with empty change
* refactor(cmake): remove temporary debug directives
* refactor(cmake): move cmake_policy(..CMP0135..) to the root of this project
* refactor(cmake): Remove temporary debugging conditional and restore original logic
* chore(cmake): adding -B in army tests
* chore(cmake): make github ci to run with empty change
* chore(cmake): revert: adding -B in army tests
* refactor(cmake):
1. use ver-3.3.6.3 of taosadapter
2. pitfall fix: do not link with taosws for taos shell
* refactor(cmake): revert taosadapter to ver-3.3.6.0
* chore(cmake): adding logging message in more detail
* chore(cmake): adding logging message in more detail
* chore(ci): debugging by using ls -l
* chore(ci): typo
* chore(ci): typo
* refactor(cmake): revert to remove debug code, and taosadapter to ver-3.3.6.3
* refactor(cmake): remove DEP_ext_taosws
* chore(cmake): make github ci to run with empty change
* chore(cmake): make github ci to run with empty change
* chore(cmake): make github ci to run with empty change
* chore(cmake): make github ci to run with empty change
* chore(cmake): typo correction: utils/test/c/sml_test.c
* debug(cmake): test cases debug
* chore(cmake): make github ci to run with empty change
* chore(ci): using tomchon-patch-3 branch for run-tests-on-linux for the moment
* chore(cmake): make github ci to run with empty change
* debug(test): revert utils/test/c/sml_test.c back to tdengine/main branch
* debug(test): adding VERBOSE=1 and gcc --version
* debug(test): revert tests/parallel_test/cases.task back to tdengine/main branch
* debug: add log in run_case.sh
* fix: test log
* fix: docker run privileged
* tes: add debug test in cases.task
* refactor(cmake): remove ref to \contrib\<dep-name> and ~/.cos-local-{1,2} from CMakeLists.txt(s)
* refactor(cmake): make taosudf link with libtaos.so
* chore(cmake): fix compiler warning as error problem
* refactor(cmake): revert 7d7f03832d
* chore(cmake): only udf.sim and udfpy.sim for the moment
* debug(ci): debug udf.sim for the moment
* debug(ci): debug udf.sim for the moment
* debug(ci): debug udf.sim for the moment
* debug(ci): debug only udf.sim for the moment
* debug(ci): debug only udf.sim for the moment, using tee
* debug(ci): debug only udf.sim for the moment, revert using tee
* debug(ci): debug only udf.sim for the moment, adding TAOS_LIB again
* debug(cmake): adding -rdynamic for the moment
* debug(cmake): re-adding udfpy.sim
* debug(cmake): do NOT run with Sanitizer for udfpy.sim for the moment
* chore(cmake): revert cases.task, and remove ubuntu-20.04 from tdengine-build.yml
* refactor(cmake): using ENABLE_EXPORTS to export symbols in taosudf
* chore(cmake): make github ci to run with empty change
* chore(cmake): remove stuffs for debug purpose and revert
---------
Co-authored-by: support-platform <it@taosdata.com>
Co-authored-by: Simon Guan <slguan@taosdata.com>
Co-authored-by: Simon Guan <guanshengliang@qq.com>
Co-authored-by: haoranchen <haoran920c@163.com>
- 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
* 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>
* fix calc disk usage error
* fix calc disk usage error
* fix calc disk usage error
* fix calc disk usage error
* fix calc disk usage error
* add test case
* add test case
* add test case
* add test case
* add test case
* add test case
* refactor code
* refactor code
* refactor code
* refactor code
* refactor code
* refactor code
* 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.
* 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>
* feat: support TDAcoreOS
* chore: cmake options for TD_ACORE
* chore: disable lemon for TD_ACORE
* chore: add lzma2 and msvcregex
* chore: cmake for lzma2
* chore: adapt for TD_ACORE
* chore: adapt strcasecmp for TD_ACORE
* chore: adapt for geos/threadName
* chore: build adapt for TD_ACORE
* chore: build adapt for TD_ACORE
* chore: build adapt for TD_ACORE
* chore: build adapt for TD_ACORE
* chore: build adapt for TD_ACORE termio
* chore: refact transComm.h for TD_ACORE
* chore: refact transportInt.h for TD_ACORE
* chore: refact trans.c for TD_ACORE
* chore: refact trpc.h for TD_ACORE
* chore: refact transCli.c/transComm.c/transSvr.c for TD_ACORE
* chore: refact uv.h for TD_ACORE
* chore: refact geosWrapper.h for TD_ACORE
* chore: refact token/builtins/udf for TD_ACORE
* chore: refact rocks for TD_ACORE
* chore: refact tsdbCache.c for TD_ACORE, use LRU cache for last/last_row, not use rocksdb
* chore: refact FAIL to _ERR to solve conflicts for TD_ACORE
* chore: restore lemon.c/lempar.c
* chore: support build lemon for TD_ACORE
* chore: refact trpc and siginfo_t for TD_ACORE
* chore: refact timezone for TD_ACORE
* chore: refact lz4 for TD_ACORE
* chore: refact TD_ACORE to make compile pass
* chore: code optimization for TD_ASTRA
* feat: support run taos with taosd integrated
* feat: support invoke taos shell
* feat: support invoke taos shell
* feat: support invoke taos shell
* chore: code optimization
* chore: fix undefined reference problem os TD_ASTRA
* chore: resolve compile problem for TD_ASTRA
* chore: fix undefined reference problem os TD_ASTRA
* chore: fix undefined reference problem os TD_ASTRA
* chore: fix undefined reference problem os TD_ASTRA
* chore: fix undefined reference problem os TD_ASTRA
* chore: fix undefined reference problem os TD_ASTRA
* chore: fix undefined reference problem os TD_ASTRA
* chore: fix undefined reference problem os TD_ASTRA
* chore: fix undefined reference problem os TD_ASTRA
* chore: fix undefined reference problem os TD_ASTRA
* chore: fix undefined reference problem os TD_ASTRA
* chore: fix undefined reference problem os TD_ASTRA
* chore: fix undefined reference problem os TD_ASTRA
* chore: fix undefined reference problem os TD_ASTRA
* chore: fix undefined reference problem os TD_ASTRA
* chore: fix undefined reference problem os TD_ASTRA
* chore: fix undefined reference problem os TD_ASTRA
* chore: fix undefined reference problem os TD_ASTRA
* chore: fix undefined reference problem os TD_ASTRA
* chore: fix getpid
* chore: fix typo
* chore: set stack size and ajust min pack size for TD_ASTRA
* chore: fix pthread create parameters
* chore: chmod adapt for TD_ASTRA
* chore: fix trans compile problem
* chore: adapt chmod for TD_ASTRA
* chore: byte alignment for TD_ASTRA
* chore: more code for adaption of TD_ASTRA
* chore: more code for adaption of TD_ASTRA
* chore: more code for adaption of TD_ASTRA
* chore: byte alignment for TD_ASTRA
* chore: conditional compile option
* chore: adapt for TD_ASTRA
* chore: adjust taosPId and msvcregex for TD_ASTRA
* chore: log dir separator for wal build name
* chore: fix type of pointer parameter
* chore: fix compile problem of tsdbGetS3Size
* enh: get last ver from wal log for TD_ASTRA
* enh: refact wal meta ver
* enh: refact wal meta ver
* fix: typo of taosUcs4Compare
* enh: process return value of CI
* chore: more code for TD_ASTRA adaption
* chore: return value of taosCloseFile in walMeta.c
* chore: fix compile problem
* chore: fix compile problem of TD_ASTRA
* fix: update macro for tq and stream task
* chore: code optimization for TD_ASTRA
* chore: restore create log and init cfg interface
* chore: restore strncasecmp and strcasecmp
* fix: adjust the field position of SDataBlockInfo
* fix: pragma pack min size
* fix: pragma pack min size
* chore: more code for TD_ASTRA adaption
* fix: type of parameters
* chore: adapt strncasecmp and strcasecmp for TD_ASTRA
* chore: restore interface of init log
* enh: pack push optimization
* fix: taos init cfg
* add astra support
* fix: fetch the value of suid
* chore: switch of build with udf
* add temp code
* chore: more code for TD_ASTRA adaption
* chore: add macro ERRNO to replace errno
* chore: bytes align for TD_ASTRA
* fix: remove obsolete codes
* enh: support USE_UDF macro
* fix compile error
* fix: resolve redefinition problem
* fix: compile problem of log.cpp
* fix: compile problem of osTimezone
* fix: resolve compile problem of udf
* fix: pragma definition on windows
* fix: ucs4 and stpncpy for TD_ASTRA
* fix: memory align problem for TD_ASTRA
* enh: solve memory leak for TD_ASTRA_RPC
* fix: compile problem of taosSetInt64Aligned
* fix: restore mndSubscribe.c
* fix: scalar for udf
* chore: code adaption for TD_ASTRA
* chore: code optimization for TD_ASTRA
* fix: typo of add definition
* fix: typo of macro in tudf.h
* chore: remove void to make CI pass
* enh: move macro from cmake.platform to cmake.options
* enh: byte align for hash node and error code
* chore: restore the size for lru cache
* enh: restore some code about pack push
* chore: restore the pack push in tmsg.h
* fix: add macro of pack pop for windows
---------
Co-authored-by: yihaoDeng <luomoxyz@126.com>