Skip to content

Commit d76b122

Browse files
committed
modify whether is NULL for bsonType ,for issue:datavane/tis#455
1 parent 44bccba commit d76b122

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tis-datax/tis-datax-mongodb-plugin/src/main/java/com/qlangtech/tis/plugin/datax/mongo/MongoColValGetter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public FlinkPropValGetter(MongoCMeta cmeta, ZoneId zone) {
6161
@Override
6262
public Object apply(BsonDocument document) {
6363
BsonValue val = cmeta.getBsonVal(document);
64-
if (val == null || (val.getBsonType() == BsonType.NULL)) {
64+
if (val == null || (val.getBsonType() == BsonType.NULL)) {
6565
return null;
6666
}
6767
return MongoDataXColUtils.createCol(cmeta, val, false, zone);

0 commit comments

Comments
 (0)