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

yao.zhou commented on HUDI-1942:
--------------------------------

If you set this parameter to true by default, you shouldn't set it to true if 
the map does not include this parameter.

> HIVE_AUTO_CREATE_DATABASE_OPT_KEY This should default to true when Hudi 
> synchronizes Hive
> -----------------------------------------------------------------------------------------
>
>                 Key: HUDI-1942
>                 URL: https://issues.apache.org/jira/browse/HUDI-1942
>             Project: Apache Hudi
>          Issue Type: Bug
>          Components: newbie
>            Reporter: yao.zhou
>            Assignee: Vinay
>            Priority: Major
>              Labels: easy-fix, pull-request-available
>             Fix For: 0.8.0, 0.9.0
>
>
> HIVE_AUTO_CREATE_DATABASE_OPT_KEY = 
> "hoodie.datasource.hive_sync.auto_create_database"
> DEFAULT_HIVE_AUTO_CREATE_DATABASE_OPT_KEY = "true"
> in HoodieSparkSqlWriter.buildSyncConfig 
> hiveSyncConfig.autoCreateDatabase = 
> parameters.get(HIVE_AUTO_CREATE_DATABASE_OPT_KEY).exists(r => r.toBoolean)
>  * This method sets the parameter to false



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to