Jonathan Vexler created HUDI-5461:
-------------------------------------
Summary: Upsert after renaming the table fails due to table props
validation
Key: HUDI-5461
URL: https://issues.apache.org/jira/browse/HUDI-5461
Project: Apache Hudi
Issue Type: Bug
Components: configs, spark-sql
Reporter: Jonathan Vexler
This happens because the table is renamed in the catalog but not in hoodie.props
Exception:
{code:java}
org.apache.hudi.exception.HoodieException: Config conflict(key current value
existing value):
hoodie.table.name: table_renamed table1
at
org.apache.hudi.HoodieWriterUtils$.validateTableConfig(HoodieWriterUtils.scala:167)
at
org.apache.hudi.HoodieSparkSqlWriter$.write(HoodieSparkSqlWriter.scala:90)
at
org.apache.hudi.DefaultSource.createRelation(DefaultSource.scala:145) {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)