Skip to content

Commit 34f7209

Browse files
author
yuzelin
committed
fix
1 parent b786c73 commit 34f7209

File tree

1 file changed

+2
-1
lines changed
  • paimon_python_java/paimon-python-java-bridge/src/main/java/org/apache/paimon/python

1 file changed

+2
-1
lines changed

paimon_python_java/paimon-python-java-bridge/src/main/java/org/apache/paimon/python/BytesWriter.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ private boolean checkTypesIgnoreNullability(
8989
Field actualField = actualFields.get(i);
9090
// ArrowType doesn't have nullability (similar to DataTypeRoot)
9191
if (!actualField.getType().equals(expectedField.getType())
92-
|| !checkSchema(expectedField.getChildren(), actualField.getChildren())) {
92+
|| !checkTypesIgnoreNullability(
93+
expectedField.getChildren(), actualField.getChildren())) {
9394
return false;
9495
}
9596
}

0 commit comments

Comments
 (0)