sdf-jkl commented on code in PR #19722:
URL: https://github.com/apache/datafusion/pull/19722#discussion_r2702607938
##########
datafusion/expr/src/udf.rs:
##########
@@ -696,6 +715,36 @@ pub trait ScalarUDFImpl: Debug + DynEq + DynHash + Send +
Sync {
Ok(ExprSimplifyResult::Original(args))
}
+ /// Returns the [preimage] for this function and the specified scalar
value, if any.
+ ///
+ /// A preimage is a single contiguous [`Interval`] of values where the
function
+ /// will always return `lit_value`
+ ///
+ /// This rewrite is described in the [ClickHouse Paper] and is particularly
Review Comment:
Reply to the comment below covers this
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]