Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Commit

Permalink
Merge pull request #211 from Trippy3/fix_optimizations
Browse files Browse the repository at this point in the history
fix the code path in projection-pushdown
  • Loading branch information
braaannigan committed Dec 20, 2022
2 parents b0c2f17 + 666adc0 commit db486dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions user_guide/src/optimizations/lazy/projection-pushdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Again, let's take a look the query plan.
dataset.show_graph(optimized=False)
```

![](./../outputs/projection_pushdown/graph.png)
![](../../outputs/projection_pushdown/graph.png)

Now were focussed on the projection's indicated with π. The first node shows π 3/6,
indicating that we select 3 out of 6 columns in the `DataFrame`. If we look the csv scans
Expand All @@ -48,7 +48,7 @@ Let's see how `Polars` optimizes this query.
dataset.show_graph(optimized=True)
```

![](./../outputs/projection_pushdown/graph-optimized.png)
![](../../outputs/projection_pushdown/graph-optimized.png)

The projections are pushed down the join operation all the way to the csv scans. This
means that both the scanning and join operation have become cheaper due to the query
Expand Down

0 comments on commit db486dd

Please sign in to comment.