You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ibis is doing some incredible work by integrating substrait for generating substrait plan of the user's query to support cross DB operations in python.
This concludes that ibis is not supporting generating substrait plans for user defined functions. But it will be awesome if we have one.
P.S I have already posted to ibis-substrait github repo. Though they did't have a template for feature. Lemme know I will delete this issue here, if needed.
Thanks
Describe the solution you'd like
The solution I would like to have is a substrait plan similar like how we have for expression for user defined functions too.
What version of ibis are you running?
5.1.0
What backend(s) are you using, if any?
The backends I am using right now is
DuckDB
Pandas
SQL
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Thanks for raising this @Anindyadeep ! I've responded over in ibis-project/ibis-substrait#644 which I think is the more relevant place to continue this discussion, so I'm going to close out this issue here.
Ibis is doing some incredible work by integrating substrait for generating substrait plan of the user's query to support cross DB operations in python.
Suppose we have a table like this :
Right now we define udf's in ibis like this
And hence we can apply this function to our tables like this
And applying this function returns this
Even we can mutate our existing table to add a new column with this function.
Before coming to the main problem, consider this, I have a simple expression like this
And now I can generate the substrait plan of this expression using this code :
Hence I can get the substrait plan. But when I am trying to get the substrait plan through an user defined function then I am getting this error:
Doing this gives me the error :
KeyError: 'AnalyticVectorizedUDF'
.I even thought that substrait might also not provide the support for now. But it seems like substrait do support :
type
type
relation
But Not user defined relations.
This concludes that ibis is not supporting generating substrait plans for user defined functions. But it will be awesome if we have one.
P.S I have already posted to
ibis-substrait
github repo. Though they did't have a template for feature. Lemme know I will delete this issue here, if needed.Thanks
Describe the solution you'd like
The solution I would like to have is a substrait plan similar like how we have for expression for user defined functions too.
What version of ibis are you running?
5.1.0
What backend(s) are you using, if any?
The backends I am using right now is
Code of Conduct
The text was updated successfully, but these errors were encountered: