rahil-c commented on code in PR #18431:
URL: https://github.com/apache/hudi/pull/18431#discussion_r3019364636


##########
hudi-common/src/main/java/org/apache/hudi/common/schema/HoodieSchema.java:
##########
@@ -420,6 +421,11 @@ public static HoodieSchema createNullable(HoodieSchema 
schema) {
   public static HoodieSchema createArray(HoodieSchema elementSchema) {
     ValidationUtils.checkArgument(elementSchema != null, "Element schema 
cannot be null");
 
+    if (elementSchema.getNonNullType().getType() == HoodieSchemaType.VECTOR) {

Review Comment:
   I think actually this is a good catch for the java api, will add this.



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