xiarixiaoyao commented on code in PR #5830: URL: https://github.com/apache/hudi/pull/5830#discussion_r1022520427
########## 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: getEmptyInternalSchema will give a emptyInternalSchema which indicate schema evolution disabled. -- 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-unsubscr...@hudi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org