Commit Graph

612 Commits

Author SHA1 Message Date
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
Haojun Liao e0654bac73 Merge remote-tracking branch 'origin/3.0' into feature/3.0_liaohj 2022-04-14 11:43:36 +08:00
Haojun Liao 9c9e980ec0 test(query): update tsim test scripts. 2022-04-14 11:36:06 +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
Haojun Liao 5a0a036770 other: merge 3.0 2022-04-13 19:32:49 +08:00
Haojun Liao bcbc8618d2 ehn(query): refactor show module in mnode. 2022-04-13 19:27:47 +08:00
Xiaoyu Wang 13735d7257 feat(query): distributed splitting of child/normal table JOIN 2022-04-13 19:04:25 +08:00
Liu Jicong 1a13affb13 Merge branch '3.0' into feature/tq 2022-04-13 16:05:02 +08:00
Liu Jicong 03d7201d47 feat: support tmq msg parse 2022-04-13 16:00:30 +08:00
Haojun Liao 739c4e3815 enh(query): Get the precise size of SSDatablock when allocating memory buffer. 2022-04-12 18:28:43 +08:00
Haojun Liao 684a1f23ad
Merge pull request #11424 from taosdata/feature/3.0_liaohj
fix(query): handle crash of taosd caused by a complex expression in GROUP BY clauses.
2022-04-12 18:20:28 +08:00
Haojun Liao e10794169e Merge remote-tracking branch 'origin/3.0' into feature/3.0_liaohj 2022-04-12 18:19:40 +08:00
Haojun Liao b9bf2515f5 fix(query): handle crash of taosd caused by a complex expression in GROUP BY clauses. 2022-04-12 17:55:17 +08:00
Haojun Liao fac649403a Merge remote-tracking branch 'origin/3.0' into feature/3.0_liaohj 2022-04-12 14:28:55 +08:00
Haojun Liao ec0637df8d
Merge pull request #11412 from taosdata/feature/3.0_liaohj
fix(query): load the null data in nchar/binary columns.
2022-04-12 14:26:01 +08:00
Haojun Liao 9899a5e6b0 fix(query): load the null data in nchar/binary columns. 2022-04-12 13:16:36 +08:00
Liu Jicong db796f9e7f merge from 3.0 2022-04-12 10:59:13 +08:00
Liu Jicong bc6a466b36 refactor TAOS_RES process 2022-04-12 10:45:34 +08:00
WANG MINGMING bc9157a6a2
Merge pull request #11387 from taosdata/feature/TD-14222-new
refactor: add encode/decode logic for operator result info
2022-04-11 18:17:32 +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
wangmm0220 bc4e73a3dd feat: optimize encode/decode resultRow 2022-04-11 17:55:53 +08:00
wangmm0220 45b766cd35 feat: optimize encode/decode resultRow 2022-04-11 17:35:17 +08:00
wangmm0220 78fd2d3a3e feat: optimize encode/decode resultRow 2022-04-11 17:30:27 +08:00
wangmm0220 4961b6ab8e feat: optimize encode/decode resultRow 2022-04-11 17:08:13 +08:00
Xiaoyu Wang e30d114c7b set datablock desc timestamp precision 2022-04-11 16:27:42 +08:00
Haojun Liao c18810402c
Merge pull request #11376 from taosdata/feature/3.0_liaohj
fix[query]:fix memory invalid write in group by nchar data.
2022-04-11 15:24:25 +08:00
Haojun Liao b223010bdd fix[query]:fix memory invalid write in group by nchar data. 2022-04-11 14:54:16 +08:00
wangmm0220 8e42ce1d27 fix:fix conflict merge from 3.0 2022-04-11 14:12:53 +08:00
wangmm0220 9a543fb331 feat:fix error in result row 2022-04-11 14:09:47 +08:00
Haojun Liao c828ed3793
Merge pull request #11369 from taosdata/feature/3.0_liaohj
test[query]:update the script.
2022-04-11 11:10:02 +08:00
Haojun Liao ca5d5ca7bb test[query]:update the script. 2022-04-11 10:44:37 +08:00
afwerar 2662a3b69d [TD-13254]<fix>: make 3.0 grant. 2022-04-10 19:08:16 +08:00
Haojun Liao 1df069814a feat[query]:add time slice operator. 2022-04-10 15:35:09 +08:00
Haojun Liao 08f0b05721 <fix>[query]:fix bug in filter, and update a query related test script. 2022-04-09 23:28:16 +08:00
Haojun Liao 20b36401ac fix[query]:fix limit/offset bug. 2022-04-09 19:03:31 +08:00
Haojun Liao d6338ca773
Merge branch '3.0' into feature/3.0_liaohj 2022-04-09 18:30:05 +08:00
Shengliang Guan 2a88060067 feat[cluster]: create and drop snode bnode 2022-04-09 17:52:29 +08:00
dapan1121 ac60b0408a
Merge pull request #11342 from taosdata/feature/qnode
feature/qnode
2022-04-09 17:13:07 +08:00
Liu Jicong 59945477ab merge from 3.0 2022-04-09 16:47:10 +08:00
Liu Jicong 5189643909 extract compressed col data format 2022-04-09 16:44:31 +08:00
Haojun Liao 6a245710c9 other: merge 3.0 branch. 2022-04-09 16:24:44 +08:00
Haojun Liao 208f639806 feature[query]:refactor show query processing in mnode. 2022-04-09 16:19:08 +08:00
dapan1121 3295507835 feature/qnode 2022-04-09 16:14:01 +08:00
wangmm0220 80d5c856ea <feature>:merge from 3.0 2022-04-09 16:08:10 +08:00
Haojun Liao bece2cbd35 <feat>[query]: add the state window operator implementation. 2022-04-09 15:01:28 +08:00
dapan1121 f207646a64
Merge pull request #11338 from taosdata/feature/qnode
feature/qnode
2022-04-09 14:38:58 +08:00
dapan1121 257b729757 feature/qnode 2022-04-09 13:36:36 +08:00
Haojun Liao 1d51e42b0e <fix>[query]:fix some syntax errors. 2022-04-09 13:10:55 +08:00
Haojun Liao 6af7e1810f Merge remote-tracking branch 'origin/3.0' into feature/3.0_liaohj 2022-04-09 11:56:45 +08:00
Haojun Liao 2523445452 <fix>[query]: refactor. 2022-04-09 11:55:59 +08:00
wangmm0220 388ab2f50d <fix>:fix compile error 2022-04-09 10:31:15 +08:00
WANG MINGMING 41392e9e4a
Merge branch '3.0' into feature/TD-14422 2022-04-09 10:18:52 +08:00
Haojun Liao 94e19cc32a <fix>[query]: fix scalar function calculate bug in scalar module. td-14576 2022-04-09 10:10:56 +08:00
Haojun Liao 8a62f5fa73 <fix>[query]: fix filter caused taosd crash.td-14566. 2022-04-08 19:41:55 +08:00
Haojun Liao 126658bf80
Merge pull request #11313 from taosdata/feature/3.0_liaohj
Feature/3.0 liaohj
2022-04-08 19:33:58 +08:00
Haojun Liao cf9e0be1c9 [td-14493] support slimit/soffset 2022-04-08 17:37:57 +08:00
WANG MINGMING bcbba6d0ae
Merge branch '3.0' into feature/TD-14422 2022-04-08 17:28:03 +08:00
dapan1121 519b6ca0f3
Merge pull request #11305 from taosdata/feature/qnode
Feature/qnode
2022-04-08 17:21:33 +08:00
wangmm0220 bd3a7838c0 Merge branch '3.0' into feature/TD-14422 2022-04-08 16:53:56 +08:00
wangmm0220 460d43f22c <fix>: fix index map error from table scan to sort output 2022-04-08 16:53:09 +08:00
Haojun Liao e77ecba753 [td-14493] fix bug in partition by. 2022-04-08 15:31:03 +08:00
wangmm0220 65a2131493 <fix>: fix index map error from table scan to sort output 2022-04-08 14:40:02 +08:00
wangmm0220 1f8d2ea446 <fix>: fix index map error from table scan to sort output 2022-04-08 14:17:32 +08:00
Hongze Cheng 6faaafb7a2 remove tsdb.h and meta.h 2022-04-08 06:09:15 +00:00
Haojun Liao 28456a034c Merge remote-tracking branch 'origin/3.0' into feature/3.0_liaohj 2022-04-08 13:13:38 +08:00
Haojun Liao f700e4746c [td-14393] fix bug. 2022-04-08 13:09:44 +08:00
wangmm0220 8df8c60f60 merge from 3.0 2022-04-08 10:58:39 +08:00
dapan1121 b0184c201f feature/qnode 2022-04-08 10:27:27 +08:00
Haojun Liao b984e12e4c [td-14493] support partition by 2022-04-08 10:24:35 +08:00
Ganlin Zhao aa2396acca
Merge pull request #11295 from taosdata/fix/TD-14572
[TD-14572]<fix>: fix char_length result when nchar column has chinese characters
2022-04-07 19:45:08 +08:00
Ganlin Zhao f22574262a [TD-14572]<fix>: fix char_length result when nchar column has chinese characters 2022-04-07 18:53:34 +08:00
Ganlin Zhao bb847e87bd [TD-14572]<fix>: fix char_length result when nchar column has chinese characters 2022-04-07 18:49:33 +08:00
wangmm0220 bb18e3c485 fix error in sort logic 2022-04-07 17:50:06 +08:00
Cary Xu c3b5f435b0 tsma integration with stream computing 2022-04-07 17:13:55 +08:00
Ganlin Zhao c0b2e2caa0 fix taosd crash issue 2022-04-07 16:13:34 +08:00
Haojun Liao 628096b3dd
Merge pull request #11285 from taosdata/feature/3.0_liaohj
[td-14493] add new api.
2022-04-07 15:24:59 +08:00
Haojun Liao 945de54b68 [td-14493] add new api. 2022-04-07 14:51:52 +08:00
Haojun Liao 52ada128d8
Merge pull request #11280 from taosdata/feature/3.0_liaohj
Feature/3.0 liaohj
2022-04-07 14:41:23 +08:00
Haojun Liao c84afedce0 [td-14493] refactor. 2022-04-07 13:57:47 +08:00
wangmm0220 225cf61845 merge from 3.0 2022-04-07 11:31:50 +08:00
Ganlin Zhao 264ebbd495
Merge pull request #11274 from taosdata/fix/TD-14525
[TD-14525]<fix>: fix taosd crash if scalar function has constant param
2022-04-07 10:50:12 +08:00
Haojun Liao ba29bc21f4
Merge pull request #11268 from taosdata/feature/3.0_liaohj
Feature/3.0 liaohj
2022-04-07 10:48:45 +08:00
Ganlin Zhao 772a5d114a [TD-14525]<fix>: fix taosd crash if scalar function has constant param 2022-04-07 10:30:41 +08:00
Ganlin Zhao cd972fdb00 [TD-14525]<fix>: fix taosd crash if scalar function has constant param 2022-04-07 10:26:18 +08:00
Haojun Liao 94b7081e97 [td-14493] fix bug found by regression test. 2022-04-07 10:24:22 +08:00
Haojun Liao 50f0ab05ff [td-14493] support distinct. 2022-04-06 23:00:32 +08:00
Hongze Cheng f739e7c32a
Merge pull request #11258 from taosdata/feature/meta
Feature/meta
2022-04-06 20:02:48 +08:00
wangmm0220 288b50aef2 fix error in sort logic 2022-04-06 19:53:17 +08:00
wangmm0220 4cc93f9984 fix error in sort logic 2022-04-06 19:51:28 +08:00
wangmm0220 c9de8b3b15 fix error in sort logic 2022-04-06 19:50:24 +08:00
Haojun Liao d4d210af5b [td-14493] support distinct. 2022-04-06 19:46:38 +08:00
wangmm0220 83eacf8d07 merge from 3.0 2022-04-06 18:38:19 +08:00
wangmm0220 aced34c438 fix error in sort operation 2022-04-06 18:30:25 +08:00
Haojun Liao 6f26d1771c Merge remote-tracking branch 'origin/3.0' into feature/3.0_liaohj 2022-04-06 18:30:12 +08:00
Haojun Liao 21b94f4caf [td-14393] refactor. 2022-04-06 18:29:08 +08:00
Haojun Liao 09824c4934 [td-14493] set correct primary timestamp column index. 2022-04-06 18:26:35 +08:00
Haojun Liao af32cfcaef
Merge pull request #11262 from taosdata/feature/3.0_liaohj
[td-14493] support having in group by
2022-04-06 18:25:52 +08:00
Haojun Liao 6863999ec5 [td-14493] support having in group by 2022-04-06 17:59:08 +08:00
wangmm0220 4bc0e507da modify test case 2022-04-06 17:10:51 +08:00
wangmm0220 f72c983792 modify test case 2022-04-06 16:56:13 +08:00
wangmm0220 865a13c1c2 fix error in sort logic 2022-04-06 16:46:26 +08:00
Hongze Cheng 0cfbca6284 Merge branch 'feature/tdb' of https://github.com/taosdata/TDengine into feature/meta 2022-04-06 08:44:38 +00:00
Hongze Cheng cf727c9db3 fix show tables problem 2022-04-06 07:54:52 +00:00
wangmm0220 78acaed84e fix error in sort logic 2022-04-06 15:44:14 +08:00
dapan1121 2b5c4788d1 Merge remote-tracking branch 'origin/3.0' into feature/qnode 2022-04-06 15:28:36 +08:00
dapan1121 398a41d09b feature/qnode 2022-04-06 15:20:38 +08:00
wangmm0220 9b66bb1682 optimize sort logic & fix memory leak 2022-04-06 14:32:07 +08:00
wangmm0220 ff21ecd364 optimize sort logic & fix memory leak 2022-04-06 11:43:17 +08:00
dapan1121 21542194c6 Merge remote-tracking branch 'origin/3.0' into feature/qnode 2022-04-06 11:32:46 +08:00
dapan1121 2c6dec89d2 feature/qnode 2022-04-06 11:32:21 +08:00
Haojun Liao a4c7e78d5f [td-14393] refactor. 2022-04-06 11:01:09 +08:00
Haojun Liao 78b1bf27b6 [td-14393] refactor. 2022-04-06 10:09:14 +08:00
Haojun Liao ddc63b9f27 [td-14393] fix error. 2022-04-04 15:45:32 +08:00
Haojun Liao f7ba0c31d8 [td-14393] refactor. 2022-04-04 14:54:39 +08:00
wangmm0220 411086c811 fix error in sort operation 2022-04-03 10:42:55 +08:00
Haojun Liao e7e5fd4345 [td-14393] support percentile function. 2022-04-02 23:42:00 +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
Haojun Liao b0310c90eb [td-14393] support percentile. 2022-04-02 20:13:48 +08:00
Xiaoyu Wang 469cd23f43 integrate constant calculate 2022-04-02 07:57:44 -04:00
dapan1121 27a3a1d782 feature/qnode 2022-04-02 19:31:52 +08:00
wangmm0220 5aa3467e2b merge from 3.0 2022-04-02 19:02:45 +08:00
wangmm0220 9f959e17f8 fix error in order by logic 2022-04-02 18:53:13 +08:00
wangmm0220 e7585db216 fix error in order by logic 2022-04-02 18:52:41 +08:00
wangmm0220 eba69fdb91 fix error in order by logic 2022-04-02 16:03:48 +08:00
Haojun Liao 29fd5ec11e [td-14393] fix bug. 2022-04-02 15:42:45 +08:00
Haojun Liao cf25aca809 [td-13039] refactor. 2022-04-02 15:08:48 +08:00
wangmm0220 12c3a10a9b fix error in order by logic & fix no return error 2022-04-02 14:29:43 +08:00
Haojun Liao 9a5123c64f [td-13039] add times for session window 2022-04-02 13:32:26 +08:00
Haojun Liao 55f93d2179 [td-14393] refactor and support filter condition in where clause. 2022-04-02 10:43:28 +08:00
Haojun Liao 751cad9c2a [td-14393] fix bug. 2022-04-01 20:19:40 +08:00
dapan1121 7602f91612 feature/qnode 2022-04-01 19:45:45 +08:00
Haojun Liao 9d16e86277 [td-13039] refactor. 2022-04-01 19:11:14 +08:00
Haojun Liao 7b3e488173 [td-13039] fix bug. 2022-04-01 18:08:36 +08:00
Haojun Liao 60c472df19 [td-13039] refactor. 2022-04-01 17:22:34 +08:00
Haojun Liao 7b0dfc6c4e [td-13039] support limit/offset 2022-04-01 17:21:24 +08:00
Haojun Liao 3846250454 [td-13039] fix query crash. 2022-04-01 16:09:00 +08:00
Haojun Liao 14d8c5f7f1 [td-14440] fix bug. 2022-04-01 10:44:34 +08:00
wangmm0220 69a5e55a24 [TD-14422]<fix> fix error in sort logic & add test case 2022-04-01 10:05:16 +08:00
wangmm0220 878e54f143 fix test error 2022-03-31 22:23:12 +08:00
Haojun Liao 869b0b99a9 [td-13039] fix bug. 2022-03-31 17:59:41 +08:00
Haojun Liao 02e097dc5c [td-14426] fix bug. 2022-03-31 17:36:51 +08:00
Haojun Liao 810cfefddc [td-13039] fix bug found by compiling. 2022-03-31 16:28:59 +08:00
Haojun Liao 847775c48d [td-13039] refactor. 2022-03-31 16:10:32 +08:00
wangmm0220 7d4775ddd3 merge from 3.0 2022-03-31 11:48:58 +08:00
Haojun Liao 387cfe8d45 [td-13039] fix bug in stream interval query. 2022-03-30 19:38:30 +08:00
Haojun Liao c39595639c [td-14392] fix show bug. 2022-03-30 17:09:06 +08:00
Haojun Liao 416952ddf8 [td-13039] fix error found by the compiler. 2022-03-30 15:31:20 +08:00
Haojun Liao e8f0d4df0b [td-13039] support stream execution interval query. 2022-03-30 14:54:00 +08:00
Haojun Liao 39036ea512 [td-13039] support pseudo column in interval query. 2022-03-30 13:41:15 +08:00