alamb commented on issue #14944:
URL: https://github.com/apache/datafusion/issues/14944#issuecomment-2691336051

   I think the conclusion is that PruningPredicaate expects a properly coerced 
expression already
   
   You can use `SessionContext::create_physical_expr` to automatically perform 
coercsion as shown in this example
   
   
https://github.com/apache/datafusion/blob/5e49094c159ce110bebd2bb6f4858ff515cd1860/datafusion-examples/examples/expr_api.rs#L540-L543
   
   There are a bunch of other examples there about how to apply coercion


-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to