BITMAP_SUBSET_IN_RANGE (Lakehouse v2)
Renvoie un sous-ensemble d’un bitmap compris 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(get_column(table, 'bm'), 2, 5)
┌──────────┐│ (bitmap) │└──────────┘Syntaxe SQL
Section intitulée « Syntaxe SQL »BITMAP_SUBSET_IN_RANGE(<bitmap>, <start>, <end>)Exemples SQL
Section intitulée « Exemples SQL »SELECT BITMAP_TO_STRING(BITMAP_SUBSET_IN_RANGE( BITMAP_FROM_STRING('1,2,3,4,5,6'), 2, 5));
┌───────┐│ 2,3,4 │└───────┘