sr bitmap

 

BITMAP_CONTAINS(bitmap, input)
 
 
 

select bitmap_contains(

(select uid_set from

tmp_to_del___user_segment_result where segment_id=545

order by create_time desc limit 1

)

,816596700)

 

bitmap_contains | StarRocks https://docs.starrocks.io/zh/docs/sql-reference/sql-functions/bitmap-functions/bitmap_contains/

 

 

and create_time<'2024-11-17 00:00:00'
and (bitmap_contains(
                        (select uid_set
                            from tmp_to_del___user_segment_result
                            where segment_id="496"
                            and shop_id=123
                            order by create_time desc
                            limit 1
                        )
                        ,user_id)
    )
 
 
posted @ 2024-11-15 19:02  papering  阅读(3)  评论(0编辑  收藏  举报