hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Szehon Ho (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-12983) Provide a builtin function to get Hive version
Date Wed, 03 Feb 2016 00:01:39 GMT

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

Szehon Ho commented on HIVE-12983:
----------------------------------

Yea sounds better.

I think it still makes it a bit more tricky for an end-user to parse (as I imagine they probably
only care about the major.minor version, in a sql script).  But its not unreasonable, go for
it if you feel it has a good use-case.

> 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
>
>
> 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 from 208ab352311a6cbbcd1f7fcd40964da2dbc6703d by lskuff source checksum
8e971cda755f6b3fb528c233c40eb50a
> {code}



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

Mime
View raw message