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

David Lavati commented on HIVE-21630:
-------------------------------------

Thanks [~alangates], I discovered it and utilized it while I was working on the 
original issue HIVE-21198.

I turned that into a subtask of this umbrella, as introducing all the possible 
changes in 1 ticket would be too much: There are some non-trivial state changes 
around a couple of places, where doing the right thing in 1 commit would be too 
convoluted.

> 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