Wenning Ding created HUDI-1181:
----------------------------------

             Summary: Decimal type display issue for record key field
                 Key: HUDI-1181
                 URL: https://issues.apache.org/jira/browse/HUDI-1181
             Project: Apache Hudi
          Issue Type: Bug
            Reporter: Wenning Ding


When using ```fixed_len_byte_array``` decimal type as Hudi record key, Hudi 
would not correctly display the decimal value, instead, Hudi would display it 
as a byte array.

During the Hudi writing phase, Hudi would save the parquet source data into 
Avro Generic Record. For example, the source parquet data has a column with 
decimal type:
```
optional fixed_len_byte_array(16) LN_LQDN_OBJ_ID (DECIMAL(38,0));
```
Then Hudi will convert it into the following avro decimal type:




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to