Skip to content

Commit

Permalink
add some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
cambyzju committed Jul 12, 2024
1 parent 659fa65 commit 62dc29d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions be/src/vec/functions/function_utility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ class FunctionSleep : public IFunction {

bool use_default_implementation_for_nulls() const override { return false; }

// Sleep function should not be executed during open stage, this will makes fragment prepare
// waiting too long, so we do not use default impl.
bool use_default_implementation_for_constants() const override { return false; }

Status execute_impl(FunctionContext* context, Block& block, const ColumnNumbers& arguments,
Expand Down

0 comments on commit 62dc29d

Please sign in to comment.