XiaoHongbo-Hope commented on code in PR #7827:
URL: https://github.com/apache/paimon/pull/7827#discussion_r3231942748


##########
paimon-spark/paimon-spark-common/src/main/java/org/apache/paimon/spark/SparkCatalog.java:
##########
@@ -491,7 +493,9 @@ private Schema toInitialSchema(
         for (StructField field : schema.fields()) {
             String name = field.name();
             DataType type;
-            if (blobFields.contains(name) || blobViewFields.contains(name)) {
+            if (blobFields.contains(name)
+                    || blobDescriptorFields.contains(name)
+                    || blobViewFields.contains(name)) {

Review Comment:
   nit: Could we extract a shared blobTypeFields() helper like FlinkCatalog



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