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!: Improve typing annotations for planner, schema, serde, and transforms modules (#7579)
* refactor: improve planner typing annotations
* refactor: improve planner, schema, and serde annotations
Co-authored-by: Copilot <copilot@github.com>
* refactor: added lazy annotations import to time module
Co-authored-by: Copilot <copilot@github.com>
* refactor: improved transforms annotations
Co-authored-by: Copilot <copilot@github.com>
* fix: make `StackVal` `type alias compatible with python 3.9
Co-authored-by: Copilot <copilot@github.com>
* fix: since ast tree is mutated in `transforms::eliminate_qualify`, we indeed need to collect the Iterator in a list first
Co-authored-by: Copilot <copilot@github.com>
* fix: mypc is buggy with `object::__module__` access, so we can't narrow to a precise type the `Expr` path in serde::dump`
* refactor: revert `type` -> `isinstance` usage in `serde::dump` function body
* refactor: revert `nodes` list type in `serde::load`
* refactor: ignore `node` type in `serde::load` body to avoid errors
* refactor: Apply suggestions from code review
Co-authored-by: Jo <46752250+georgesittas@users.noreply.github.com>
* fix: use `Any` for the key type of the trie mapping in `time::format_time`
* refactor: move comment of joins_ons in `transforms::eliminate_join_marks` above the line
* refactor: change the function body of `trnasforms::move_schema_columns_to_partitioned_by` into something more type safe
* fix: revert instance checks in `serde::dump`
* fix: revert type hint of `node` in `serde::load`
* refactor: make the `_sql_handler` variable in `transforms::preprocess::_to_sql` a Protocol
---------
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Jo <46752250+georgesittas@users.noreply.github.com>
0 commit comments