nsivabalan commented on issue #16873:
URL: https://github.com/apache/hudi/issues/16873#issuecomment-4795645065

   Triage: This appears to be addressed in current master. 
`HoodieSchemaUtils.toJavaDefaultValue` 
([HoodieSchemaUtils.java:864](https://github.com/apache/hudi/blob/master/hudi-common/src/main/java/org/apache/hudi/common/schema/HoodieSchemaUtils.java#L864))
 now supports non-null default values across primitive types 
(STRING/INT/LONG/FLOAT/DOUBLE/BOOLEAN/ENUM/BYTES), FIXED, DECIMAL, logical 
types (TIME/TIMESTAMP/DATE/UUID), and complex types (ARRAY/MAP/RECORD via 
Avro's `GenericData`). The relevant fix was commit 16ffd281f3 (PR #17892, *feat 
(schema): Add fetching default values for FIXED, DECIMAL, TIME, TIMESTAMP, 
DATE, and UUID*). Schema-evolution comparison 
(`HoodieSchemaComparatorForSchemaEvolution.validateField`) also compares 
non-null defaults correctly. If you have a concrete repro that still fails, 
please share — otherwise this can likely be closed.


-- 
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