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] [Assigned] (IOTDB-3023) Fix bitmap in QueryDataSetUtils#convertTsBlockByFetchSize

     [ https://issues.apache.org/jira/browse/IOTDB-3023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

xinzhongtianxia reassigned IOTDB-3023:
--------------------------------------

    Assignee: xinzhongtianxia

> 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
>            Assignee: xinzhongtianxia
>            Priority: Major
>
> 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)