Skip to content

Commit

Permalink
fix: optimize isNullAt (apache#732)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuyukitanimura authored Jul 30, 2024
1 parent be065d3 commit c4a06f0
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 c4a06f0

Please sign in to comment.