-
Notifications
You must be signed in to change notification settings - Fork 603
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(ir): impure values are never dereferencible (#9023)
All impure values passed to the API methods are treated as separate impure invocations: ```py impure = ibis.random() t1 = t.mutate(y=impure) t2 = t1.mutate(z=impure.cast("string")) ``` now produce ``` r0 := UnboundTable: unbound_table_0 a int64 b string r1 := Project[r0] a: r0.a b: r0.b y: RandomScalar() Project[r1] a: r1.a b: r1.b y: r1.y z: Cast(RandomScalar(), to=string) ```
- Loading branch information
Showing
5 changed files
with
10 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters