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

Hadoop QA commented on PHOENIX-4884:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  
http://issues.apache.org/jira/secure/attachment/12938928/PHOENIX-4884.003.patch
  against master branch at commit 180b8ca38f64727b13f46f7e1a7db8b672d093c9.
  ATTACHMENT ID: 12938928

    {color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include 
any new or modified tests.
                        Please justify why no new tests are needed for this 
patch.
                        Also please list what manual steps were performed to 
verify this patch.

    {color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

    {color:green}+1 lineLengths{color}.  The patch does not introduce lines 
longer than 100

     {color:red}-1 core tests{color}.  The patch failed these unit tests:
     
./phoenix-core/target/failsafe-reports/TEST-org.apache.phoenix.end2end.ConcurrentMutationsIT

Test results: 
https://builds.apache.org/job/PreCommit-PHOENIX-Build/2030//testReport/
Console output: 
https://builds.apache.org/job/PreCommit-PHOENIX-Build/2030//console

This message is automatically generated.

> INSTR function should work seamlessly with literal and non-literal arguments
> ----------------------------------------------------------------------------
>
>                 Key: PHOENIX-4884
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4884
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>            Priority: Major
>             Fix For: 4.15.0, 5.1.0
>
>         Attachments: PHOENIX-4884.001.patch, PHOENIX-4884.002.patch, 
> PHOENIX-4884.003.patch
>
>
> INSTR's documentation reads as though it should support an expression or a 
> literal for either argument. At least, it doesn't say that it only supports 
> one or the other.
> However, the implementation only handles the case of {{INSTR(expr, 
> literal)}}. We can pretty easily make this better and work with any 
> combination:
> e.g. {{INSTR(literal, expr)}}, {{INSTR(expr, expr)}}, {{INSTR(literal, 
> literal)}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to