[
https://issues.apache.org/jira/browse/TAJO-914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14071260#comment-14071260
]
ASF GitHub Bot commented on TAJO-914:
-------------------------------------
Github user blrunner commented on the pull request:
https://github.com/apache/tajo/pull/78#issuecomment-49824866
You need to rebase the patch against master branch.
> join queries with constant values can cause schema mismatch in logical plan
> ---------------------------------------------------------------------------
>
> Key: TAJO-914
> URL: https://issues.apache.org/jira/browse/TAJO-914
> Project: Tajo
> Issue Type: Bug
> Components: planner/optimizer
> Reporter: Hyunsik Choi
> Assignee: Hyunsik Choi
> Fix For: 0.9.0
>
>
> The following query can cause a schema mismatch problem between join node and
> its both child scan nodes. The main cause that '##' col1 are evaluated in
> both ScanNode. Because a schema cannot include the same column names, one
> col1 is omitted. So, it causes the schema mismatch problem.
> {noformat}
> select l_orderkey, '##' as col1 from lineitem join orders on l_orderkey =
> o_orderkey group by l_orderkey, col1
> {noformat}
> This is a critical bug. So, I've uploaded the urgent workaround bug fix.
> Later, I'll fix it in more valid and stable manner. I already created the
> Jira issue (TAJO-895) for that way.
--
This message was sent by Atlassian JIRA
(v6.2#6252)