Skip to content

DescribeTableCommand Logical Command

DescribeTableCommand is a LeafRunnableCommand (indirectly as DescribeCommandBase) that represents a DescribeRelation at execution (and hence DESCRIBE TABLE SQL statement).

Creating Instance

DescribeTableCommand takes the following to be created:

  • TableIdentifier
  • TablePartitionSpec
  • isExtended flag
  • Output Attributes

DescribeTableCommand is created when:

Detailed Table Information

  table: CatalogTable,
  buffer: ArrayBuffer[Row]): Unit


describeFormattedTableInfo is used when: