Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-44154

Bitmap functions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.5.0
    • 3.5.0
    • SQL
    • None

    Description

      Implemented bitmap functions. The functions are:

      • bitmap_bucket_number(): returns the bucket number for a given input number
      • bitmap_bit_position(): returns bit position for a given input number
      • bitmap_count(): returns the number of set bits from an input bitmap
      • bitmap_construct_agg(): aggregation function that aggregates input bit positions, and creates a bitmap
      • bitmap_or_agg(): aggregation function that performs a bitwise OR on all the input bitmaps

      Attachments

        Activity

          People

            Unassigned Unassigned
            entong Entong Shen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: