Skip to content

Commit af49180

Browse files
author
gituser
committed
Merge branch '1.10_release_4.1.x' into 1.10_release_4.2.x
2 parents c07155c + 6df54e7 commit af49180

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/com/dtstack/flink/sql/format/dtnest/DtNestRowDeserializationSchema.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ private Row convertTopRow() {
225225
JsonNode node = getIgnoreCase(fieldNames[i]);
226226
AbstractTableInfo.FieldExtraInfo fieldExtraInfo = fieldExtraInfos.get(i);
227227

228-
if (node == null) {
228+
if (node == null || node instanceof NullNode) {
229229
if (fieldExtraInfo != null && fieldExtraInfo.getNotNull()) {
230230
throw new IllegalStateException("Failed to find field with name '"
231231
+ fieldNames[i] + "'.");

0 commit comments

Comments
 (0)