You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "yao.zhou (Jira)" <ji...@apache.org> on 2021/06/05 08:10:00 UTC

[jira] [Comment Edited] (HUDI-1942) HIVE_AUTO_CREATE_DATABASE_OPT_KEY This should default to true when Hudi synchronizes Hive

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

yao.zhou edited comment on HUDI-1942 at 6/5/21, 8:09 AM:
---------------------------------------------------------

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


was (Author: yao.zhou@yuanxi.onaliyun.com):
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)