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

Lefty Leverenz commented on HIVE-9859:
--------------------------------------

Doc note:  shiftleft(), shiftright(), and shiftrightunsigned() should be 
documented in the Built-in Functions section of Operators and UDFs, with 
version information and a link to this issue.

* [Hive Operators and UDFs -- Built-in Functions | 
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-Built-inFunctions]

> Create bitwise left/right shift UDFs
> ------------------------------------
>
>                 Key: HIVE-9859
>                 URL: https://issues.apache.org/jira/browse/HIVE-9859
>             Project: Hive
>          Issue Type: Improvement
>          Components: UDF
>            Reporter: Alexander Pivovarov
>            Assignee: Alexander Pivovarov
>              Labels: TODOC1.2
>             Fix For: 1.2.0
>
>         Attachments: HIVE-9859.1.patch, HIVE-9859.2.patch, HIVE-9859.3.patch, 
> HIVE-9859.5.patch
>
>
> Signature:
> a << b
> a >> b
> a >>> b
> For example:
> {code}
> select 1 << 4, 8 >> 2, 8 >>> 2;
> OK
> 16   2   2
> {code}



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

Reply via email to