voonhous commented on code in PR #19809:
URL: https://github.com/apache/hudi/pull/19809#discussion_r3921262931


##########
hudi-common/src/main/java/org/apache/hudi/common/avro/HoodieAvroUtils.java:
##########
@@ -112,7 +114,44 @@
 import static org.apache.hudi.common.util.ValidationUtils.checkState;
 
 /**
- * Helper class to do common stuff across Avro.
+ * Operations on Avro records and values.
+ *
+ * <p>This class owns the record-level half of the Avro world:</p>
+ * <ul>
+ *   <li>serialization: {@code avroToBytes} / {@code bytesToAvro} and the JSON 
converters</li>
+ *   <li>record rewriting between schemas: {@code rewriteRecord*}, {@code 
projectRecordToNewSchemaShallow},
+ *       {@code stitchRecords}</li>
+ *   <li>value coercion for logical types: {@code convertValueFor*}, {@code 
convertBytesToBigDecimal}</li>
+ *   <li>record-key, metadata-column and nested-value access: {@code 
getNestedFieldVal},
+ *       {@code addHoodieKeyToRecord}, {@code getRecordColumnValues}, {@code 
createHoodieRecordFromAvro}</li>
+ * </ul>
+ *
+ * <p>Raw {@link Schema} helpers live here only when they serve a record 
operation on this class (for example

Review Comment:
   Dropped in 173cef432361; the example list is now `createNewSchemaField`, 
`unwrapNullable`.



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