-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fix](window_funnel) fix wrong result of window_funnel #38954 #40001
base: branch-2.0
Are you sure you want to change the base?
Conversation
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
run buildall |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
@@ -21,25 +21,29 @@ | |||
|
|||
#pragma once | |||
|
|||
#include <stddef.h> | |||
#include <stdint.h> | |||
#include <gen_cpp/data.pb.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: 'gen_cpp/data.pb.h' file not found [clang-diagnostic-error]
#include <gen_cpp/data.pb.h>
^
} | ||
|
||
template <WindowFunnelMode WINDOW_FUNNEL_MODE> | ||
int _get_internal() const { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: function '_get_internal' should be marked [[nodiscard]] [modernize-use-nodiscard]
int _get_internal() const { | |
[[nodiscard]] int _get_internal() const { |
} | ||
return max_found_event_count; | ||
} | ||
int get() const { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: function 'get' should be marked [[nodiscard]] [modernize-use-nodiscard]
int get() const { | |
[[nodiscard]] int get() const { |
data->enable_mode = version >= 3; | ||
} | ||
|
||
String get_name() const override { return "window_funnel"; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: function 'get_name' should be marked [[nodiscard]] [modernize-use-nodiscard]
String get_name() const override { return "window_funnel"; } | |
[[nodiscard]] String get_name() const override { return "window_funnel"; } |
|
||
String get_name() const override { return "window_funnel"; } | ||
|
||
DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt32>(); } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: function 'get_return_type' should be marked [[nodiscard]] [modernize-use-nodiscard]
DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt32>(); } | |
[[nodiscard]] DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt32>(); } |
TeamCity be ut coverage result: |
TPC-H: Total hot run time: 50112 ms
|
TPC-DS: Total hot run time: 201670 ms
|
ClickBench: Total hot run time: 31.55 s
|
Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
|
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
BP #38954