Commit Graph

307 Commits

Author SHA1 Message Date
Haojun Liao 47a9b26507 fix(query): show tables in information_schema db. 2022-04-28 15:30:18 +08:00
Liu Jicong 8989579525
Merge pull request #11997 from taosdata/feature/tq
fix: create stream
2022-04-28 14:40:42 +08:00
Shengliang Guan 3cc90a8cec Merge remote-tracking branch 'origin/3.0' into feature/db 2022-04-28 14:25:52 +08:00
Liu Jicong d998e3e804 fix: create stream 2022-04-28 14:20:32 +08:00
Xiaoyu Wang d66fdb948d Merge remote-tracking branch 'origin/3.0' into feature/3.0_wxy 2022-04-28 09:06:27 +08:00
Ganlin Zhao 41f1612e68 Merge branch '3.0' into fix/TD-15137 2022-04-27 21:20:06 +08:00
Ganlin Zhao cb318d4859 refactor(query): forbid timestamp type arithmetic operation with floating type
TD-15137
2022-04-27 21:04:24 +08:00
Xiaoyu Wang 7f218009ed enh: refactor db and table options 2022-04-27 19:10:16 +08:00
Xiaoyu Wang 6d449c8224 enh: refactor db and table options 2022-04-27 18:18:37 +08:00
afwerar bf9ab440a7 fix(os): fix new compilation errors. 2022-04-27 17:39:54 +08:00
Xiaoyu Wang cdee4d8e07 merge 3.0 2022-04-26 18:27:27 +08:00
Xiaoyu Wang ac754dce90 fix: some problems of tag query and sma 2022-04-26 18:15:06 +08:00
Hongze Cheng 2f02aef2fc Merge branch '3.0' of https://github.com/taosdata/TDengine into vnode_refact_merge 2022-04-26 06:12:41 +00:00
Hongze Cheng 6fe299cdcd Merge branch '3.0' of https://github.com/taosdata/TDengine into vnode_refact_merge 2022-04-26 05:49:42 +00:00
Xiaoyu Wang ac874f9e8d enh: format code 2022-04-26 11:50:35 +08:00
Shengliang Guan 621290ab79 enh: update db options 2022-04-25 21:12:03 +08:00
Xiaoyu Wang ba509423fc fix: some problems of udf and 'create table' 2022-04-25 20:35:05 +08:00
Xiaoyu Wang 103418bfc5 fix: some problems of udf and 'create table' 2022-04-25 20:28:14 +08:00
Xiaoyu Wang 14e9fa355c fix: some problems of udf and 'create table' 2022-04-25 17:57:14 +08:00
Haojun Liao 4cfcca4960
Merge pull request #11817 from taosdata/feature/3.0_liaohj
enh(query): Add the group id in the serialized block format to support the multi-table(super table) interval query.
2022-04-25 11:24:28 +08:00
Liu Jicong 06a370c8de enh(tmq): remove topic out of db 2022-04-25 10:42:17 +08:00
Haojun Liao 5eed1159b1 other: merge 3.0 2022-04-25 09:16:37 +08:00
Haojun Liao 1d681a9e4b enh(query): Add the group id in the serialized block format to support the multi-table(super table) interval query. 2022-04-24 20:48:42 +08:00
Xiaoyu Wang 755e0a6456 merge 3.0 2022-04-24 20:14:00 +08:00
Xiaoyu Wang 74fb0f4b55 enh: order by primary key optimize 2022-04-24 20:11:06 +08:00
Ganlin Zhao b430f4e561 fix(query): disable timestamp type arithmetic operation with var type
TD-15094
2022-04-24 16:01:05 +08:00
Hongze Cheng 07720702a6 more refact meta 2022-04-24 02:50:08 +00:00
Hongze Cheng 89c8b768e1 refact META 9 2022-04-22 12:34:37 +00:00
Xiaoyu Wang b0a68df512
Merge pull request #11766 from taosdata/feature/3.0_wxy
fix: some syntax parsing problems
2022-04-22 18:54:54 +08:00
Xiaoyu Wang 20879d0ef7 fix: some syntax parsing problems 2022-04-22 18:23:37 +08:00
Hongze Cheng c28e4bcae6 refact meta 8 2022-04-22 08:23:55 +00:00
Hongze Cheng 57d642b9b4 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/vnode_refact1 2022-04-22 05:33:29 +00:00
dapan1121 54e1702749
Merge pull request #11732 from taosdata/feature/qnode
feat: add udf catalog api
2022-04-22 11:46:06 +08:00
afwerar fc24521621 fix(os): windows compile 3.0. 2022-04-22 09:54:27 +08:00
dapan1121 31528bbe55 feature/qnode 2022-04-22 09:16:00 +08:00
Hongze Cheng 055e0516fa Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/vnode_refact1 2022-04-21 11:22:43 +00:00
dapan1121 44d78ab900
Merge pull request #11713 from taosdata/feature/qnode
feat(query): qnode for query only
2022-04-21 17:40:39 +08:00
Xiaoyu Wang e5a7f1b73f feat: sql command 'union all' 2022-04-21 17:09:54 +08:00
Xiaoyu Wang 1d47ceae37 feat: sql command 'union all' 2022-04-21 16:32:48 +08:00
dapan1121 36a8382b8e feature/qnode 2022-04-21 15:33:07 +08:00
dapan1121 a284d8fc4a feature/qnode 2022-04-21 13:37:18 +08:00
Hongze Cheng c8acaa77bb Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/vnode_refact1 2022-04-20 12:29:57 +00:00
WANG MINGMING 66400aff66
Merge pull request #11671 from taosdata/feature/TD-13041
feat: json tag
2022-04-20 20:22:59 +08:00
Hongze Cheng 2bb03ed330 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/vnode_refact1 2022-04-20 10:58:19 +00:00
Xiaoyu Wang 311b407260
Merge pull request #11678 from taosdata/feature/3.0_wxy
feat: sql command 'create function'
2022-04-20 18:33:23 +08:00
Xiaoyu Wang 52c62e7cc8 feat: sql command 'create function' 2022-04-20 18:13:33 +08:00
Xiaoyu Wang 6f377189d0 feat: sql command 'create function' 2022-04-20 17:43:02 +08:00
wangmm0220 0fb41733ea refactor: merge from 3.0 2022-04-20 17:08:52 +08:00
Hongze Cheng bd36dc9924 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/vnode_refact1 2022-04-20 08:52:52 +00:00
Shengliang Guan 2ae4f5faf6 Merge remote-tracking branch 'origin/3.0' into feature/check 2022-04-20 14:34:44 +08:00
Hongze Cheng 88793e2fab Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/vnode_refact1 2022-04-20 06:29:17 +00:00
Xiaoyu Wang 5dea946bd4 feat: sql command 'create table ... rollup ...' 2022-04-20 14:05:08 +08:00
Shengliang Guan 76883aa42f refactor: check db options 2022-04-20 10:25:03 +08:00
Hongze Cheng 8a16713162 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/vnode_refact1 2022-04-19 06:39:10 +00:00
Hongze Cheng 9fc55aa7f4 refactor: vnode 2022-04-19 06:23:54 +00:00
Xiaoyu Wang d4829dcd9a
Merge pull request #11629 from taosdata/feature/3.0_wxy
fix: some syntax parsing problems
2022-04-19 13:43:29 +08:00
Xiaoyu Wang 2d7cf35fb0 fix: some syntax parsing problems 2022-04-19 13:25:19 +08:00
Hongze Cheng 3a50257aa3 refact 2022-04-19 02:18:11 +00:00
Hongze Cheng 0b71a2866e
Merge pull request #11615 from taosdata/feature/vnode_refact1
refact vnode
2022-04-19 09:15:51 +08:00
Hongze Cheng 9329f5f058 refact vnode 2022-04-18 13:23:22 +00:00
wangmm0220 49c3057221 refactor: merge from 3.0 2022-04-18 21:15:57 +08:00
Xiaoyu Wang 40d9a95c12
Merge pull request #11609 from taosdata/feature/3.0_wxy
feat: implementation of parser and planner for stmt API
2022-04-18 20:52:09 +08:00
Xiaoyu Wang ff80459821 feat: implementation of parser and planner for stmt API 2022-04-18 20:19:24 +08:00
Ganlin Zhao 00ae854c78
fix(query): fix time function related bugs (#11604)
* fix(query): fix timediff args cannot be integer values

TD-14798

* fix(query): fix timediff/timetruncate/to_unixtimestamp handling NULL value and empty string

TD-14802
TD-14803

* refactor(query): constant NULL value processing logic

TD-14802
TD-14803

* refactor(query): support timefunction arithmetic operation with boolean
constant
2022-04-18 19:20:08 +08:00
wangmm0220 b7bd654c77 refactor: add compare logic for json value 2022-04-16 21:24:07 +08:00
wade zhang 3f0f31c4c2
Merge pull request #11552 from taosdata/feature/TD-14243
feat(query): support timezone function and now/today function arithmetic operation in select clause
2022-04-16 18:54:18 +08:00
Ganlin Zhao b42d28f6d1 Merge branch '3.0' into feature/TD-14243 2022-04-16 18:27:25 +08:00
Xiaoyu Wang 7a5148973c enh: window clause validity check 2022-04-16 17:46:32 +08:00
Xiaoyu Wang c40b590ad8 enh: window clause validity check 2022-04-16 17:27:54 +08:00
Xiaoyu Wang b9fb9c580d feat: sql command "create stream" 2022-04-16 13:15:14 +08:00
Ganlin Zhao ad7323166a Merge branch '3.0' into feature/TD-14243 2022-04-16 12:51:49 +08:00
Ganlin Zhao 29327a6d66 feat(query): support now()/today() arithmetic operation with time duration
TD-14243
2022-04-16 11:03:18 +08:00
wangmm0220 73c34da280 Merge branch '3.0' into feature/TD-13041 2022-04-16 09:30:26 +08:00
Xiaoyu Wang f406c4e31d complie error 2022-04-15 20:31:21 +08:00
Xiaoyu Wang acb4a04459 complie error 2022-04-15 20:17:56 +08:00
Xiaoyu Wang 3e1c4cc268 complie error 2022-04-15 20:07:35 +08:00
Xiaoyu Wang e2164bf8cb feat: CREATE STREAM statement implement, and syntax of JSON data type implement. 2022-04-15 19:35:46 +08:00
Xiaoyu Wang 01ea38586d feat: CREATE STREAM statement implement, and syntax of JSON data type implement. 2022-04-15 19:22:11 +08:00
Xiaoyu Wang ba1f3f7815 feat: CREATE STREAM statement implement, and syntax of JSON data type implement. 2022-04-15 18:30:01 +08:00
Haojun Liao eaa6cd56a6 enh(query): add an new internal api to extract query result timestamp precision before the query response received from dnode. 2022-04-15 13:42:03 +08:00
Shengliang Guan f130161f1d fix(cluster): compile error after merge from 3.0 2022-04-14 20:59:08 +08:00
Shengliang Guan 83a824a14d Merge remote-tracking branch 'origin/3.0' into feature/check 2022-04-14 20:56:57 +08:00
Shengliang Guan 2635df084d refact<cluster>: adjust show types 2022-04-14 20:54:43 +08:00
Xiaoyu Wang 50181dad15 feat: performance_schema related SHOW statements are rewritten, and KILL statements build the message 2022-04-14 20:35:44 +08:00
wangmm0220 93cbee6970 Merge branch '3.0' into feature/TD-13041 2022-04-14 18:25:08 +08:00
wangmm0220 32577d4196 refactor: add json tag function for sql parser 2022-04-14 18:24:21 +08:00
Xiaoyu Wang 9e05fdbd7b enh(query): increase the validity check of function parameters 2022-04-14 18:18:23 +08:00
Xiaoyu Wang 7efb34fdfa enh(query): increase the validity check of function parameters 2022-04-14 15:53:41 +08:00
Xiaoyu Wang 8118a20649 enh(query): increase the validity check of function parameters 2022-04-14 15:49:57 +08:00
afwerar 332b5504a2 fix(grant): change the way taosd calls grant. 2022-04-14 11:53:02 +08:00
Xiaoyu Wang d8762d401f feat(query): child table or normal table support JOIN-clause 2022-04-12 20:02:16 +08:00
Xiaoyu Wang ec643ceecd fix: is_null expression returned an incorrect result 2022-04-12 16:12:45 +08:00
yihaoDeng 3d6030a4e7 handle conflict 2022-04-10 10:13:22 +08:00
Shengliang Guan 2a88060067 feat[cluster]: create and drop snode bnode 2022-04-09 17:52:29 +08:00
Shengliang Guan f18cdd5f87 Merge remote-tracking branch 'origin/3.0' into feature/node 2022-04-09 17:38:26 +08:00
Shengliang Guan 39dde85ecc feat<cluster>: create and delete qnode 2022-04-09 16:32:19 +08:00
Shengliang Guan 4460463317 feat<cluster>: create and delete qnode 2022-04-09 15:31:50 +08:00
Xiaoyu Wang a6b5dd8ef0 create/drop/show bnode/snode/mnode frontend implement 2022-04-09 14:57:28 +08:00
Xiaoyu Wang a80610560d constant condition optimize 2022-04-09 10:09:17 +08:00
Xiaoyu Wang eb58fd437e Merge remote-tracking branch 'origin/3.0' into feature/3.0_wxy 2022-04-08 19:53:05 +08:00
Xiaoyu Wang 8ef6b184f2 first(*)/last(*) rewrite 2022-04-08 19:44:15 +08:00
Yihao Deng 70f5abeb6a
Merge branch '3.0' into feature/create_index 2022-04-08 18:11:17 +08:00
dapan1121 519b6ca0f3
Merge pull request #11305 from taosdata/feature/qnode
Feature/qnode
2022-04-08 17:21:33 +08:00
dapan1121 9f4744c6f3 feature/qnode 2022-04-08 16:05:30 +08:00
Xiaoyu Wang e87e7c3335 TD-14457 TD-14537 TD-14571 bugfix 2022-04-08 13:59:32 +08:00
yihaoDeng c40ab3679a add create index msg 2022-04-07 21:40:21 +08:00
yihaoDeng e23ead7da8 add create index msg 2022-04-07 21:32:30 +08:00
Xiaoyu Wang a7aa815215 db/table options adjust 2022-04-07 18:19:20 +08:00
yihaoDeng 36670708b2 add create index msg 2022-04-07 17:41:16 +08:00
Xiaoyu Wang e5b18c6e0e
Merge pull request #11263 from taosdata/feature/3.0_wxy
normal table rollup translate, and condition rewrite
2022-04-06 20:19:15 +08:00
Xiaoyu Wang 3c7927d2b4 normal table rollup translate, and condition rewrite 2022-04-06 06:50:38 -04:00
dapan1121 398a41d09b feature/qnode 2022-04-06 15:20:38 +08:00
Cary Xu ca3206d45e Merge branch '3.0' into feature/TD-11463-3.0 2022-04-03 17:51:28 +08:00
Xiaoyu Wang aaf35118f6
Merge pull request #11222 from taosdata/feature/3.0_wxy
integrate constant calculate
2022-04-02 20:35:10 +08:00
Xiaoyu Wang 469cd23f43 integrate constant calculate 2022-04-02 07:57:44 -04:00
Cary Xu 1165368642 retentions param bug fix and deliver to vnode 2022-04-02 15:39:20 +08:00
Xiaoyu Wang a5fbcb36b6
Merge pull request #11202 from taosdata/feature/3.0_wxy
condition bugfix
2022-04-02 13:56:13 +08:00
Xiaoyu Wang 9e9805f7b7 condition bugfix 2022-04-02 01:13:20 -04:00
Cary Xu e2e1d4c899 Merge branch '3.0' into feature/TD-11463-3.0 2022-04-01 17:44:21 +08:00
Cary Xu cf68440a59 bSma grammar integrate 2022-04-01 17:43:50 +08:00
Xiaoyu Wang 4ff2ad2c39 all ddl statement syntax define, and ORDER BY clause bugfix 2022-04-01 04:31:24 -04:00
Xiaoyu Wang 9833a6c547 Merge remote-tracking branch 'origin/3.0' into feature/3.0_wxy 2022-04-01 01:04:19 -04:00
Xiaoyu Wang 6d4c848d88 sma is enabled for all columns by default 2022-04-01 01:04:14 -04:00
Xiaoyu Wang 613963a128
Merge pull request #11167 from taosdata/feature/3.0_wxy
TD-14409 TD-14436 bugfix
2022-04-01 12:57:35 +08:00
Xiaoyu Wang db08d3ca9b TD-14392 bugfix 2022-03-31 22:38:48 -04:00
dapan1121 36dc9da4a5 Merge remote-tracking branch 'origin/3.0' into feature/qnode 2022-04-01 10:30:20 +08:00
Xiaoyu Wang 689fb26708 db or table option keep implement 2022-03-31 07:38:17 -04:00
Xiaoyu Wang baa238eead TD-14409 TD-14436 bugfix 2022-03-31 05:20:26 -04:00
dapan1121 369d08c557 Merge remote-tracking branch 'origin/3.0' into feature/qnode 2022-03-31 16:06:57 +08:00
Xiaoyu Wang 59862e454d TD-14429 bugfix 2022-03-31 04:01:07 -04:00
Xiaoyu Wang ee1b47b2e2 TD-14431 bugfix 2022-03-31 03:11:52 -04:00
Xiaoyu Wang ba80c7478f TD-14405 TD-14404 desc and reset query cache statement implement 2022-03-31 02:19:11 -04:00
dapan1121 35f8a337af feature/qnode 2022-03-30 19:37:21 +08:00
Xiaoyu Wang 03771c84f5 TD-14396 explain parser and planner implement 2022-03-30 02:50:50 -04:00
Xiaoyu Wang 9f93b1ebc6 TD-14281 deal memory leak 2022-03-29 08:14:46 -04:00
Xiaoyu Wang 0f60e644e9 TD-14383 limit/slimit plan implement, and sort plan bugfix 2022-03-29 02:52:40 -04:00
Xiaoyu Wang 11636180ad rollup syntax and msg adjust 2022-03-28 05:08:48 -04:00
Cary Xu 3adabbc489 Merge branch '3.0' into feature/TD-11463-3.0 2022-03-27 10:43:06 +08:00
Cary Xu d4c636589a update definition of SSchema/STColumn to support columns larger than 1MB(int16_t to int32_t) 2022-03-27 10:42:23 +08:00
Xiaoyu Wang de102d04e6 bugfix 2022-03-26 22:02:12 -04:00
Xiaoyu Wang ad11ba9365 bugfix 2022-03-26 07:18:12 -04:00
Xiaoyu Wang 6c6295bdae merge 3.0 2022-03-26 05:55:01 -04:00
Xiaoyu Wang 85f87ae246 bugfix 2022-03-26 05:45:48 -04:00
dapan1121 96eee80063 feature/qnode 2022-03-26 15:03:22 +08:00
Xiaoyu Wang f6bcae1913 sort scan cols 2022-03-26 01:39:10 -04:00
dapan1121 9484d25a59 Merge remote-tracking branch 'origin/feature/scheduler' into feature/qnode 2022-03-26 09:17:05 +08:00
dapan1121 58e16e5fdc Merge remote-tracking branch 'origin/3.0' into feature/scheduler 2022-03-26 09:11:06 +08:00
afwerar 222db126bc [TD-13758]<fix>: redefine memory api. 2022-03-26 00:29:53 +08:00
dapan1121 18c85e6515 Merge remote-tracking branch 'origin/feature/scheduler' into feature/qnode 2022-03-25 15:39:33 +08:00
dapan1121 0a0699e4f9 feature/scheduler 2022-03-25 15:32:16 +08:00