trushev commented on code in PR #5830:
URL: https://github.com/apache/hudi/pull/5830#discussion_r1021098630


##########
hudi-common/src/main/java/org/apache/hudi/internal/schema/convert/AvroInternalSchemaConverter.java:
##########
@@ -91,6 +91,11 @@ public static InternalSchema convert(Schema schema) {
     return new InternalSchema(fields);
   }
 
+  /** Convert an avro schema into internalSchema with given versionId. */
+  public static InternalSchema convertToEmpty(Schema schema) {
+    return new InternalSchema(InternalSchema.EMPTY_SCHEMA_VERSION_ID, schema);

Review Comment:
   empty schema means schema evolution disabled or appropriate internal schema 
not found



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