Commit graph

447 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
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
292b0cb317 Merge branch 'main' into merge/mainto3.0 2025-03-05 18:10:31 +08:00
Haojun Liao
f563a35b3f fix(stream):check the maximum allowed forecast rows, add one test case, and do some internal refactor. 2025-03-03 17:27:05 +08:00
Haojun Liao
f59d25f1a5 fix(stream): fix syntax error. 2025-03-03 16:27:54 +08:00
Haojun Liao
ac667164ed refactor: do some internal refactor. 2025-03-03 16:20:58 +08:00
dmchen
8c74242391 fix/TS-5651-refactor 2025-01-08 01:56:55 +00:00
dmchen
ad4bf2a136 fix/TS-5651-skip-sync-heartbeat 2025-01-02 02:17:29 +00:00
dmchen
bc6502d47b fix/TS-5651-skip-sync-heartbeat 2025-01-02 02:13:24 +00:00
dapan1121
ca15163215 Merge remote-tracking branch 'origin' into feat/TD-30268 2024-12-12 11:41:00 +08:00
kailixu
eaf5978b2c Merge branch '3.0' into feat/TD-30268 2024-12-10 18:49:15 +08:00
yihaoDeng
b9d92bd7b7 use safe sys func 2024-12-06 21:44:23 +08:00
yihaoDeng
c5c56606c4 use safe sys func 2024-12-05 16:35:45 +08:00
yihaoDeng
f7cb4b9b09 update interface 2024-11-29 14:56:29 +08:00
wangmm0220
0e2a16d70f feat:[TD-32642] add charset for connection support 2024-11-27 14:25:34 +08:00
dapan1121
164fa67db5 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-11-21 10:23:57 +08:00
dapan1121
a5bd91492d fix: memory leak and dead lock issues 2024-11-19 10:12:45 +08:00
yihaoDeng
45df3ee3b2 reset return code 2024-11-18 18:43:15 +08:00
yihaoDeng
dbb5c9e864 change return code 2024-11-18 14:44:18 +08:00
Haojun Liao
a8f7f153d9 refactor: do some internal refacrtor. 2024-11-07 16:44:43 +08:00
Shengliang Guan
03814cfe5a refact: rename version to td_version 2024-11-04 15:16:15 +08:00
Shengliang Guan
91f8c4cfed
Merge pull request #28437 from taosdata/fix/TD-32485
fix: the problem of taosc driver retrying errors after clearing the dnode data
2024-10-31 09:19:07 +08:00
Shengliang Guan
81c30ab7c0 fix: format cmake file 2024-10-24 10:10:07 +08:00
Hongze Cheng
a94bdb643f
Merge pull request #28454 from taosdata/addLogTo30
add trace log
2024-10-23 16:37:57 +08:00
Shengliang Guan
46c1c09b3b
Merge pull request #28268 from taosdata/feat/TS-5215-2
feat(az/blob): new s3 connection for ablob
2024-10-23 15:22:08 +08:00
yihaoDeng
bc7857c39f add config 2024-10-23 08:31:05 +08:00
Shengliang Guan
0be88f4211
Merge pull request #28444 from taosdata/fix/TS-5532-set-seperate-thread-update-status
fix/TS-5532-set-seperate-thread-update-status-fix-case
2024-10-22 18:05:48 +08:00
dmchen
0f37acbe96 fix/TS-5532-set-seperate-thread-update-status-fix-check 2024-10-22 06:55:53 +00:00
dmchen
4d85866d18 fix/TS-5532-set-seperate-thread-update-status-fix-case 2024-10-22 02:51:59 +00:00
Minglei Jin
fe8b6c823e
Merge branch '3.0' into feat/TS-5215-2 2024-10-22 10:12:34 +08:00
Shengliang Guan
4527e96d2b
Merge pull request #27907 from taosdata/enh/opt-transport
Enh: RPC transport optimization
2024-10-22 09:56:48 +08:00
yihaoDeng
d91b771d9c fix retry error 2024-10-22 09:13:45 +08:00
yihaoDeng
5ee1c9b70a fix retry error 2024-10-21 21:01:33 +08:00
Shengliang Guan
25d43c139c
Merge pull request #28363 from taosdata/feature/TS-5530
feat: data analysis
2024-10-21 19:51:24 +08:00
dmchen
9ef4e45171 fix/TS-5532-set-seperate-thrad-update-status-fix-case 2024-10-18 07:51:52 +00:00
dmchen
6fa8557e99 fix/TS-5532-set-seperate-thread-update-status-fix-case 2024-10-18 07:23:25 +00:00
yihaoDeng
c4a8248f14 Merge remote-tracking branch 'origin/3.0' into enh/opt-transport 2024-10-15 14:24:12 +08:00
Minglei Jin
96cc55a164
Merge branch '3.0' into feat/TS-5215-2 2024-10-15 13:58:29 +08:00
Shengliang Guan
3003e7286e feat: data analysis 2024-10-15 10:00:38 +08:00
yihaoDeng
dfbcf09ecd reset timeout 2024-10-15 08:46:36 +08:00
Shengliang Guan
9f05ca5ee8 revert: data analysis 2024-10-14 23:27:11 +08:00
yihaoDeng
486b559167 Merge remote-tracking branch 'origin/3.0' into enh/opt-transport 2024-10-10 18:13:10 +08:00
Minglei Jin
1c7573a9ce
Merge branch '3.0' into feat/TS-5215-2 2024-10-10 14:56:11 +08:00
Minglei Jin
09cf91f256 tcs/dnode: use tcs interface for dnode 2024-10-10 14:52:42 +08:00
Shengliang Guan
6ed142582b Merge remote-tracking branch 'origin/3.0' into feat/anode2 2024-10-10 09:01:16 +08:00
Shengliang Guan
ef39c9c41e
Merge pull request #28265 from taosdata/feat/anode1
feat: anode
2024-10-09 18:48:55 +08:00
Shengliang Guan
c36fe0af46 feat: analysis msg 2024-10-09 17:33:27 +08:00
Shengliang Guan
a5b5bd61f6 feat: anode 2024-10-09 17:20:13 +08:00
lyh250-666
676f8759e2 enh:modify error code passing 2024-10-09 15:37:00 +08:00
yihaoDeng
7e11fdeed6 add time out 2024-09-30 16:56:14 +08:00