-
Notifications
You must be signed in to change notification settings - Fork 116
Broken images in Optimizations section of the book #201
Comments
I have investigated the above. -![](./../outputs/projection_pushdown/graph.png)
+![](../../outputs/projection_pushdown/graph.png) About "predicate-pushdown", I am wondering if the return value of dot = _ldf.to_dot(optimized)
print(f"{dot=}") (.venv) $ python -m user_guide.src.examples.predicate_pushdown
dot='graph polars_query {\n"FILTER BY col(\\"name\\").str.contains(... [(0, 0)]" -- "FILTER BY (col(\\"link_karma\\")) > (0i... [(0, 1)]"\n"FILTER BY (col(\\"link_karma\\")) > (0i... [(0, 1)]" -- "FILTER BY (col(\\"comment_karma\\")) > ... [(0, 2)]"\n"FILTER BY (col(\\"comment_karma\\")) > ... [(0, 2)]" -- "CSV SCAN data/reddit.csv;\nπ */6;\nσ -; [(0, 3)]"\n\n"FILTER BY (col(\\"link_karma\\")) > (0i... [(0, 1)]"[label="FILTER BY (col(\\"link_karma\\")) > (0i..."]\n"CSV SCAN data/reddit.csv;\nπ */6;\nσ -; [(0, 3)]"[label="CSV SCAN data/reddit.csv;\nπ */6;\nσ -;"]\n"FILTER BY col(\\"name\\").str.contains(... [(0, 0)]"[label="FILTER BY col(\\"name\\").str.contains(..."]\n"FILTER BY (col(\\"comment_karma\\")) > ... [(0, 2)]"[label="FILTER BY (col(\\"comment_karma\\")) > ..."]\n\n}'
dot='graph polars_query {\n\n\n}'
dot='graph polars_query {\n"FILTER BY (((col(\\"comment_karma\\")) ... [(0, 0)]" -- "CSV SCAN data/reddit.csv;\nπ */6;\nσ -; [(0, 1)]"\n\n"FILTER BY (((col(\\"comment_karma\\")) ... [(0, 0)]"[label="FILTER BY (((col(\\"comment_karma\\")) ..."]\n"CSV SCAN data/reddit.csv;\nπ */6;\nσ -; [(0, 1)]"[label="CSV SCAN data/reddit.csv;\nπ */6;\nσ -;"]\n\n}'
dot='graph polars_query {\n\n\n}' I guess I need to trace |
I did some more research on the above. This issue seems to be relevant as well. pola-rs/polars#5570 Print Logical Planpolars/polars-lazy/src/dot.rs:
|
Closed by #211 |
At least the following sections seem to have broken/missing images (either a tiny square image or a plain old 404):
The text was updated successfully, but these errors were encountered: