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
Breaking changes with the operations / expressions API make it difficult for us to keep up with the latest version of Ibis. See the struggle here: googleapis/python-bigquery-dataframes#53
Describe the solution you'd like
A stable way to call custom SQL as part of an ibis expression so that we can have an escape hatch where necessary.
What version of ibis are you running?
6.x
What backend(s) are you using, if any?
BigQuery
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Edit: For some of these, it'd be nice to treat certain string arguments as column and/or table references, not sure if the existing Ibis UDF API supports defining such an argument type?
tswast
changed the title
feat: stable API for defining custom operations, alternatively more hooks to call SQL methods directly
feat: ibis.udf.analytic.builtin and ibis.udf.table.builtin to allow for more flexibility with engine-specific functions
Dec 15, 2023
I think table UDFs need their own issue and some discussion about the API, especially the bits around getting the schema of the return value of the table UDF into ibis.
In most systems that support table UDFs there's really awful UX around providing this information. It tends be extremely cumbersome to use, because any changes to the implementation require editing the schema. It's a hard problem to be sure, but I think we need to be thoughtful about how we expose table UDFs to end users.
Is your feature request related to a problem?
In the BigQuery DataFrames library we define several custom operations. These are mostly to expose BigQuery-specific SQL that didn't necessarily make sense to upstream to the BigQuery backend, though I'm sure some of them could find a home. See: https://github.com/googleapis/python-bigquery-dataframes/blob/main/third_party/bigframes_vendored/ibis/backends/bigquery/registry.py and https://github.com/googleapis/python-bigquery-dataframes/tree/main/third_party/bigframes_vendored/ibis/expr/operations
Breaking changes with the operations / expressions API make it difficult for us to keep up with the latest version of Ibis. See the struggle here: googleapis/python-bigquery-dataframes#53
Describe the solution you'd like
A stable way to call custom SQL as part of an ibis expression so that we can have an escape hatch where necessary.
What version of ibis are you running?
6.x
What backend(s) are you using, if any?
BigQuery
Code of Conduct
The text was updated successfully, but these errors were encountered: