You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by GitBox <gi...@apache.org> on 2020/02/20 14:08:33 UTC

[GitHub] [hive] dlavati commented on a change in pull request #876: HIVE-22585: Clean up catalog/db/table name usage

dlavati commented on a change in pull request #876: HIVE-22585: Clean up catalog/db/table name usage
URL: https://github.com/apache/hive/pull/876#discussion_r382020206
 
 

 ##########
 File path: ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/TableExport.java
 ##########
 @@ -152,7 +152,7 @@ private void writeData(PartitionIterable partitions) throws SemanticException {
       if (tableSpec.tableHandle.isPartitioned()) {
         if (partitions == null) {
           throw new IllegalStateException("partitions cannot be null for partitionTable :"
-              + tableSpec.getTableName().getTable());
+              + tableSpec.getTableName().getNotEmptyDbTable());
 
 Review comment:
   I guess using the logic of `getNotEmptyDbTable` for `toString` would make the most sense then.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org