You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "hudi-bot (via GitHub)" <gi...@apache.org> on 2025/11/30 11:46:15 UTC
[I] Support non-null default value in Avro schema [hudi]
hudi-bot opened a new issue, #16873:
URL: https://github.com/apache/hudi/issues/16873
https://github.com/apache/hudi/pull/12781#discussion_r1964568104
## JIRA info
- Link: https://issues.apache.org/jira/browse/HUDI-9104
- Type: Improvement
- Fix version(s):
- 1.1.0
--
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: commits-unsubscribe@hudi.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Support non-null default value in Avro schema [hudi]
Posted by "nsivabalan (via GitHub)" <gi...@apache.org>.
nsivabalan closed issue #16873: Support non-null default value in Avro schema
URL: https://github.com/apache/hudi/issues/16873
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Support non-null default value in Avro schema [hudi]
Posted by "nsivabalan (via GitHub)" <gi...@apache.org>.
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org