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


##########
hudi-common/src/main/java/org/apache/hudi/common/util/CommitUtils.java:
##########
@@ -49,7 +50,7 @@
 public class CommitUtils {
 
   private static final Logger LOG = LoggerFactory.getLogger(CommitUtils.class);
-  private static final String NULL_SCHEMA_STR = 
Schema.create(Schema.Type.NULL).toString();
+  private static final String NULL_SCHEMA_STR = 
HoodieSchema.create(HoodieSchemaType.NULL).toString();

Review Comment:
   `HoodieSchema.create(HoodieSchemaType.NULL)` seems to be used in quite a few 
places, possible to just make this a public constant somewhere where we can 
just import this to the other relevant classes?



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