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


##########
hudi-common/src/main/java/org/apache/hudi/common/schema/HoodieSchemaUtils.java:
##########
@@ -651,6 +652,25 @@ public static Object 
convertValueForSpecificDataTypes(HoodieSchema fieldSchema,
     );
   }
 
+  /**
+   * Fetch schema for record key and partition path.
+   * This is equivalent to HoodieAvroUtils.getRecordKeyPartitionPathSchema() 
but returns HoodieSchema.
+   *
+   * @return HoodieSchema containing record key and partition path fields
+   */
+  public static HoodieSchema getRecordKeyPartitionPathSchema() {
+    List<HoodieSchemaField> toBeAddedFields = new ArrayList<>();

Review Comment:
   I keep forgetting about this, will try to keep this in mind in the future!
   
   Addressed.



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