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


##########
hudi-spark-datasource/hudi-spark3.3.x/src/main/scala/org/apache/spark/sql/parser/HoodieSpark3_3ExtendedSqlAstBuilder.scala:
##########
@@ -2704,6 +2715,8 @@ class HoodieSpark3_3ExtendedSqlAstBuilder(conf: SQLConf, 
delegate: ParserInterfa
     val typeText = dataType.getText
     if (typeText.equalsIgnoreCase(HoodieSchemaType.BLOB.name())) {
       builder.putString(HoodieSchema.TYPE_METADATA_FIELD, 
HoodieSchemaType.BLOB.name())
+    } else if (typeText.toUpperCase(Locale.ROOT).startsWith("VECTOR(")) {
+      builder.putString(HoodieSchema.TYPE_METADATA_FIELD, 
typeText.toUpperCase(Locale.ROOT))
     }

Review Comment:
   Not sure why this isn't showing as outdated since it's already addressed...
   <img width="928" height="489" alt="image" 
src="https://github.com/user-attachments/assets/5d928e5a-d690-43b7-8009-8cfd39ef8889";
 />
   



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