Github user jihoonson commented on a diff in the pull request:
https://github.com/apache/tajo/pull/839#discussion_r44741291
--- Diff:
tajo-plan/src/main/java/org/apache/tajo/plan/logical/TableSubQueryNode.java ---
@@ -108,14 +111,19 @@ public boolean hasTargets() {
}
@Override
- public void setTargets(Target[] targets) {
+ public void setTargets(List<Target> targets) {
this.targets = targets;
setOutSchema(PlannerUtil.targetToSchema(targets));
}
@Override
- public Target[] getTargets() {
- return targets;
+ public List<Target> getTargets() {
+ if (hasTargets()) {
+ return targets;
--- End diff --
Yes, that's what I intended. If new errors are introduced, it means that
```targets``` are modified outside somewhere. It would be good to handle this
issue in another jira if necessary.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---