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

Quanlong Huang commented on HIVE-22699:
---------------------------------------

[~Rajkumar Singh] I uploaded the patch and added you as the reviewer. Hope you 
can have a look.

> Mask UDFs should mask numeric value 0
> -------------------------------------
>
>                 Key: HIVE-22699
>                 URL: https://issues.apache.org/jira/browse/HIVE-22699
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Quanlong Huang
>            Assignee: Quanlong Huang
>            Priority: Major
>         Attachments: HIVE-22699.1.patch
>
>
> These queries all return 0:
> {code:java}
> select mask(0);
> select mask_first_n(0);
> select mask_last_n(0);
> select mask_show_first_n(0, 0);
> select mask_show_last_n(0, 0);{code}
> According to the doc, they should return 1.



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

Reply via email to