Commit Graph

538 Commits

Author SHA1 Message Date
Jing Sima ccaa0b91ae
feat: [TS-4897] Add more test and fix bugs. (#30208)
* feat: [TS-4897] Fix state window wrong res when all state col is NULL.

* fix: [TD-34074] Forbid decimal type in virtual table.
2025-03-19 17:15:17 +08:00
Simon Guan d02196a231
refactor: adjust some logs (#30245)
* refactor: adjust wal log infos

* refactor: adjust some log's level

* refactor: adjust some log's level

* fix: add traceId for sync module

* refactor: adjust log level

* refactor: adjust log level

* refactor: adjust log levels

* refactor: adjust log levels

* refactor: adjust log levels

* refactor: adjust log levels

* refactor: adjust log levels

* refactor: adjust log levels

* refactor: adjust log levels

* docs: update keywords

* fix: compile errors in windows

* docs: minor changes

* docs: minor changes

* refactor: minor changes

* docs: fminro changes

* docs: format

* refactr: remove uncessory logs

* docs: format doc
2025-03-18 17:55:36 +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
Kaili Xu 13f9bddf3d
feat: support customized taos/taosd (#29736)
* 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>
2025-03-14 13:32:13 +08:00
Simon Guan 76ad364b93 enh: adjust some logs 2025-02-27 09:55:11 +08:00
dapan1121 02b32eea16 fix: cquery not quit issue 2025-01-24 09:48:31 +08:00
dapan1121 549d26be95 fix: abort preprocess query issue 2024-12-30 13:12:10 +08:00
Pan Wei 149ac2fea7
Merge branch '3.0' into fix/TD-33275.2 2024-12-25 10:04:48 +08:00
dapan1121 f502b93f1b Merge remote-tracking branch 'origin' into fix/TD-33275.2 2024-12-23 16:20:13 +08:00
dapan1121 47394a6a0d fix: add more UT cases 2024-12-23 16:07:47 +08:00
dapan1121 e98e215535 fix: lock debug invalid read issue 2024-12-22 11:16:06 +08:00
dapan1121 4224616e8a fix: fetch last ack invalid write issue 2024-12-20 15:12:34 +08:00
dapan1121 ea4b9ac5a9 fix: return code validation issue 2024-12-19 13:51:33 +08:00
dapan1121 82c4ec147a fix: job preprocess and dropped issue 2024-12-19 10:59:58 +08:00
dapan1121 8fb4e390b2 fix: quick response invalid write and job remain issues 2024-12-18 13:48:34 +08:00
dapan1121 85ec007687 fix: task release prior to response issue 2024-12-17 11:39:49 +08:00
dapan1121 2464f1ba68 fix: void return code 2024-12-16 19:20:16 +08:00
dapan1121 7be31eea30 fix: query remain issues 2024-12-16 18:40:27 +08:00
dapan1121 c560671e73 fix: add void 2024-12-13 16:25:01 +08:00
kailixu f42e4e89e8 chore: taos unused for hash remove 2024-12-13 16:01:14 +08:00
dapan1121 b5e5f2f22a fix: add documents 2024-12-12 19:14:38 +08:00
dapan1121 99cd3a5d21 fix: query preprocess issue 2024-12-12 17:19:40 +08:00
dapan1121 2bd493f77b fix: return code issues 2024-12-11 19:18:50 +08:00
dapan1121 14b9979325 fix: job retry issues 2024-12-10 17:27:02 +08:00
dapan1121 7fd0d024fc fix: windows compile issue 2024-12-10 09:15:15 +08:00
dapan1121 d77147d296 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-12-06 17:43:19 +08:00
dapan1121 bcdcdd194a fix: force stop issue 2024-12-06 17:35:32 +08:00
dapan1121 abbb0663b0 fix: windows compile issues 2024-12-06 13:46:48 +08:00
dapan1121 011ff04234 fix: scheduler dead lock issue 2024-12-05 18:07:37 +08:00
dapan1121 e40daae3fc Merge branch 'feat/TD-30268' of github.com:taosdata/TDengine into feat/TD-30268 2024-12-02 14:55:31 +08:00
dapan1121 ce07aaf774 fix: job retire issues 2024-12-02 14:51:31 +08:00
yihaoDeng f7cb4b9b09 update interface 2024-11-29 14:56:29 +08:00
factosea c879d59b6c fix: change task status from succ to partsucc 2024-11-28 14:17:12 +08:00
dapan1121 a15120f97e fix: add failure task destory 2024-11-27 10:10:56 +08:00
dapan1121 3d3956efda fix: retire job issue 2024-11-26 16:46:33 +08:00
dapan1121 8455949575 enh: add memory full func mode 2024-11-25 15:31:29 +08:00
dapan1121 205d47d981 fix: job destroy issue 2024-11-21 18:02:42 +08:00
dapan1121 e2accc307c fix: rpc dead loop issue 2024-11-21 10:22:05 +08:00
yihaoDeng 6461bb0474 unify the format of qId in the logging macros, 2024-11-20 17:03:13 +08:00
dapan1121 a5bd91492d fix: memory leak and dead lock issues 2024-11-19 10:12:45 +08:00
dapan1121 85fc4dfc2b fix: data sink memory issues 2024-11-15 10:16:15 +08:00
dapan1121 0995facd64 fix: hash put duplicated issue 2024-11-14 16:37:10 +08:00
dapan1121 34cfca745b fix: duplicated clientId issue 2024-11-13 19:19:00 +08:00
dapan1121 a8561fba4f Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-11-11 11:01:22 +08:00
dapan1121 371094cc13 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-11-08 10:13:20 +08:00
dapan1121 e4c87a024b fix: memory free not found issues 2024-11-08 09:58:32 +08:00
dapan1121 dd2ab5b361 fix: ut issues 2024-11-07 16:46:18 +08:00
Jinqing Kuang 43a337ef74 enh(query)[TD-32732]: add client Id generation and usage
To address the issue of non-unique identifiers for query tasks, a unique
client ID (cid) is now generated during client initialization. This cid
is included in every task message sent to the server. The server will
use a composite key of <qid, cid, tid, eid> to uniquely identify each
query task.
2024-11-07 08:47:31 +08:00
dapan1121 c5c85efeb5 enh: adjust mode and retire policy 2024-11-06 19:26:14 +08:00
dapan1121 2ebc84d02a fix: msg preprocess fail issue 2024-11-01 16:48:22 +08:00