kgyrtkirk 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_r381995705
##########
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:
would it make a lot of changes if we would rely on TableName's toString()
method for cases like this....I don't think we should retain the old exception
messages at any cost....
----------------------------------------------------------------
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]