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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to