Module dataflow_types::explain [−][src]
Expand description
This module houses a pretty printer for the parts of a
DataflowDescription
that are relevant to dataflow rendering.
Format details:
- Sources that have
LinearOperator
s come first. The format is “Source( ):” followed by the predicates
of theLinearOperator
and then theprojection
. - Intermediate views in the dataflow come next.
The format is “View
( ):” followed by the output of expr::explain::ViewExplanation
. - Last is the view or query being explained. The format is “Query:”
followed by the output of
expr::explain::ViewExplanation
. - If there are no sources with some
LinearOperator
and no intermediate views, then the format is identical to the format ofexpr::explain::ViewExplanation
.
It’s important to avoid trailing whitespace everywhere, as plans may be printed in contexts where trailing whitespace is unacceptable, like sqllogictest files.
Structs
An Explanation
facilitates pretty-printing of the parts of a
DataflowDescription
that are relevant to dataflow rendering.