-
Notifications
You must be signed in to change notification settings - Fork 544
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bigquery udf: len is undefined #1470
Comments
same is true of
|
Most of the language is supported, builtin functions are not part of the language, they are part of the standard library. I'll make that distinction more clear there. |
Pull requests always welcome to add builtins |
@tsdlovell Are there any particular builtins you'd like to see other |
For enumerate
transpiles to
|
|
If you are feeling adventurous you can add the rewrites yourself without having to wait on me to implement them. See here for some examples: https://github.com/ibis-project/ibis/blob/master/ibis/bigquery/udf/core.py#L83-L117 |
@cpcloud , can you point me to any snippets where a more complicated statement is substituted? |
I might be able to start from visit_ListComp |
Closes ibis-project#1470 Author: Phillip Cloud <cpcloud@gmail.com> Closes ibis-project#1475 from cpcloud/bq-len and squashes the following commits: a4ca763 [Phillip Cloud] Fix test 504b24a [Phillip Cloud] Flake8 24199a1 [Phillip Cloud] Fix test eaae183 [Phillip Cloud] ENH: Implement len rewrite for BigQuery
workaround is to use javascript notation in the udf
which will transpile to
The text was updated successfully, but these errors were encountered: