Commit Graph

678 Commits

Author SHA1 Message Date
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 d0b9b90781
Merge pull request #11660 from taosdata/feature/3.0_wxy
feat: sql command 'create table ... rollup ...'
2022-04-20 14:21:50 +08: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 1dcdc0a0a4 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/vnode_refact1 2022-04-20 01:19:37 +00:00
dapan1121 da4379853d stmt 2022-04-20 09:12:59 +08:00
dapan1121 fca15e39b2 Merge remote-tracking branch 'origin/3.0' into feature/qnode5 2022-04-20 09:04:56 +08:00
Shengliang Guan 8213315fdd
Merge pull request #11643 from taosdata/feature/3.0_liaohj
fix(query): fix the crash caused by the complex having clause
2022-04-20 00:00:46 +08:00
dapan1121 0f13cee876 stmt 2022-04-19 20:16:17 +08:00
Haojun Liao b122538268 refactor: do some internal refactor. 2022-04-19 18:06:59 +08:00
wangmm0220 412e2cbb0d refactor: add test casese for json compare logic 2022-04-19 17:52:04 +08:00
Hongze Cheng 9256500dcb Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/vnode_refact1 2022-04-19 09:20:25 +00:00
Haojun Liao 29608b0866
Merge pull request #11610 from taosdata/feature/3.0_liaohj
fix(query): avoid the output result overlap within the project operator buffer.
2022-04-19 16:27:28 +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
Cary Xu dc11ea8384
Merge pull request #11631 from taosdata/feature/TD-14481-3.0
feat: trow refactor
2022-04-19 14:30:04 +08:00
Hongze Cheng 9fc55aa7f4 refactor: vnode 2022-04-19 06:23:54 +00:00
Cary Xu 8959e4437b trow refactor 2022-04-19 14:13:34 +08:00
Haojun Liao 2288d35194 Merge remote-tracking branch 'origin/3.0' into feature/3.0_liaohj 2022-04-19 13:48:22 +08:00
Haojun Liao 0787021ca0 fix(query): check the primary timestamp null case and report error with inforamtion to caller. 2022-04-19 13:47:40 +08: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
dapan1121 0c2f22fb82 stmt 2022-04-18 19:08:27 +08:00
dapan1121 49e0ecdb9b Merge remote-tracking branch 'origin/3.0' into feature/qnode4 2022-04-18 13:34:04 +08:00
dapan1121 c8fe5bc88b stmt 2022-04-18 10:19:15 +08:00
wangmm0220 b7bd654c77 refactor: add compare logic for json value 2022-04-16 21:24:07 +08:00
dapan1121 93ca1168f3 stmt 2022-04-16 19:41:18 +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
dapan1121 1c499c94a7 stmt 2022-04-16 17:47:42 +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
dapan1121 9547c0a09b stmt 2022-04-16 15:59:19 +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
dapan1121 e3ea173046 stmt 2022-04-15 20:10:51 +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 7873c74e5f other: merge 3.0 branch and resolve the conflict. 2022-04-15 13:45:13 +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
dapan1121 b3978108bc
Merge pull request #11438 from taosdata/feature/qnode
feat: add heartbeat and performance_schema tables
2022-04-15 13:17:08 +08:00
Ganlin Zhao e655a3cc1d feat(query): support timezone() function
TD-14243
2022-04-15 13:15:29 +08:00
Ganlin Zhao 0439e4f9f7 Merge branch '3.0' into feature/TD-14243 2022-04-15 10:16:55 +08:00
dapan1121 0e9ecc628e Merge remote-tracking branch 'origin/3.0' into feature/qnode 2022-04-15 08:33:53 +08:00
Ganlin Zhao ca3ce404af feat(query): support now()/today() function in select clause
TD-14243
2022-04-14 21:38:33 +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
dapan1121 69f09fd0e3 stmt 2022-04-14 20:14:52 +08:00
wangmm0220 8072523561 refactor: add json tag function for sql parser 2022-04-14 19:01:11 +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
dapan1121 c04bc1820c Merge remote-tracking branch 'origin/3.0' into feature/qnode 2022-04-14 16:04:42 +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
Ganlin Zhao 4eb20bda19
Merge pull request #11478 from taosdata/feature/TD-14243
feat(query): add today()/today() + duration in insert clause
2022-04-14 15:01:26 +08:00
dapan1121 955695ebe5
Merge branch '3.0' into feature/qnode 2022-04-14 14:10:19 +08:00
Ganlin Zhao b355e2b3c8 feat(query): add today()/today() + duration in insert clause
TD-14243
2022-04-14 12:53:59 +08:00
afwerar 332b5504a2 fix(grant): change the way taosd calls grant. 2022-04-14 11:53:02 +08:00
Ganlin Zhao 50fa78b0bb
Merge pull request #11469 from taosdata/feature/TD-14243
refactor(query): add TK_TODAY in keyword hashtable
2022-04-14 10:01:31 +08:00
Ganlin Zhao 8572bd2afa feat(query): add TK_TODAY in keyword hashtable
TD-14243
2022-04-13 21:22:57 +08:00
Ganlin Zhao 32b7c445c8
Merge pull request #11468 from taosdata/feature/TD-14243
feat(query): support now()/now() + duration syntax in insert clause
2022-04-13 21:15:49 +08:00
Ganlin Zhao 729218f3e8 feat(query): support now()/now() + duration syntax in insert clause
TD-14243
2022-04-13 20:38:19 +08:00
Xiaoyu Wang ac1673fc71
Merge pull request #11463 from taosdata/feature/3.0_wxy
feat(query): distributed splitting of child/normal table JOIN
2022-04-13 19:43:01 +08:00
Xiaoyu Wang 13735d7257 feat(query): distributed splitting of child/normal table JOIN 2022-04-13 19:04:25 +08:00
dapan1121 d57ecd97b0 stmt 2022-04-13 17:52:26 +08:00
Xiaoyu Wang baa0696625
Merge pull request #11428 from taosdata/feature/3.0_wxy
feat(query): child table or normal table support JOIN-clause
2022-04-12 20:25:17 +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 bcdc9b45e2
Merge pull request #11419 from taosdata/feature/3.0_wxy
fix: is_null expression returned an incorrect result
2022-04-12 17:03:01 +08:00
Xiaoyu Wang ec643ceecd fix: is_null expression returned an incorrect result 2022-04-12 16:12:45 +08:00
Ganlin Zhao ff70238e38
Merge pull request #11413 from taosdata/feature/TD-14242
feat(query): add cast function
2022-04-12 14:34:33 +08:00
Haojun Liao fc58e2392d
Merge pull request #11404 from taosdata/feature/3.0_liaohj
fix[query]: fix null write error bug for varchar/nchar data type.
2022-04-11 23:35:18 +08:00
Haojun Liao cf890f6e10 fix[query]: fix null write error bug for varchar/nchar data type. 2022-04-11 23:05:39 +08:00
Ganlin Zhao a59b558331 feat(query): add cast function
TD-14242
2022-04-11 20:22:53 +08:00
Xiaoyu Wang 147675c71f
Merge pull request #11385 from taosdata/feature/3.0_wxy
enh: set datablock desc timestamp precision, and fix the bug of constant calculation
2022-04-11 18:05:43 +08:00
Xiaoyu Wang 983e4aa010 set datablock desc timestamp precision 2022-04-11 17:42:05 +08:00
Xiaoyu Wang cd75d1121a constant calc bugfix 2022-04-11 14:48:07 +08:00
dapan1121 6f12bc1093 feature/qnode 2022-04-11 14:15:09 +08:00
Ganlin Zhao 6a734a74ac
Merge pull request #11365 from taosdata/feature/TD-14242
<feat>[query]: add cast function SQL syntax
2022-04-10 19:55:03 +08:00
Ganlin Zhao 5fb7a7955f Merge branch '3.0' into feature/TD-14242 2022-04-10 19:33:04 +08:00
Ganlin Zhao 03cce69b75 <feat>[query]: add cast function SQL syntax
TD-14242
2022-04-10 19:13:44 +08:00