Skip to content

Commit

Permalink
fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
xzhseh committed Jan 13, 2024
1 parent f8e6b73 commit 90bdad7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/binder/create_function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ impl Binder {
if params.return_.is_none() {
return Err(BindError::BindFunctionError(
"AS or RETURN must be specified".to_string(),
)
.into());
));
}
// Otherwise this is a return expression
// Note: this is a current work around, and we are assuming return sql udf
Expand Down

0 comments on commit 90bdad7

Please sign in to comment.