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/05/28 03:47:00 UTC

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

yao.zhou created HUDI-1942:
------------------------------

             Summary: 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
             Fix For: 0.9.0, 0.8.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)