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

Davis Zhang edited comment on HUDI-8818 at 1/14/25 5:28 PM:
------------------------------------------------------------

Hi Shawn,

It would be great if you can give a set of commands that we can just copy and 
run for reproducing. It greatly avoids any ambiguities and speed up the 
progress on this jira.

Once we have the command, please move the Jira out from review state to 
in-progress state so it's easy for me to track tasks on my plate.

 

Thank you!


was (Author: JIRAUSER305408):
Hi Shawn,

It would be great if you can give a set of commands that we can just copy and 
run for reproducing. It greatly avoids any ambiguities and speed up the 
progress on this jira.

Thank you!

> Hudi 1.0 cannot use SQL to write older versioned Hudi table
> -----------------------------------------------------------
>
>                 Key: HUDI-8818
>                 URL: https://issues.apache.org/jira/browse/HUDI-8818
>             Project: Apache Hudi
>          Issue Type: Sub-task
>            Reporter: Shawn Chang
>            Assignee: Davis Zhang
>            Priority: Blocker
>             Fix For: 1.0.1
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> When using Hudi 1.0 + Spark SQL to write a table created by Hudi 0.14 + Spark 
> 3.5.0 using Spark dataframe API, we noticed that the INSERT query would fail 
> to database config conflict
> {code:java}
> Config conflict(key    current value    existing value):
> hoodie.database.name:    yxchang_nolf
> org.apache.hudi.exception.HoodieException: Config conflict(key    current 
> value    existing value):
> hoodie.database.name:    yxchang_nolf
>     at 
> org.apache.hudi.HoodieWriterUtils$.validateTableConfig(HoodieWriterUtils.scala:256)
>     at 
> org.apache.hudi.HoodieSparkSqlWriterInternal.writeInternal(HoodieSparkSqlWriter.scala:245)
>     at 
> org.apache.hudi.HoodieSparkSqlWriterInternal.$anonfun$write$1(HoodieSparkSqlWriter.scala:190)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to