Repository navigation
Commit 652ccc7
authored
[pick](topn) Sync and pick topn from doris master (apache#1431)
Issue Number: close http://jira.selectdb-in.cc/browse/CORE-1462
Describe the overview of changes.
commit e1697741a82f875ca42b0d18caa7972eaa225bee
Author: Kang <[email protected]>
Date: Thu Jan 19 22:59:29 2023 +0800
[opt](test) scalar_types_p0 use 100k lines dataset and scalar_types_p2 use 1000k (apache#16104)
commit 33a47e8d02644123ffd8c5c4353653c1c175e96a
Author: Kang <[email protected]>
Date: Wed Jan 18 14:17:24 2023 +0800
[testcase](bitmap index)bitmap index testcase (apache#15975)
* add bitmap index testcases for all scalar types
commit 260a631441834ca7e23da4b77c922eb818eddca7
Author: Kang <[email protected]>
Date: Mon Jan 16 16:49:59 2023 +0800
[regression-test](topn)add test cases for nonkey topn query for each scalar type (apache#15790)
related to apache#15558 apache#15693
1. dup key table with 17 scalar datatypes
2. unique key table with mow enabled
3. unique key table with mow disabled
commit 81cea5219ae86df950f10aa123072df78c7cdf23
Author: Kang <[email protected]>
Date: Sun Feb 19 23:28:33 2023 +0800
[bugfix](topn) fix topn read_orderby_key_columns nullptr (apache#16896)
The SQL `SELECT nationkey FROM regression_test_query_p0_limit.tpch_tiny_nation ORDER BY nationkey DESC LIMIT 5`
make be core dump since dereference a nullptr `read_orderby_key_columns in VCollectIterator::_topn_next`,
triggered by skipping _colname_to_value_range init in apache#16818 .
This PR makes two changes:
1. avoid read_orderby_key_columns nullptr in TabletReader::_init_orderby_keys_param
2. return error if read_orderby_key_columns is nullptr unexpected in VCollectIterator::_topn_next to avoid core dump
commit 2fee1d1d79942e49eddaafdc2b49e49b0651b109
Author: Kang <[email protected]>
Date: Fri Feb 10 12:56:33 2023 +0800
[Improvement](topn) add limit threashold session variable and fuzzy for topn optimizations (apache#16514)
1. add limit threshold for topn runtime pushdown and key topn optimization
2. use unified session variable topn_opt_limit_threshold for all topn optimizations
3. add fuzzy support for topn_opt_limit_threshold
commit 1696bed39129fcc891f32f64ff1fb43f9531fcd4
Author: Kang <[email protected]>
Date: Thu Feb 2 09:13:32 2023 +0800
[bugfix](topn) fix topn runtime predicate getting value bug for decimal type (apache#16331)
* fix topn runtime predicate getting value bug for decimal type
* fix cast_to_string bug for TYPE_DECIMALV2
commit d70cdf61521a23417c9bc734a3cdb668265a15b0
Author: Kang <[email protected]>
Date: Wed Feb 22 16:18:46 2023 +0800
topn sync doris order by key topn query optimization apache#15663
commit 1df514c8f0b66ae9a8438617163a31848e519949
Author: Kang <[email protected]>
Date: Wed Feb 22 15:14:43 2023 +0800
sync with doris runtime prune for topn query apache#155581 parent 159a48f commit 652ccc7
705 files changed
Lines changed: 25377 additions & 208 deletions
File tree
- be/src
- olap
- runtime
- vec
- common/sort
- core
- exec
- scan
- olap
- docs
- en/docs/advanced
- zh-CN/docs/advanced
- fe/fe-core/src
- main/java/org/apache/doris
- planner
- qe
- test/java/org/apache/doris/planner
- regression-test
- data
- datatype_p0/scalar_types/sql
- datatype_p2/scalar_types/sql
- suites
- datatype_p0/scalar_types
- sql
- datatype_p2/scalar_types
- sql
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
414 | 414 | | |
415 | 415 | | |
416 | 416 | | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | 417 | | |
422 | 418 | | |
423 | 419 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | | - | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 26 | + | |
33 | 27 | | |
34 | 28 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
| 29 | + | |
57 | 30 | | |
| 31 | + | |
58 | 32 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
| 33 | + | |
67 | 34 | | |
| 35 | + | |
68 | 36 | | |
69 | | - | |
70 | | - | |
71 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
72 | 43 | | |
73 | 44 | | |
74 | | - | |
75 | | - | |
76 | | - | |
| 45 | + | |
| 46 | + | |
77 | 47 | | |
78 | 48 | | |
79 | | - | |
80 | | - | |
81 | | - | |
| 49 | + | |
| 50 | + | |
82 | 51 | | |
83 | 52 | | |
84 | | - | |
85 | | - | |
86 | | - | |
| 53 | + | |
| 54 | + | |
87 | 55 | | |
88 | 56 | | |
89 | | - | |
90 | | - | |
91 | | - | |
| 57 | + | |
| 58 | + | |
92 | 59 | | |
93 | 60 | | |
94 | | - | |
95 | | - | |
96 | | - | |
| 61 | + | |
| 62 | + | |
97 | 63 | | |
98 | 64 | | |
99 | | - | |
100 | | - | |
101 | | - | |
| 65 | + | |
| 66 | + | |
102 | 67 | | |
103 | 68 | | |
104 | | - | |
105 | | - | |
106 | | - | |
| 69 | + | |
| 70 | + | |
107 | 71 | | |
108 | 72 | | |
109 | | - | |
110 | | - | |
| 73 | + | |
| 74 | + | |
111 | 75 | | |
112 | 76 | | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
| 77 | + | |
| 78 | + | |
117 | 79 | | |
118 | 80 | | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
| 81 | + | |
| 82 | + | |
123 | 83 | | |
124 | 84 | | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
| 85 | + | |
| 86 | + | |
133 | 87 | | |
134 | 88 | | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
| 89 | + | |
| 90 | + | |
143 | 91 | | |
144 | 92 | | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
| 93 | + | |
| 94 | + | |
152 | 95 | | |
153 | 96 | | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
| 97 | + | |
| 98 | + | |
158 | 99 | | |
159 | 100 | | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
| 101 | + | |
| 102 | + | |
164 | 103 | | |
165 | 104 | | |
166 | 105 | | |
167 | | - | |
| 106 | + | |
168 | 107 | | |
169 | 108 | | |
170 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
171 | 151 | | |
172 | | - | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
173 | 155 | | |
174 | 156 | | |
175 | 157 | | |
| |||
0 commit comments