You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just saw a bundle with an ANY clause with a tuple that had 10k
elements. As of 4c77e2a, we shortened
the tuple itself to not pollute `plan.txt` too much, but the type
declaration still had the word "string" printed 10k times. This is the
case when explicit `TYPES` format of EXPLAIN is requested, or when the
bundle collected via EXPLAIN ANALYZE (DEBUG) (in which case we always
request the `TYPES` flag).
This commit applies the same shortening logic to the type string as we
did in the change mentioned above - if `FmtShortenConstants` flag is
set, then only the first two and the last tuple elements are printed,
reducing the redundant information (chances are all elements within the
tuple are of the same type anyway).
When `VERBOSE` option is set, we show physical spans via `SpanFormatFn`.
This function could be called for Scan, Vector Search, and Delete Range
operators. Unlike in non-verbose case (where we only print the first
4 logical spans), previously we would print any number of physical plans
in the verbose mode. In the same bundle we had 10k of spans which
significantly polluted `plan.txt`, so this commit introduces a hard
limit - now the first 20 physical spans will be printed.
Release note: None
0 commit comments