Commit Graph

2625 Commits

Author SHA1 Message Date
factosea 2019e95049 fix: stream for event window 2023-12-05 14:08:17 +08:00
facetosea 07301130c5 enh: event_window + super table need partition by tbname 2023-12-05 11:18:07 +08:00
kailixu 08be3d790c fix: ignore NULL tag 2023-12-04 20:08:46 +08:00
dapan1121 d10bbc6252
Merge pull request #23877 from taosdata/FIX/TD-27403
Fix TD-27403: insert error about use today + now as timestamp value
2023-12-04 10:55:26 +08:00
Bob Liu 7e8f3579de accept float data as int data input 2023-12-01 18:33:01 +08:00
fullhonest 72d6614b7b Fix TD-27403: insert error about use today + now as timestamp value 2023-11-30 18:39:01 +08:00
Bob Liu 35ae8a4c0d adjust parseOneStbRow 2023-11-30 00:25:05 +08:00
Bob Liu 3069069e0f adjust parseOneStbRow; add case for stable 2023-11-29 22:47:31 +08:00
Bob Liu 9d3ce107f2 support stable insert child batch by file 2023-11-29 15:32:40 +08:00
Bob Liu 28b73b415c fit insert childtable by file 2023-11-29 02:44:55 +08:00
Bob Liu 5c5efa34eb fix crash when insert big csv 2023-11-29 01:53:13 +08:00
dapan1121 d409ac5ef4
Merge pull request #23789 from taosdata/fix/xsren/TD-27282/paramNumError
param num error
2023-11-24 13:28:26 +08:00
facetosea 6694bf86c6 fix test case 2023-11-24 11:14:24 +08:00
slzhou 878ab262e6 fix: show compact detail 2023-11-23 16:26:17 +08:00
slzhou c53bd04894 feat: after select compacts 2023-11-23 15:26:21 +08:00
xsren 484c045c05 param num error 2023-11-23 14:24:58 +08:00
slzhou 3de91de7f9 fix: bi mode create tbname col error 2023-11-23 11:18:05 +08:00
slzhou f44ff199f2 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/bi-tbname-col-func 2023-11-23 10:41:34 +08:00
dapan1121 53fe37f4d2
Merge pull request #23739 from taosdata/fix/xsren/TD-27282/invalidOperTips
fix: error msg when invalid operator
2023-11-23 09:54:07 +08:00
facetosea b7342d53df return DEAL_RES_ERROR; 2023-11-22 19:37:08 +08:00
Haojun Liao ebb1993900 fix(stream): fix error in check trans conflict. 2023-11-22 16:20:59 +08:00
slzhou 668e9e0a8b fix: add test cases 2023-11-22 08:59:29 +08:00
slzhou 40a28a6e4b fix: refactor dependency between community and enterprise 2023-11-22 08:47:35 +08:00
shenglian zhou cc932b5ac9 fix: change compact id to 32-bit int 2023-11-21 17:01:24 +08:00
slzhou ebbbb3825d enhance: bi mode tbname col to tbname func 2023-11-21 14:33:00 +08:00
shenglian zhou 83c1db07a3 enhance: tbname col to func 2023-11-21 13:53:10 +08:00
facetosea 4c36d1ee11 fix: error msg when invalid operator 2023-11-20 09:21:16 +08:00
slzhou 88819ea608 fix: tranform SCompactRsp to a datablock 2023-11-16 14:40:54 +08:00
slzhou 9ad86d7753 commit: add create show stmt support 2023-11-16 11:41:02 +08:00
shenglian zhou b51e4b18ce feat: compact return id and kill compact id 2023-11-16 11:03:56 +08:00
liuyao 37c102a115 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-11-13 16:06:17 +08:00
slzhou 918fadaf00 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tbname-prune-vgroup 2023-11-10 16:45:13 +08:00
slzhou 9d448c7c6c fix: review comments 2023-11-10 16:30:16 +08:00
dapan1121 c1f935bd12 fix: const value replace issue 2023-11-09 14:49:04 +08:00
slzhou 30cbf9ae5c feature: if num of tbnames is greater than vgroups, do not update vgroupList of table 2023-11-09 10:31:01 +08:00
liuyao 340fb3e727 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-11-08 14:16:59 +08:00
slzhou fabf4e8cf0 fix: tbname in (value...) apply 2023-11-08 09:09:03 +08:00
dapan1121 1045457d16
Merge pull request #23575 from taosdata/szhou/fix/3.0/tbname-no-dot
fix: tbname can not contain dot
2023-11-08 08:35:07 +08:00
slzhou 4ff81b84b0 fix: fix address sanitizer error 2023-11-07 20:47:14 +08:00
shenglian zhou edeeb490b1 enhance: add tbname in values 2023-11-07 16:40:05 +08:00
shenglian-zhou aaa7b45dc3
Merge branch '3.0' into szhou/3.0/fix/TD-27089 2023-11-07 11:07:15 +08:00
slzhou d574b97015 fix: tbname can not contain dot 2023-11-07 11:03:42 +08:00
slzhou 6136b1d018 fix: fix tbname or error 2023-11-06 13:49:01 +08:00
slzhou 1153e5ddc2 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tbname-prune-vgroup 2023-11-06 13:15:25 +08:00
slzhou 5495e1ceac fix: use the right target name 2023-11-06 12:33:09 +08:00
slzhou 88c8463e18 fix: process logic or conditions 2023-11-06 11:06:22 +08:00
dapan1121 0c4040b48e
Merge pull request #23541 from taosdata/fix/TS-4219.3.0
fix: insert syntax error caused coredump
2023-11-06 08:48:46 +08:00
dapan1121 6c4f94661b fix: insert syntax error caused core 2023-11-03 17:43:08 +08:00
shenglian zhou 893f7cc080 enhance: prepare for or processing 2023-11-03 16:35:43 +08:00
slzhou e1ea15c8f2 enhance: improve performance 2023-11-03 16:13:35 +08:00
shenglian zhou 81af550763 Merge branch 'szhou/tbname-prune-vgroup' of github.com:taosdata/TDengine into szhou/tbname-prune-vgroup 2023-11-03 14:12:15 +08:00
shenglian zhou bab886b229 enhance: refact code 2023-11-03 14:12:04 +08:00
slzhou 75d542c758 fix: performance improvement 2023-11-03 14:03:25 +08:00
slzhou 52608cf84d fix: performace improvement 2023-11-03 10:38:43 +08:00
shenglian zhou 55e8607206 fix: calc const optimization only when not tag scan 2023-11-03 10:17:23 +08:00
liuyao 330b04a8bc Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-11-02 14:36:13 +08:00
liuyao 505c44d9aa Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-11-01 16:50:46 +08:00
slzhou 4a2c52783b Merge branch '3.0' of github.com:taosdata/TDengine into szhou/insert-stb-tbname 2023-11-01 14:10:02 +08:00
slzhou bd64b9102d fix: fix address sanitizer error 2023-11-01 13:25:54 +08:00
slzhou efb0c61cac fix: fix compilation error 2023-11-01 08:43:29 +08:00
shenglian zhou 42a7553fe0 enhance: refactor getStbRowValues 2023-11-01 08:35:38 +08:00
shenglian zhou 7636f09bfb enhance: refactor getStbRowValues 2023-11-01 08:32:31 +08:00
dapan1121 91df56fcf0 Merge remote-tracking branch 'origin/3.0' into feat/TD-25204 2023-10-31 18:44:54 +08:00
dapan1121 d40cc27abc
Merge pull request #23464 from taosdata/enh/TD-26638-3.0
enh: use placeholder '-' for interval of 1st retention level
2023-10-31 18:36:43 +08:00
slzhou 041ef1ef83 enhance: colvals of table data cxt is not used in insert stb syntax 2023-10-31 17:05:37 +08:00
dapan1121 c4e1faae36
Merge pull request #23432 from taosdata/szhou/bi-mode-tag-scan
enhance: bi mode tag scan
2023-10-31 15:44:53 +08:00
liuyao 696294c208 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-10-31 15:41:04 +08:00
slzhou c8767f7614 enhance: tbname token optimization 2023-10-31 14:44:06 +08:00
slzhou 1686c70a60 fix: not use ctb meta from hash of stmt node 2023-10-31 13:14:21 +08:00
dapan1121 aabd2bd739 fix: create view table meta issue 2023-10-31 11:23:33 +08:00
shenglian zhou 45ae3727a7 fix: performace improvement 2023-10-31 10:48:10 +08:00
slzhou e800c993dd fix: set scan tags when bi mode 2023-10-31 07:37:56 +08:00
dapan1121 b2fea84a3a fix: case issue and bugs 2023-10-30 19:14:31 +08:00
dapan1121 658ea7c429
Merge pull request #23426 from taosdata/fix/TD-26930/xsren/superTime
fix: interval more than 1000 years
2023-10-30 17:55:53 +08:00
kailixu da4fac4204 test: update test case for retentions 2023-10-30 17:04:09 +08:00
dapan1121 1517fe0ff0 fix: ut case issue 2023-10-30 16:44:10 +08:00
slzhou e9a7f6e322 fix: invalid schema error 2023-10-30 15:54:10 +08:00
kailixu c77153cb81 enh: use placeholder '-' for interval of 1st retention level 2023-10-30 14:02:31 +08:00
liuyao 1a37f19c82 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-10-30 11:43:23 +08:00
dapan1121 6f0b634f95 Merge remote-tracking branch 'origin/3.0' into feat/TD-25204 2023-10-30 10:24:16 +08:00
slzhou 4b6f927e6a fix: add test case for bi tag scan 2023-10-30 10:11:57 +08:00
dapan1121 1b7a6bccdf
Merge pull request #23430 from taosdata/enh/TD-26641-3.0
enh: only float/double allowed for sum/avg of rsma
2023-10-30 10:08:55 +08:00
dapan1121 8650c5d4b0
Merge pull request #23392 from taosdata/feat/3.0/TS-4044
feat: support all utf8 characters as alias
2023-10-30 10:04:37 +08:00
facetosea 55f6d2b7a9 use TSDB_MAX_KEEP 2023-10-30 09:42:06 +08:00
dapan1121 972e10a238 Merge remote-tracking branch 'origin/3.0' into feat/TD-25204 2023-10-30 08:45:29 +08:00
dapan1121 9801d5d7b7 fix: desciribe view and memory issues 2023-10-27 19:28:22 +08:00
kailixu eae1b4eb03 chore: relationship between interval/keep 2023-10-27 19:15:23 +08:00
wangjiaming0909 cf158ab428 feat: support all utf8 characters as alias 2023-10-27 15:23:26 +08:00
slzhou 15aedb8d8c fix: fix bugs of pWhere is null 2023-10-27 15:16:40 +08:00
xsren b422c29d4e fix interval limit on us/ns db 2023-10-27 15:16:03 +08:00
kailixu ac72466429 chore: naming optimization 2023-10-27 15:11:35 +08:00
shenglian zhou 1bda5a7223 enhance: use tbname cond to set vgroup list of table node 2023-10-27 14:47:56 +08:00
kailixu 4ea44c429d chore: code optimization 2023-10-27 14:41:17 +08:00
kailixu 2ad3b98344 chore: test case for rollup 2023-10-27 13:49:39 +08:00
dapan1121 099f72e84a fix: memory issues 2023-10-27 11:36:17 +08:00
xsren 4186028083 fix: interval more than 1000 years 2023-10-27 11:09:18 +08:00
slzhou 779c37b425 enhance: change to invalid operation for stmt error 2023-10-26 14:23:21 +08:00
kailixu 4097b53bfa enh: only float/double allowed for sum/avg of rsma 2023-10-26 11:21:56 +08:00
kailixu a83b3053f4 enh: check interval and keep for retentions 2023-10-25 22:52:03 +08:00
kailixu 64765579e9 enh: check interval and keep for retentions 2023-10-25 22:42:01 +08:00
liuyao f51c985914 stream event window 2023-10-25 17:50:16 +08:00
slzhou 5ca39f961c fix: add error test case and fix address sanitizer 2023-10-25 16:30:13 +08:00
shenglian zhou 6edf954cd3 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/bi-mode-tag-scan 2023-10-25 13:54:58 +08:00
shenglian zhou 8b2d57504c enhance: bi mode default tag scan 2023-10-25 13:54:45 +08:00
slzhou efe480ae14 Merge branch 'szhou/continue-coing' into szhou/insert-stb-tbname 2023-10-25 13:30:49 +08:00
slzhou 04a9f5945f Merge branch '3.0' of github.com:taosdata/TDengine into szhou/insert-stb-tbname 2023-10-25 13:30:38 +08:00
slzhou 29db21a3ad fix: reinit ctb meta and col vals before each stb row 2023-10-25 11:22:15 +08:00
slzhou c17300557d fix: memory sanitizer error of simple insert stb 2023-10-25 10:56:28 +08:00
dapan1121 6dcc555bbc fix: view privilege issue 2023-10-25 10:47:01 +08:00
slzhou f0a44b31fc fix: insert into super table syntax is not supported for stmt 2023-10-25 09:56:21 +08:00
shenglian zhou 3de5b841a5 fix: large file by batches 2023-10-25 09:35:37 +08:00
shenglian zhou c9d1553633 enhance: refactor stb rows data context 2023-10-25 09:06:45 +08:00
shenglian zhou a28b3a6e3f fix: refactor 2023-10-25 08:50:08 +08:00
shenglian zhou 0c33a3e60e fix: child table meta optimization 2023-10-25 08:27:02 +08:00
shenglian zhou 27302f995b fix: add memory free 2023-10-24 16:23:03 +08:00
dapan1121 9bf8be1ab4
Merge pull request #23354 from taosdata/fix/3.0/TD-26779
fix: union all cast func resType check error
2023-10-24 16:11:50 +08:00
shenglian zhou ae1bac251a enhance: finished skeleton 2023-10-24 16:08:08 +08:00
dapan1121 dbbceae061 fix: union all view issue 2023-10-24 11:29:04 +08:00
shenglian zhou 65cfc13703 fix: memory sanitizer error 2023-10-23 19:40:27 +08:00
slzhou 0cfbcd7a13 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/continue-coing 2023-10-23 16:34:21 +08:00
shenglian zhou e713b7c22f enhance: insert stb skeleton development 2023-10-23 16:27:00 +08:00
dapan1121 ab98f7623c Merge remote-tracking branch 'origin/3.0' into feat/TD-25204 2023-10-23 08:44:46 +08:00
shenglian zhou 5156c0d00c enhance: get tbname from one row for stb syntax 2023-10-22 15:14:50 +08:00
shenglian zhou 6488672dd6 enhance: parse target column 2023-10-22 11:21:36 +08:00
shenglian zhou 438a775c78 fix: parse insert stb columns when meta is ready or ready after get meta 2023-10-21 14:02:03 +08:00
dapan1121 0f4766e38e feat: add view cases 2023-10-20 18:22:30 +08:00
slzhou 3fe5c447e7 enhance: begin parse cols 2023-10-20 17:16:45 +08:00
dapan1121 1ff5ccf186
Merge pull request #23222 from taosdata/feat/TS-4072
feat: support interval syntax of quoted duration and default unit
2023-10-20 15:16:07 +08:00
slzhou ce6be3d3e7 fix: refactor checkAuth for target table 2023-10-20 14:51:44 +08:00
wangjiaming0909 720982374c fix: union all cast func resType check error 2023-10-20 10:36:52 +08:00
dapan1121 42f440b0fb Merge remote-tracking branch 'origin/3.0' into feat/TD-25204 2023-10-20 08:46:32 +08:00
dapan1121 969b002936 enh: support view privilege 2023-10-20 08:41:49 +08:00
slzhou 332268fd4b set super table name for stb syntax and rename setRefreshMate to setRefreshMeta 2023-10-19 15:55:24 +08:00
wangjiaming0909 04c60486e9 feat: support interval syntax of quoted duration and default unit 2023-10-19 15:46:19 +08:00
slzhou cb2311fde6 fix minior error 2023-10-19 13:28:48 +08:00
slzhou 334feb199a call processTableSchemaFromMetaData when success 2023-10-19 13:22:28 +08:00
shenglian zhou 8532227a36 fix: first schema clause top - target is supertable 2023-10-19 11:30:44 +08:00
dapan1121 afe963a9d1 enh: support view privilege 2023-10-19 08:31:31 +08:00
slzhou 9c1697bfd1 fix: fix minior error 2023-10-18 13:19:44 +08:00
slzhou 98d782cfa5 fix: if not subquery, rewrite project alias 2023-10-18 11:04:34 +08:00
slzhou cdc8b757ad fix: remove subquery user alias name distinct check 2023-10-18 10:11:43 +08:00
dapan1121 7c8cf28b37 feat: add privileges 2023-10-16 19:53:08 +08:00
slzhou d30c6f6bcc fix: change tablename.tbname aliasname to tbname 2023-10-16 13:56:15 +08:00
dapan1121 aab4cb98dc enh: create & drop view meta processing 2023-10-13 19:16:37 +08:00
dapan1121 a0699d758c Merge remote-tracking branch 'origin/3.0' into feat/TD-25204 2023-10-13 16:51:38 +08:00
dapan1121 c0a4328803 feat: support view meta updating 2023-10-13 16:29:34 +08:00
shenglian-zhou cbd9749bfe
Merge branch '3.0' into szhou/pseudo-column-aliasname 2023-10-12 19:01:28 -05:00
dapan1121 7c67f23469 feat: update view meta 2023-10-12 19:56:17 +08:00
slzhou b78a32eb1a Merge branch '3.0' of github.com:taosdata/TDengine into szhou/pseudo-column-aliasname 2023-10-12 11:01:50 +08:00
Haojun Liao eb4449999f other: merge 3.0 2023-10-12 10:33:48 +08:00
dapan1121 f5768494b4 feat: support describe view command 2023-10-11 18:49:47 +08:00
dapan1121 478de7ae56 feat: add show create view implement 2023-10-11 10:38:22 +08:00
shenglian zhou 6c30c4faab Revert "fix: add create table sql to audit log"
This reverts commit 658de2a04e.
2023-10-10 11:12:53 +08:00
slzhou bc2cf345fa fix: change error code after replace column and translate 2023-10-10 10:44:13 +08:00
slzhou da9d39bfe6 fix: cancel future pseudo column translation function processing when rewritten to column 2023-10-10 08:31:23 +08:00
slzhou b8fe279a85 fix: renanme function 2023-10-10 07:44:29 +08:00
dapan1121 d229492616 Merge remote-tracking branch 'origin/3.0' into feat/TD-25204 2023-10-09 18:34:08 +08:00
dapan1121 6c8db261f3 feat: support show views command 2023-10-09 17:19:36 +08:00
slzhou 44c3bc99e0 feat: add interp pseudo column conversion to column 2023-10-09 16:56:21 +08:00
slzhou 56534a7b0d enhance: scan and window pseudo column 2023-10-09 16:22:44 +08:00
dapan1121 7c7cf2b1aa enh: support balance group leader on vgroup_id 2023-10-09 15:46:41 +08:00
shenglian zhou 1bf116f40c Merge branch 'szhou/continue-coing' of github.com:taosdata/TDengine into szhou/continue-coing 2023-10-09 13:23:23 +08:00
shenglian zhou 6ad518d61d enhance: pseduo column coverted to column when necessary 2023-10-09 13:21:32 +08:00
dapan1121 5b639a172d feat: support query from view 2023-10-08 18:36:06 +08:00
slzhou 94b9d0f10a Merge branch '3.0' of github.com:taosdata/TDengine into szhou/pseudo-column-aliasname 2023-10-08 08:58:34 +08:00
Minglei Jin 2d3652c723 fix(keep0-duration): force keep0 at least thrice of duration 2023-09-28 16:15:35 +08:00
dapan1121 0a0f512023 feat: add view meta processing 2023-09-28 11:44:38 +08:00
slzhou f659e36d2c fix: internal error when show normal db.tables like pattern 2023-09-28 09:20:12 +08:00
slzhou dce29b367b fix: retore translater.c 2023-09-27 13:46:14 +08:00
slzhou dee6006ed9 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/continue-coing 2023-09-27 10:02:49 +08:00
wade zhang f6134b42d7
Merge pull request #23036 from taosdata/feat/TS-4011-3.0
feat/TS-4011: adjust config 'keep_time_offset' level from dnode to db
2023-09-26 14:25:54 +08:00
Shungang Li 743a5b0640 feat: add db config item keep_time_offset 2023-09-25 15:46:08 +08:00
shenglian zhou df19645a90 fix: check table is super table when rewrite star for bi tool 2023-09-22 22:02:30 +08:00
slzhou fb62588dd3 fix: nodesIsStar and nodesIsTableStar 2023-09-22 15:26:39 +08:00
slzhou 57d5d793f8 fix: comm/enterprise split 2023-09-22 15:06:38 +08:00
slzhou 18f8e0dc8d fix: enterprise/community bi support 2023-09-22 14:31:47 +08:00
slzhou 72307ab877 enhance: move bi to enterprise 2023-09-22 14:27:01 +08:00
dapan1121 a61d90f672 enh: remove column list 2023-09-22 11:36:53 +08:00
slzhou 9bb628650c fix: pass basic test 2023-09-22 10:13:17 +08:00
dapan1121 a67b0c99fc feat: support create/drop view 2023-09-21 19:28:07 +08:00
shenglian zhou 80f77251b2 merge with 3.0 and finish coding star expansion 2023-09-21 17:04:12 +08:00
dapan1121 cc08a5ee87 fix: add query sql 2023-09-20 19:30:40 +08:00
slzhou 6496bb3d31 Merge branch 'szhou/show-db-table' into szhou/continue-coing 2023-09-20 14:19:40 +08:00
slzhou 0c6338dc15 fix: fix address sanitizer error 2023-09-20 13:25:26 +08:00
slzhou 1f1657a160 fix: fix address sanitizer error 2023-09-20 11:50:32 +08:00
slzhou 1c27c2123f enhance: select `tbname` from (select tbname from d.st) 2023-09-20 11:06:59 +08:00
slzhou 951786669d fix: modify show_kind enum value from none to all 2023-09-20 08:39:57 +08:00
slzhou bd2669b4f1 fix: show normal tables core 2023-09-19 16:40:23 +08:00
slzhou f4dbd5d9c9 enhance: show normal/child tables and show user/system databases 2023-09-19 16:14:17 +08:00
dm chen ee913cbfbc
Merge branch 'main' into feat/TD-26127-audit-sql 2023-09-19 14:39:20 +08:00
dapan1121 b9d554275c Merge remote-tracking branch 'origin/3.0' into feat/TD-25204 2023-09-19 14:21:00 +08:00
dapan1121 14e8db289d feat: support view 2023-09-19 14:19:54 +08:00
shenglian zhou 2773f1e9ac fix: continue coding 2023-09-19 14:03:06 +08:00
slzhou cabe04fccd fix: add more sql trace 2023-09-19 10:47:12 +08:00
slzhou 7b2eea0b4b fix: fix address sanitizer error 2023-09-19 10:08:01 +08:00
slzhou 05ef6e291c fix: fix address sanitizer error 2023-09-19 09:15:12 +08:00
slzhou 6eb6799a34 fix: fix sanitizer error 2023-09-19 08:41:10 +08:00
slzhou 78ea4b1927 fix: fix memory sanitizer error 2023-09-19 08:38:08 +08:00
shenglian zhou 94a616fcc1 fix: save and continue 2023-09-18 16:59:07 +08:00
xsren 83d8e3a524 mem exception handle 2023-09-18 13:48:09 +08:00