waitingF commented on PR #11637:
URL: https://github.com/apache/hudi/pull/11637#issuecomment-2236521031

   > Strictly speaking, I think Fixed type data should not handle numeric data 
types, although it supports the logical type Decimal. It should ideally refer 
to handling data types like bytes or strings. However, in a broader sense, 
enhancing support for numeric types can be considered. Yet, when converting it 
to JSON, there is ambiguity about what type it should be converted to—based on 
the actual Avro type or the logical type? what do you think about? I also 
consulted the official Avro tools for converting JSON to Avro, which directly 
throws errors when handling numeric types.
   
   Yeah, I think support for numeric types should be considered. 
   In my case, it should be the debezium's responsibility to encode the 
bigint(20) to fixed(as a byte array). But hudi as a data platform, should be 
compatible with most of cases for convenience.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to