Explain

Important

This documentation has been retired and might not be updated. The products, services, or technologies mentioned in this content are no longer supported. See EXPLAIN.

EXPLAIN [EXTENDED | CODEGEN] statement

Provide detailed plan information about statement without actually running it. By default this only outputs information about the physical plan. Explaining DESCRIBE TABLE is not supported.

EXTENDED

Output information about the logical plan before and after analysis and optimization.

CODEGEN

Output the generated code for the statement, if any.