[
https://issues.apache.org/jira/browse/HIVE-22585?focusedWorklogId=389935&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-389935
]
ASF GitHub Bot logged work on HIVE-22585:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 20/Feb/20 13:32
Start Date: 20/Feb/20 13:32
Worklog Time Spent: 10m
Work Description: kgyrtkirk commented on 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]
Issue Time Tracking
-------------------
Worklog Id: (was: 389935)
> Clean up catalog/db/table name usage
> ------------------------------------
>
> Key: HIVE-22585
> URL: https://issues.apache.org/jira/browse/HIVE-22585
> Project: Hive
> Issue Type: Sub-task
> Reporter: David Lavati
> Assignee: David Lavati
> Priority: Major
> Labels: pull-request-available, refactor
> Attachments: HIVE-22585.01.patch, HIVE-22585.02.patch
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> This is a followup to HIVE-21198 to address some additional improvement ideas
> for the TableName object mentioned inĀ
> [https://github.com/apache/hive/pull/550] and attempt to remove all the fishy
> usages of db/tablenames, as a number of places still rely on certain state
> changes/black magic.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)