GitHub user alamb added a comment to the discussion: Does DataFusion Support 
JSON Path Filtering Like `jsonb_path_exists` in PostgreSQL?

You could create a function called `jsonb_path_exists` that takes a binary 
column and a json path string perhaps?

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 
https://docs.rs/datafusion/latest/datafusion/execution/trait.FunctionRegistry.html#method.register_expr_planner



GitHub link: 
https://github.com/apache/datafusion/discussions/15264#discussioncomment-12523254

----
This is an automatically sent email for github@datafusion.apache.org.
To unsubscribe, please send an email to: 
github-unsubscr...@datafusion.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