SYSTEM$EXPLAIN_JSON_TO_TEXT

functionsupportedQueries & DML

docs.snowflake.com ↗

System functions

This function converts EXPLAIN output from JSON to formatted text.

Syntax

SYSTEM$EXPLAIN_JSON_TO_TEXT( <explain_output_in_json_format> )

Parameters

NameRequiredDescription
explain_output_in_json_formatrequiredA string, or an expression that evaluates to a string, containing EXPLAIN output as a JSON-compatible string. If the input is a string, the string should be enclosed in single quotes '.

Returns

The function returns a VARCHAR containing the EXPLAIN output as text that has been formatted to be relatively easy for humans to read.

Usage notes

See also

Referenced by