Skip to content

[Bug] bitmap filter is not pushed down #15529

@luozenglin

Description

@luozenglin

Search before asking

  • I had searched in the issues and found no similar issues.

Version

master

What's Wrong?

sql:

select k1, k2 from test_query_db.bigtable where k1 in (select k2 from bitmap_table) order by k1;

profile:

  VNewOlapScanNode(bigtable)  (id=0):(Active:  2.57ms,  %  non-child:  4.25%)
                              -  PushDownPredicates:  []
                              -  KeyRanges:  ScanKeys:
                              -  TabletIds:  [317160,  317162,  317164,  317166,  317168]
                              -  RemainedDownPredicates:    VBitmapPredicate:  type=BOOL  codegen=false  children=[SlotRef(slot_id=2  type=TINYINT  codegen=false)]

What You Expected?

profile:

  VScanner:
                                  -  ShortCircuitPredicates:  
BitmapFilterColumnPredicate(TINYINT),  column_id=1,  opposite=false

How to Reproduce?

No response

Anything Else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions