You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Krisztian Kasa (Jira)" <ji...@apache.org> on 2019/10/02 07:41:00 UTC

[jira] [Updated] (HIVE-22250) Describe function does not provide description for rank functions

     [ https://issues.apache.org/jira/browse/HIVE-22250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Krisztian Kasa updated HIVE-22250:
----------------------------------
    Status: Open  (was: Patch Available)

> Describe function does not provide description for rank functions
> -----------------------------------------------------------------
>
>                 Key: HIVE-22250
>                 URL: https://issues.apache.org/jira/browse/HIVE-22250
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Krisztian Kasa
>            Assignee: Krisztian Kasa
>            Priority: Minor
>             Fix For: 4.0.0
>
>         Attachments: HIVE-22250.1.patch, HIVE-22250.1.patch, HIVE-22250.1.patch
>
>
> {code}
> @WindowFunctionDescription(
>   description = @Description(
>     name = "dense_rank",
>     value = "_FUNC_(x) The difference between RANK and DENSE_RANK is that DENSE_RANK leaves no " +
>             "gaps in ranking sequence when there are ties. That is, if you were " +
>             "ranking a competition using DENSE_RANK and had three people tie for " +
>             "second place, you would say that all three were in second place and " +
>             "that the next person came in third."
>   ),
>   supportsWindow = false,
>   pivotResult = true,
>   rankingFunction = true,
>   impliesOrder = true
> )
> {code}
> {code}
> DESC FUNCTION dense_rank;
> {code}
> {code}
> PREHOOK: query: DESC FUNCTION dense_rank
> PREHOOK: type: DESCFUNCTION
> POSTHOOK: query: DESC FUNCTION dense_rank
> POSTHOOK: type: DESCFUNCTION
> There is no documentation for function 'dense_rank'
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)