alamb opened a new pull request, #8377:
URL: https://github.com/apache/arrow-datafusion/pull/8377

   ## Which issue does this PR close?
   
   Part of https://github.com/apache/arrow-datafusion/issues/7013
   
   ## Rationale for this change
   
   As part of updating DataFusion internally in IOx 
https://github.com/influxdata/influxdb_iox/pull/9428 , I found that we had code 
that used the range analysis code directly and thus had to be changed due to 
XXXX.
   
   I found that DataFusion has a much nicer interface to do this 
[`analyze`](https://docs.rs/datafusion/latest/datafusion/physical_expr/fn.analyze.html)
 but I didn't think it was particularly obvious how to do so
   
   
   ## What changes are included in this PR?
   
   1. Add example of using analysis APIs 
   2. Add example of evaluating an Expr, which is not as obvious either
   
   
   ## Are these changes tested?
   
   <!--
   We typically require tests for all PRs in order to:
   1. Prevent the code from being accidentally broken by subsequent changes
   4. Serve as another way to document the expected behavior of the code
   
   If tests are not included in your PR, please explain why (for example, are 
they covered by existing tests)?
   -->
   
   ## Are there any user-facing changes?
   
   <!--
   If there are user-facing changes then we may require documentation to be 
updated before approving the PR.
   -->
   
   <!--
   If there are any breaking changes to public APIs, please add the `api 
change` label.
   -->
   


-- 
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]

Reply via email to