Comments (3)
Just for my own education, what are the use cases for invoking
.to_variant()
? I came across these when I was working on python wrapper functions and I don't know how people are using these objects. Can you help me understand why we would want to do this traversal? I'm going to tackle exposing all of those variants in #767 and the better I can understand the user needs, the better I can make sure I'm getting them covered. Thank you!
Thanks for your support. I would like to implement a custom query optimizer based on the LogicalPlan generated by Datafusion. It needs to obtain expressions within the LogicalPlan (such as filter and join conditions), and then process them differently according to the type of expression (such as In, Like, Cast, etc.). However, implementing it with string matching is very difficult because many edge cases need to be considered. Therefore, I hope to use to_variant()
to conveniently perform type checks and extract specific fields of different types of expressions.
from datafusion-python.
I use datafusion 39.0.0 in Python 3.10.11.
from datafusion-python.
Just for my own education, what are the use cases for invoking .to_variant()
? I came across these when I was working on python wrapper functions and I don't know how people are using these objects. Can you help me understand why we would want to do this traversal? I'm going to tackle exposing all of those variants in #767 and the better I can understand the user needs, the better I can make sure I'm getting them covered. Thank you!
from datafusion-python.
Related Issues (20)
- Upgrade window UDF api HOT 3
- How do I bring dependencies in my binding? HOT 6
- Add documentation and annotations for all user facing python classes and functions
- Implement Arrow PyCapsule Interface
- Enhance Expr.cast() to accept python types
- Create more user friendly aliases from `col`
- Remove unnecessary google test import in CI once upstream is resolved
- Add remaining non-wrapped functions HOT 3
- CI: Test workflow is blocked and does not show up as failing on pull requests
- Remove duplicate aliases
- Tracking DF 40 release HOT 1
- `approx_percentile_cont` can't accept `num_centroids`
- `test_regr_funcs` does not test `datafusion-python` functions
- clarify separation between rust code and python wrappers
- Incorporate unified Aggregate / Window function builder
- Document how to use rust UDF extensions of datafusion-python HOT 5
- feat: better exception when table doesn't exist
- udaf ignores all but first state variable HOT 1
- Error on dataframe count using arrow dataset HOT 1
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 datafusion-python.