You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "xinzhongtianxia (Jira)" <ji...@apache.org> on 2022/04/27 08:19:00 UTC

[jira] [Created] (IOTDB-3023) Fix bitmap in QueryDataSetUtils#convertTsBlockByFetchSize

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)