BITMAP_SUBSET_IN_RANGE (Lakehouse v1)
Génère un sous-bitmap du bitmap source dans une plage donnée.
Syntaxe Analyze
Section intitulée « Syntaxe Analyze »func.bitmap_subset_in_range( <bitmap>, <start>, <end> )Exemples Analyze
Section intitulée « Exemples Analyze »func.bitmap_subset_in_range(func.build_bitmap([5, 7, 9]), 6, 9)
┌─────────────────────────────────────────────────────────────────┐│ func.bitmap_subset_in_range(func.build_bitmap([5, 7, 9]), 6, 9) │├─────────────────────────────────────────────────────────────────┤│ 7 │└─────────────────────────────────────────────────────────────────┘Syntaxe SQL
Section intitulée « Syntaxe SQL »BITMAP_SUBSET_IN_RANGE( <bitmap>, <start>, <end> )Exemples SQL
Section intitulée « Exemples SQL »SELECT BITMAP_SUBSET_IN_RANGE(BUILD_BITMAP([5,7,9]), 6, 9)::String;
┌───────────────────────────────────────────────────────────────┐│ bitmap_subset_in_range(build_bitmap([5, 7, 9]), 6, 9)::string │├───────────────────────────────────────────────────────────────┤│ 7 │└───────────────────────────────────────────────────────────────┘