Comments (8)
As I understand it, the usecase for GuaranteeRewriter
when @wjones127 (maybe?) added it was for providing external information (outside of information that came from SQL). I don't think we should just remove the ability to do so
I would personally recommend add code that translates Statistics
into Guarantees
to pass to GuaranteeRewriter
We could discuss reworking how GuaranteeRewriter
works as a follow on PR
from arrow-datafusion.
@jayzhan211 Do I understand correctly that the best option is to incorporate the guarantee logic into the simplifier based on statistics and remove the old version of the guarantee?
I think so.
from arrow-datafusion.
Update: #10463 is not what this issue expects, I will see what to do next.
I can help it. :) An experimental PR is #10463
from arrow-datafusion.
On a second glance, I feel it's difficult. 😥
When simplifying a logicalplan, it seems impossible to get the underlying data which could making guarantees
.
from arrow-datafusion.
I think this may be another example of what @samuelcolvin was suggesting on #10400
I think we could use ExecutionPlan::statistics to get the guarantee information
from arrow-datafusion.
@jayzhan211
Do I understand correctly that the best option is to incorporate the guarantee logic into the simplifier based on statistics and remove the old version of the guarantee?
from arrow-datafusion.
old version of the guarantee?
What does "old version of the guarantee?" refer to?
from arrow-datafusion.
What does "old version of the guarantee?" refer to?
from arrow-datafusion.
Related Issues (20)
- API to get all `Column` references in an `Expr` without cloning `Columns`
- Strengthen TypeSignature and Coercion rule.
- Excessive memory consumption on sorting HOT 3
- feat: enable optional UDF arguments in `regexp_*` functions HOT 1
- cannot import datafusion-37.1.0 in python 3.8 of windows 7 x64 HOT 2
- Release DataFusion `39.0.0`
- `ScalarVariable` Expr --> String Support
- `IsNull` / `IsNotNull` Expr --> String Support HOT 2
- `TryCast` Expr --> String Support
- `GroupingSet` Expr --> String Support HOT 5
- `Placeholder` Expr --> String Support HOT 1
- `OuterColumnReference` Expr --> String Support HOT 1
- Add an example of how to use the SQL parser/unparser API HOT 2
- Support Substrait VirtualTables
- Discussion: make it easier for specify SQL --> function translation HOT 3
- Create a DataFusion blog HOT 2
- `analysis.rs` bounds check panic HOT 2
- AggregateUDF expression API design HOT 1
- Example for building an external index for parquet files
- `array_slice` can't correctly handle NULL parameters or some edge cases
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arrow-datafusion.