Skip to content

ShowTablesExec Physical Command

ShowTablesExec is a physical command that represents a ShowTables logical command at execution time.

ShowTablesExec is a leaf physical operator.

Creating Instance

ShowTablesExec takes the following to be created:

ShowTablesExec is created when DataSourceV2Strategy execution planning strategy is requested to plan a ShowTables logical command.

Executing Command

run(): Seq[InternalRow]

run requests the TableCatalog to listTables in the namespace.

run returns tables that match the pattern if defined or all the tables available.

run is part of the V2CommandExec abstraction.

Back to top