YannByron commented on code in PR #1459:
URL: https://github.com/apache/incubator-paimon/pull/1459#discussion_r1246376076


##########
paimon-spark/paimon-spark-common/src/main/java/org/apache/paimon/spark/SparkTypeUtils.java:
##########
@@ -173,8 +173,7 @@ public DataType visit(RowType rowType) {
             List<StructField> fields = new 
ArrayList<>(rowType.getFieldCount());
             for (DataField field : rowType.getFields()) {
                 StructField structField =
-                        DataTypes.createStructField(
-                                field.name(), field.type().accept(this), 
field.type().isNullable());
+                        DataTypes.createStructField(field.name(), 
field.type().accept(this), true);

Review Comment:
   This change is for https://github.com/apache/incubator-paimon/issues/1048. 
Should submit another pr for this, just leave it for the pr's tests.



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