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

Denys Kuzmenko commented on HIVE-28934:
---------------------------------------

[~vrozov] could you clarify the purpose of this change?  `{{{}Hive.get()`{}}} 
was removed from one place but added in another. Since there are no 
accompanying tests, I assume this isn't a correctness fix but rather an 
optimization?

PR states that "Creating new instance of {{Hive}} is a heavy weight operation".

> PlanUtils.configureJobPropertiesForStorageHandler should use hive session 
> configuration
> ---------------------------------------------------------------------------------------
>
>                 Key: HIVE-28934
>                 URL: https://issues.apache.org/jira/browse/HIVE-28934
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Planning
>    Affects Versions: 4.0.0
>            Reporter: Vlad Rozov
>            Assignee: Vlad Rozov
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.1.0
>
>
> Using {{Hive.get().getConf()}} to get {{HiveConf}} leads to Hive 
> instantiation with default configuration.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to