[ 
https://issues.apache.org/jira/browse/HIVE-21198?focusedWorklogId=204217&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-204217
 ]

ASF GitHub Bot logged work on HIVE-21198:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 26/Feb/19 12:11
            Start Date: 26/Feb/19 12:11
    Worklog Time Spent: 10m 
      Work Description: kgyrtkirk commented on pull request #550: HIVE-21198 
Introduce a database object reference class
URL: https://github.com/apache/hive/pull/550#discussion_r260254455
 
 

 ##########
 File path: 
ql/src/java/org/apache/hadoop/hive/ql/exec/ColumnStatsUpdateTask.java
 ##########
 @@ -86,8 +86,8 @@ private ColumnStatistics constructColumnStatsFromInput()
               colStats.getStatsDesc().getTableName());
       return colStats;
     }
-    String dbName = work.dbName();
-    String tableName = work.getTableName();
+    final String dbName = work.dbName();
 
 Review comment:
   the "work" should have method(and corresponding field) `getTableName` 
instead of these 2 getters 
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 204217)
    Time Spent: 0.5h  (was: 20m)

> Introduce a database object reference class
> -------------------------------------------
>
>                 Key: HIVE-21198
>                 URL: https://issues.apache.org/jira/browse/HIVE-21198
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Zoltan Haindrich
>            Assignee: David Lavati
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-21198.1.patch, HIVE-21198.2.patch, 
> HIVE-21198.3.patch, HIVE-21198.4.patch
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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.
> 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 be 
> wanting to enable dot in tablenames 
> HIVE-16907, HIVE-21151



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

Reply via email to