Uploaded image for project: 'Apache Hudi'
  1. Apache Hudi
  2. HUDI-4103

TestCreateTable failed CTAS when indicating hoodie.database.name in table properties

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.11.1
    • None

    Description

      Current `test("Test Create Table As Select With Tblproperties For Filter Props"` complains

      org.apache.hudi.exception.HoodieException: Config conflict(key    current value    existing value):
      hoodie.database.name:    databaseName    default
          at org.apache.hudi.HoodieWriterUtils$.validateTableConfig(HoodieWriterUtils.scala:161)
          at org.apache.hudi.HoodieSparkSqlWriter$.write(HoodieSparkSqlWriter.scala:86)
          at org.apache.hudi.DefaultSource.createRelation(DefaultSource.scala:163)
          at org.apache.spark.sql.execution.datasources.SaveIntoDataSourceCommand.run(SaveIntoDataSourceCommand.scala:45)
          at org.apache.spark.sql.execution.command.ExecutedCommandExec.sideEffectResult$lzycompute(commands.scala:75)
          at org.apache.spark.sql.execution.command.ExecutedCommandExec.sideEffectResult(commands.scala:73)
       

      Attachments

        Issue Links

          Activity

            People

              dongkelun 董可伦
              jinxing6042@126.com Jin Xing
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: