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

Create bitwise left/right shift UDFs

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: UDF
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: