-
Notifications
You must be signed in to change notification settings - Fork 36
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
Implement $to_dot()
for LazyFrame
#928
Conversation
etiennebacher
commented
Mar 16, 2024
I don't understand why snapshots fail on some platforms only. @eitsupi can you reproduce some of those failures locally? |
I found that running the function over and over did not always return the same result each time. > query$show_graph(raw_output = TRUE) |> cat()
graph polars_query {
"WITH COLUMNS [\"foo\",\"bar\"] [(0, 0)]" -- "TABLE
π */11;
σ (col(\"drat\")) > (3.0) [(0, 1)]"
"TABLE
π */11;
σ (col(\"drat\")) > (3.0) [(0, 1)]"[label="TABLE
π */11;
σ (col(\"drat\")) > (3.0)"]
"WITH COLUMNS [\"foo\",\"bar\"] [(0, 0)]"[label="WITH COLUMNS [\"foo\",\"bar\"]"]
}
> query$show_graph(raw_output = TRUE) |> cat()
graph polars_query {
"WITH COLUMNS [\"foo\",\"bar\"] [(0, 0)]" -- "TABLE
π */11;
σ (col(\"drat\")) > (3.0) [(0, 1)]"
"WITH COLUMNS [\"foo\",\"bar\"] [(0, 0)]"[label="WITH COLUMNS [\"foo\",\"bar\"]"]
"TABLE
π */11;
σ (col(\"drat\")) > (3.0) [(0, 1)]"[label="TABLE
π */11;
σ (col(\"drat\")) > (3.0)"] |
Merge branch 'lazyframe_show_graph' of https://github.com/pola-rs/r-polars into lazyframe_show_graph # Conflicts: # NEWS.md # R/lazyframe__lazy.R # man/LazyFrame_to_dot.Rd # tests/testthat/_snaps/lazy_profile.md # tests/testthat/test-lazy_profile.R
$show_graph()
for LazyFrame
$to_dot()
for LazyFrame
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.
Thanks!