[
https://issues.apache.org/jira/browse/TAJO-854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14011082#comment-14011082
]
ASF GitHub Bot commented on TAJO-854:
-------------------------------------
GitHub user babokim opened a pull request:
https://github.com/apache/tajo/pull/24
TAJO-854: Supports INSERT INTO with UNION
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/babokim/tajo TAJO-854
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tajo/pull/24.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #24
----
commit 61927599ad626371c43e8ce4b3e1de42e79ad4ff
Author: 김형준 <[email protected]>
Date: 2014-05-28T13:21:00Z
TAJO-854: Supports INSERT INTO with UNION
commit 825c766460c6e7b52bed3c0f0370184345ab2fe9
Author: 김형준 <[email protected]>
Date: 2014-05-28T13:22:30Z
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo
----
> Supports INSERT INTO with UNION
> -------------------------------
>
> Key: TAJO-854
> URL: https://issues.apache.org/jira/browse/TAJO-854
> Project: Tajo
> Issue Type: Improvement
> Reporter: Hyoungjun Kim
> Assignee: Hyoungjun Kim
> Priority: Minor
>
> Currently INSERT INTO with UNION occurs the following exception.
> {noformat}
> 2014-05-28 01:40:42,105 ERROR: org.apache.tajo.master.GlobalEngine
> (executeQuery(152)) -
> Stack Trace:
> java.lang.RuntimeException: Wrong child node type: UNION for insert
> at
> org.apache.tajo.engine.planner.LogicalPlanner.buildProjectedInsert(LogicalPlanner.java:1269)
> at
> org.apache.tajo.engine.planner.LogicalPlanner.buildInsertIntoTablePlan(LogicalPlanner.java:1234)
> at
> org.apache.tajo.engine.planner.LogicalPlanner.visitInsert(LogicalPlanner.java:1141)
> at
> org.apache.tajo.engine.planner.LogicalPlanner.visitInsert(LogicalPlanner.java:59)
> at
> org.apache.tajo.engine.planner.BaseAlgebraVisitor.visit(BaseAlgebraVisitor.java:123)
> at
> org.apache.tajo.engine.planner.LogicalPlanner.createPlan(LogicalPlanner.java:122)
> at
> org.apache.tajo.engine.planner.LogicalPlanner.createPlan(LogicalPlanner.java:109)
> at
> org.apache.tajo.master.GlobalEngine.createLogicalPlan(GlobalEngine.java:475)
> at
> org.apache.tajo.master.GlobalEngine.executeQuery(GlobalEngine.java:147)
> at
> org.apache.tajo.master.TajoMasterClientService$TajoMasterClientProtocolServiceHandler.submitQuery(TajoMasterClientService.java:261)
> at
> org.apache.tajo.ipc.TajoMasterClientProtocol$TajoMasterClientProtocolService$2.callBlockingMethod(TajoMasterClientProtocol.java:495)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)