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

Brock Noland commented on HIVE-4669:
------------------------------------

Hi,

Very sorry I wasn't clear, I mean the second constructor should use the first. 
Example below. This is pretty minor issue though and it certainly wouldn't be 
the worst offender in hive by any stretch of the imagination! :) So no need to 
update the patch.

{noformat}
  public Driver(HiveConf conf, String userName) {
     this.conf = conf;
   }
  public Driver(HiveConf conf, String userName) {
    this(conf);
    this.userName = userName;
   }
{noformat}

> Make username available to semantic analyzer hooks
> --------------------------------------------------
>
>                 Key: HIVE-4669
>                 URL: https://issues.apache.org/jira/browse/HIVE-4669
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.10.0, 0.11.0
>            Reporter: Shreepadma Venugopalan
>            Assignee: Shreepadma Venugopalan
>         Attachments: HIVE-4669.1.patch, HIVE-4669.2.patch, HIVE-4669.3.patch
>
>
> Make username available to the semantic analyzer hooks.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to