[
https://issues.apache.org/jira/browse/PHOENIX-2934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15326675#comment-15326675
]
Hudson commented on PHOENIX-2934:
---------------------------------
FAILURE: Integrated in Phoenix-master #1257 (See
[https://builds.apache.org/job/Phoenix-master/1257/])
PHOENIX-2934 Checking a coerce expression at top level should not be
(jamestaylor: rev 1af51ed81414d4f1bbea9e0fe6a5dd2fb017edf7)
* phoenix-core/src/main/java/org/apache/phoenix/schema/types/PChar.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/UnionAllIT.java
* phoenix-core/src/test/java/org/apache/phoenix/compile/QueryCompilerTest.java
> Checking a coerce expression at top level should not be necessary for Union
> All query
> -------------------------------------------------------------------------------------
>
> Key: PHOENIX-2934
> URL: https://issues.apache.org/jira/browse/PHOENIX-2934
> Project: Phoenix
> Issue Type: Bug
> Reporter: Alicia Ying Shu
> Assignee: Alicia Ying Shu
> Attachments: PHOENIX-2934-v1.patch, PHOENIX-2934.patch
>
>
> When working on PHOENIX-2886, found that we need special handling of coerce
> expression. Otherwise the following query would fail.
> {code}
> create table person ( id bigint not null primary key, firstname char(10),
> lastname varchar(10) );
> select id, cast( 'foo' as char(10)) firstname, lastname from person union all
> select * from person;
> {code}
> Checking a coerce expression at top level should not be necessary. Need to
> find out root cause on coerceExpression.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)