-
Notifications
You must be signed in to change notification settings - Fork 43
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
perf: Generate SQL with fewer CTEs #877
Conversation
ba5f7c9
to
fff9408
Compare
bigframes/core/compile/compiled.py
Outdated
@@ -1034,6 +1057,9 @@ def _to_ibis_expr( | |||
return table | |||
|
|||
def filter(self, predicate: ex.Expression) -> OrderedIR: | |||
if any(map(is_window, map(self._get_ibis_column, predicate.unbound_variables))): | |||
# ibis doesn't support qualify syntax |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be worth an issue, too. I think there is some support in ibis for having
, for example (though it's not really possible with the pandas API) if I remember correctly from my work on F1. https://ibis-project.org/tutorials/ibis-for-sql-users#having-clause
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
created bug and referenced in comment
fff3f1f
to
97993a8
Compare
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes #<issue_number_goes_here> 🦕