adriangb commented on code in PR #12978:
URL: https://github.com/apache/datafusion/pull/12978#discussion_r1825119177
##########
datafusion/core/src/physical_optimizer/pruning.rs:
##########
@@ -1567,6 +1581,11 @@ fn build_statistics_expr(
)),
))
}
+ Operator::LikeMatch => build_like_match(expr_builder).ok_or_else(|| {
+ plan_datafusion_err!(
+ "LIKE expression with wildcard at the beginning is not
supported"
+ )
Review Comment:
That's what `unhandled_hook` does. It won't always be a literal `true`. I
think it's easiest to follow the pattern in the rest of this file for now and
let it bubble up and hit `unhandled_hook`.
--
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]