[ 
https://issues.apache.org/jira/browse/HIVE-21630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16821215#comment-16821215
 ] 

Alan Gates commented on HIVE-21630:
-----------------------------------

A class for table name already exists:  
storage-api/src/org/apache/hadoop/hive/common/TableName.java

You should use that rather than create a new one.

> Refactor database object reference access
> -----------------------------------------
>
>                 Key: HIVE-21630
>                 URL: https://issues.apache.org/jira/browse/HIVE-21630
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: David Lavati
>            Assignee: David Lavati
>            Priority: Major
>              Labels: refactor
>
> There are many places in which "
> {databasename}
> .
> {tablename}
> " is passed as a single string; there are some places where the they travel 
> as 2 separate arguments or as a {{String[]}}.
> Idea would be to introduce a simple immutable class with 2 fields ; and pass 
> these informations together. Making this better is required if we would want 
> to enable dot in tablenames: HIVE-16907, HIVE-21151
> The refactor requires large rework especially in the ql module: this ticket 
> serves as an umbrella for these steps.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to