Skip to content

feat(expr-ir): Long-overdue sync#3611

Merged
dangotbanned merged 711 commits into
oh-nodesfrom
expr-ir/logical-plan
May 11, 2026
Merged

feat(expr-ir): Long-overdue sync#3611
dangotbanned merged 711 commits into
oh-nodesfrom
expr-ir/logical-plan

Conversation

@dangotbanned
Copy link
Copy Markdown
Member

@dangotbanned dangotbanned commented May 11, 2026

Description

Note

Had hoped to split this up, but need to get something in before (#3608)

Related issues

Not sure why this only came up recently
Couldn't get coverage for `AllDType`, `EmptyDType`
Documenting this is one of the last selectors parts in #3497

May as well pick the name first
+ finish the partial API + use it everywhere
Wasn't possible in the (earlier) ADT version
Towards #3497

Highlights how this is based on the updated `polars` internals (pola-rs/polars#23351)
Towards #3497

- pylance added support recently (can't find when) for
the text showing in both `__init__` and on attribute access
- there's still some larger docs I wanna keep on the attributes *for now*
Towards #3497

getting there indeed
The time it would take to add tests is the only thing blocking these
- Planning to partially revert (#3029 (comment))
- I made the wrong call on `when`
- Still prefer the deviation for the other nodes
Related: (90def5f),
(8303f70)

- Happy with it feature-wise
- Implementation + docs need more polish
- Avoids the double zipping
- Covers the only valid expansion on `main`
  - + allows the expansion on a leaf
- Per-class (`{Binary,Ternary}Expr`), a cache hit can come from any instance
- This triggers another `(1, M, M)` case
added too much complexity for some that avoids a 2-3 string list
@dangotbanned dangotbanned added documentation Improvements or additions to documentation enhancement New feature or request internal labels May 11, 2026
maybe fixes:
> TypeError: Parameters to generic types must be types. Got <narwhals._plan.translate.ParamSpec object at 0x7f72e4cf4dc0>.
> TypeError: type.__new__() takes exactly 3 arguments (0 given)
> fixture 'lazyframe' not found
> fixture 'lazy' not found
@dangotbanned dangotbanned marked this pull request as ready for review May 11, 2026 22:04
@dangotbanned dangotbanned merged commit 61baf17 into oh-nodes May 11, 2026
18 of 37 checks passed
@dangotbanned dangotbanned deleted the expr-ir/logical-plan branch May 11, 2026 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request internal

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant