Skip to content

Commit

Permalink
Merge pull request #3973 from cmdlineluser/patch-1
Browse files Browse the repository at this point in the history
Fix typo in CTE materialization section
  • Loading branch information
szarnyasg authored Oct 26, 2024
2 parents 4192e4a + a9db483 commit 3bc9586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/sql/query_syntax/with.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ SELECT * FROM cte2;
## CTE Materialization

DuckDB can employ CTE materialization, i.e., inlining CTEs into the main query.
This is perforemd using heuristics: if the CTE performs a grouped aggregation and is queried more than once, it is materialized.
This is performed using heuristics: if the CTE performs a grouped aggregation and is queried more than once, it is materialized.
Materialization can be explicitly activated by defining the CTE using `AS MATERIALIZED` and disabled by using `AS NOT MATERIALIZED`.

Take the following query for example, which invokes the same CTE three times:
Expand Down

0 comments on commit 3bc9586

Please sign in to comment.