[
https://issues.apache.org/jira/browse/PHOENIX-2170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15770934#comment-15770934
]
Hadoop QA commented on PHOENIX-2170:
------------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12844443/PHOENIX-2170.patch
against master branch at commit bd2acd5404ce03fb330a72bbf346546b7f4fbd2b.
ATTACHMENT ID: 12844443
{color:green}+1 @author{color}. The patch does not contain any @author
tags.
{color:green}+0 tests included{color}. The patch appears to be a
documentation, build,
or dev patch that doesn't require tests.
{color:green}+1 javac{color}. The applied patch does not increase the
total number of javac compiler warnings.
{color:red}-1 javadoc{color}. The javadoc tool appears to have generated
44 warning messages.
{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:green}+1 core tests{color}. The patch passed unit tests in .
Test results:
https://builds.apache.org/job/PreCommit-PHOENIX-Build/708//testReport/
Javadoc warnings:
https://builds.apache.org/job/PreCommit-PHOENIX-Build/708//artifact/patchprocess/patchJavadocWarnings.txt
Console output:
https://builds.apache.org/job/PreCommit-PHOENIX-Build/708//console
This message is automatically generated.
> WHERE condition with string expression returns incorrect results
> ----------------------------------------------------------------
>
> Key: PHOENIX-2170
> URL: https://issues.apache.org/jira/browse/PHOENIX-2170
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.5.0
> Reporter: Dan Meany
> Assignee: Kevin Liew
> Labels: verify
> Fix For: 4.10.0
>
> Attachments: PHOENIX-2170.patch
>
> Original Estimate: 504h
> Remaining Estimate: 504h
>
> Results incorrect for string expression in where clause.
> {code:sql}
> create table TEST (ID BIGINT PRIMARY KEY, FIRST_NAME VARCHAR,LAST_NAME
> VARCHAR);
> upsert into TEST (ID, FIRST_NAME, LAST_NAME) values (1,'Joe','Smith');
> {code}
> /* incorrectly returns 0 */
> {code:sql}
> select count(*) from TEST where lower(FIRST_NAME || ' ' || LAST_NAME) = 'joe
> smith';
> {code}
> /* incorrectly returns no rows */
> {code:sql}
> select * from TEST where lower(FIRST_NAME || ' ' || LAST_NAME) = 'joe smith';
> {code}
> /* correctly returns 1 */
> {code:sql}
> select count(*) from TEST where lower(FIRST_NAME || ' ' ) = 'joe ';
> select count(*) from TEST where lower(' ' || LAST_NAME) = ' smith';
> select count(*) from TEST where lower(FIRST_NAME || ' ' || ' ') = 'joe ';
> {code}
> /* correctly returns 'joe smith' */
> {code:sql}
> select LOWER(FIRST_NAME||' '||LAST_NAME) from TEST;
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)