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
refactor(optimizer): continuation on typing coverage improvements (#7572)
* refactor (optimizer): add type annotations, raise `OptimizeError` if parent is None in `reorder_joins`
* refactor (optimizer): go back to original func body in `_distribute`
* refactor (optimizer): added a few other type annotations
* fix: added from future import annotations for <3.10 python compatibility
Co-authored-by: Copilot <copilot@github.com>
* fix: narrow pushdown and pushdown_cnf `join_index` mapping key type
* fix: narrow `replace_aliases()` return type, as well as the closure argument
Co-authored-by: Copilot <copilot@github.com>
* fix: delete incorrect `None` return type for `_distribute`, and improve `_predicate_lengths` typing
Co-authored-by: Copilot <copilot@github.com>
* chore: ruff formatting + linting
* fix: annotate `_is_limit_1` function, modified None check to make it pass
Co-authored-by: Copilot <copilot@github.com>
* refactor:
- improve `_unique_outputs` internal and signature typing
- added a few annotations to `_join_is_used`, `eliminate_joins`, and `_is_limit_1` functions
Co-authored-by: Copilot <copilot@github.com>
* fix: prefer parent class `Query` instead of `Select` for `_unique_outputs` internal cast
---------
Co-authored-by: Copilot <copilot@github.com>
0 commit comments