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

Provide a builtin function to get Hive version

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.1.0
    • Component/s: UDF
    • Labels:
      None

      Description

      It would be nice to have a builtin function that would return the Hive version. This would make it easier for a users and tests to programmatically check the Hive version in a SQL script. It's also useful so a client can check the Hive version on a remote cluster.

      For example:

      beeline> SELECT version();
      
      2.1.0-SNAPSHOT r208ab352311a6cbbcd1f7fcd40964da2dbc6703d
      

        Attachments

        1. HIVE-12983.2.patch
          6 kB
          Lenni Kuff
        2. HIVE-12983.1.patch
          6 kB
          Lenni Kuff

          Activity

            People

            • Assignee:
              lskuff Lenni Kuff
              Reporter:
              lskuff Lenni Kuff
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: