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

Hive QA commented on HIVE-22699:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12990095/HIVE-22699.1.patch

{color:green}SUCCESS:{color} +1 due to 5 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 17852 tests 
executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[udf_mask_first_n] 
(batchId=88)
{noformat}

Test results: 
https://builds.apache.org/job/PreCommit-HIVE-Build/20098/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/20098/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-20098/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 1 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12990095 - PreCommit-HIVE-Build

> 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