Expand description
EXPLAIN support for structures defined in this crate.
Modulesยง
- json ๐
EXPLAIN AS JSONsupport for structures defined in this crate.- text ๐
EXPLAIN ... AS TEXTsupport for structures defined in this crate.
Structsยง
- Explain
Context - Explain context shared by all
mz_repr::explain::Explainimplementations in this crate. - Explain
Multi Plan - A structure produced by the
explain_$formatmethods inmz_repr::explain::Explainimplementations at points in the optimization pipeline identified with aDataflowDescriptioninstance with plans of typeT. - Explain
Single Plan - A structure produced by the
explain_$formatmethods inmz_repr::explain::Explainimplementations for points in the optimization pipeline identified with a single plan of typeT. - Explain
Source - Humanized
Explain - A
HumanizerModethat is unambiguous and should be used inEXPLAINoutput. - Humanized
Expr - A helper struct for wrapping expressions whose text output is modulated by the presence of some local (inferred schema) or global (required redaction) context.
- Humanized
Notice - A
HumanizerModethat is ambiguous but allows us to print valid SQL statements, so it should be used in optimizer notices. - Pushdown
Info - Carries metadata about the possibility of MFP pushdown for a source.
(Likely to change, and only emitted when a context flag is enabled.)
The operators of a source import that persist filter pushdown can apply,
as
EXPLAIN ... WITH (filter pushdown)reports them.
Traitsยง
- Humanize
Display - Humanizer
Mode - A trait that abstracts the various ways in which we can humanize expressions.
- Source
Operators - The operators pushed down onto a source import, in either form a
DataflowDescriptioncarries them: theMapFilterProjectthe MIR optimizer rewrites, or theMfpPlanlowering leaves.
Functionsยง
- enforce_
linear_ chains - Normalize the way inputs of multi-input variants are rendered.
- fmt_
temporal_ filter - Renders
temporal filter=<lowers> <= mz_now() < <uppers>, omitting the<lowers> <=or< <uppers>part when the corresponding list is empty, and ends the line. - fmt_
text_ constant_ rows - id_gen ๐