Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
lmatz committed Dec 18, 2024
1 parent 6c5c616 commit a7c8e93
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/frontend/src/planner/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,7 @@ impl Planner {
let limit = limit.unwrap_or(ExprImpl::literal_bigint(LIMIT_ALL_COUNT as i64));
if !limit.is_const() {
return Err(ErrorCode::ExprError(
format!(
"expects an integer or expression after LIMIT, but found:{:?}",
limit
)
"expects an integer or expression that can be evaluated to an integer after LIMIT"
.into(),
)
.into());
Expand Down

0 comments on commit a7c8e93

Please sign in to comment.