[
https://issues.apache.org/jira/browse/HUDI-7330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17810480#comment-17810480
]
Aditya Goenka commented on HUDI-7330:
-------------------------------------
Github issue - [https://github.com/apache/hudi/issues/10558]
> With 0.14 upgrade, MIT failing with mismatched case in field names.
> -------------------------------------------------------------------
>
> Key: HUDI-7330
> URL: https://issues.apache.org/jira/browse/HUDI-7330
> Project: Apache Hudi
> Issue Type: Bug
> Components: spark-sql
> Reporter: Aditya Goenka
> Priority: Critical
> Fix For: 1.1.0
>
>
> With 0.14.0 upgrade, MIT is failing when the case of the fields do not match.
>
> Reproducible Code -
> create table merge_source (
> id int, name string, price double
> ) using hudi
> tblproperties
> (primaryKey = 'id');insert into merge_source values (1, "old_a1", 22.22), (2,
> "new_a2", 33.33), (3, "new_a3", 44.44);create table hudi_table (
> id INT,
> name STRING,
> price DOUBLE
> ) USING hudi
> tblproperties
> (primaryKey = 'id');insert into hudi_table values (1, "oldid1", 100.00), (2,
> "oldid2", 200.00);
> merge into hudi_table as target
> using merge_source as source
> on target.id = source.id
> when matched then update set ID=source.ID, name=source.name
--
This message was sent by Atlassian Jira
(v8.20.10#820010)