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

Vlad Rozov commented on HIVE-28934:
-----------------------------------

[~dkuzmenko] Possibly that would be a better fix. My goal was to fix CI and as 
I changed {{conf}} that is passed to the storage handler from {{Hive.get()}} to 
Hive session {{{}conf{}}}, I used code from {{PlanUtils.java}} in 
{{{}HiveIcebergStorageHandler.fallbackToNonVectorizedModeBasedOnProperties{}}}.

 

Spark calls {{configureJobPropertiesForStorageHandler}} using Hive session with 
modified {{conf}} and it was not taking effect in ORC if I remember correctly. 
I'll try to recollect the exact use case, but don't have it handy now.

 

> 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