Skip to content

Commit

Permalink
fix: optimize isNullAt
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuyukitanimura committed Jul 26, 2024
1 parent ded3dd6 commit 99abfcb
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,7 @@ public CDataDictionaryProvider getDictionaryProvider() {

@Override
public boolean isNullAt(int rowId) {
if (this.valueBufferAddress == -1) {
return true;
} else {
return super.isNullAt(rowId);
}
return this.valueBufferAddress == -1 || super.isNullAt(rowId);
}

@Override
Expand Down

0 comments on commit 99abfcb

Please sign in to comment.