Commit graph

419 commits

Author SHA1 Message Date
Haojun Liao
842b75cd9d Merge remote-tracking branch 'origin/3.0' into feature/3.0_liaohj 2022-04-26 14:10:45 +08:00
Haojun Liao
ab390ecee1 fix(query): add a null ptr check 2022-04-26 14:10:25 +08:00
Haojun Liao
13feb7dad9 refactor(query): do some internal refactor. 2022-04-26 13:53:11 +08:00
Haojun Liao
9b40ec72d6 fix(query): handle the optimized order by in tablescan operator. 2022-04-26 13:09:29 +08:00
Haojun Liao
43cdc8d878
Merge pull request #11840 from taosdata/feature/3.0_liaohj
fix(query): get the correct data block column number.
2022-04-25 17:53:31 +08:00
Haojun Liao
56f3c9bf61 fix(query): get the correct data block column number. 2022-04-25 17:12:28 +08:00
Haojun Liao
0468b12d56
Merge pull request #11839 from taosdata/feature/3.0_liaohj
refactor(query): do some internal refactor.
2022-04-25 17:09:14 +08:00
Haojun Liao
57b492624b refactor(query): do some internal refactor. 2022-04-25 16:44:48 +08:00
Cary Xu
d44611e220 feat: block wise sma aggr query 2022-04-25 15:58:44 +08:00
Ganlin Zhao
9122fb077b
Merge pull request #11828 from taosdata/fix/TD-15116
fix(query): count function result on stable inconsistant with normal table
2022-04-25 15:22:56 +08:00
Ganlin Zhao
970f2d788e fix(query): count function result on stable inconsistant with normal
table

TD-15116
2022-04-25 14:47:54 +08:00
Haojun Liao
7968144c5c refactor(query): do some internal refactor. 2022-04-25 10:22:48 +08:00
Haojun Liao
199a3610f7 fix: fix some syntax errors. 2022-04-25 09:44:39 +08:00
Haojun Liao
5eed1159b1 other: merge 3.0 2022-04-25 09:16:37 +08:00
Xiaoyu Wang
6d8566cad8
Merge pull request #11807 from taosdata/feature/3.0_wxy
enh: order by primary key optimize
2022-04-24 20:59:15 +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
Ganlin Zhao
4ea06b37be
Merge pull request #11805 from taosdata/fix/TD-15107
fix(query): fix sum,count,max,min function no output when input is constant value
2022-04-24 20:39:51 +08:00
Xiaoyu Wang
755e0a6456 merge 3.0 2022-04-24 20:14:00 +08:00
Ganlin Zhao
8181ef84db fix(query): fix sum,count,max,min function no output when input is constant value
TD-15107
2022-04-24 19:21:09 +08:00
Xiaoyu Wang
809a78b06e enh: order by primary key optimize 2022-04-24 18:05:28 +08:00
yihaoDeng
b384167087 enh(rpc): fix hb problem 2022-04-23 18:29:45 +08:00
Haojun Liao
4b36763429 refactor(query): do some internal refactor. 2022-04-22 22:43:07 +08:00
Haojun Liao
978b369e8b fix(query): set timestamp window for the returned datablock. 2022-04-22 22:40:19 +08:00
Haojun Liao
e28b75b8d4 refactor(query): do some internal refactor. 2022-04-22 15:07:20 +08:00
Haojun Liao
20111df8e3 fix(query): comment unused codes. 2022-04-21 18:04:30 +08:00
Haojun Liao
9a038322b6 refactor(query): do some internal refactor. 2022-04-21 17:44:08 +08:00
Haojun Liao
a6e8ad6e4a fix(query): if one vgroup has no tables, query against this vgroup will receive unexpected error. 2022-04-21 17:43:46 +08:00
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
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
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
Haojun Liao
f0463a6a58 test: temporarily disable some invalid cases. 2022-04-16 22:50:08 +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
Xiaoyu Wang
c40b590ad8 enh: window clause validity check 2022-04-16 17:27:54 +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
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
Haojun Liao
774e4ad62c enh(query): add more load conditions check before load data block from file. 2022-04-15 20:06:27 +08:00