Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-9859

Create bitwise left/right shift UDFs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • UDF
    • None

    Description

      Signature:
      a << b
      a >> b
      a >>> b

      For example:

      select 1 << 4, 8 >> 2, 8 >>> 2;
      OK
      16   2   2
      

      Attachments

        1. HIVE-9859.1.patch
          29 kB
          Alexander Pivovarov
        2. HIVE-9859.2.patch
          29 kB
          Alexander Pivovarov
        3. HIVE-9859.3.patch
          29 kB
          Alexander Pivovarov
        4. HIVE-9859.5.patch
          31 kB
          Alexander Pivovarov

        Activity

          People

            apivovarov Alexander Pivovarov
            apivovarov Alexander Pivovarov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: