Skip to content
Snippets Groups Projects
Commit 18564284 authored by Wenchen Fan's avatar Wenchen Fan Committed by Reynold Xin
Browse files

[SQL][MINOR] DESC should use 'Catalog' as partition provider

## What changes were proposed in this pull request?

`CatalogTable` has a parameter named `tracksPartitionsInCatalog`, and in `CatalogTable.toString` we use `"Partition Provider: Catalog"` to represent it. This PR fixes `DESC TABLE` to make it consistent with `CatalogTable.toString`.

## How was this patch tested?

N/A

Author: Wenchen Fan <wenchen@databricks.com>

Closes #16035 from cloud-fan/minor.
parent eba72775
No related branches found
No related tags found
No related merge requests found
......@@ -489,7 +489,7 @@ case class DescribeTableCommand(
if (table.tableType == CatalogTableType.VIEW) describeViewInfo(table, buffer)
if (DDLUtils.isDatasourceTable(table) && table.tracksPartitionsInCatalog) {
append(buffer, "Partition Provider:", "Hive", "")
append(buffer, "Partition Provider:", "Catalog", "")
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment