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

Provide a builtin function to get Hive version

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.1.0
    • UDF
    • 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.1.patch
          6 kB
          Lenni Kuff
        2. HIVE-12983.2.patch
          6 kB
          Lenni Kuff

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: