Commit Graph

612 Commits

Author SHA1 Message Date
Haojun Liao 343988beeb refactor: do some internal refactor. 2022-04-20 14:59:06 +08:00
Haojun Liao 1f92000c48 fix(query): fix invalid write in distinct query. 2022-04-20 14:58:32 +08:00
Shengliang Guan 76883aa42f refactor: check db options 2022-04-20 10:25:03 +08:00
Haojun Liao f25a72e5c3 fix(query): fix the crash caused by the complex having clause in which an scalar function is nested with an aggregate function in group by query. 2022-04-19 18:45:28 +08:00
Haojun Liao 1c94bbb5e4 enh(query): set the status of stream scan operator. 2022-04-19 16:11:16 +08:00
Haojun Liao a036d2f3ff fix(query): fix the bug caused by refactor in first/last function implementation. 2022-04-19 13:07:23 +08:00
Haojun Liao 2305b05869 refactor(query): do some internal refactor for executor. 2022-04-19 10:12:30 +08:00
Haojun Liao 9d1a9d9510 fix(query): avoid the output result overlap within the project operator buffer. 2022-04-18 19:27:41 +08:00
Haojun Liao 9864e367bb refactor(query): do some internal refactor in executor. 2022-04-18 18:47:59 +08:00
Haojun Liao dc76f2e91a refactor: refactor hash module to invoke the freeFp when destroying the hash node. 2022-04-18 17:32:50 +08:00
Haojun Liao ea8832baa5 Merge branch 'fix/valgrind' into feature/3.0_liaohj 2022-04-18 14:30:10 +08:00
Haojun Liao 781fbce942 fix(query): fix bug caused by new completed query function. 2022-04-18 12:07:04 +08:00
Haojun Liao e91233f5eb fix(query): set the correct flag to denote the initialization status. 2022-04-18 11:01:07 +08:00
Haojun Liao 7429f37c0c fix(query): fix bug in calculating the aggregate function with constant numeric value as input parameter. 2022-04-18 10:46:07 +08:00
Zhiqiang Wang d8feae98b2
Merge pull request #11571 from taosdata/fix/ZhiqiangWang/TD-13877-fix-use-static-taos-lib
fix(build): use static taos lib.
2022-04-17 20:20:01 +08:00
Yihao Deng 487d45c0de
Merge pull request #11561 from taosdata/feature/tag_filter_oper
enh: add tag index filter impl
2022-04-17 14:16:34 +08:00
Haojun Liao f0463a6a58 test: temporarily disable some invalid cases. 2022-04-16 22:50:08 +08:00
afwerar dea51ba364 fix(build): use static taos lib. 2022-04-16 20:46:51 +08:00
yihaoDeng 25837faf28 enh: add multi filter merge 2022-04-16 20:35:18 +08:00
Haojun Liao 902fcb0c0b refactor(query): refactor code. 2022-04-16 19:10:21 +08:00
Haojun Liao 30602b8cfb Merge remote-tracking branch 'origin/3.0' into feature/3.0_liaohj 2022-04-16 19:02:08 +08:00
yihaoDeng fe367b5ef4 enh: add tag index filter impl 2022-04-16 17:56:06 +08:00
Xiaoyu Wang c40b590ad8 enh: window clause validity check 2022-04-16 17:27:54 +08:00
yihaoDeng 9fae339710 enh: add tag index filter impl 2022-04-16 16:35:24 +08:00
Haojun Liao d40f830b77 enh(query): optimize the data block load algorithm in table scan operator. 2022-04-16 16:06:48 +08:00
Haojun Liao be4d72bf80 refactor(query): refactor executor module to optimization the block load filter routine. 2022-04-16 15:15:28 +08:00
Haojun Liao 34c125e1bb fix(query): fix bug in employing sma data during aggregate process. 2022-04-16 11:47:50 +08:00
Haojun Liao fd9e520865 other: merge 3.0 branch to resolve conflict. 2022-04-16 10:07:28 +08:00
Haojun Liao 53ff8c113e fix(query): add a little bit more check when build SqlFunctionCtx. 2022-04-16 10:04:33 +08:00
Haojun Liao 597cba3aff fix(query): enable to employ the scalar function as the parameter of the aggregate function. 2022-04-16 10:00:25 +08:00
Haojun Liao e6a4af8ed8 refactor(query): refactor the executor module of query. 2022-04-15 23:02:26 +08:00
yihaoDeng acc12943b8 validate tag filter status 2022-04-15 22:17:22 +08:00
Yihao Deng 4b729ada42
Merge branch '3.0' into feature/tag_filter_oper 2022-04-15 21:42:46 +08:00
yihaoDeng a172f11e24 add tag index filter 2022-04-15 21:38:56 +08:00
Haojun Liao 774e4ad62c enh(query): add more load conditions check before load data block from file. 2022-04-15 20:06:27 +08:00
Haojun Liao 078c48a50a other:fix syntax error. 2022-04-15 18:25:24 +08:00
Haojun Liao 5029cd67b2 ehn(query): add the file data block load optimization check. 2022-04-15 18:06:49 +08:00
Haojun Liao 684db8eba8 refactor(query): refactor some variable name and macro definitions. 2022-04-15 14:01:43 +08:00
Haojun Liao d2761b4114 ehn(query): refactor c driver codes. 2022-04-15 12:09:27 +08:00
Haojun Liao 2b2c2ad5c1 Merge remote-tracking branch 'origin/3.0' into feature/3.0_liaohj 2022-04-15 09:07:36 +08:00
yihaoDeng 46ec8300d9 enh: add tag filter operator 2022-04-14 22:32:49 +08:00
Haojun Liao c490820b09 feat(query): add the merge join operator for child table inner join. 2022-04-14 22:12:10 +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
Haojun Liao 79596698ab other: resolve conflict with 3.0 branch. 2022-04-14 16:51:46 +08:00
Haojun Liao 928a977354 ehn(query): enhance the api of ssdatablock to support copy data while clone a new ssdatablock. 2022-04-14 15:33:37 +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
Haojun Liao 0252fa49db ehn(query): remove some redundant codes in executor. 2022-04-14 14:39:28 +08:00
Haojun Liao 33e51fda3e ehn(query): refactor the executor module. 2022-04-14 14:34:02 +08:00
Haojun Liao 3457a5e5af other: merge 3.0 2022-04-14 13:23:09 +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
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