This is an automated email from the ASF dual-hosted git repository.
kxiao pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new 6431f73fb20 (fix)[runtime filter] invalid use of switch (#25634)
6431f73fb20 is described below
commit 6431f73fb200183679f443f7f598cb9e4766a963
Author: shuke <[email protected]>
AuthorDate: Thu Oct 19 05:51:31 2023 -0500
(fix)[runtime filter] invalid use of switch (#25634)
---
be/src/exprs/runtime_filter.cpp | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/be/src/exprs/runtime_filter.cpp b/be/src/exprs/runtime_filter.cpp
index 865fe12daf6..747785a730c 100644
--- a/be/src/exprs/runtime_filter.cpp
+++ b/be/src/exprs/runtime_filter.cpp
@@ -1311,15 +1311,15 @@ Status IRuntimeFilter::init_with_desc(const
TRuntimeFilterDesc* desc, const TQue
} else if (desc->type == TRuntimeFilterType::MIN_MAX) {
if (desc->__isset.min_max_type) {
switch (desc->min_max_type) {
- case TMinMaxRuntimeFilterType::MIN: {
+ case TMinMaxRuntimeFilterType::MIN:
_runtime_filter_type = RuntimeFilterType::MIN_FILTER;
- }
- case TMinMaxRuntimeFilterType::MAX: {
+ break;
+ case TMinMaxRuntimeFilterType::MAX:
_runtime_filter_type = RuntimeFilterType::MAX_FILTER;
- }
- case TMinMaxRuntimeFilterType::MIN_MAX: {
+ break;
+ case TMinMaxRuntimeFilterType::MIN_MAX:
_runtime_filter_type = RuntimeFilterType::MINMAX_FILTER;
- }
+ break;
}
} else {
_runtime_filter_type = RuntimeFilterType::MINMAX_FILTER;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]