-
Notifications
You must be signed in to change notification settings - Fork 590
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
refactor(api): remove unnecessary select from set operations
#9438
Conversation
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.
(provided tests pass)
621d15b
to
9bfda9e
Compare
select from set operations
|
This should also give us even more breathing room for huge unions, since we can compile big chains of them without triggering the recursive sqlglot compilation of |
9bfda9e
to
786a648
Compare
| @@ -850,19 +850,20 @@ def test_column_access(benchmark, many_cols, getter): | |||
| benchmark(getter, many_cols) | |||
|
|
|||
|
|
|||
| @pytest.fixture(scope="module") | |||
| def many_tables(): | |||
| @pytest.fixture(scope="module", params=[1000, 10000]) | |||
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.
An expression with 10k unions is definitely hitting the upper limit of interactive latency acceptability (about 9s on a gcp instance with 64 cores and 96G of RAM).
|
Clouds are passing: |
8104135
to
6d69f56
Compare
Closes #5917.