You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Hyoungjun Kim (JIRA)" <ji...@apache.org> on 2014/12/06 10:50:12 UTC
[jira] [Assigned] (TAJO-883) UNION should be compatible between
similar types.
[ https://issues.apache.org/jira/browse/TAJO-883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyoungjun Kim reassigned TAJO-883:
----------------------------------
Assignee: (was: Hyoungjun Kim)
> UNION should be compatible between similar types.
> --------------------------------------------------
>
> Key: TAJO-883
> URL: https://issues.apache.org/jira/browse/TAJO-883
> Project: Tajo
> Issue Type: Improvement
> Reporter: Hyoungjun Kim
> Priority: Trivial
>
> If each result type in a union's subquery is INT4 and INT8, a type mismatch error occurs.
> {code:sql}
> select 0::INT4 from lineitem union all select 1::INT8 from lineitem
> {code}
> {noformat}
> org.apache.tajo.engine.exception.VerifyException: UNION types INT4 and INT8 cannot be matched
> at org.apache.tajo.master.GlobalEngine.createLogicalPlan(GlobalEngine.java:498)
> at org.apache.tajo.master.GlobalEngine.executeQuery(GlobalEngine.java:148)
> at org.apache.tajo.master.TajoMasterClientService$TajoMasterClientProtocolServiceHandler.submitQuery(TajoMasterClientService.java:261)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)