Github user jihoonson commented on a diff in the pull request:
https://github.com/apache/tajo/pull/583#discussion_r31094037
--- Diff:
tajo-core/src/main/java/org/apache/tajo/engine/planner/global/ExecutionBlock.java
---
@@ -39,8 +40,38 @@
private boolean hasJoinPlan;
private boolean hasUnionPlan;
-
- private Set<String> broadcasted = new HashSet<String>();
+ private boolean isUnionOnly;
+
+ private Map<String, ScanNode> broadcastRelations = TUtil.newHashMap();
+
+ /*
+ * An execution block is null-supplying or preserved-row when its output
is used as an input for outer join.
+ * These flags are set according to the type of outer join.
+ * Here are brief descriptions for these flags.
+ *
+ * 1) left outer join
+ *
+ * left outer join
+ * / \
+ * preserved-row null-supplying
+ *
+ * 2) right outer join
+ *
+ * right outer join
+ * / \
+ * null-supplying preserved-row
+ *
+ * 3) full outer join
+ *
+ * full outer join
+ * / \
+ * null-supplying preserved-row
+ * preserved-row null-supplying
+ *
+ * The null-supplying and preserved-row flags are used to find which
relations will be broadcasted.
+ */
+ protected transient boolean nullSuppllying = false;
--- End diff --
Thanks. I'll remove.
---
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.
---