You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Lenni Kuff (JIRA)" <ji...@apache.org> on 2016/05/28 06:10:12 UTC

[jira] [Comment Edited] (HIVE-12983) Provide a builtin function to get Hive version

    [ https://issues.apache.org/jira/browse/HIVE-12983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15305199#comment-15305199 ] 

Lenni Kuff edited comment on HIVE-12983 at 5/28/16 6:10 AM:
------------------------------------------------------------

Updated based on [~szehon]'s feedback. Now returns a shorted build info (version + githash). I do think including the githash is valuable. One of the use cases for this is to understand exactly what bits are deployed someplace, so it's useful to have the githash. 


was (Author: lskuff):
Updated based on [~szehon]'s feedback. Now returns a shorted build info (version + githash). 

> Provide a builtin function to get Hive version
> ----------------------------------------------
>
>                 Key: HIVE-12983
>                 URL: https://issues.apache.org/jira/browse/HIVE-12983
>             Project: Hive
>          Issue Type: Improvement
>          Components: UDF
>    Affects Versions: 2.0.0
>            Reporter: Lenni Kuff
>            Assignee: Lenni Kuff
>         Attachments: HIVE-12983.1.patch, HIVE-12983.2.patch
>
>
> 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:
> {code}
> beeline> SELECT version();
> 2.1.0-SNAPSHOT r208ab352311a6cbbcd1f7fcd40964da2dbc6703d
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)