Commit graph

38 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
dapan1121
2bd493f77b fix: return code issues 2024-12-11 19:18:50 +08:00
xsren
e8835c2caa blockDataCheck 2024-10-23 15:37:49 +08:00
xsren
7a42756511 replace snprintf with tsnprintf 2024-10-20 22:36:52 +08:00
Pan Wei
fc05f92fc9
Merge pull request #28250 from taosdata/fix/TD-32409
fix: use safe function
2024-10-11 10:25:09 +08:00
lyh250-666
676f8759e2 enh:modify error code passing 2024-10-09 15:37:00 +08:00
dapan1121
0055d9544c fix: use safe function 2024-10-08 19:18:48 +08:00
xsren
9972357c17 file function result 2024-09-26 18:13:52 +08:00
dapan1121
5bdb9ce563 fix: compile issue 2024-09-23 11:35:43 +08:00
dapan1121
d2d6a6078a fix: memory leak in group cache issue 2024-09-23 10:23:41 +08:00
lyh250-666
116844208d enh:modify error code passing 2024-09-20 13:23:44 +08:00
dapan1121
41f8f211f0 fix: group cache retrive block failed issue 2024-09-18 14:17:02 +08:00
Pan Wei
446d3ab97c
Merge pull request #27849 from taosdata/fix/TD-31896
fix: function return code issue
2024-09-13 08:41:28 +08:00
dapan1121
007b64a3c1 fix: void function call issue 2024-09-12 15:48:07 +08:00
dapan1121
a7269e4536 fix: remove void function call 2024-09-12 14:17:14 +08:00
Pan Wei
8b7b5b7c6d
Merge pull request #27752 from taosdata/fix/TD-31870/OSFileRetCode
osDir
2024-09-11 17:52:14 +08:00
xsren
aea768d2c0 osFile 2024-09-10 17:40:19 +08:00
dapan1121
dc983b9a39 fix: add block data check 2024-09-10 16:56:36 +08:00
xsren
aa5683cfd9 osfile 2024-09-10 14:55:14 +08:00
xsren
2a3917029f osFile 2024-09-10 11:29:50 +08:00
Haojun Liao
0236db51f6 fix(query): fix memory leak and do some internal refactor. 2024-09-06 15:44:25 +08:00
lyh250-666
9c8f630759 enh:modify error code passing in libs/executor/ 2024-09-03 11:01:02 +08:00
xsren
d43df78537 fix: free operator 2024-08-29 19:43:59 +08:00
Haojun Liao
c118df0ec4 fix(query): fix memory leak. 2024-08-27 17:04:44 +08:00
Haojun Liao
5e2b0ee299
Merge pull request #27232 from taosdata/fix/TD-31459
fix issue
2024-08-16 09:35:43 +08:00
54liuyao
cf796a45c1 fix issue 2024-08-15 17:03:32 +08:00
dapan1121
cbf5f231be fix: group cache log issue 2024-08-15 15:38:09 +08:00
54liuyao
db0c2e4be4 free operator 2024-08-07 15:53:23 +08:00
54liuyao
372c0f21f2 fix mem leak 2024-08-06 19:36:39 +08:00
Haojun Liao
aacf1c3e9a fix(stream): check return value. 2024-07-24 17:08:08 +08:00
dapan1121
45348b15be fix: return code validation 2024-07-22 11:06:24 +08:00
dapan1121
e5fde30635 fix: function return code validation 2024-07-19 17:37:48 +08:00
dapan1121
5934a137dd fix: group cache fetch issue 2024-04-02 16:09:32 +08:00
dapan1121
0fb672d8a6 enh: optimize join performance 2024-04-01 15:24:12 +08:00
dapan1121
3835a5b349 fix: error log and union issue 2024-03-22 08:47:07 +08:00
dapan1121
0b18689fa6 fix: fix coverity issues 2023-09-06 10:57:49 +08:00
dapan1121
cc17848b78 fix: merge 3.0 to main 2023-09-01 13:24:47 +08:00