[
https://issues.apache.org/jira/browse/MRQL-61?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14286647#comment-14286647
]
Leonidas Fegaras commented on MRQL-61:
--------------------------------------
The patch fixes the above bug, plus a run-time error reported by Marcos Freitas
on the same query .
> Fix bug on select over union queries
> ------------------------------------
>
> Key: MRQL-61
> URL: https://issues.apache.org/jira/browse/MRQL-61
> Project: MRQL
> Issue Type: Bug
> Components: Query Optimization, Query Translation
> Affects Versions: 0.9.4
> Reporter: Leonidas Fegaras
> Assignee: Leonidas Fegaras
> Priority: Critical
>
> This bug was reported by Marcos Freitas. Queries of the form:
> {code:SQL}
> select ... from x in ((select ...) union (select ...)) ...
> {code}
> cause a type error on the generated plan. The generated plan is also wrong (a
> cross product instead of a union). This error is probably in the QueryPlan
> class.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)