Replies: 1 comment 4 replies
-
You could create a function called You could take a look at how it is done https://github.com/datafusion-contrib/datafusion-functions-json There is a lower level API that lets you customize how expressions are planned, here: https://docs.rs/datafusion/latest/datafusion/logical_expr/planner/trait.ExprPlanner.html You can register them via Though I don't think we have a good example of using them yet,.. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
PostgreSQL has a handy function called
jsonb_path_exists
that makes it easy to filter JSON data. For example:I’m wondering if there’s a way to do something similar in DataFusion using its Expression API. From what I’ve seen in the docs, it doesn’t look like this is currently supported, but I just wanted to check:
Would love to hear any thoughts on this!
Beta Was this translation helpful? Give feedback.
All reactions