xinzhongtianxia created IOTDB-3023:
--------------------------------------

             Summary: Fix bitmap in QueryDataSetUtils#convertTsBlockByFetchSize
                 Key: IOTDB-3023
                 URL: https://issues.apache.org/jira/browse/IOTDB-3023
             Project: Apache IoTDB
          Issue Type: Bug
          Components: mpp-cluster
            Reporter: xinzhongtianxia


For example:

The while loop fetched 2 TsBlocks, each one has only one row.
Then the *dataBitmapOutputStream* will finally write 2 "un-full" bitmap.
Since rowCount is 2, the
{code:java}
int bitmapOccupation = (rowCount + 7) / 8{code}
will get 1, which cannot hold all bitmaps in *dataBitmapOutputStream*



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to