diff --git a/be/src/pipeline/pipeline_task.h b/be/src/pipeline/pipeline_task.h index 1d0cac7ef54a0ea..febc9634c49f237 100644 --- a/be/src/pipeline/pipeline_task.h +++ b/be/src/pipeline/pipeline_task.h @@ -224,7 +224,7 @@ class PipelineTask { RuntimeState* runtime_state() const { return _state; } - RuntimeProfile* get_task_profile() const { return _task_profile.get();} + RuntimeProfile* get_task_profile() const { return _task_profile.get(); } std::string task_name() const { return fmt::format("task{}({})", _index, _pipeline->_name); } diff --git a/be/src/udf/udf.h b/be/src/udf/udf.h index a2aecb616717ada..d717c18ccec64a4 100644 --- a/be/src/udf/udf.h +++ b/be/src/udf/udf.h @@ -26,8 +26,8 @@ #include #include "runtime/types.h" -#include "vec/common/arena.h" #include "util/runtime_profile.h" +#include "vec/common/arena.h" namespace doris { @@ -93,9 +93,7 @@ class FunctionContext { _udf_execute_timer = udf_execute_timer; } - RuntimeProfile::Counter* get_udf_execute_timer() { - return _udf_execute_timer; - } + RuntimeProfile::Counter* get_udf_execute_timer() { return _udf_execute_timer; } // Cast flag, when enable string_as_jsonb_string, string casting to jsonb will not parse string // instead just insert a string literal diff --git a/be/src/vec/functions/function_java_udf.h b/be/src/vec/functions/function_java_udf.h index 6fbcd971eb6ec86..e35fc67881acb5c 100644 --- a/be/src/vec/functions/function_java_udf.h +++ b/be/src/vec/functions/function_java_udf.h @@ -107,7 +107,8 @@ class JavaFunctionCall : public IFunctionBase { bool is_use_default_implementation_for_constants() const override { return true; } - bool is_udf_function() const override { return true; } + bool is_udf_function() const override { return true; } + private: const TFunction& fn_; const DataTypes _argument_types;