Commit Graph

2863 Commits

Author SHA1 Message Date
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
dm chen fda32dcc51
Merge branch 'main' into feat/TD-26127-audit-sql 2023-09-18 09:41:47 +08:00
Haojun Liao 05e9f40834
Merge pull request #22828 from taosdata/enh/ipWhiteList
Enh/ip white list
2023-09-15 17:49:37 +08:00
shenglian zhou 658de2a04e fix: add create table sql to audit log 2023-09-15 09:56:56 +08:00
Haojun Liao 500fcad36c
Merge pull request #22892 from taosdata/fix/liaohj
refactor: do some internal refactor.
2023-09-15 00:46:46 +08:00
dapan1121 8ef01584ee
Merge pull request #22629 from taosdata/feat/TD-25620
feat: optimize partition node, replace with sort node
2023-09-14 17:26:15 +08:00
wangmm0220 8d2ac4a317 fix:return TSDB_CODE_PAR_VALUE_TOO_LONG if data value is longer than bytes & fix tsAssert default value to 0 2023-09-14 15:56:01 +08:00
Haojun Liao 9b70c0c457 fix:fix coverity issue and remove unnecessary files. 2023-09-14 09:06:10 +08:00
Yihao Deng fa302ac6b9
Merge branch '3.0' into enh/ipWhiteList 2023-09-13 10:14:08 +08:00
Haojun Liao 60f5056ab7 other: merge 3.0 2023-09-12 22:00:40 +08:00
yihaoDeng 7ce8f694dc Merge branch 'enh/dev3New' into enh/ipWhiteList 2023-09-12 15:54:06 +08:00
shenglian zhou d724762f68 fix: add audit sql to cmd request 2023-09-12 13:35:41 +08:00
Haojun Liao f602aa965f fix(stream): fix coverity scan issues. 2023-09-12 09:16:18 +08:00
yihaoDeng d549a47cf5 add rpc update interface 2023-09-11 15:17:20 +08:00
Haojun Liao 0f909285c4
Merge pull request #22684 from taosdata/mark/tmq-3.0
fix:use vgstatus before if rebalance
2023-09-07 09:20:27 +08:00
yihaoDeng e539eebaa2 add rpc update interface 2023-09-05 18:50:11 +08:00
wangmm0220 ef87b9c571 fix:conflicts from 3.0 2023-09-05 16:19:04 +08:00
wangmm0220 1716579081 fix:return TSDB_CODE_PAR_VALUE_TOO_LONG if data value is longer than bytes 2023-09-05 16:13:59 +08:00
dapan1121 07053ae525
Merge pull request #22725 from taosdata/fix/TS-3895
fix: fix last(*)/last_row(*) return MD5 hashed column name
2023-09-05 13:28:47 +08:00
dapan1121 4a5bcb5c80
Merge pull request #22650 from taosdata/szhou/ip-whitelist
enhance: ip whitelist syntax
2023-09-05 11:00:55 +08:00
wangjiaming0909 2c4e0fee07 feat: optimize partition node, replace with sort node 2023-09-05 10:53:30 +08:00
Ganlin Zhao 0fed045a12 fix: fix last(*)/last_row(*) return MD5 hashed column name 2023-09-04 18:33:50 +08:00
Haojun Liao 21dab8ceab other: merge 3.0 2023-09-04 13:08:19 +08:00
wangmm0220 fd85d5885a fix:add limit time for consume in 1 seconds 2023-09-01 16:57:49 +08:00
wangmm0220 f0fbe08e1d fix:core dump if tmq is null 2023-09-01 16:45:46 +08:00
yihaoDeng 832b78c0e8 Merge branch '3.0' into szhou/ip-whitelist 2023-09-01 13:44:23 +08:00
dapan1121 cc17848b78 fix: merge 3.0 to main 2023-09-01 13:24:47 +08:00
dapan1121 eda96e4301 Merge remote-tracking branch 'origin/main' into fix/m23.2 2023-09-01 11:02:54 +08:00
yihaoDeng 8b146f793d Merge branch '3.0' into szhou/ip-whitelist 2023-09-01 10:51:24 +08:00
dapan1121 228e6c6acd Merge remote-tracking branch 'origin/main' into 3.0 2023-09-01 10:01:10 +08:00
wade zhang 20a9ab16e0
Merge pull request #22664 from taosdata/fix/TD-26046
fix: remove constant partition
2023-08-31 18:37:53 +08:00
dapan1121 cff17434a2 fix: aggragate function omited issue 2023-08-31 16:23:00 +08:00
slzhou 16e3541d4a fix: windows compilation error 2023-08-31 15:44:42 +08:00
dapan1121 1709ab4849 fix: remove constant partition 2023-08-31 13:52:37 +08:00
wade zhang f9aaf42cd0
Merge pull request #22657 from taosdata/feat/TD-18789
fix:modify error tips
2023-08-31 11:05:29 +08:00
dapan1121 62d77c8be2
Merge pull request #22654 from taosdata/fix/TD-26046
fix: trim block and partition by constant function issue
2023-08-31 09:04:46 +08:00
slzhou 189c5cf137 fix: address sanitizer error 2023-08-31 07:55:21 +08:00
dapan1121 20552290cd fix: partition by constant function issue 2023-08-30 19:13:44 +08:00
wangmm0220 be893c1bb0 fix:modify error tips 2023-08-30 18:21:37 +08:00
slzhou f41783c73f fix: address sanitizer error 2023-08-30 17:12:12 +08:00
slzhou 82dc2de2f4 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/ip-whitelist 2023-08-30 17:11:42 +08:00
dapan1121 2e7897239a fix: trim block and partition by constant function issue 2023-08-30 16:51:44 +08:00
slzhou 25262c0dea fix: unknow error 2023-08-30 16:33:19 +08:00
Haojun Liao d87a525131
Merge pull request #22639 from taosdata/fix/TD-26025
fix create tag error
2023-08-30 16:28:16 +08:00
dapan1121 f94c849f23
Merge pull request #22540 from taosdata/fix/TS-3821
fix: use MD5 hash to fix aliasname not enough to hold dbname.tbname
2023-08-30 15:21:23 +08:00
slzhou 402a4c3d60 enhance: add test case 2023-08-30 15:13:43 +08:00
slzhou 1ab94d0992 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/ip-whitelist 2023-08-30 14:42:26 +08:00
slzhou 97f048364b enhance: regenerate sql.c 2023-08-30 14:37:04 +08:00
shenglian zhou b8205f23bf enhance: ip whitelist before debug 2023-08-30 14:32:46 +08:00
yihaoDeng cf98414dbd fix case error 2023-08-30 14:22:50 +08:00
Haojun Liao b1aa86a290
Merge pull request #22605 from taosdata/feat/TD-18789
feat:support varbinary type
2023-08-30 11:29:26 +08:00
yihaoDeng 89bb80db65 fix create tag error 2023-08-30 10:46:28 +08:00
shenglian zhou 33966cf856 enhance: continue coding 2023-08-29 17:35:03 +08:00
Ganlin Zhao d0fb485573 fix all possible overflow using md5 2023-08-29 15:51:29 +08:00
wangmm0220 34c7832850 feat:support stmt/tmq json in varbinary type 2023-08-29 15:24:12 +08:00
slzhou f280da26da Merge branch '3.0' of github.com:taosdata/TDengine into szhou/ip-whitelist 2023-08-29 14:16:37 +08:00
wangmm0220 201a8f0918 feat:support varbinary type 2023-08-28 19:06:16 +08:00
dapan1121 0cce255a02 Merge remote-tracking branch 'origin/3.0' into fix/m23.0 2023-08-28 10:06:53 +08:00
Haojun Liao 88f6596965
Merge pull request #22464 from taosdata/feat/TD-18789
feat:support varbinary type
2023-08-28 09:45:57 +08:00
dapan1121 1f40da6fef Merge remote-tracking branch 'origin/main' into 3.0 2023-08-28 09:28:55 +08:00
wangmm0220 e59536181c fix:bytes error 2023-08-25 22:21:33 +08:00
wangmm0220 9cd8df12c2 fix:memory leak 2023-08-25 16:32:01 +08:00
wangmm0220 26e025d78d feat:[TD-18789]support varbinary type 2023-08-25 15:43:45 +08:00
slzhou d5db4b16ba Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tags-after-distinct 2023-08-24 16:57:25 +08:00
Haojun Liao 3c6870275b fix(parser): update the key words for disk io throttling. 2023-08-24 16:45:47 +08:00
slzhou b16470414a enhance: ip range white list to user 2023-08-24 15:54:10 +08:00
slzhou f6dbd0b0e4 fix: select distinct/all tags instead of select tags distinct 2023-08-24 14:03:40 +08:00
wangjiaming0909 366a9cc009 Revert "feat: support column comment"
This reverts commit dcbef83dea.
2023-08-24 13:54:27 +08:00
wangjiaming0909 c2af41d0d0 Revert "feat: support alter table add column with comment"
This reverts commit cb027cc5c5.
2023-08-24 13:48:35 +08:00
wangjiaming0909 7fad1de841 Revert "feat: show create table, desc table with col comments"
This reverts commit 16754b5ac1.
2023-08-24 13:38:41 +08:00
dapan1121 efc5589aa2 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-18 14:11:26 +08:00
slzhou 4e2a26e8be Merge branch '3.0' of github.com:taosdata/TDengine into szhou/select-tags-scan 2023-08-18 08:46:17 +08:00
slzhou 85d1dbe00a Merge branch '3.0' of github.com:taosdata/TDengine into szhou/select-tags-scan 2023-08-17 16:27:37 +08:00
dapan1121 1b038d2dcd Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-17 16:08:39 +08:00
Benguang Zhao 7735e6f388 Merge branch 3.0 to FEAT/TD-25699-3.0 2023-08-17 16:04:23 +08:00
dapan1121 0e10e94a40
Merge pull request #22453 from taosdata/feat/TD-25685
feat: support column comment
2023-08-17 14:23:54 +08:00
dapan1121 e8fa9aa633 fix: join blockId and target issues 2023-08-17 13:50:26 +08:00
wangjiaming0909 16754b5ac1 feat: show create table, desc table with col comments 2023-08-17 11:39:34 +08:00
Benguang Zhao bad2bb52b5 enh: update test cases for show vnodes 2023-08-16 20:17:11 +08:00
Benguang Zhao 80518cf82b feat: support sql command show vnodes for all dnodes 2023-08-16 20:17:11 +08:00
wangmm0220 b3f945c4c5 fix:conflict 2023-08-16 19:35:05 +08:00
wangmm0220 f266d51764 feat:support varbinary type 2023-08-16 19:05:07 +08:00
slzhou c21559c3d5 fix: select tags - error of stmt can not be created 2023-08-16 16:00:16 +08:00
dapan1121 143c657571 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-16 14:50:31 +08:00
dapan1121 91d6734b34 fix: join condition push down issue 2023-08-16 14:28:39 +08:00
Benguang Zhao 8b26ea7a55 enh: add command show vnodes on dnode <dnode_id> 2023-08-16 13:31:52 +08:00
wangjiaming0909 cb027cc5c5 feat: support alter table add column with comment 2023-08-16 11:07:40 +08:00
Haojun Liao 63bc50a723
Merge pull request #22427 from taosdata/feature/rebuildIndex0
rebuild index at tag0
2023-08-16 09:47:43 +08:00
slzhou 1c9611ea51 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/select-tags-scan 2023-08-16 09:14:04 +08:00
wade zhang 1a1a12b7b8
Merge pull request #22327 from taosdata/fix/TD-25010-3
feat(tsdb/cos): s3 migration
2023-08-16 08:02:20 +08:00
wangjiaming0909 dcbef83dea feat: support column comment 2023-08-15 16:30:02 +08:00
slzhou 514da6e1b0 fix: select tags and set tag scan execution mode 2023-08-15 15:16:57 +08:00
wangmm0220 7441801e9d feat:support varbinary type 2023-08-15 13:57:05 +08:00
shenglian zhou 9fb9d863b9 enhance: modify sql.y 2023-08-15 11:29:17 +08:00
dapan1121 8fc0f1bbd6 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-15 09:00:53 +08:00
dapan1121 31b0bcd716 fix: taosd crash issue 2023-08-15 08:51:23 +08:00
dapan1121 f9f74eaaf4
Merge pull request #22406 from taosdata/fix/TD-24684
fix: remove ins_modules table
2023-08-15 08:42:08 +08:00
Haojun Liao 9e3733a02c
Merge pull request #22358 from taosdata/feat/TD-24559
feat:[TD-24559]support geomety type in schemaless
2023-08-14 22:06:41 +08:00
dapan1121 6a78053b51 feat: add hint supporting 2023-08-14 17:21:15 +08:00
yihaoDeng cf9f9ab471 rebuild index at tag0 2023-08-14 08:01:20 +00:00
dapan1121 6ce28e8886 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-14 10:49:56 +08:00
dapan1121 ae0426717a feat: add hint option 2023-08-14 10:47:56 +08:00
dapan1121 b4b9a12d61 fix: memory issue 2023-08-14 09:06:21 +08:00
dapan1121 c9656d3f77 fix: fix memory issues 2023-08-11 17:39:41 +08:00
dapan1121 8987553d9c fix: remove ins_modules 2023-08-11 15:56:38 +08:00
Minglei Jin 33967b243b
Merge branch '3.0' into fix/TD-25010-3 2023-08-10 12:14:01 +08:00
kailixu 1ce8d06032 fix: proj col compare func 2023-08-10 09:57:57 +08:00
dapan1121 1d0624bbf1 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-09 10:32:13 +08:00
slzhou 9b4bdd819b enhance: subquery can use expr primary key +/- value as primary key 2023-08-08 13:24:06 +08:00
wangmm0220 864d07e1bc feat:[TD-24559]support geomety type in schemaless 2023-08-07 19:39:06 +08:00
Minglei Jin fac7e521e9 s3/evict: fetch atime from stat file 2023-08-07 15:59:37 +08:00
dapan1121 0546bdceb2 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-07 11:23:15 +08:00
wade zhang 3a59b95211
Merge pull request #22226 from taosdata/wjm/fix/TD-25374
fix: window fill ts range check with int64 overflow
2023-07-30 14:32:31 +08:00
dapan1121 b7126b9cc6 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-07-28 18:01:11 +08:00
wangjiaming0909 6713882b48 fix: window fill ts range check with int64 overflow 2023-07-28 14:17:21 +08:00
Haojun Liao b145771a1b other: merge 3.0 2023-07-27 16:38:57 +08:00
Haojun Liao 3d403dca5a other: merge main. 2023-07-27 16:23:41 +08:00
dapan1121 4e5fbb52ee Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-07-26 13:56:46 +08:00
dapan1121 768a84647c
Merge pull request #22177 from taosdata/enh/TS-3625
fix: fix error message
2023-07-25 13:28:19 +08:00
Ganlin Zhao c9c7f99764 fix: fix error message 2023-07-25 09:49:23 +08:00
dapan1121 4f75eb5655 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-07-24 11:43:15 +08:00
wangmm0220 872222eb77 fix:[TD-25222] error in drop topic if topic num is too long 2023-07-17 19:52:07 +08:00
Ganlin Zhao 929db3d647 Merge branch '3.0' into enh/TS-2288 2023-07-17 16:09:07 +08:00
wangjiaming0909 ee7c8289aa fix: create sma index for us/ns database failed 2023-07-17 09:02:30 +08:00
Ganlin Zhao 7935d824b6 enhance show variables output 2023-07-14 13:57:02 +08:00
dapan1121 aca9c5fe19 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-07-14 13:31:07 +08:00
Haojun Liao e0ea0f2df4
Merge pull request #22020 from taosdata/fix/liaohj
other: merge main
2023-07-13 17:55:28 +08:00
Haojun Liao f41bcd73b0 other: merge main. 2023-07-13 11:02:09 +08:00
dapan1121 424c3d39fb
Merge pull request #22048 from taosdata/feat/TD-25003
feat: add new syntax for show tags/index/table tags
2023-07-13 09:46:11 +08:00
Ganlin Zhao b058f3c881 add syntax for show tags/index/table tags from db.tb 2023-07-12 13:50:17 +08:00
dapan1121 75c250f503 fix: report permission error when all columns are invisiable 2023-07-12 11:49:57 +08:00
Ganlin Zhao 5ec94c0697 add syntax for show tags/index/table tags from db.tb 2023-07-12 11:06:47 +08:00
Ganlin Zhao 48bc377233 add show command for system db 2023-07-11 13:56:02 +08:00
Haojun Liao 3ffdbe923d other: merge 3.0 2023-07-11 09:12:57 +08:00
wangmm0220 35ba132a29 fix:conflicts from main 2023-07-09 12:52:18 +08:00
wangmm0220 a5363e6e03 fix:test case in tmq 2023-07-09 12:49:50 +08:00
dapan1121 5b5b5648ac Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-07-07 19:32:50 +08:00
dapan1121 a99fac031c fix: fix coverity scan issues 2023-07-07 10:25:48 +08:00
dapan1121 328104a15a
Merge pull request #21971 from wangjiaming0909/fix/3.0/TD-25068
refine select interval from sys table error msg
2023-07-07 08:40:06 +08:00
wangjiaming0909 2de37b9426 refine select interval from sys table error msg 2023-07-06 13:52:52 +08:00
wangjiaming0909 1f71ce9409 feature: get last timestamp before create sma index 2023-07-06 10:33:22 +08:00
dapan1121 c85bbef2e9 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-07-05 11:13:57 +08:00
Haojun Liao 82342ebdc7
Merge pull request #21934 from taosdata/feature/TD-20678
feat:subscribe only meta info
2023-07-04 11:28:27 +08:00
wangmm0220 20e616d59d feat:parse sql.y 2023-06-30 19:36:39 +08:00
dapan1121 99fc0e0c96 fix: add with meta 2023-06-30 17:45:28 +08:00
wangmm0220 af16b62289 fix:modify sql.y 2023-06-30 16:57:29 +08:00
wangmm0220 58c7011e0e feat:support only meta in tmq subscriptions 2023-06-30 11:42:40 +08:00
dapan1121 7dddfd0a5a Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-06-29 19:29:27 +08:00
wade zhang 80130b2691
Merge pull request #21851 from luckeverda/fix/TD-24473
fix/TD-24542/TD-24484/TD-24473
2023-06-29 10:42:53 +08:00
Shungang Li 308ba7a02e fix: type geometry predicates support
support "=, <>, is null, is not null, in, not in"
2023-06-29 09:44:51 +08:00
dapan1121 9f0da17c49 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-06-28 19:40:55 +08:00
dapan1121 8f39b9d2e4 enh: optimize query plan 2023-06-27 19:36:51 +08:00
dapan1121 4dae9f4eff merge main to 3.0 2023-06-26 18:43:00 +08:00
Ganlin Zhao 77d2737f91 fix: fix userAlias issue when keepColumnName is set to true 2023-06-25 17:51:51 +08:00
wade zhang 254a20bdf3
Merge pull request #21660 from luckeverda/feat/TD-23739
feat/TD-23739: enhance ttl, deletetime modified by writing-op
2023-06-25 09:06:57 +08:00
Shungang Li b93f653d7e feat: enhance ttl, deletetime modified by writing-ops
new config item: ttlChangeOnWrite (default 0)
ttl delete time changes on last write if true
2023-06-19 19:03:35 +08:00
dapan1121 205e79ad28
Merge pull request #21736 from taosdata/fix/TD-24790
fix: fix fill double type column with scalar expression error
2023-06-15 18:45:40 +08:00
Ganlin Zhao 4e2eeed44c optimize 2023-06-15 16:31:36 +08:00
Haojun Liao 1b9eca5ce0 other: merge main. 2023-06-15 13:03:17 +08:00
Ganlin Zhao 61d089496d fix: fix fill double type column with scalar expression error 2023-06-15 10:58:39 +08:00
dapan1121 e52c6aae8c
Merge pull request #21620 from taosdata/fix/TD-24567-3.0
fix: tsma query with order by _wstart/_wend
2023-06-15 09:06:57 +08:00
dapan1121 73d3c21e21 Merge remote-tracking branch 'origin/3.0' into feat/TD-24499 2023-06-13 11:44:41 +08:00
dapan1121 48b9cac75c fix: fix no data in db issue 2023-06-13 11:44:13 +08:00
kailixu 4cd039c38e chore: compare funcNode without aliasName 2023-06-12 16:47:03 +08:00
dapan1121 170182fecd feat: support fill history with sub request 2023-06-12 16:10:54 +08:00
kailixu f5d28cdcd1 chore: more check 2023-06-12 10:49:17 +08:00
kailixu b200fdba51 chore: node type 2023-06-12 10:44:01 +08:00
kailixu 58c43901ed chore: another logic 2023-06-12 09:14:38 +08:00
dapan1121 988ee2b57a fix: consumer group issue 2023-06-09 11:13:22 +08:00
kailixu 1812b9e968 Merge branch '3.0' into fix/TD-24567-3.0 2023-06-09 09:55:47 +08:00
dapan1121 5a3d3713dc
Merge pull request #21601 from wangjiaming0909/fix/m/TS-3482
fix: select desc and asc return different rows after delete
2023-06-08 15:17:28 +08:00
kailixu 576e3d1156 chore: erase duplicated func node for window logic node 2023-06-08 11:49:49 +08:00
dapan1121 958160be0b
Merge pull request #21599 from taosdata/enh/TD-24274
enh: enable interp fill value support scarlar expression
2023-06-08 10:39:38 +08:00
Ganlin Zhao 150e9ae296 make interp fill multiple col logic same as window fill 2023-06-07 16:55:03 +08:00
dapan1121 01683f6d92
Merge pull request #21527 from taosdata/feat/TS-3048
feat(query): support single point interp
2023-06-06 18:17:20 +08:00
kailixu bcac24b6b7 fix: tsma query with order by _wstart/_wend 2023-06-06 17:19:59 +08:00
Ganlin Zhao e8eadeb9f5 Merge branch '3.0' into feat/TS-3048 2023-06-06 14:55:12 +08:00
dapan1121 65d323d9c7
Merge pull request #21222 from taosdata/fix/TD-24001
enh: optimize timeline function validation
2023-06-06 14:22:53 +08:00
wade zhang e12af9327e
Merge pull request #21612 from luckeverda/geo
fix: compress core by tDataTypes
2023-06-06 14:20:45 +08:00
Shungang Li 472665e4b1 fix: compress core by tDataTypes 2023-06-06 13:06:53 +08:00
slzhou beb2b7b467 fix: rewrite count(*) to count(1) for temp table 2023-06-06 07:39:14 +08:00
wangjiaming0909 73585b3552 fix: select desc and asc return different rows after delete 2023-06-05 17:44:34 +08:00
Ganlin Zhao 005182c3c9 fix multiple interp issue 2023-06-05 16:40:48 +08:00
Ganlin Zhao 6b670b7f08 fix desc 2023-06-05 15:48:15 +08:00
Ganlin Zhao be34546edd enh: enable interp fill value support scarlar expression 2023-06-05 15:19:06 +08:00
dapan1121 ddd3a53e56 Merge remote-tracking branch 'origin/3.0' into fix/TD-24001 2023-06-02 13:57:34 +08:00
Haojun Liao d45aa7ef84
Merge pull request #21555 from taosdata/fix/liaohj_main
other: merge main into 3.0.
2023-06-02 13:11:12 +08:00
dapan1121 6dda2e94f4 fix: distinct primary timestamp issue 2023-06-02 11:42:25 +08:00
Haojun Liao 5301c5756a other: merge main into 3.0. 2023-06-01 09:29:18 +08:00
dapan1121 23bcfc2fd0 enh: stmt column length validation 2023-05-31 09:16:47 +08:00
wangmm0220 b8a4df4146 fix:avoid put tag to select if where condition is always true or false 2023-05-30 16:50:20 +08:00
Ganlin Zhao 1009c80967 fix bug 2023-05-30 14:21:32 +08:00
Ganlin Zhao b83a4b14e7 allow omit every clause for single point interp 2023-05-29 17:34:35 +08:00
Ganlin Zhao 57c301553b feat(query): support single point interp syntax 2023-05-29 16:40:30 +08:00
dapan1121 ccf57129bb fix: show create table privilege issue 2023-05-29 16:33:31 +08:00
wangmm0220 78db3520a6 fix:conflict 2023-05-29 14:57:03 +08:00
dapan1121 60588af694 fix: add topic query 2023-05-29 13:33:51 +08:00
wangmm0220 208ba2ef4d fix:memory leak 2023-05-26 10:45:37 +08:00
dapan1121 e70c433a59 enh: support time line query from union/union all subquery 2023-05-26 08:44:23 +08:00
dapan1121 2713f4f6d4 feat: support create topic as stable with conditions 2023-05-25 19:01:58 +08:00
wangmm0220 357e86b994 feat:add tag filter for stable subscribe 2023-05-24 18:59:47 +08:00
wangmm0220 8537e4e80e feat:add tag filter for stable subscribe 2023-05-24 18:26:55 +08:00
Dingle Zhang 984211f3b4
Feature/3.0 geometry (#21037)
* Add GEOMETRY data type and make sql.c able to parse it. The GEMETRY works like BINARY so far.

* add GEOMETRY type into gConvertTypes to fix some issues like DELETE calling

* change some test cases to make sure no same timestamp is inserted, and add my smoketest.sh

* Add a function MakePoint() and introduce a lib geometry

* implement sql functions GeomFromText() and AsText()

* Use GEOS *_r funcions instead for thread safety

* Handle with TSDB_DATA_TYPE_GEOMETRY when INSERT geometry data by converting WKT.
Add geosWrapper to wrap the basic GEOS functions for TDEngine.

* refactor AsText and MakePoint functions to be like GeomFromText

* Show WKT when print geometry data in screen
Dump hex data when dump geometry data in a file

* define TYPE_BYTES item for TSDB_DATA_TYPE_GEOMETRY, which casued some strange issues.

* set number of decimals of WKT to 6

* Implement SQL function Intersects()

* refactor geometry sql functions

* Add geosErrMsgeHandler() to get the GEOS error detail

* use threadlocal to instantiate SGeosContext
call destroyGeosContext() only if the thread exists

* remove SGeosContext *context param for all geometry functions since we use thread local one,
so that all caller do not need to know the context.

* Modify Intersects() to call PreparedIntersects() when one of param is a constant, which has higher performance.

* rename prepareFn() to initCtxFn() to avoid confusion with PreparedFn

* Add prefix "ST_" for all geometry functions

* move getThreadLocalGeosCtx() and destroyThreadLocalGeosCtx() into util,
so that all unit test tools can compile

* Add unit test for geometry lib, only test MakePoint so far

* refactor and enhance existing cases in geomFuncTest

* implement NULL type and NULL value test for geomFuncTest

* add test on geomFromText()

* add unit test on AsText() in geomFuncTest

* combine some makePointFunction test items

* add intersectsFunctionTwoColumns test
refactor on callGeomFromTextWrapper functions

* enhance intersectsFunction test to add cases like input constant , NULL type, NULL value, or wrong content

* add more cases into intersectsFunction test

* Add basic test on geometry in system test

* Add ST_GeomFromText and ST_AsText function test in system test on geometry

* add ST_Intersects function test in system test on geometry

* support to check expectedErrno in system test on geometry

* adjust geomTest unit test and geometry system test

* add geometry data type and functions in doc english version

* implement touchesFunction() in geometry lib
refactor geometry relation functions model

* separate gemFuncTest into several src files

* add unit test on touchesFunction

* support sql function ST_Touches()
add system test on ST_Touches

* add docs for ST_Touches()

* Add ST_Contains()

* Add ST_Covers()

* Add ST_Equals()

* add swapAllowed param for geomRelationFunction()
read geom2 earlier intead of at doGeosRelation()

* Add ST_ContainsProperly()

* build on windows

* Merge from 3.0 to 3.0_geometry

* change macro definition TSDB_DATA_TYPE_GEOMETRY as the last one for compatibility

* change '\\NULL' to 'NULL' back in shellDumpFieldToFile()

* add /usr/local/include into include directory

* add /usr/local/inlcude and /usr/local/lib in cmake.platform for DARWIN
2023-05-24 15:36:46 +08:00
dapan1121 b52f867a1f fix: rebuild table data issue 2023-05-24 09:56:59 +08:00
dapan1121 5bedf6b19a enh: support config batch rows number when import data from csv file 2023-05-23 19:21:52 +08:00
wangmm0220 8c1c2a2f97 fix:add grammar support 2023-05-23 17:47:17 +08:00
dapan1121 4c88fd08de Merge remote-tracking branch 'origin/3.0' into fix/TD-24001 2023-05-23 09:25:37 +08:00
dapan1121 70444e2d82
Merge pull request #21329 from taosdata/feat/TD-21187
feat(query): interp support ignore null value opition
2023-05-20 14:14:21 +08:00
dapan1121 d801aaa2e6
Merge pull request #21352 from taosdata/fix/TD-24218
fix: fix interp in nested query and fill value with string issue
2023-05-20 14:10:26 +08:00
dapan1121 6e5ec3d097
Merge pull request #21358 from taosdata/feat/TD-23362-3.0
feat: support update active code by SQL
2023-05-20 14:09:20 +08:00
Ganlin Zhao a3ca23b688 forbid interp ignoring null value used for multiple cols 2023-05-19 16:43:39 +08:00
Haojun Liao 1e020a46c9 other: merge main. 2023-05-19 09:07:35 +08:00
Haojun Liao d4b0e102af fix:do some internal refactor. 2023-05-19 08:55:59 +08:00
kailixu 8eb4367d46 fix: range check and test case adjust 2023-05-19 06:50:12 +08:00
Ganlin Zhao 0a41ba1573 add test cases 2023-05-18 18:48:00 +08:00
dapan1121 5ac91597b6
Merge pull request #21310 from wangjiaming0909/fix/TS-3398
fix: select <expr1>, <expr1##sth else> from ... return error data whe…
2023-05-18 10:07:06 +08:00
Ganlin Zhao 20684f873e fix interp in nested query report error 2023-05-17 17:49:07 +08:00
dapan1121 ab7cb995a2 fix: join push down condition issue 2023-05-17 15:31:53 +08:00
wangjiaming0909 789b0c7178 fix: select <expr1>, <expr1##sth else> from ... return error data when strlen(expr1) > TSDB_COL_NAME_LEN 2023-05-16 15:42:30 +08:00
dapan1121 cf7b4593e7 feat: add drop dnode unsafe command 2023-05-16 09:50:10 +08:00
Haojun Liao 99148d6719 other: merge 3.0 2023-05-13 20:02:48 +08:00
Haojun Liao 236926b9ee other: merge enh/rocksdbstate 2023-05-13 19:49:28 +08:00
Haojun Liao 1975e94501 Merge branch 'main' into enh/rocksdbSstate 2023-05-13 19:41:03 +08:00
dapan1121 0c744e864b
Merge pull request #21258 from taosdata/szhou/fix-td24084
fix: bypass projection pruning if union set op and subquery
2023-05-12 17:02:54 +08:00
dapan1121 9394afec68
Merge pull request #21144 from taosdata/feat/TD-19801
feat(query): support interp with super table
2023-05-12 11:37:20 +08:00
kailixu f4d90fb9bb fix: column length check when update/add column 2023-05-11 20:59:07 +08:00
slzhou e8c1745d17 Merge branch 'main' of github.com:taosdata/TDengine into szhou/fix-td24084 2023-05-11 16:04:46 +08:00
slzhou e58fda2bdd fix: bypass projection pruning if union set op and subquery 2023-05-11 16:04:06 +08:00
yihaoDeng 5708fcb5cb Merge branch 'enh/3.0' into enh/rocksdbSstateMerge 2023-05-10 08:02:16 +00:00
dapan1121 eb7cd25e2e enh: support nest partition by clause 2023-05-10 14:34:41 +08:00
Yihao Deng c6e5879f44
Merge branch 'main' into enh/rocksdbSstate 2023-05-10 10:04:28 +08:00
dapan1121 7ab11c42f4 fix: vnode key word issue 2023-05-10 09:07:52 +08:00
yihaoDeng 8356533eb1 Merge branch 'enh/standVer' into enh/rocksdbSstateMerge 2023-05-09 12:13:16 +00:00
dapan1121 2c403266e3 feat: support restore dnode clause 2023-05-09 19:29:57 +08:00
dapan1121 a8c65cd25a feat: support restore dnode clause 2023-05-09 19:19:14 +08:00
dapan1121 7ea23a33bc enh: optimize time line function validation 2023-05-09 16:37:08 +08:00
shenglian zhou 50feb64748 fix: add check nchar/varchar column length for normal table 2023-05-09 14:29:09 +08:00
dapan1121 5d4830956a
Merge pull request #21187 from taosdata/szhou/fix-ts23905-ts23865
fix: forbid some stream computing
2023-05-08 16:24:00 +08:00
slzhou 2f45a3dfdb fix: change variable name 2023-05-08 14:42:31 +08:00
yihaoDeng 08c3a63341 Merge branch 'enh/standVer' into enh/rocksdbSstateMerge 2023-05-06 12:37:54 +00:00
slzhou 04e9648d8e enhance: change variable name 2023-05-06 17:16:27 +08:00
slzhou 276e5daa8c fix: pseudo column function are treated as variable 2023-05-06 17:13:14 +08:00
shenglian zhou 83c857a017 fix: fix compilation error 2023-05-06 16:17:34 +08:00
shenglian zhou c8ac3a581e fix: forbid some stream computing 2023-05-06 15:50:38 +08:00
dapan1121 e798ef8645
Merge pull request #21168 from taosdata/fix/TD-23985
fix: having clause issues
2023-05-06 13:40:42 +08:00
Haojun Liao da6212bab0 other: merge main. 2023-05-06 12:51:38 +08:00
dapan1121 47791dfe2f fix: group by validation issue 2023-05-06 11:02:20 +08:00
Haojun Liao 5d4a3116d5
Merge pull request #21139 from taosdata/fix/liaohj_main
refactor: do some internal refactor.
2023-05-06 09:49:26 +08:00
dapan1121 997be0a3ed fix: having clause issues 2023-05-05 17:04:36 +08:00
dapan1121 e889249c54 fix: grant no table specifed issue 2023-05-05 14:33:09 +08:00
dapan1121 3976504b47 fix: subtable grant is not allowed 2023-05-05 14:01:15 +08:00
Haojun Liao 23c49594b7 other: merge main. 2023-05-04 16:41:53 +08:00
Haojun Liao 09a04052ec refactor: do some internal refactor. 2023-05-04 16:15:14 +08:00
dapan1121 70761fd959 enh: optimize tbname condition 2023-04-28 17:56:52 +08:00
liuyao 2984c5a758 merge main 2023-04-28 10:34:46 +08:00
kailixu fa822ff286 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-27 19:11:16 +08:00
Haojun Liao e1bd65ec0a
Merge pull request #21105 from taosdata/fix/liaohj_main
fix(query): check the init status for pReader->status.merger  TD-23903
2023-04-27 12:40:13 +08:00
Haojun Liao db1d75bb48 refactor: do some internal refactor. 2023-04-27 09:28:20 +08:00
dapan1121 51a1e07dbf
Merge pull request #21029 from taosdata/fix/TD-23797
fix: fix crash caused by deleting from system table
2023-04-26 17:48:58 +08:00
Ganlin Zhao 0ec4bbdfbc enable interp used with super table 2023-04-26 09:48:13 +08:00
Xiaoyu Wang 05dc0fd6b1
Merge pull request #21056 from taosdata/feat/TD-23693
feat: subtable level privilege
2023-04-26 09:17:23 +08:00
kailixu a6e37622ff chore: more code 2023-04-25 22:15:06 +08:00
Xiaoyu Wang e584bb3ea1 feat: subtable level privilege 2023-04-25 17:39:28 +08:00
kailixu 2d4dd64584 chore: more code 2023-04-24 20:21:28 +08:00
dapan1121 de1161dafb enh: ignore single row null data type validation 2023-04-24 19:22:44 +08:00
Ganlin Zhao 80621e14eb refactor 2023-04-24 17:24:07 +08:00
Ganlin Zhao 782566ad08 refactor 2023-04-24 17:15:46 +08:00
Xiaoyu Wang dc5235eb92 feat: add pause/resume stream statement 2023-04-24 14:48:33 +08:00
Ganlin Zhao 1251245c2a move code to parser 2023-04-24 09:49:03 +08:00
Xiaoyu Wang 4bb7a25fc7 feat: subtable level privilege 2023-04-23 16:30:28 +08:00
Xiaoyu Wang aba9a236c0 compiled sql.y 2023-04-23 11:20:34 +08:00
yihaoDeng 917b07348c Merge branch 'fix/rocksdbState' into enh/rocksRevert 2023-04-23 02:37:26 +00:00
dapan1121 176f7740c3 fix: memory leak issue 2023-04-21 16:41:39 +08:00
kailixu 77a8e3b213 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-21 16:04:09 +08:00
dapan1121 877b6e7053 fix: add table_prefix/table_suffix cases 2023-04-21 14:58:58 +08:00
dapan1121 3c2fc48e74 feat: support new table_prefix/table_suffix mode 2023-04-21 14:17:07 +08:00
Xiaoyu Wang 0dad9322f3 fix: invalid identifier check 2023-04-20 15:08:41 +08:00
Xiaoyu Wang 5367f25b4d feat: the having clause can be used after the partition by clause or window clause 2023-04-19 16:55:08 +08:00
dapan1121 4a9d62b467 enh: ignore single row null data type validation 2023-04-19 10:18:41 +08:00
Xiaoyu Wang 61cc72c19a
Merge pull request #20961 from taosdata/enh/3.0_planner_optimize
feat: the fill value clause supports constant expressions
2023-04-18 16:24:29 +08:00
Xiaoyu Wang 1d2764ebdb feat: the fill value clause supports constant expressions 2023-04-18 15:36:50 +08:00
kailixu 50053fdc01 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-18 11:13:30 +08:00
kailixu fd3b552357 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-17 11:42:46 +08:00
dapan1121 d4cb608505
Merge pull request #20885 from taosdata/fix/TS-3108
fix: fix timestamp constant comparison precision error
2023-04-14 09:27:03 +08:00
Xiaoyu Wang e9f5717bb3
Merge pull request #20926 from taosdata/fix/main_wxy
fix: optimizing 'alter table drop tag' error reporting
2023-04-14 09:12:03 +08:00
Xiaoyu Wang 06d9a74bcc fix: optimizing 'alter table drop tag' error reporting 2023-04-13 19:38:47 +08:00
Xiaoyu Wang 17b5669555 fix: optimizing 'alter table drop tag' error reporting 2023-04-13 17:32:31 +08:00
Xiaoyu Wang d3642c84a2 Merge remote-tracking branch 'origin/3.0' into fix/3.0_merge_main 2023-04-13 16:36:30 +08:00
Ganlin Zhao b51477343d fix crash 2023-04-13 15:50:30 +08:00
Xiaoyu Wang 1266d8c84a Merge remote-tracking branch 'origin/main' into fix/main_wxy 2023-04-13 15:25:40 +08:00
Xiaoyu Wang a4d818c982 fix: alter table check 2023-04-13 15:25:36 +08:00
Ganlin Zhao fbbd3e4bdd fix: fix illegal usage of _isfilled/_irowts 2023-04-13 14:33:06 +08:00
Xiaoyu Wang a44d455e56 merge 3.0 2023-04-13 14:32:05 +08:00
Ganlin Zhao d1544e8859 fix: fix illegal usage of _isfilled/_irowts 2023-04-13 14:05:04 +08:00
Ganlin Zhao 7414f28d17 fix translatefunc not getting precision issue 2023-04-13 11:22:15 +08:00
dapan1121 9ad17dddaf
Merge pull request #20890 from taosdata/fix/TS-3137-M
fix: the precision of delete statement
2023-04-12 19:41:29 +08:00
kailixu 1ed3149c39 fix: the precision of delete statement 2023-04-12 17:41:43 +08:00
Xiaoyu Wang 5ea2ba0a38 fix: error querying after setting permissions for varchar type tags 2023-04-12 17:39:23 +08:00
kailixu 2daab8e65e Merge branch '3.0' into enh/TD-21161-3.0 2023-04-12 13:10:12 +08:00
kailixu 04fa4d2e87 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-12 13:05:47 +08:00
Xiaoyu Wang 8b8ac0cd77 merge main 2023-04-12 10:43:28 +08:00
Xiaoyu Wang 4c04b155d5 merge main 2023-04-11 15:56:28 +08:00
Xiaoyu Wang 42a5a87e96 fix: table level privilege 2023-04-11 15:08:42 +08:00
Xiaoyu Wang 416af9a58d feat: table level privilege 2023-04-11 10:11:25 +08:00
Xiaoyu Wang e2f82f4423 merge main 2023-04-10 09:56:03 +08:00
kailixu e976fcb91d Merge branch '3.0' into enh/TD-21161-3.0 2023-04-07 17:51:35 +08:00
Xiaoyu Wang 0f2c753103 feat: table level privilege 2023-04-07 16:39:40 +08:00
wangmm0220 05ec2b0928 fix:[TD-23517] set offset type to wal if only meta & check if tag is the same type in schemaless 2023-04-07 14:24:29 +08:00
Xiaoyu Wang f44c219360 feat: table level privilege 2023-04-07 11:15:05 +08:00
dapan1121 062a3dc97d
Merge pull request #20758 from taosdata/szhou/fix-td23454
fix: interp pseudo column can not be used without interp function
2023-04-07 08:50:51 +08:00
Xiaoyu Wang 54f13f6f55
Merge pull request #20756 from taosdata/fix/3.0_merge_main
merge main
2023-04-06 15:44:23 +08:00
Haojun Liao 2b2059ef18
Merge pull request #20534 from taosdata/fix/TD-22671
fix:error in TD-23218 & remove useless logic
2023-04-06 11:47:24 +08:00
dapan1121 a61279ed71 Merge branch 'feat/table_level_privilege' of github.com:taosdata/TDengine into feat/table_level_privilege 2023-04-06 10:02:26 +08:00
dapan1121 d768f49dd7 feat: table level user auth 2023-04-06 10:01:27 +08:00
Xiaoyu Wang 9b2a94f281 fix: column comment is not supported 2023-04-04 18:04:10 +08:00
Xiaoyu Wang cc7485812a feat: add 'or replace' clause to 'create function' statement 2023-04-04 17:45:18 +08:00
Xiaoyu Wang 6825b196ef feat: table level write privilege check 2023-04-04 17:19:18 +08:00
slzhou bf486e99f2 fix: change eror msg 2023-04-04 15:20:35 +08:00
Xiaoyu Wang e9d7a099cc merge main 2023-04-04 14:50:58 +08:00
shenglian zhou d547b9e38f fix: interp pseudo column can not be used without interp function 2023-04-04 11:27:54 +08:00
wangmm0220 1d7581f660 fix:conflicts from main 2023-04-03 19:59:33 +08:00
Xiaoyu Wang 16394862a6 enh: last_row is keep order function 2023-04-03 18:11:46 +08:00
kailixu 37bc1bca36 enh: column/row max length support up to 64K 2023-04-03 17:00:52 +08:00
Xiaoyu Wang e2f58a555d enh: convert the month and year in interval-offset to a database precision duration 2023-04-03 11:24:29 +08:00
wangmm0220 446f31925e fix:conflict from main 2023-04-02 23:47:58 +08:00
Xiaoyu Wang a75da00071
Merge pull request #20724 from taosdata/fix/main_bugfix_wxy
fix: error in optimizing useless columns for multi-level set operators
2023-04-01 09:11:24 +08:00
wangmm0220 97b5c7abee fix:merge from main 2023-03-31 16:20:21 +08:00
Xiaoyu Wang 41b2c2d8fd fix: error in optimizing useless columns for multi-level set operators 2023-03-31 16:16:14 +08:00
wangmm0220 2dcf68fc5e Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TS-3039 2023-03-31 14:17:51 +08:00
wangmm0220 373c128a7a fix:[TS-3038] coredump if nchar data not clear SColVal in schemaless 2023-03-31 14:16:39 +08:00
Xiaoyu Wang 5babaf9e92 feat: table level read privilege check 2023-03-31 10:45:21 +08:00
dapan1121 a8da9f31e7 fix: join query error 2023-03-30 18:04:32 +08:00
Xiaoyu Wang 6265251a03 feat: table level privilege syntax 2023-03-29 19:08:40 +08:00
wangmm0220 2243184a4d fix:conflicts 2023-03-29 17:53:05 +08:00
Xiaoyu Wang c1452851e3 fix: error in determining whether last(t.*) is a selection function 2023-03-29 14:39:37 +08:00
Haojun Liao 2e52415e56
Merge pull request #20677 from taosdata/fix/TD023101
fix:[TD-23339] parse block error
2023-03-29 10:44:14 +08:00
wangmm0220 6f6239a7fa fix:[TD-23339] parse block error 2023-03-29 09:44:26 +08:00
wangmm0220 d5a06da96e fix:[TD-23339] parse block error 2023-03-29 09:31:00 +08:00
Xiaoyu Wang daaf4871ac feat: table level privilege syntax 2023-03-28 18:43:58 +08:00
wangmm0220 d0c55ef572 fix:conflicts 2023-03-28 18:12:13 +08:00
wangmm0220 b11a105327 fix:[TD-23339] parse block error 2023-03-28 17:36:23 +08:00
Haojun Liao 9b5e53c821
Merge pull request #20642 from taosdata/fix/TD023101
fix:add test case for raw_block interface
2023-03-28 09:46:09 +08:00
Xiaoyu Wang c4791d58a6 fix: create stream does not support event_window 2023-03-27 16:09:38 +08:00
wangmm0220 5a2e3c1603 fix:add test case for raw_block interface 2023-03-27 10:32:30 +08:00
wangmm0220 f1d67b6059 fix:conflict 2023-03-25 19:03:23 +08:00
wangmm0220 8823997941 fix:case error & add NONE for rows to col mode 2023-03-25 15:56:22 +08:00
wangmm0220 9f5e435140 fix:conflict from main 2023-03-25 11:49:37 +08:00
wangmm0220 5d06474f2e fix:send data batch if consume wal where subscribe db 2023-03-24 14:43:29 +08:00
wangmm0220 dcaab41a27 fix:error in optimize consume logic 2023-03-24 13:20:03 +08:00
Xiaoyu Wang 18b039fecd
Merge pull request #20603 from taosdata/enh/3.0_planner_optimize
fix: udf error check
2023-03-23 18:44:23 +08:00
Xiaoyu Wang ca2e566319 enh: improve error reporting information 2023-03-23 17:56:56 +08:00
Xiaoyu Wang e15e40abdf enh: improve error reporting information 2023-03-23 14:15:49 +08:00
slzhou 40a78bde50 fix: unknow db error when query ins_tables with table_name="" 2023-03-23 13:52:53 +08:00
Xiaoyu Wang fddf3f16cf fix: udf error check 2023-03-22 19:09:26 +08:00
dapan1121 a14631dc80
Merge pull request #20601 from taosdata/fix/TS-2904.2
fix: restore removed code
2023-03-22 18:24:29 +08:00
dapan1121 ddbc0e2e61 fix: restore removed code 2023-03-22 17:37:57 +08:00
wangmm0220 dd4cf0597b fix:error in optimize consume logic 2023-03-22 17:04:02 +08:00
dapan1121 5b02af6a91 fix: merge main to 3.0 2023-03-22 16:08:16 +08:00
dapan1121 225db18fdb fix: union all translate issue 2023-03-22 13:37:35 +08:00
Xiaoyu Wang f97b66e8da merge 3.0 2023-03-22 11:55:59 +08:00
Xiaoyu Wang eb79046a70 merge 3.0 2023-03-22 11:42:02 +08:00
Xiaoyu Wang fbc9b2404e feat: add sql command 'balance vgroup leader' 2023-03-22 09:53:56 +08:00
dapan1121 a4eef9ea1f
Merge pull request #20570 from taosdata/szhou/fix-td23266
fix: create function error for json/decimal/blob/varbinary type
2023-03-22 09:47:17 +08:00
cadem ea35f0ae11 feat/balance vgroup leader 2023-03-22 09:36:59 +08:00
wangmm0220 ba6226c079 Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TD023101 2023-03-21 19:28:58 +08:00
wangmm0220 74c201bc09 fix:create same table use writemetadata interface 2023-03-21 18:58:41 +08:00
Xiaoyu Wang 58ebd3539d feat: alter database wal_retention_period/wal_retention_size 2023-03-21 16:45:19 +08:00
slzhou b9edd24d3f fix: create function error for json/decimal/blob/varbinary type 2023-03-21 00:38:13 -08:00
wangmm0220 220d4bf86a fix:add log 2023-03-21 14:38:13 +08:00
Haojun Liao ea0cc2c584
Merge pull request #20554 from taosdata/fix/TS-2828
fix: add retry if insert error with meta change
2023-03-21 09:01:22 +08:00
wangmm0220 7849459bef fix:add log 2023-03-20 18:20:01 +08:00
wangmm0220 a5144f0ba2 fix:set offset if read wal none 2023-03-20 10:10:07 +08:00
wangmm0220 d5328b7a2b fix:add log for schmaless 2023-03-17 19:11:40 +08:00
dapan1121 f5aabde528
Merge branch 'main' into fix/TD-23161 2023-03-17 19:00:04 +08:00
dapan1121 b56360c55b
Merge pull request #20509 from taosdata/enh/TS-2904
enh: optimize count(1) performance
2023-03-17 18:16:58 +08:00
dapan1121 28905af158 fix: column alisa issue and ut case 2023-03-17 17:01:46 +08:00
dapan1121 af5c214e16 fix: count(1) from nested query issue 2023-03-17 16:36:13 +08:00
dapan1121 746174ea45 fix: remove count optimize 2023-03-17 16:16:15 +08:00
dapan1121 c2f346407d fix: order by error info 2023-03-17 15:17:09 +08:00
dapan1121 f45f3b460f enh: optimize count(1) performance 2023-03-17 14:30:58 +08:00
wangmm0220 fa2e7b234c fix:add log for schemaless & sleep longer if modify schema error 2023-03-16 19:13:15 +08:00
wangmm0220 49b3649c55 fix:add log if sml value is too long 2023-03-13 16:54:23 +08:00
Shengliang Guan 041f03e918
Merge pull request #20414 from taosdata/feat/TD-23058
feat: correct slimit&limit clause
2023-03-12 20:48:16 +08:00
slzhou 9df6609448 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/python-udf 2023-03-12 09:41:09 +08:00
Xiaoyu Wang a846c26ef9 merge main 2023-03-11 16:14:27 +08:00
dapan1121 5df32cbc78 feat: correct slimit&limit clause 2023-03-11 13:08:20 +08:00
Xiaoyu Wang 822bb11a26 fix: invalid topic query 2023-03-10 18:23:30 +08:00
slzhou 89d05296d8 fix: add varchar/nchar udf support 2023-03-10 14:56:35 +08:00
Shengliang Guan e2b99145eb
Merge pull request #20376 from taosdata/fix/TS-2828
fix:[TS-2828] retry if ver is old
2023-03-10 10:04:41 +08:00
WANG MINGMING 0dec8dd844
Merge pull request #20375 from taosdata/fix/TD-22671
fix:add error log
2023-03-09 19:49:57 +08:00
Xiaoyu Wang e5de317f44 feat: alter database stt_trigger/minrows 2023-03-09 16:04:38 +08:00
dapan1121 273d0c0c07 fix: all columns are invisiable in system table query 2023-03-09 10:40:27 +08:00
wangmm0220 49e2924f1d fix:add error log 2023-03-08 17:02:19 +08:00
Xiaoyu Wang 4c8bab7e58 merge main 2023-03-08 10:59:33 +08:00
Shengliang Guan b11ac8aac7
Merge pull request #20297 from taosdata/fix/main_wxy
feat: the compact command adds 'start with end with' clause
2023-03-07 16:14:14 +08:00
Xiaoyu Wang df0d200f59 feat: the compact command adds 'start with end with' clause 2023-03-07 15:24:04 +08:00
dapan1121 dd2137eab7 fix: empty ts range in nested query 2023-03-07 09:22:20 +08:00
Xiaoyu Wang 599967d39f feat: add language clause for create function 2023-03-04 11:08:50 +08:00
Shengliang Guan b4c7c16aa9
Merge pull request #20259 from taosdata/fix/main_bugfix_wxy
fix: create stream syntax check
2023-03-04 10:08:55 +08:00
Xiaoyu Wang e937c77275 fix: create stream syntax check 2023-03-03 18:35:51 +08:00
Xiaoyu Wang 9305b0efd0 fix: create stream syntax check 2023-03-03 16:57:13 +08:00
dapan1121 f7a20af538 fix: taosc crash caused of ordering by string 2023-03-03 11:47:08 +08:00
Shengliang Guan eeca7653b9
Merge pull request #20234 from taosdata/fix/TD-22868
fix:set timestamp precision
2023-03-02 17:21:37 +08:00
dapan1121 2a5074870d fix: add missing db options in show create database result 2023-03-02 11:33:29 +08:00
54liuyao 8a23f0ce3b fix:set timestamp precision 2023-03-01 18:59:27 +08:00
Xiaoyu Wang b855816780
Merge pull request #20206 from taosdata/fix/main_wxy
fix: a plan error of set operator subquery
2023-02-28 19:33:56 +08:00
54liuyao fe4123e814 feat:window close && ignore expired 2023-02-28 18:20:58 +08:00
Xiaoyu Wang ca624678b1 fix: a plan error of set operator subquery 2023-02-28 17:28:23 +08:00
Xiaoyu Wang e7a19755c6 fix: a plan error of set operator subquery 2023-02-28 16:02:49 +08:00
Xiaoyu Wang f97a140a3c merge 3.0 2023-02-27 14:16:33 +08:00
dapan1121 ec6c25e342
Merge branch '3.0' into fix/TD-22762 2023-02-25 10:59:23 +08:00
Xiaoyu Wang d6dd087f84 merge main 2023-02-25 10:29:20 +08:00
dapan1121 eac27fc0fd fix: empty ts range query issue 2023-02-24 18:39:17 +08:00
Hui Li 965d91572a
Merge pull request #20148 from taosdata/fix/3_coverity
fix(query): fix syntax errors on centos.
2023-02-24 17:39:12 +08:00
Xiaoyu Wang 67a94707b7
Merge pull request #20104 from taosdata/feat/3.0_wxy
enh: drop tables syntax optimization
2023-02-24 16:57:30 +08:00
Haojun Liao 22aa03307c fix(query): fix syntax errors on centos. 2023-02-24 11:38:54 +08:00
dapan1121 78d72a7db2 fix: alter column length too big issue 2023-02-23 14:21:14 +08:00
Xiaoyu Wang 618c934fb2 enh: drop tables syntax optimization 2023-02-22 15:16:16 +08:00
Xiaoyu Wang 62e3fd2cc6 fix: create stream semantic check 2023-02-21 19:19:43 +08:00
Xiaoyu Wang 319dfd8f06 merge 3.0 2023-02-20 17:21:37 +08:00
Haojun Liao ad0be66a78
Merge pull request #19935 from taosdata/enh/dynamicIdx
feat:  change  index dynamicly
2023-02-20 15:48:49 +08:00
Xiaoyu Wang c597de099f merge main 2023-02-20 13:41:27 +08:00
Xiaoyu Wang 6ecd5b2971
Merge pull request #20019 from taosdata/enh/3.0_planner_optimize
feat: compatible with older versions of wal
2023-02-18 19:34:28 +08:00
Xiaoyu Wang 9e5f8b154b fix: grammer check 2023-02-17 09:56:41 +08:00
Xiaoyu Wang dc984d92f7 feat: compatible with older versions of wal 2023-02-17 09:21:07 +08:00
Xiaoyu Wang 031a13c945 fix: create stream check and error code wrong 2023-02-14 11:24:44 +08:00
Ganlin Zhao 606993dc1d fix: restrict interp query on stable for now 2023-02-14 10:22:09 +08:00
Yihao Deng 5af1faf916
Merge branch '3.0' into enh/dynamicIdx 2023-02-13 13:36:06 +08:00
yihaoDeng a929aa22d8 merge 3.0 2023-02-12 10:48:18 +08:00
Xiaoyu Wang 3382a24a69 merge main 2023-02-10 18:03:11 +08:00
Xiaoyu Wang b2e60da1cf merge main 2023-02-10 10:34:55 +08:00
Xiaoyu Wang 86d231ce50
Merge pull request #19872 from taosdata/feat/vnode_compact
feat: data compaction
2023-02-09 16:24:50 +08:00
yihaoDeng 5315500287 fix filter error 2023-02-09 16:09:46 +08:00
Haojun Liao 6cf363600b
Merge pull request #19785 from taosdata/fix/TD-21899
fix:auto create table & NULL NONE problem for taosx
2023-02-09 15:31:13 +08:00
Xiaoyu Wang fcff07675d merge main 2023-02-09 11:29:38 +08:00
Xiaoyu Wang 9bc225ffda merge 3.0 2023-02-09 09:44:29 +08:00
Xiaoyu Wang 79440f7a26
Merge pull request #19860 from taosdata/fix/3.0_merge_main
merge main
2023-02-09 09:22:19 +08:00
Liu Jicong ae4ad7d851 Merge branch 'main' into enh/stream_buffer_param 2023-02-08 16:09:35 +08:00
Hongze Cheng 89cc687b42 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2023-02-08 13:17:43 +08:00
Xiaoyu Wang 0ec0717263 fix: invild free 2023-02-08 10:35:25 +08:00
Xiaoyu Wang 09925437e3 merge main 2023-02-08 09:51:52 +08:00
Xiaoyu Wang a52371959e feat: add ignore update option for create stream 2023-02-07 19:31:08 +08:00
Xiaoyu Wang e91b9ff47c fix: keepcolumnname is invalid in nested query 2023-02-07 19:05:41 +08:00
dapan1121 ded47e1312 Merge remote-tracking branch 'origin' into feat/TS-2502 2023-02-06 17:22:18 +08:00
Xiaoyu Wang f2ff17dace merge 3.0 2023-02-06 14:18:13 +08:00
Xiaoyu Wang 5639132708
Merge pull request #19804 from taosdata/fix/main_bugfix_wxy
fix: insert syntax error
2023-02-06 12:52:52 +08:00
Xiaoyu Wang 2b4adceb93 fix: insert syntax error 2023-02-06 11:07:51 +08:00
wangmm0220 762f6466f3 fix:conflicts from 3.0 2023-02-06 09:23:29 +08:00
dapan1121 a2b5162ab9
Merge pull request #19753 from taosdata/szhou/fixbugs
fix: show table distributed only works on super table, child table, and normal table
2023-02-06 08:52:44 +08:00
Xiaoyu Wang 115160bbd0 fix: insert syntax error 2023-02-05 10:11:26 +08:00
yihaoDeng 17b7b81cd7 opt index 2023-02-04 10:25:50 +08:00
Xiaoyu Wang 5d499e52f9 merge main 2023-02-03 17:13:11 +08:00
wangmm0220 51760c10ec fix:conflicts from 3.0 2023-02-03 15:40:20 +08:00
dapan1121 ef89a31e8f feat: force fill function 2023-02-03 15:37:04 +08:00
dapan1121 d5bc02c1e8 feat: support force fill 2023-02-02 18:03:30 +08:00
wangmm0220 c8d49b603d fix:roll back htol length for block raw data 2023-02-02 17:23:01 +08:00
dapan1121 d88f1efeb1 feat: support force fill clause 2023-02-02 17:16:30 +08:00
shenglian zhou c4366e4dbc fix: minior, remove blank line 2023-02-02 16:34:20 +08:00
shenglian zhou 3f577c5019 fix: show table distributed only works on super table, child table, and normal table 2023-02-02 11:57:22 +08:00
Xiaoyu Wang 7f571b1ebd fix: a time point can be fill 2023-02-02 10:59:47 +08:00
Haojun Liao 97ca4dfd0b
Merge pull request #19732 from taosdata/feat/ly_stream_stable
Feat/ly stream stable
2023-02-02 10:57:09 +08:00
54liuyao cea8a920f7 feat(stream): add ci 2023-02-01 17:50:08 +08:00
Xiaoyu Wang 637195ce94 fix: the problem of creating a stream without partition by clause 2023-02-01 17:27:03 +08:00