We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29af136 commit dbaef54Copy full SHA for dbaef54
iotdb-core/datanode/src/test/java/org/apache/iotdb/db/pipe/event/TsFileInsertionDataContainerTest.java
@@ -623,9 +623,9 @@ private int getNonNullSize(final Row row) {
623
624
private int getNonNullSize(final Tablet tablet) {
625
int count = 0;
626
- for (int i = 0; i < tablet.getRowSize(); ++i) {
+ for (int i = 0; i < tablet.rowSize; ++i) {
627
for (int j = 0; j < tablet.getSchemas().size(); ++j) {
628
- if (!tablet.isNull(i, j)) {
+ if (tablet.bitMaps == null || tablet.bitMaps[i] == null || !tablet.bitMaps[i].isMarked(j)) {
629
++count;
630
}
631
0 commit comments