deniskuzZ commented on code in PR #6379:
URL: https://github.com/apache/hive/pull/6379#discussion_r3001380226
##########
ql/src/java/org/apache/hadoop/hive/ql/plan/PartitionDesc.java:
##########
@@ -258,6 +259,20 @@ public String getTableName() {
return tableName;
}
+ /**
+ * Returns the catalog name for this partition's table. The value is stored
as a dedicated
+ * field on {@link TableDesc} (not in its {@code Properties}, to avoid
polluting EXPLAIN output)
+ * by {@code Utilities.getTableDesc(Table)}. Falls back to {@link
Warehouse#DEFAULT_CATALOG_NAME}
+ * when the field is absent (e.g. for PartitionDesc instances constructed
without a backing
+ * {@code Table}).
+ */
+ public String getCatalogName() {
Review Comment:
should it be part of @Explain
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]