Aditya Goenka created HUDI-7602:
-----------------------------------

             Summary: Writer failing with exception when precision is different 
for two decimal fields with same name
                 Key: HUDI-7602
                 URL: https://issues.apache.org/jira/browse/HUDI-7602
             Project: Apache Hudi
          Issue Type: Bug
          Components: writer-core
            Reporter: Aditya Goenka
             Fix For: 0.15.0


Github issue - [https://github.com/apache/hudi/issues/10983]

 

Reproducible Code - 

```

drop table hudi_table;
create table hudi_table(
            field1 struct<colName decimal(11,2)>,
            field2 struct<colName decimal(10,2)>
            )
            using hudi;
            
 insert into hudi_table (one, two)
             values (
               named_struct('colName', 1.2),
               named_struct('colName', 3.4)
             );
             
 insert into hudi_table (one, two)
             values (
               named_struct('colName', 5.6),
               named_struct('colName', 7.8)
             );

```



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

Reply via email to