Skip to content

ShowTables Logical Command

ShowTables is a logical command that represents SHOW TABLES SQL statement.

SHOW TABLES ((FROM | IN) multipartIdentifier)?
  (LIKE? pattern=STRING)?


ShowTables is resolved to ShowTablesExec physical command.

Creating Instance

ShowTables takes the following to be created:

ShowTables is created when AstBuilder is requested to visitShowTables.

Output Attributes

output: Seq[Attribute]

output is the following attributes:

  • namespace
  • tableName

output is part of the Command abstraction.