kangkaisen commented on a change in pull request #851: Parallel fragment exec
instance
URL: https://github.com/apache/incubator-doris/pull/851#discussion_r270858538
##########
File path: fe/src/main/java/org/apache/doris/planner/SingleNodePlanner.java
##########
@@ -158,15 +158,8 @@ public PlanNode createSingleNodePlan() throws
UserException, AnalysisException {
* Throws a NotImplementedException if plan validation fails.
*/
public void validatePlan(PlanNode planNode) throws NotImplementedException
{
- if (ctx_.getQueryOptions().isSetMt_dop() &&
ctx_.getQueryOptions().mt_dop > 0
- && (planNode instanceof HashJoinNode || planNode instanceof
CrossJoinNode)) {
- throw new NotImplementedException(
- "MT_DOP not supported for plans with base table joins or table
sinks.");
- }
-
// As long as MT_DOP is unset or 0 any join can run in a single-node
plan.
- if (ctx_.isSingleNodeExec() &&
- (!ctx_.getQueryOptions().isSetMt_dop() ||
ctx_.getQueryOptions().mt_dop == 0)) {
+ if (ctx_.isSingleNodeExec()) {
return;
Review comment:
OK
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]