Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangstar333 committed Oct 15, 2024
1 parent bcef6ab commit 862a66b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion be/src/pipeline/pipeline_task.h
Original file line number Diff line number Diff line change
Expand Up @@ -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); }

Expand Down
6 changes: 2 additions & 4 deletions be/src/udf/udf.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
#include <vector>

#include "runtime/types.h"
#include "vec/common/arena.h"
#include "util/runtime_profile.h"
#include "vec/common/arena.h"

namespace doris {

Expand Down Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion be/src/vec/functions/function_java_udf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 862a66b

Please sign in to comment.