[
https://issues.apache.org/jira/browse/PHOENIX-2645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15450239#comment-15450239
]
Hudson commented on PHOENIX-2645:
---------------------------------
FAILURE: Integrated in Jenkins build Phoenix-master #1375 (See
[https://builds.apache.org/job/Phoenix-master/1375/])
PHOENIX-2645 Wildcard characters do not match newline characters (twdsilva: rev
ede483cf29c86c1acebc12d995966a838e4eaffb)
* (edit)
phoenix-core/src/test/java/org/apache/phoenix/expression/LikeExpressionTest.java
* (edit)
phoenix-core/src/main/java/org/apache/phoenix/expression/function/ByteBasedRegexpSplitFunction.java
* (edit)
phoenix-core/src/it/java/org/apache/phoenix/end2end/LikeExpressionIT.java
* (edit)
phoenix-core/src/main/java/org/apache/phoenix/expression/ByteBasedLikeExpression.java
* (edit)
phoenix-core/src/main/java/org/apache/phoenix/expression/StringBasedLikeExpression.java
* (edit)
phoenix-core/src/main/java/org/apache/phoenix/expression/function/ByteBasedRegexpReplaceFunction.java
* (edit)
phoenix-core/src/main/java/org/apache/phoenix/expression/function/ByteBasedRegexpSubstrFunction.java
* (edit)
phoenix-core/src/main/java/org/apache/phoenix/expression/function/StringBasedRegexpReplaceFunction.java
* (edit)
phoenix-core/src/main/java/org/apache/phoenix/expression/function/StringBasedRegexpSubstrFunction.java
> Wildcard characters do not match newline characters
> ---------------------------------------------------
>
> Key: PHOENIX-2645
> URL: https://issues.apache.org/jira/browse/PHOENIX-2645
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.7.0
> Environment: Phoenix 4.7.0 on Calcite 1.5
> Reporter: Kevin Liew
> Assignee: Kevin Liew
> Labels: newbie
> Fix For: 4.9.0, 4.8.1
>
>
> Wildcard characters do not match newline characters
> {code:sql}
> 0: jdbc:phoenix:thin:url=http://localhost:876> create table testnewline (pk
> varchar(10) primary key)
> . . . . . . . . . . . . . . . . . . . . . . .> ;
> No rows affected (2.643 seconds)
> 0: jdbc:phoenix:thin:url=http://localhost:876> upsert into testnewline values
> ('AA\nA');
> 1 row affected (0.079 seconds)
> 0: jdbc:phoenix:thin:url=http://localhost:876> select * from testnewline
> where pk like 'AA%'
> . . . . . . . . . . . . . . . . . . . . . . .> ;
> +------------+
> | PK |
> +------------+
> | AA
> A |
> +------------+
> 1 row selected (0.086 seconds)
> 0: jdbc:phoenix:thin:url=http://localhost:876> select * from testnewline
> where pk like 'AA_A';
> +------------+
> | PK |
> +------------+
> +------------+
> No rows selected (0.053 seconds)
> 0: jdbc:phoenix:thin:url=http://localhost:876> select * from testnewline
> where pk like 'AA%A';
> +------------+
> | PK |
> +------------+
> +------------+
> No rows selected (0.032 seconds)
> 0: jdbc:phoenix:thin:url=http://localhost:876>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)