[
https://issues.apache.org/jira/browse/PHOENIX-2689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15153231#comment-15153231
]
Hudson commented on PHOENIX-2689:
---------------------------------
SUCCESS: Integrated in Phoenix-master #1144 (See
[https://builds.apache.org/job/Phoenix-master/1144/])
PHOENIX-2689 VARCHAR Field Not Working With String Concatenation (jtaylor: rev
45a9d670bbb5e659fb967cfdbc6fc1ced43fba12)
*
phoenix-core/src/main/java/org/apache/phoenix/expression/StringConcatExpression.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/LpadFunctionIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/StringIT.java
> VARCHAR Field Not Working With String Concatenation
> ---------------------------------------------------
>
> Key: PHOENIX-2689
> URL: https://issues.apache.org/jira/browse/PHOENIX-2689
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.6.0
> Reporter: Steve T
> Assignee: James Taylor
> Priority: Minor
> Fix For: 4.7.0
>
> Attachments: PHOENIX-2689.patch, PHOENIX-2689_v2.patch,
> PHOENIX-2689_v3.patch
>
>
> Set up:
> {code:sql}
> create table BUGGY (PK1 integer, F1 varchar, F2 varchar, constraint PK
> primary key (PK1));
> upsert into BUGGY values(0, 'tortilla', 'chip');
> {code}
> This works as expected:
> {code:sql}
> select * from BUGGY where ('tortilla'||F2)='tortillachip';
> PK1 0
> F1 tortilla
> F2 chip
> {code}
> But this does not:
> {code:sql}
> select * from BUGGY where (F1||F2)='tortillachip';
> No rows selected (0.01 seconds)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)