jacktengg opened a new issue, #12230:
URL: https://github.com/apache/doris/issues/12230

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### Version
   
   master
   
   ### What's Wrong?
   
   read column data with bitmap index failed:
   ```
   errCode = 2, detailMessage = failed to initialize storage reader. 
tablet=37661.1941406444.81452927a4f817c9-a11add9f5a37f39a, res=Internal 
error(error -3111):  0# doris::Status::ConstructErrorStatus(short) at 
/mnt/disk/tengjianping/doris-test/be/src/common/status.cpp:78
    1# doris::Status::OLAPInternalError(short) at 
/mnt/disk/tengjianping/doris-test/be/src/common/status.h:392
    2# doris::BetaRowsetReader::next_block(doris::vectorized::Block*) at 
/mnt/disk/tengjianping/doris-test/be/src/olap/rowset/beta_rowset_reader.cpp:270
    3# 
doris::vectorized::VCollectIterator::Level0Iterator::_refresh_current_row() at 
/mnt/disk/tengjianping/doris-test/be/src/vec/olap/vcollect_iterator.cpp:219
    4# doris::vectorized::VCollectIterator::Level0Iterator::init() at 
/mnt/disk/tengjianping/doris-test/be/src/vec/olap/vcollect_iterator.cpp:204
    5# 
doris::vectorized::VCollectIterator::build_heap(std::vector<std::shared_ptr<doris::RowsetReader>,
 std::allocator<std::shared_ptr<doris::RowsetReader> > >&) at 
/mnt/disk/tengjianping/doris-test/be/src/vec/olap/vcollect_iterator.cpp:74
    6# 
doris::vectorized::BlockReader::_init_collect_iter(doris::TabletReader::ReaderParams
 const&, std::vector<std::shared_ptr<doris::RowsetReader>, 
std::allocator<std::shared_ptr<doris::RowsetReader> > >*) at 
/mnt/disk/tengjianping/doris-test/be/src/vec/olap/block_reader.cpp:64
    7# doris::vectorized::BlockReader::init(doris::TabletReader::ReaderParams 
const&) at 
/mnt/disk/tengjianping/doris-test/be/src/vec/olap/block_reader.cpp:136
    8# doris::vectorized::VOlapScanner::open() at 
/mnt/disk/tengjianping/doris-test/be/src/vec/exec/volap_scanner.cpp:126
    9# 
doris::vectorized::VOlapScanNode::scanner_thread(doris::vectorized::VOlapScanner*)
 at /mnt/disk/tengjianping/doris-test/be/src/vec/exec/volap_scan_node.cpp:402
   ```
   
   ### What You Expected?
   
   read data ok
   
   ### How to Reproduce?
   
   ```
   CREATE TABLE `test` (
           `a` decimal(12, 6) NOT NULL
           ) ENGINE = OLAP
           DUPLICATE KEY(`a`)
           DISTRIBUTED BY HASH(`a`) BUCKETS 1
           PROPERTIES (
               "replication_allocation" = "tag.location.default: 1");
           """
       sql """
       create index bitmap_index_multi_page on test(a) using bitmap;
   ```
   
   Load 100 million duplicate rows  into table, then execute sql:
   ```
   select * from test limt 10;
   ```
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to