Skip to content

Commit e222e02

Browse files
committed
drop unnecessary dump of old SQL output
1 parent 17f6441 commit e222e02

File tree

2 files changed

+1
-30
lines changed

2 files changed

+1
-30
lines changed

doc/developer/mir-semantics.pdf

87.9 KB
Binary file not shown.

doc/user/content/sql/explain-analyze.md

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -313,35 +313,6 @@ EXPLAIN ANALYZE HINTS FOR INDEX wins_by_item AS SQL;
313313
```
314314

315315
The results show the SQL that `EXPLAIN ANALYZE` would run to get the TopK hints
316-
for the `wins_by_items` index:
317-
318-
```none
319-
SELECT
320-
repeat(' ', nesting * 2) || operator AS operator,
321-
megsa.levels AS levels,
322-
megsa.to_cut AS to_cut,
323-
megsa.hint AS hint,
324-
pg_size_pretty(savings) AS savings
325-
FROM
326-
mz_introspection.mz_lir_mapping AS mlm
327-
JOIN
328-
mz_introspection.mz_dataflow_global_ids AS mdgi
329-
ON (mlm.global_id = mdgi.global_id)
330-
LEFT JOIN
331-
mz_introspection.mz_expected_group_size_advice AS megsa
332-
ON
333-
(
334-
megsa.dataflow_id = mdgi.id
335-
AND
336-
mlm.operator_id_start <= megsa.region_id
337-
AND
338-
megsa.region_id < mlm.operator_id_end
339-
)
340-
JOIN
341-
mz_introspection.mz_mappable_objects AS mo
342-
ON (mlm.global_id = mo.global_id)
343-
WHERE mo.name = 'materialize.public.wins_by_item'
344-
ORDER BY mlm.lir_id DESC;
345-
```
316+
for the `wins_by_items` index.
346317

347318
[TopK hints]: /transform-data/idiomatic-materialize-sql/top-k/#query-hints-1

0 commit comments

Comments
 (0)