-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
implement short_circuits function for ScalarUDFImpl trait #10168
Conversation
@@ -376,6 +376,12 @@ pub trait ScalarUDFImpl: Debug + Send + Sync { | |||
) -> Result<ExprSimplifyResult> { | |||
Ok(ExprSimplifyResult::Original(args)) | |||
} | |||
/// Returns true if some of this `exprs` subexpressions may not be evaluated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// Returns true if some of this `exprs` subexpressions may not be evaluated | |
/// Returns true if some of this `exprs` subexpressions may not be evaluated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
blank line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
got it
after #10098 merge, you can rewrite this function for |
#10098 is merged now. Thank you @Lordworms |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @Lordworms . Looks great to me
cc @Omega359
* implement short_circuits function for ScalarUDFImpl trait * finish
Which issue does this PR close?
Closes #10162
Rationale for this change
What changes are included in this PR?
Are these changes tested?
Are there any user-facing changes?