[feature](Nereids): add ColumnPruningPostProcessor. (#32800)
This commit is contained in:
@ -0,0 +1,102 @@
|
||||
// Licensed to the Apache Software Foundation (ASF) under one
|
||||
// or more contributor license agreements. See the NOTICE file
|
||||
// distributed with this work for additional information
|
||||
// regarding copyright ownership. The ASF licenses this file
|
||||
// to you under the Apache License, Version 2.0 (the
|
||||
// "License"); you may not use this file except in compliance
|
||||
// with the License. You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing,
|
||||
// software distributed under the License is distributed on an
|
||||
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
// KIND, either express or implied. See the License for the
|
||||
// specific language governing permissions and limitations
|
||||
// under the License.
|
||||
|
||||
package org.apache.doris.nereids.processor.post;
|
||||
|
||||
import org.apache.doris.nereids.CascadesContext;
|
||||
import org.apache.doris.nereids.annotation.DependsRules;
|
||||
import org.apache.doris.nereids.trees.expressions.NamedExpression;
|
||||
import org.apache.doris.nereids.trees.expressions.Slot;
|
||||
import org.apache.doris.nereids.trees.plans.Plan;
|
||||
import org.apache.doris.nereids.trees.plans.physical.AbstractPhysicalJoin;
|
||||
import org.apache.doris.nereids.trees.plans.physical.AbstractPhysicalPlan;
|
||||
import org.apache.doris.nereids.trees.plans.physical.PhysicalDistribute;
|
||||
import org.apache.doris.nereids.trees.plans.physical.PhysicalProject;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* Prune column for Join-Cluster
|
||||
*/
|
||||
@DependsRules({
|
||||
MergeProjectPostProcessor.class
|
||||
})
|
||||
public class ColumnPruningPostProcessor extends PlanPostProcessor {
|
||||
@Override
|
||||
public PhysicalProject visitPhysicalProject(PhysicalProject<? extends Plan> project, CascadesContext ctx) {
|
||||
Plan child = project.child();
|
||||
Plan newChild = child.accept(this, ctx);
|
||||
if (newChild instanceof AbstractPhysicalJoin) {
|
||||
AbstractPhysicalJoin<? extends Plan, ? extends Plan> join = (AbstractPhysicalJoin) newChild;
|
||||
Plan left = join.left();
|
||||
Plan right = join.right();
|
||||
Set<Slot> leftOutput = left.getOutputSet();
|
||||
Set<Slot> rightOutput = right.getOutputSet();
|
||||
|
||||
Set<Slot> usedSlots = project.getProjects().stream().flatMap(ne -> ne.getInputSlots().stream())
|
||||
.collect(Collectors.toSet());
|
||||
usedSlots.addAll(join.getConditionSlot());
|
||||
|
||||
List<NamedExpression> leftNewProjections = new ArrayList<>();
|
||||
List<NamedExpression> rightNewProjections = new ArrayList<>();
|
||||
|
||||
for (Slot usedSlot : usedSlots) {
|
||||
if (leftOutput.contains(usedSlot)) {
|
||||
leftNewProjections.add(usedSlot);
|
||||
} else if (rightOutput.contains(usedSlot)) {
|
||||
rightNewProjections.add(usedSlot);
|
||||
}
|
||||
}
|
||||
|
||||
Plan newLeft;
|
||||
if (left instanceof PhysicalDistribute) {
|
||||
newLeft = leftNewProjections.size() != leftOutput.size() && !leftNewProjections.isEmpty()
|
||||
? left.withChildren(new PhysicalProject<>(leftNewProjections,
|
||||
left.getLogicalProperties(), left.child(0)))
|
||||
: left;
|
||||
} else {
|
||||
newLeft = leftNewProjections.size() != leftOutput.size() && !leftNewProjections.isEmpty()
|
||||
? new PhysicalProject<>(leftNewProjections, left.getLogicalProperties(),
|
||||
left).copyStatsAndGroupIdFrom((AbstractPhysicalPlan) left)
|
||||
: left;
|
||||
}
|
||||
Plan newRight;
|
||||
if (right instanceof PhysicalDistribute) {
|
||||
newRight = rightNewProjections.size() != rightOutput.size() && !rightNewProjections.isEmpty()
|
||||
? right.withChildren(new PhysicalProject<>(rightNewProjections,
|
||||
right.getLogicalProperties(), right.child(0)))
|
||||
: right;
|
||||
} else {
|
||||
newRight = rightNewProjections.size() != rightOutput.size() && !rightNewProjections.isEmpty()
|
||||
? new PhysicalProject<>(rightNewProjections, right.getLogicalProperties(),
|
||||
right).copyStatsAndGroupIdFrom((AbstractPhysicalPlan) right)
|
||||
: right;
|
||||
}
|
||||
|
||||
if (newLeft != left || newRight != right) {
|
||||
return (PhysicalProject) project.withChildren(join.withChildren(newLeft, newRight));
|
||||
} else {
|
||||
return project;
|
||||
}
|
||||
}
|
||||
return project;
|
||||
}
|
||||
}
|
||||
|
||||
@ -59,6 +59,7 @@ public class PlanPostProcessors {
|
||||
// add processor if we need
|
||||
Builder<PlanPostProcessor> builder = ImmutableList.builder();
|
||||
builder.add(new PushDownFilterThroughProject());
|
||||
builder.add(new ColumnPruningPostProcessor());
|
||||
builder.add(new MergeProjectPostProcessor());
|
||||
builder.add(new RecomputeLogicalPropertiesProcessor());
|
||||
builder.add(new AddOffsetIntoDistribute());
|
||||
|
||||
@ -149,7 +149,7 @@ public abstract class AbstractPhysicalPlan extends AbstractPlan implements Physi
|
||||
return this;
|
||||
}
|
||||
|
||||
public <T extends AbstractPhysicalPlan> T copyStatsAndGroupIdFrom(T from) {
|
||||
public <T extends AbstractPhysicalPlan> AbstractPhysicalPlan copyStatsAndGroupIdFrom(T from) {
|
||||
T newPlan = (T) withPhysicalPropertiesAndStats(
|
||||
from.getPhysicalProperties(), from.getStats());
|
||||
newPlan.setMutableState(MutableState.KEY_GROUP, from.getGroupIdAsString());
|
||||
|
||||
@ -0,0 +1,62 @@
|
||||
// Licensed to the Apache Software Foundation (ASF) under one
|
||||
// or more contributor license agreements. See the NOTICE file
|
||||
// distributed with this work for additional information
|
||||
// regarding copyright ownership. The ASF licenses this file
|
||||
// to you under the Apache License, Version 2.0 (the
|
||||
// "License"); you may not use this file except in compliance
|
||||
// with the License. You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing,
|
||||
// software distributed under the License is distributed on an
|
||||
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
// KIND, either express or implied. See the License for the
|
||||
// specific language governing permissions and limitations
|
||||
// under the License.
|
||||
|
||||
package org.apache.doris.nereids.postprocess;
|
||||
|
||||
import org.apache.doris.nereids.processor.post.ColumnPruningPostProcessor;
|
||||
import org.apache.doris.nereids.rules.rewrite.InferFilterNotNull;
|
||||
import org.apache.doris.nereids.trees.plans.JoinType;
|
||||
import org.apache.doris.nereids.trees.plans.logical.LogicalOlapScan;
|
||||
import org.apache.doris.nereids.trees.plans.logical.LogicalPlan;
|
||||
import org.apache.doris.nereids.trees.plans.physical.PhysicalNestedLoopJoin;
|
||||
import org.apache.doris.nereids.trees.plans.physical.PhysicalPlan;
|
||||
import org.apache.doris.nereids.trees.plans.physical.PhysicalProject;
|
||||
import org.apache.doris.nereids.util.LogicalPlanBuilder;
|
||||
import org.apache.doris.nereids.util.MemoPatternMatchSupported;
|
||||
import org.apache.doris.nereids.util.MemoTestUtils;
|
||||
import org.apache.doris.nereids.util.PlanChecker;
|
||||
import org.apache.doris.nereids.util.PlanConstructor;
|
||||
|
||||
import com.google.common.collect.ImmutableList;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
class ColumnPruningPostProcessorTest implements MemoPatternMatchSupported {
|
||||
private final LogicalOlapScan scan1 = PlanConstructor.newLogicalOlapScan(0, "t1", 0);
|
||||
private final LogicalOlapScan scan2 = PlanConstructor.newLogicalOlapScan(1, "t2", 0);
|
||||
|
||||
@Test
|
||||
void test() {
|
||||
LogicalPlan plan = new LogicalPlanBuilder(scan1)
|
||||
.join(scan2, JoinType.INNER_JOIN, ImmutableList.of())
|
||||
.project(ImmutableList.of(0, 2))
|
||||
.build();
|
||||
|
||||
PhysicalPlan physicalPlan = PlanChecker.from(MemoTestUtils.createConnectContext(), plan)
|
||||
.applyTopDown(new InferFilterNotNull())
|
||||
.implement()
|
||||
.getPhysicalPlan();
|
||||
|
||||
ColumnPruningPostProcessor processor = new ColumnPruningPostProcessor();
|
||||
PhysicalPlan newPlan = (PhysicalPlan) physicalPlan.accept(processor, null);
|
||||
|
||||
Assertions.assertTrue(newPlan instanceof PhysicalProject);
|
||||
Assertions.assertTrue(newPlan.child(0) instanceof PhysicalNestedLoopJoin);
|
||||
Assertions.assertTrue(newPlan.child(0).child(0) instanceof PhysicalProject);
|
||||
Assertions.assertTrue(newPlan.child(0).child(1) instanceof PhysicalProject);
|
||||
}
|
||||
}
|
||||
@ -9,25 +9,26 @@ PhysicalResultSink
|
||||
------------PhysicalProject
|
||||
--------------PhysicalOlapScan[supplier]
|
||||
------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------hashJoin[INNER_JOIN] hashCondition=((revenue0.total_revenue = max(total_revenue))) otherCondition=()
|
||||
----------------hashAgg[GLOBAL]
|
||||
------------------PhysicalDistribute[DistributionSpecGather]
|
||||
--------------------hashAgg[LOCAL]
|
||||
----------------------PhysicalProject
|
||||
------------------------hashAgg[GLOBAL]
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------hashAgg[LOCAL]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((lineitem.l_shipdate < '1996-04-01') and (lineitem.l_shipdate >= '1996-01-01'))
|
||||
----------------------------------PhysicalOlapScan[lineitem]
|
||||
----------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------PhysicalProject
|
||||
--------------------hashAgg[GLOBAL]
|
||||
----------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------hashAgg[LOCAL]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter((lineitem.l_shipdate < '1996-04-01') and (lineitem.l_shipdate >= '1996-01-01'))
|
||||
------------------------------PhysicalOlapScan[lineitem]
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((revenue0.total_revenue = max(total_revenue))) otherCondition=()
|
||||
------------------hashAgg[GLOBAL]
|
||||
--------------------PhysicalDistribute[DistributionSpecGather]
|
||||
----------------------hashAgg[LOCAL]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashAgg[GLOBAL]
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------hashAgg[LOCAL]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------filter((lineitem.l_shipdate < '1996-04-01') and (lineitem.l_shipdate >= '1996-01-01'))
|
||||
------------------------------------PhysicalOlapScan[lineitem]
|
||||
------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------PhysicalProject
|
||||
----------------------hashAgg[GLOBAL]
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------hashAgg[LOCAL]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter((lineitem.l_shipdate < '1996-04-01') and (lineitem.l_shipdate >= '1996-01-01'))
|
||||
--------------------------------PhysicalOlapScan[lineitem]
|
||||
|
||||
Hint log:
|
||||
Used: leading(revenue0 supplier )
|
||||
|
||||
@ -453,12 +453,13 @@ PhysicalResultSink
|
||||
------hashAgg[LOCAL]
|
||||
--------PhysicalProject
|
||||
----------NestedLoopJoin[INNER_JOIN](t1.c1 > t2.c2)
|
||||
------------NestedLoopJoin[INNER_JOIN](t2.c2 > t3.c3)
|
||||
--------------PhysicalProject
|
||||
----------------PhysicalOlapScan[t2]
|
||||
--------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------PhysicalProject
|
||||
--------------NestedLoopJoin[INNER_JOIN](t2.c2 > t3.c3)
|
||||
----------------PhysicalProject
|
||||
------------------PhysicalOlapScan[t3]
|
||||
------------------PhysicalOlapScan[t2]
|
||||
----------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------PhysicalProject
|
||||
--------------------PhysicalOlapScan[t3]
|
||||
------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------PhysicalProject
|
||||
----------------filter((t1.c1 < 100))
|
||||
@ -621,14 +622,15 @@ PhysicalResultSink
|
||||
------hashAgg[LOCAL]
|
||||
--------PhysicalProject
|
||||
----------hashJoin[INNER_JOIN] hashCondition=((t1.c1 = t2.c2)) otherCondition=()
|
||||
------------hashJoin[LEFT_OUTER_JOIN] hashCondition=((t1.c1 = t3.c3)) otherCondition=()
|
||||
--------------PhysicalProject
|
||||
----------------filter((t1.c1 <= 300) and (t1.c1 >= 100))
|
||||
------------------PhysicalOlapScan[t1]
|
||||
--------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------PhysicalProject
|
||||
--------------hashJoin[LEFT_OUTER_JOIN] hashCondition=((t1.c1 = t3.c3)) otherCondition=()
|
||||
----------------PhysicalProject
|
||||
------------------filter((t3.c3 <= 300) and (t3.c3 >= 100))
|
||||
--------------------PhysicalOlapScan[t3]
|
||||
------------------filter((t1.c1 <= 300) and (t1.c1 >= 100))
|
||||
--------------------PhysicalOlapScan[t1]
|
||||
----------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------PhysicalProject
|
||||
--------------------filter((t3.c3 <= 300) and (t3.c3 >= 100))
|
||||
----------------------PhysicalOlapScan[t3]
|
||||
------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------PhysicalProject
|
||||
----------------filter((t2.c2 <= 300) and (t2.c2 >= 100))
|
||||
@ -641,14 +643,15 @@ PhysicalResultSink
|
||||
------hashAgg[LOCAL]
|
||||
--------PhysicalProject
|
||||
----------hashJoin[INNER_JOIN] hashCondition=((t1.c1 = t2.c2)) otherCondition=()
|
||||
------------hashJoin[LEFT_OUTER_JOIN] hashCondition=((t1.c1 = t3.c3)) otherCondition=()
|
||||
--------------PhysicalProject
|
||||
----------------filter((t1.c1 <= 300) and (t1.c1 >= 100))
|
||||
------------------PhysicalOlapScan[t1]
|
||||
--------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------PhysicalProject
|
||||
--------------hashJoin[LEFT_OUTER_JOIN] hashCondition=((t1.c1 = t3.c3)) otherCondition=()
|
||||
----------------PhysicalProject
|
||||
------------------filter((t3.c3 <= 300) and (t3.c3 >= 100))
|
||||
--------------------PhysicalOlapScan[t3]
|
||||
------------------filter((t1.c1 <= 300) and (t1.c1 >= 100))
|
||||
--------------------PhysicalOlapScan[t1]
|
||||
----------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------PhysicalProject
|
||||
--------------------filter((t3.c3 <= 300) and (t3.c3 >= 100))
|
||||
----------------------PhysicalOlapScan[t3]
|
||||
------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------PhysicalProject
|
||||
----------------filter((t2.c2 <= 300) and (t2.c2 >= 100))
|
||||
@ -3717,12 +3720,13 @@ PhysicalResultSink
|
||||
------hashAgg[LOCAL]
|
||||
--------PhysicalProject
|
||||
----------hashJoin[LEFT_OUTER_JOIN] hashCondition=((t2.c2 = t3.c3)) otherCondition=()
|
||||
------------hashJoin[INNER_JOIN] hashCondition=((t3.c3 = t4.c4)) otherCondition=()
|
||||
--------------PhysicalProject
|
||||
----------------PhysicalOlapScan[t3]
|
||||
--------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------PhysicalProject
|
||||
--------------hashJoin[INNER_JOIN] hashCondition=((t3.c3 = t4.c4)) otherCondition=()
|
||||
----------------PhysicalProject
|
||||
------------------PhysicalOlapScan[t4]
|
||||
------------------PhysicalOlapScan[t3]
|
||||
----------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------PhysicalProject
|
||||
--------------------PhysicalOlapScan[t4]
|
||||
------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[LEFT_OUTER_JOIN] hashCondition=((t1.c1 = t2.c2)) otherCondition=()
|
||||
@ -4087,16 +4091,17 @@ PhysicalResultSink
|
||||
------hashAgg[LOCAL]
|
||||
--------PhysicalProject
|
||||
----------hashJoin[LEFT_SEMI_JOIN] hashCondition=((t2.c2 = t3.c3)) otherCondition=()
|
||||
------------hashJoin[INNER_JOIN] hashCondition=((t1.c1 = t4.c4)) otherCondition=()
|
||||
--------------hashJoin[INNER_JOIN] hashCondition=((t1.c1 = t2.c2)) otherCondition=()
|
||||
----------------PhysicalProject
|
||||
------------------PhysicalOlapScan[t1]
|
||||
------------PhysicalProject
|
||||
--------------hashJoin[INNER_JOIN] hashCondition=((t1.c1 = t4.c4)) otherCondition=()
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((t1.c1 = t2.c2)) otherCondition=()
|
||||
------------------PhysicalProject
|
||||
--------------------PhysicalOlapScan[t1]
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------PhysicalOlapScan[t2]
|
||||
----------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------PhysicalProject
|
||||
--------------------PhysicalOlapScan[t2]
|
||||
--------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------PhysicalProject
|
||||
------------------PhysicalOlapScan[t4]
|
||||
--------------------PhysicalOlapScan[t4]
|
||||
------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------PhysicalProject
|
||||
----------------PhysicalOlapScan[t3]
|
||||
@ -4439,16 +4444,17 @@ PhysicalResultSink
|
||||
------hashAgg[LOCAL]
|
||||
--------PhysicalProject
|
||||
----------hashJoin[LEFT_ANTI_JOIN] hashCondition=((t2.c2 = t3.c3)) otherCondition=()
|
||||
------------hashJoin[INNER_JOIN] hashCondition=((t1.c1 = t4.c4)) otherCondition=()
|
||||
--------------hashJoin[LEFT_OUTER_JOIN] hashCondition=((t1.c1 = t2.c2)) otherCondition=()
|
||||
----------------PhysicalProject
|
||||
------------------PhysicalOlapScan[t1]
|
||||
------------PhysicalProject
|
||||
--------------hashJoin[INNER_JOIN] hashCondition=((t1.c1 = t4.c4)) otherCondition=()
|
||||
----------------hashJoin[LEFT_OUTER_JOIN] hashCondition=((t1.c1 = t2.c2)) otherCondition=()
|
||||
------------------PhysicalProject
|
||||
--------------------PhysicalOlapScan[t1]
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------PhysicalOlapScan[t2]
|
||||
----------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------PhysicalProject
|
||||
--------------------PhysicalOlapScan[t2]
|
||||
--------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------PhysicalProject
|
||||
------------------PhysicalOlapScan[t4]
|
||||
--------------------PhysicalOlapScan[t4]
|
||||
------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------PhysicalProject
|
||||
----------------PhysicalOlapScan[t3]
|
||||
@ -4793,16 +4799,17 @@ PhysicalResultSink
|
||||
------hashAgg[LOCAL]
|
||||
--------PhysicalProject
|
||||
----------hashJoin[LEFT_SEMI_JOIN] hashCondition=((t2.c2 = t3.c3)) otherCondition=()
|
||||
------------hashJoin[INNER_JOIN] hashCondition=((t1.c1 = t4.c4)) otherCondition=()
|
||||
--------------hashJoin[INNER_JOIN] hashCondition=((t1.c1 = t2.c2)) otherCondition=()
|
||||
----------------PhysicalProject
|
||||
------------------PhysicalOlapScan[t1]
|
||||
------------PhysicalProject
|
||||
--------------hashJoin[INNER_JOIN] hashCondition=((t1.c1 = t4.c4)) otherCondition=()
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((t1.c1 = t2.c2)) otherCondition=()
|
||||
------------------PhysicalProject
|
||||
--------------------PhysicalOlapScan[t1]
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------PhysicalOlapScan[t2]
|
||||
----------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------PhysicalProject
|
||||
--------------------PhysicalOlapScan[t2]
|
||||
--------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------PhysicalProject
|
||||
------------------PhysicalOlapScan[t4]
|
||||
--------------------PhysicalOlapScan[t4]
|
||||
------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------PhysicalProject
|
||||
----------------PhysicalOlapScan[t3]
|
||||
@ -5145,16 +5152,17 @@ PhysicalResultSink
|
||||
------hashAgg[LOCAL]
|
||||
--------PhysicalProject
|
||||
----------hashJoin[LEFT_ANTI_JOIN] hashCondition=((t2.c2 = t3.c3)) otherCondition=()
|
||||
------------hashJoin[INNER_JOIN] hashCondition=((t1.c1 = t4.c4)) otherCondition=()
|
||||
--------------hashJoin[INNER_JOIN] hashCondition=((t1.c1 = t2.c2)) otherCondition=()
|
||||
----------------PhysicalProject
|
||||
------------------PhysicalOlapScan[t1]
|
||||
------------PhysicalProject
|
||||
--------------hashJoin[INNER_JOIN] hashCondition=((t1.c1 = t4.c4)) otherCondition=()
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((t1.c1 = t2.c2)) otherCondition=()
|
||||
------------------PhysicalProject
|
||||
--------------------PhysicalOlapScan[t1]
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------PhysicalOlapScan[t2]
|
||||
----------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------PhysicalProject
|
||||
--------------------PhysicalOlapScan[t2]
|
||||
--------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------PhysicalProject
|
||||
------------------PhysicalOlapScan[t4]
|
||||
--------------------PhysicalOlapScan[t4]
|
||||
------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------PhysicalProject
|
||||
----------------PhysicalOlapScan[t3]
|
||||
|
||||
@ -14,18 +14,19 @@ PhysicalResultSink
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((lineorder.lo_orderdate = dates.d_datekey)) otherCondition=() build RFs:RF2 d_datekey->[lo_orderdate]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((lineorder.lo_partkey = part.p_partkey)) otherCondition=() build RFs:RF1 p_partkey->[lo_partkey]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((lineorder.lo_suppkey = supplier.s_suppkey)) otherCondition=() build RFs:RF0 s_suppkey->[lo_suppkey]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[lineorder] apply RFs: RF0 RF1 RF2
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((lineorder.lo_partkey = part.p_partkey)) otherCondition=() build RFs:RF1 p_partkey->[lo_partkey]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((lineorder.lo_suppkey = supplier.s_suppkey)) otherCondition=() build RFs:RF0 s_suppkey->[lo_suppkey]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[lineorder] apply RFs: RF0 RF1 RF2
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------filter((supplier.s_nation = 'UNITED STATES'))
|
||||
------------------------------------PhysicalOlapScan[supplier]
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((supplier.s_nation = 'UNITED STATES'))
|
||||
----------------------------------PhysicalOlapScan[supplier]
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter((part.p_category = 'MFGR#14'))
|
||||
--------------------------------PhysicalOlapScan[part]
|
||||
--------------------------------filter((part.p_category = 'MFGR#14'))
|
||||
----------------------------------PhysicalOlapScan[part]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter(d_year IN (1997, 1998))
|
||||
|
||||
@ -24,20 +24,21 @@ PhysicalCteAnchor ( cteId=CTEId#0 )
|
||||
----------------PhysicalProject
|
||||
------------------PhysicalOlapScan[customer]
|
||||
--------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((ctr1.ctr_store_sk = ctr2.ctr_store_sk)) otherCondition=((cast(ctr_total_return as DOUBLE) > cast((avg(cast(ctr_total_return as DECIMALV3(38, 4))) * 1.2) as DOUBLE)))
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((store.s_store_sk = ctr1.ctr_store_sk)) otherCondition=() build RFs:RF1 s_store_sk->[ctr_store_sk]
|
||||
----------------------PhysicalDistribute[DistributionSpecExecutionAny]
|
||||
------------------------PhysicalCteConsumer ( cteId=CTEId#0 ) apply RFs: RF1
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------filter((store.s_state = 'TN'))
|
||||
----------------------------PhysicalOlapScan[store]
|
||||
------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------hashAgg[GLOBAL]
|
||||
----------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------hashAgg[LOCAL]
|
||||
--------------------------PhysicalDistribute[DistributionSpecExecutionAny]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
----------------PhysicalProject
|
||||
------------------hashJoin[INNER_JOIN] hashCondition=((ctr1.ctr_store_sk = ctr2.ctr_store_sk)) otherCondition=((cast(ctr_total_return as DOUBLE) > cast((avg(cast(ctr_total_return as DECIMALV3(38, 4))) * 1.2) as DOUBLE)))
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((store.s_store_sk = ctr1.ctr_store_sk)) otherCondition=() build RFs:RF1 s_store_sk->[ctr_store_sk]
|
||||
------------------------PhysicalDistribute[DistributionSpecExecutionAny]
|
||||
--------------------------PhysicalCteConsumer ( cteId=CTEId#0 ) apply RFs: RF1
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter((store.s_state = 'TN'))
|
||||
------------------------------PhysicalOlapScan[store]
|
||||
--------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------hashAgg[GLOBAL]
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------hashAgg[LOCAL]
|
||||
----------------------------PhysicalDistribute[DistributionSpecExecutionAny]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
|
||||
|
||||
@ -44,18 +44,19 @@ PhysicalCteAnchor ( cteId=CTEId#0 )
|
||||
----------------PhysicalProject
|
||||
------------------filter((t_w_firstyear.dyear = 1998) and (t_w_firstyear.sale_type = 'w') and (t_w_firstyear.year_total > 0.00))
|
||||
--------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
--------------hashJoin[INNER_JOIN] hashCondition=((t_s_secyear.customer_id = t_s_firstyear.customer_id)) otherCondition=()
|
||||
----------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------PhysicalProject
|
||||
--------------------filter((t_s_secyear.dyear = 1999) and (t_s_secyear.sale_type = 's'))
|
||||
----------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((t_s_firstyear.customer_id = t_w_secyear.customer_id)) otherCondition=()
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((t_s_secyear.customer_id = t_s_firstyear.customer_id)) otherCondition=()
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------filter((t_w_secyear.dyear = 1999) and (t_w_secyear.sale_type = 'w'))
|
||||
------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------filter((t_s_firstyear.dyear = 1998) and (t_s_firstyear.sale_type = 's') and (t_s_firstyear.year_total > 0.00))
|
||||
----------------------filter((t_s_secyear.dyear = 1999) and (t_s_secyear.sale_type = 's'))
|
||||
------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
------------------hashJoin[INNER_JOIN] hashCondition=((t_s_firstyear.customer_id = t_w_secyear.customer_id)) otherCondition=()
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------PhysicalProject
|
||||
------------------------filter((t_w_secyear.dyear = 1999) and (t_w_secyear.sale_type = 'w'))
|
||||
--------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------PhysicalProject
|
||||
------------------------filter((t_s_firstyear.dyear = 1998) and (t_s_firstyear.sale_type = 's') and (t_s_firstyear.year_total > 0.00))
|
||||
--------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
|
||||
|
||||
@ -10,13 +10,14 @@ PhysicalResultSink
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_bill_customer_sk = customer.c_customer_sk)) otherCondition=(((ca_state IN ('CA', 'GA', 'WA') OR substring(ca_zip, 1, 5) IN ('80348', '81792', '83405', '85392', '85460', '85669', '86197', '86475', '88274')) OR (catalog_sales.cs_sales_price > 500.00))) build RFs:RF2 c_customer_sk->[cs_bill_customer_sk]
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[cs_sold_date_sk]
|
||||
----------------------PhysicalProject
|
||||
------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF1 RF2
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[cs_sold_date_sk]
|
||||
------------------------PhysicalProject
|
||||
--------------------------filter((date_dim.d_qoy = 2) and (date_dim.d_year = 2001))
|
||||
----------------------------PhysicalOlapScan[date_dim]
|
||||
--------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF1 RF2
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter((date_dim.d_qoy = 2) and (date_dim.d_year = 2001))
|
||||
------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((customer.c_current_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF0 ca_address_sk->[c_current_addr_sk]
|
||||
|
||||
@ -13,26 +13,27 @@ PhysicalResultSink
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------PhysicalProject
|
||||
------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF4
|
||||
--------------------hashJoin[RIGHT_ANTI_JOIN] hashCondition=((cs1.cs_order_number = cr1.cr_order_number)) otherCondition=() build RFs:RF3 cs_order_number->[cr_order_number]
|
||||
----------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------PhysicalProject
|
||||
--------------------------PhysicalOlapScan[catalog_returns] apply RFs: RF3
|
||||
----------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((cs1.cs_call_center_sk = call_center.cc_call_center_sk)) otherCondition=() build RFs:RF2 cc_call_center_sk->[cs_call_center_sk]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((cs1.cs_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[cs_ship_date_sk]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((cs1.cs_ship_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF0 ca_address_sk->[cs_ship_addr_sk]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1 RF2
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[RIGHT_ANTI_JOIN] hashCondition=((cs1.cs_order_number = cr1.cr_order_number)) otherCondition=() build RFs:RF3 cs_order_number->[cr_order_number]
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[catalog_returns] apply RFs: RF3
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((cs1.cs_call_center_sk = call_center.cc_call_center_sk)) otherCondition=() build RFs:RF2 cc_call_center_sk->[cs_call_center_sk]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((cs1.cs_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[cs_ship_date_sk]
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((cs1.cs_ship_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF0 ca_address_sk->[cs_ship_addr_sk]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1 RF2
|
||||
--------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------filter((customer_address.ca_state = 'PA'))
|
||||
--------------------------------------PhysicalOlapScan[customer_address]
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------filter((customer_address.ca_state = 'PA'))
|
||||
------------------------------------PhysicalOlapScan[customer_address]
|
||||
----------------------------------filter((date_dim.d_date <= '2002-05-31') and (date_dim.d_date >= '2002-04-01'))
|
||||
------------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((date_dim.d_date <= '2002-05-31') and (date_dim.d_date >= '2002-04-01'))
|
||||
----------------------------------PhysicalOlapScan[date_dim]
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter((call_center.cc_county = 'Williamson County'))
|
||||
--------------------------------PhysicalOlapScan[call_center]
|
||||
--------------------------------filter((call_center.cc_county = 'Williamson County'))
|
||||
----------------------------------PhysicalOlapScan[call_center]
|
||||
|
||||
|
||||
@ -12,12 +12,13 @@ PhysicalResultSink
|
||||
------------------hashJoin[INNER_JOIN] hashCondition=((inventory.inv_warehouse_sk = warehouse.w_warehouse_sk)) otherCondition=() build RFs:RF2 w_warehouse_sk->[inv_warehouse_sk]
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((inventory.inv_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[inv_date_sk]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = inventory.inv_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[inv_item_sk]
|
||||
--------------------------PhysicalOlapScan[inventory] apply RFs: RF0 RF1 RF2
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter((item.i_current_price <= 1.49) and (item.i_current_price >= 0.99))
|
||||
--------------------------------PhysicalOlapScan[item]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = inventory.inv_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[inv_item_sk]
|
||||
----------------------------PhysicalOlapScan[inventory] apply RFs: RF0 RF1 RF2
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((item.i_current_price <= 1.49) and (item.i_current_price >= 0.99))
|
||||
----------------------------------PhysicalOlapScan[item]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter((date_dim.d_date <= '1999-07-22') and (date_dim.d_date >= '1999-05-23'))
|
||||
|
||||
@ -10,25 +10,26 @@ PhysicalResultSink
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF3 i_item_sk->[cs_item_sk]
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_promo_sk = promotion.p_promo_sk)) otherCondition=() build RFs:RF2 p_promo_sk->[cs_promo_sk]
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[cs_sold_date_sk]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_bill_cdemo_sk = customer_demographics.cd_demo_sk)) otherCondition=() build RFs:RF0 cd_demo_sk->[cs_bill_cdemo_sk]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1 RF2 RF3
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------filter((customer_demographics.cd_education_status = 'Unknown') and (customer_demographics.cd_gender = 'M') and (customer_demographics.cd_marital_status = 'W'))
|
||||
------------------------------------PhysicalOlapScan[customer_demographics]
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter((date_dim.d_year = 2002))
|
||||
--------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_promo_sk = promotion.p_promo_sk)) otherCondition=() build RFs:RF2 p_promo_sk->[cs_promo_sk]
|
||||
------------------------PhysicalProject
|
||||
--------------------------filter(((promotion.p_channel_email = 'N') OR (promotion.p_channel_event = 'N')))
|
||||
----------------------------PhysicalOlapScan[promotion]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[cs_sold_date_sk]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_bill_cdemo_sk = customer_demographics.cd_demo_sk)) otherCondition=() build RFs:RF0 cd_demo_sk->[cs_bill_cdemo_sk]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1 RF2 RF3
|
||||
--------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------filter((customer_demographics.cd_education_status = 'Unknown') and (customer_demographics.cd_gender = 'M') and (customer_demographics.cd_marital_status = 'W'))
|
||||
--------------------------------------PhysicalOlapScan[customer_demographics]
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((date_dim.d_year = 2002))
|
||||
----------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter(((promotion.p_channel_email = 'N') OR (promotion.p_channel_event = 'N')))
|
||||
------------------------------PhysicalOlapScan[promotion]
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------PhysicalOlapScan[item]
|
||||
|
||||
@ -14,31 +14,34 @@ PhysicalResultSink
|
||||
----------------------PhysicalProject
|
||||
------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF7 RF8 RF9
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((store.s_store_sk = store_sales.ss_store_sk)) otherCondition=() build RFs:RF6 s_store_sk->[ss_store_sk]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = store_sales.ss_item_sk)) otherCondition=() build RFs:RF5 i_item_sk->[ss_item_sk,sr_item_sk]
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_customer_sk = store_returns.sr_customer_sk) and (store_sales.ss_item_sk = store_returns.sr_item_sk) and (store_sales.ss_ticket_number = store_returns.sr_ticket_number)) otherCondition=() build RFs:RF2 sr_customer_sk->[ss_customer_sk];RF3 sr_item_sk->[ss_item_sk];RF4 sr_ticket_number->[ss_ticket_number]
|
||||
----------------------------------hashJoin[INNER_JOIN] hashCondition=((d1.d_date_sk = store_sales.ss_sold_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ss_sold_date_sk]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((store.s_store_sk = store_sales.ss_store_sk)) otherCondition=() build RFs:RF6 s_store_sk->[ss_store_sk]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = store_sales.ss_item_sk)) otherCondition=() build RFs:RF5 i_item_sk->[ss_item_sk,sr_item_sk]
|
||||
------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_customer_sk = store_returns.sr_customer_sk) and (store_sales.ss_item_sk = store_returns.sr_item_sk) and (store_sales.ss_ticket_number = store_returns.sr_ticket_number)) otherCondition=() build RFs:RF2 sr_customer_sk->[ss_customer_sk];RF3 sr_item_sk->[ss_item_sk];RF4 sr_ticket_number->[ss_ticket_number]
|
||||
------------------------------------PhysicalProject
|
||||
--------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF1 RF2 RF3 RF4 RF5 RF6
|
||||
------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------------PhysicalProject
|
||||
----------------------------------------filter((d1.d_moy = 4) and (d1.d_year = 1998))
|
||||
------------------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_returned_date_sk = d2.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[sr_returned_date_sk]
|
||||
--------------------------------------hashJoin[INNER_JOIN] hashCondition=((d1.d_date_sk = store_sales.ss_sold_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ss_sold_date_sk]
|
||||
----------------------------------------PhysicalProject
|
||||
------------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF1 RF2 RF3 RF4 RF5 RF6
|
||||
----------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------------------PhysicalProject
|
||||
--------------------------------------------filter((d1.d_moy = 4) and (d1.d_year = 1998))
|
||||
----------------------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------------------PhysicalProject
|
||||
--------------------------------------PhysicalOlapScan[store_returns] apply RFs: RF0 RF5
|
||||
------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------------PhysicalProject
|
||||
----------------------------------------filter((d2.d_moy <= 7) and (d2.d_moy >= 4) and (d2.d_year = 1998))
|
||||
------------------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_returned_date_sk = d2.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[sr_returned_date_sk]
|
||||
----------------------------------------PhysicalProject
|
||||
------------------------------------------PhysicalOlapScan[store_returns] apply RFs: RF0 RF5
|
||||
----------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------------------PhysicalProject
|
||||
--------------------------------------------filter((d2.d_moy <= 7) and (d2.d_moy >= 4) and (d2.d_year = 1998))
|
||||
----------------------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------PhysicalOlapScan[item]
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[item]
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[store]
|
||||
--------------------------------PhysicalOlapScan[store]
|
||||
------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------PhysicalProject
|
||||
----------------------filter(d_year IN (1998, 1999, 2000))
|
||||
|
||||
@ -56,29 +56,31 @@ PhysicalCteAnchor ( cteId=CTEId#0 )
|
||||
----------------PhysicalProject
|
||||
------------------filter((t_w_firstyear.dyear = 1999) and (t_w_firstyear.sale_type = 'w') and (t_w_firstyear.year_total > 0.000000))
|
||||
--------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
--------------hashJoin[INNER_JOIN] hashCondition=((t_s_firstyear.customer_id = t_w_secyear.customer_id)) otherCondition=()
|
||||
----------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((t_s_firstyear.customer_id = t_w_secyear.customer_id)) otherCondition=()
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------filter((t_w_secyear.dyear = 2000) and (t_w_secyear.sale_type = 'w'))
|
||||
------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
------------------PhysicalProject
|
||||
--------------------filter((t_w_secyear.dyear = 2000) and (t_w_secyear.sale_type = 'w'))
|
||||
----------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
----------------PhysicalProject
|
||||
------------------hashJoin[INNER_JOIN] hashCondition=((t_s_firstyear.customer_id = t_c_firstyear.customer_id)) otherCondition=((if((year_total > 0.000000), (cast(year_total as DECIMALV3(38, 16)) / year_total), NULL) > if((year_total > 0.000000), (cast(year_total as DECIMALV3(38, 16)) / year_total), NULL)))
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------PhysicalProject
|
||||
------------------------filter((t_c_firstyear.dyear = 1999) and (t_c_firstyear.sale_type = 'c') and (t_c_firstyear.year_total > 0.000000))
|
||||
--------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((t_s_firstyear.customer_id = t_c_secyear.customer_id)) otherCondition=()
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((t_s_secyear.customer_id = t_s_firstyear.customer_id)) otherCondition=()
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter((t_s_firstyear.dyear = 1999) and (t_s_firstyear.sale_type = 's') and (t_s_firstyear.year_total > 0.000000))
|
||||
------------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter((t_s_secyear.dyear = 2000) and (t_s_secyear.sale_type = 's'))
|
||||
------------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((t_s_firstyear.customer_id = t_c_firstyear.customer_id)) otherCondition=((if((year_total > 0.000000), (cast(year_total as DECIMALV3(38, 16)) / year_total), NULL) > if((year_total > 0.000000), (cast(year_total as DECIMALV3(38, 16)) / year_total), NULL)))
|
||||
----------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------PhysicalProject
|
||||
--------------------------filter((t_c_secyear.dyear = 2000) and (t_c_secyear.sale_type = 'c'))
|
||||
--------------------------filter((t_c_firstyear.dyear = 1999) and (t_c_firstyear.sale_type = 'c') and (t_c_firstyear.year_total > 0.000000))
|
||||
----------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((t_s_firstyear.customer_id = t_c_secyear.customer_id)) otherCondition=()
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((t_s_secyear.customer_id = t_s_firstyear.customer_id)) otherCondition=()
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((t_s_firstyear.dyear = 1999) and (t_s_firstyear.sale_type = 's') and (t_s_firstyear.year_total > 0.000000))
|
||||
----------------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((t_s_secyear.dyear = 2000) and (t_s_secyear.sale_type = 's'))
|
||||
----------------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter((t_c_secyear.dyear = 2000) and (t_c_secyear.sale_type = 'c'))
|
||||
--------------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
|
||||
|
||||
@ -13,18 +13,19 @@ PhysicalResultSink
|
||||
--------------------hashJoin[RIGHT_OUTER_JOIN] hashCondition=((catalog_sales.cs_item_sk = catalog_returns.cr_item_sk) and (catalog_sales.cs_order_number = catalog_returns.cr_order_number)) otherCondition=() build RFs:RF2 cs_order_number->[cr_order_number];RF3 cs_item_sk->[cr_item_sk]
|
||||
----------------------PhysicalProject
|
||||
------------------------PhysicalOlapScan[catalog_returns] apply RFs: RF2 RF3
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[cs_sold_date_sk]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = catalog_sales.cs_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[cs_item_sk]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1 RF4
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[cs_sold_date_sk]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = catalog_sales.cs_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[cs_item_sk]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1 RF4
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((item.i_current_price <= 1.49) and (item.i_current_price >= 0.99))
|
||||
----------------------------------PhysicalOlapScan[item]
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter((item.i_current_price <= 1.49) and (item.i_current_price >= 0.99))
|
||||
--------------------------------PhysicalOlapScan[item]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter((date_dim.d_date <= '2001-06-01') and (date_dim.d_date >= '2001-04-02'))
|
||||
------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------------filter((date_dim.d_date <= '2001-06-01') and (date_dim.d_date >= '2001-04-02'))
|
||||
--------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------PhysicalProject
|
||||
----------------------PhysicalOlapScan[warehouse]
|
||||
|
||||
@ -9,13 +9,14 @@ PhysicalResultSink
|
||||
------------hashAgg[LOCAL]
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((dt.d_date_sk = store_sales.ss_sold_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ss_sold_date_sk]
|
||||
------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[ss_item_sk]
|
||||
--------------------PhysicalProject
|
||||
----------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1
|
||||
--------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[ss_item_sk]
|
||||
----------------------PhysicalProject
|
||||
------------------------filter((item.i_manager_id = 1))
|
||||
--------------------------PhysicalOlapScan[item]
|
||||
------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------filter((item.i_manager_id = 1))
|
||||
----------------------------PhysicalOlapScan[item]
|
||||
------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------PhysicalProject
|
||||
----------------------filter((dt.d_moy = 11) and (dt.d_year = 1998))
|
||||
|
||||
@ -39,34 +39,35 @@ PhysicalResultSink
|
||||
------------------------------------------------------filter((store_sales.ss_store_sk = 4) and ss_hdemo_sk IS NULL)
|
||||
--------------------------------------------------------PhysicalOlapScan[store_sales]
|
||||
------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------hashJoin[INNER_JOIN] hashCondition=((i2.i_item_sk = descending.item_sk)) otherCondition=() build RFs:RF0 item_sk->[i_item_sk]
|
||||
----------------PhysicalProject
|
||||
------------------PhysicalOlapScan[item] apply RFs: RF0
|
||||
----------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((i2.i_item_sk = descending.item_sk)) otherCondition=() build RFs:RF0 item_sk->[i_item_sk]
|
||||
------------------PhysicalProject
|
||||
--------------------filter((rnk < 11))
|
||||
----------------------PhysicalWindow
|
||||
------------------------PhysicalQuickSort[MERGE_SORT]
|
||||
--------------------------PhysicalDistribute[DistributionSpecGather]
|
||||
----------------------------PhysicalQuickSort[LOCAL_SORT]
|
||||
------------------------------PhysicalPartitionTopN
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------NestedLoopJoin[INNER_JOIN](cast(rank_col as DOUBLE) > cast((0.9 * rank_col) as DOUBLE))
|
||||
------------------------------------PhysicalProject
|
||||
--------------------------------------hashAgg[GLOBAL]
|
||||
----------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------------------hashAgg[LOCAL]
|
||||
--------------------PhysicalOlapScan[item] apply RFs: RF0
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------filter((rnk < 11))
|
||||
------------------------PhysicalWindow
|
||||
--------------------------PhysicalQuickSort[MERGE_SORT]
|
||||
----------------------------PhysicalDistribute[DistributionSpecGather]
|
||||
------------------------------PhysicalQuickSort[LOCAL_SORT]
|
||||
--------------------------------PhysicalPartitionTopN
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------NestedLoopJoin[INNER_JOIN](cast(rank_col as DOUBLE) > cast((0.9 * rank_col) as DOUBLE))
|
||||
--------------------------------------PhysicalProject
|
||||
----------------------------------------hashAgg[GLOBAL]
|
||||
------------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------------------hashAgg[LOCAL]
|
||||
----------------------------------------------PhysicalProject
|
||||
------------------------------------------------filter((ss1.ss_store_sk = 4))
|
||||
--------------------------------------------------PhysicalOlapScan[store_sales]
|
||||
--------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------------PhysicalAssertNumRows
|
||||
------------------------------------------PhysicalDistribute[DistributionSpecGather]
|
||||
--------------------------------------------PhysicalProject
|
||||
----------------------------------------------filter((ss1.ss_store_sk = 4))
|
||||
------------------------------------------------PhysicalOlapScan[store_sales]
|
||||
------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------------PhysicalAssertNumRows
|
||||
----------------------------------------PhysicalDistribute[DistributionSpecGather]
|
||||
------------------------------------------PhysicalProject
|
||||
--------------------------------------------hashAgg[GLOBAL]
|
||||
----------------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------------------------hashAgg[LOCAL]
|
||||
--------------------------------------------------PhysicalProject
|
||||
----------------------------------------------------filter((store_sales.ss_store_sk = 4) and ss_hdemo_sk IS NULL)
|
||||
------------------------------------------------------PhysicalOlapScan[store_sales]
|
||||
----------------------------------------------hashAgg[GLOBAL]
|
||||
------------------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------------------------hashAgg[LOCAL]
|
||||
----------------------------------------------------PhysicalProject
|
||||
------------------------------------------------------filter((store_sales.ss_store_sk = 4) and ss_hdemo_sk IS NULL)
|
||||
--------------------------------------------------------PhysicalOlapScan[store_sales]
|
||||
|
||||
|
||||
@ -11,14 +11,15 @@ PhysicalResultSink
|
||||
----------------PhysicalProject
|
||||
------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_addr_sk = customer_address.ca_address_sk)) otherCondition=((((ca_state IN ('ND', 'NY', 'SD') AND ((store_sales.ss_net_profit >= 0.00) AND (store_sales.ss_net_profit <= 2000.00))) OR (ca_state IN ('GA', 'KS', 'MD') AND ((store_sales.ss_net_profit >= 150.00) AND (store_sales.ss_net_profit <= 3000.00)))) OR (ca_state IN ('CO', 'MN', 'NC') AND ((store_sales.ss_net_profit >= 50.00) AND (store_sales.ss_net_profit <= 25000.00))))) build RFs:RF1 ca_address_sk->[ss_addr_sk]
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((customer_demographics.cd_demo_sk = store_sales.ss_cdemo_sk)) otherCondition=((((((customer_demographics.cd_marital_status = 'S') AND (customer_demographics.cd_education_status = 'Secondary')) AND ((store_sales.ss_sales_price >= 100.00) AND (store_sales.ss_sales_price <= 150.00))) OR (((customer_demographics.cd_marital_status = 'M') AND (customer_demographics.cd_education_status = '2 yr Degree')) AND ((store_sales.ss_sales_price >= 50.00) AND (store_sales.ss_sales_price <= 100.00)))) OR (((customer_demographics.cd_marital_status = 'D') AND (customer_demographics.cd_education_status = 'Advanced Degree')) AND ((store_sales.ss_sales_price >= 150.00) AND (store_sales.ss_sales_price <= 200.00))))) build RFs:RF0 cd_demo_sk->[ss_cdemo_sk]
|
||||
------------------------PhysicalProject
|
||||
--------------------------filter((store_sales.ss_net_profit <= 25000.00) and (store_sales.ss_net_profit >= 0.00) and (store_sales.ss_sales_price <= 200.00) and (store_sales.ss_sales_price >= 50.00))
|
||||
----------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2 RF3
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((customer_demographics.cd_demo_sk = store_sales.ss_cdemo_sk)) otherCondition=((((((customer_demographics.cd_marital_status = 'S') AND (customer_demographics.cd_education_status = 'Secondary')) AND ((store_sales.ss_sales_price >= 100.00) AND (store_sales.ss_sales_price <= 150.00))) OR (((customer_demographics.cd_marital_status = 'M') AND (customer_demographics.cd_education_status = '2 yr Degree')) AND ((store_sales.ss_sales_price >= 50.00) AND (store_sales.ss_sales_price <= 100.00)))) OR (((customer_demographics.cd_marital_status = 'D') AND (customer_demographics.cd_education_status = 'Advanced Degree')) AND ((store_sales.ss_sales_price >= 150.00) AND (store_sales.ss_sales_price <= 200.00))))) build RFs:RF0 cd_demo_sk->[ss_cdemo_sk]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter(((((customer_demographics.cd_marital_status = 'S') AND (customer_demographics.cd_education_status = 'Secondary')) OR ((customer_demographics.cd_marital_status = 'M') AND (customer_demographics.cd_education_status = '2 yr Degree'))) OR ((customer_demographics.cd_marital_status = 'D') AND (customer_demographics.cd_education_status = 'Advanced Degree'))))
|
||||
------------------------------PhysicalOlapScan[customer_demographics]
|
||||
----------------------------filter((store_sales.ss_net_profit <= 25000.00) and (store_sales.ss_net_profit >= 0.00) and (store_sales.ss_sales_price <= 200.00) and (store_sales.ss_sales_price >= 50.00))
|
||||
------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2 RF3
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter(((((customer_demographics.cd_marital_status = 'S') AND (customer_demographics.cd_education_status = 'Secondary')) OR ((customer_demographics.cd_marital_status = 'M') AND (customer_demographics.cd_education_status = '2 yr Degree'))) OR ((customer_demographics.cd_marital_status = 'D') AND (customer_demographics.cd_education_status = 'Advanced Degree'))))
|
||||
--------------------------------PhysicalOlapScan[customer_demographics]
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------PhysicalProject
|
||||
------------------------filter((customer_address.ca_country = 'United States') and ca_state IN ('CO', 'GA', 'KS', 'MD', 'MN', 'NC', 'ND', 'NY', 'SD'))
|
||||
|
||||
@ -35,63 +35,64 @@ PhysicalResultSink
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[item] apply RFs: RF13
|
||||
------------hashJoin[INNER_JOIN] hashCondition=((ss_items.item_id = ws_items.item_id)) otherCondition=((cast(ss_item_rev as DOUBLE) <= cast((1.1 * ws_item_rev) as DOUBLE)) and (cast(ss_item_rev as DOUBLE) >= cast((0.9 * ws_item_rev) as DOUBLE)) and (cast(ws_item_rev as DOUBLE) <= cast((1.1 * ss_item_rev) as DOUBLE)) and (cast(ws_item_rev as DOUBLE) >= cast((0.9 * ss_item_rev) as DOUBLE))) build RFs:RF8 item_id->[i_item_id]
|
||||
--------------PhysicalProject
|
||||
----------------hashAgg[GLOBAL]
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------hashAgg[LOCAL]
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF7 i_item_sk->[ss_item_sk]
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF6 d_date_sk->[ss_sold_date_sk]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[store_sales] apply RFs: RF6 RF7
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------PhysicalProject
|
||||
--------------hashJoin[INNER_JOIN] hashCondition=((ss_items.item_id = ws_items.item_id)) otherCondition=((cast(ss_item_rev as DOUBLE) <= cast((1.1 * ws_item_rev) as DOUBLE)) and (cast(ss_item_rev as DOUBLE) >= cast((0.9 * ws_item_rev) as DOUBLE)) and (cast(ws_item_rev as DOUBLE) <= cast((1.1 * ss_item_rev) as DOUBLE)) and (cast(ws_item_rev as DOUBLE) >= cast((0.9 * ss_item_rev) as DOUBLE))) build RFs:RF8 item_id->[i_item_id]
|
||||
----------------PhysicalProject
|
||||
------------------hashAgg[GLOBAL]
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------hashAgg[LOCAL]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF7 i_item_sk->[ss_item_sk]
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF6 d_date_sk->[ss_sold_date_sk]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((date_dim.d_date = date_dim.d_date)) otherCondition=() build RFs:RF5 d_date->[d_date]
|
||||
------------------------------------PhysicalProject
|
||||
--------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF5
|
||||
------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalOlapScan[store_sales] apply RFs: RF6 RF7
|
||||
--------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((date_dim.d_date = date_dim.d_date)) otherCondition=() build RFs:RF5 d_date->[d_date]
|
||||
--------------------------------------PhysicalProject
|
||||
----------------------------------------hashJoin[INNER_JOIN] hashCondition=((date_dim.d_week_seq = date_dim.d_week_seq)) otherCondition=() build RFs:RF4 d_week_seq->[d_week_seq]
|
||||
------------------------------------------PhysicalProject
|
||||
--------------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF4
|
||||
------------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------------------PhysicalAssertNumRows
|
||||
----------------------------------------------PhysicalDistribute[DistributionSpecGather]
|
||||
------------------------------------------------PhysicalProject
|
||||
--------------------------------------------------filter((date_dim.d_date = '2001-06-16'))
|
||||
----------------------------------------------------PhysicalOlapScan[date_dim]
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[item] apply RFs: RF8
|
||||
--------------PhysicalProject
|
||||
----------------hashAgg[GLOBAL]
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------hashAgg[LOCAL]
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF3 i_item_sk->[ws_item_sk]
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF2 d_date_sk->[ws_sold_date_sk]
|
||||
----------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF5
|
||||
--------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------------PhysicalProject
|
||||
------------------------------------------hashJoin[INNER_JOIN] hashCondition=((date_dim.d_week_seq = date_dim.d_week_seq)) otherCondition=() build RFs:RF4 d_week_seq->[d_week_seq]
|
||||
--------------------------------------------PhysicalProject
|
||||
----------------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF4
|
||||
--------------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------------------PhysicalAssertNumRows
|
||||
------------------------------------------------PhysicalDistribute[DistributionSpecGather]
|
||||
--------------------------------------------------PhysicalProject
|
||||
----------------------------------------------------filter((date_dim.d_date = '2001-06-16'))
|
||||
------------------------------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[web_sales] apply RFs: RF2 RF3
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------PhysicalOlapScan[item] apply RFs: RF8
|
||||
----------------PhysicalProject
|
||||
------------------hashAgg[GLOBAL]
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------hashAgg[LOCAL]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF3 i_item_sk->[ws_item_sk]
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF2 d_date_sk->[ws_sold_date_sk]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((date_dim.d_date = date_dim.d_date)) otherCondition=() build RFs:RF1 d_date->[d_date]
|
||||
------------------------------------PhysicalProject
|
||||
--------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF1
|
||||
------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalOlapScan[web_sales] apply RFs: RF2 RF3
|
||||
--------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((date_dim.d_date = date_dim.d_date)) otherCondition=() build RFs:RF1 d_date->[d_date]
|
||||
--------------------------------------PhysicalProject
|
||||
----------------------------------------hashJoin[INNER_JOIN] hashCondition=((date_dim.d_week_seq = date_dim.d_week_seq)) otherCondition=() build RFs:RF0 d_week_seq->[d_week_seq]
|
||||
------------------------------------------PhysicalProject
|
||||
--------------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF0
|
||||
------------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------------------PhysicalAssertNumRows
|
||||
----------------------------------------------PhysicalDistribute[DistributionSpecGather]
|
||||
------------------------------------------------PhysicalProject
|
||||
--------------------------------------------------filter((date_dim.d_date = '2001-06-16'))
|
||||
----------------------------------------------------PhysicalOlapScan[date_dim]
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[item]
|
||||
----------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF1
|
||||
--------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------------PhysicalProject
|
||||
------------------------------------------hashJoin[INNER_JOIN] hashCondition=((date_dim.d_week_seq = date_dim.d_week_seq)) otherCondition=() build RFs:RF0 d_week_seq->[d_week_seq]
|
||||
--------------------------------------------PhysicalProject
|
||||
----------------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF0
|
||||
--------------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------------------PhysicalAssertNumRows
|
||||
------------------------------------------------PhysicalDistribute[DistributionSpecGather]
|
||||
--------------------------------------------------PhysicalProject
|
||||
----------------------------------------------------filter((date_dim.d_date = '2001-06-16'))
|
||||
------------------------------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[item]
|
||||
|
||||
|
||||
@ -11,17 +11,18 @@ PhysicalResultSink
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_warehouse_sk = warehouse.w_warehouse_sk)) otherCondition=() build RFs:RF3 w_warehouse_sk->[ws_warehouse_sk]
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_ship_mode_sk = ship_mode.sm_ship_mode_sk)) otherCondition=() build RFs:RF2 sm_ship_mode_sk->[ws_ship_mode_sk]
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_web_site_sk = web_site.web_site_sk)) otherCondition=() build RFs:RF1 web_site_sk->[ws_web_site_sk]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[ws_ship_date_sk]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[web_sales] apply RFs: RF0 RF1 RF2 RF3
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_web_site_sk = web_site.web_site_sk)) otherCondition=() build RFs:RF1 web_site_sk->[ws_web_site_sk]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[ws_ship_date_sk]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[web_sales] apply RFs: RF0 RF1 RF2 RF3
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((date_dim.d_month_seq <= 1234) and (date_dim.d_month_seq >= 1223))
|
||||
----------------------------------PhysicalOlapScan[date_dim]
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter((date_dim.d_month_seq <= 1234) and (date_dim.d_month_seq >= 1223))
|
||||
--------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[web_site]
|
||||
------------------------------PhysicalOlapScan[web_site]
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------PhysicalOlapScan[ship_mode]
|
||||
|
||||
@ -10,25 +10,26 @@ PhysicalResultSink
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF3 i_item_sk->[ss_item_sk]
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_promo_sk = promotion.p_promo_sk)) otherCondition=() build RFs:RF2 p_promo_sk->[ss_promo_sk]
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ss_sold_date_sk]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_cdemo_sk = customer_demographics.cd_demo_sk)) otherCondition=() build RFs:RF0 cd_demo_sk->[ss_cdemo_sk]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2 RF3
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------filter((customer_demographics.cd_education_status = 'College') and (customer_demographics.cd_gender = 'F') and (customer_demographics.cd_marital_status = 'W'))
|
||||
------------------------------------PhysicalOlapScan[customer_demographics]
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter((date_dim.d_year = 2001))
|
||||
--------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_promo_sk = promotion.p_promo_sk)) otherCondition=() build RFs:RF2 p_promo_sk->[ss_promo_sk]
|
||||
------------------------PhysicalProject
|
||||
--------------------------filter(((promotion.p_channel_email = 'N') OR (promotion.p_channel_event = 'N')))
|
||||
----------------------------PhysicalOlapScan[promotion]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ss_sold_date_sk]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_cdemo_sk = customer_demographics.cd_demo_sk)) otherCondition=() build RFs:RF0 cd_demo_sk->[ss_cdemo_sk]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2 RF3
|
||||
--------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------filter((customer_demographics.cd_education_status = 'College') and (customer_demographics.cd_gender = 'F') and (customer_demographics.cd_marital_status = 'W'))
|
||||
--------------------------------------PhysicalOlapScan[customer_demographics]
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((date_dim.d_year = 2001))
|
||||
----------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter(((promotion.p_channel_email = 'N') OR (promotion.p_channel_event = 'N')))
|
||||
------------------------------PhysicalOlapScan[promotion]
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------PhysicalOlapScan[item]
|
||||
|
||||
@ -16,46 +16,47 @@ PhysicalResultSink
|
||||
----------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((d1.d_week_seq = d2.d_week_seq)) otherCondition=() build RFs:RF7 d_week_seq->[d_week_seq]
|
||||
----------------------------hashJoin[RIGHT_OUTER_JOIN] hashCondition=((catalog_returns.cr_item_sk = catalog_sales.cs_item_sk) and (catalog_returns.cr_order_number = catalog_sales.cs_order_number)) otherCondition=() build RFs:RF5 cs_item_sk->[cr_item_sk];RF6 cs_order_number->[cr_order_number]
|
||||
------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------PhysicalOlapScan[catalog_returns] apply RFs: RF5 RF6
|
||||
------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = catalog_sales.cs_item_sk)) otherCondition=() build RFs:RF4 i_item_sk->[cs_item_sk]
|
||||
------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------------PhysicalProject
|
||||
----------------------------------------hashJoin[LEFT_OUTER_JOIN] hashCondition=((catalog_sales.cs_promo_sk = promotion.p_promo_sk)) otherCondition=()
|
||||
------------------------------------------PhysicalProject
|
||||
--------------------------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_bill_cdemo_sk = customer_demographics.cd_demo_sk)) otherCondition=() build RFs:RF3 cd_demo_sk->[cs_bill_cdemo_sk]
|
||||
----------------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_bill_hdemo_sk = household_demographics.hd_demo_sk)) otherCondition=() build RFs:RF2 hd_demo_sk->[cs_bill_hdemo_sk]
|
||||
--------------------------------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_ship_date_sk = d3.d_date_sk) and (catalog_sales.cs_sold_date_sk = d1.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[cs_ship_date_sk];RF1 d_date_sk->[cs_sold_date_sk]
|
||||
----------------------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------------------------------PhysicalProject
|
||||
--------------------------------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1 RF2 RF3 RF4
|
||||
----------------------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------------------------------NestedLoopJoin[INNER_JOIN](d3.d_date > days_add(d_date, INTERVAL 5 DAY))
|
||||
--------------------------------------------------------PhysicalProject
|
||||
----------------------------------------------------------PhysicalOlapScan[date_dim]
|
||||
--------------------------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------------------------------PhysicalProject
|
||||
------------------------------------------------------------filter((d1.d_year = 1998))
|
||||
--------------------------------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF7
|
||||
--------------------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------------------------PhysicalProject
|
||||
------------------------------------------------------filter((household_demographics.hd_buy_potential = '1001-5000'))
|
||||
--------------------------------------------------------PhysicalOlapScan[household_demographics]
|
||||
----------------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------------------------PhysicalProject
|
||||
--------------------------------------------------filter((customer_demographics.cd_marital_status = 'S'))
|
||||
----------------------------------------------------PhysicalOlapScan[customer_demographics]
|
||||
------------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------hashJoin[RIGHT_OUTER_JOIN] hashCondition=((catalog_returns.cr_item_sk = catalog_sales.cs_item_sk) and (catalog_returns.cr_order_number = catalog_sales.cs_order_number)) otherCondition=() build RFs:RF5 cs_item_sk->[cr_item_sk];RF6 cs_order_number->[cr_order_number]
|
||||
--------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------PhysicalOlapScan[catalog_returns] apply RFs: RF5 RF6
|
||||
--------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = catalog_sales.cs_item_sk)) otherCondition=() build RFs:RF4 i_item_sk->[cs_item_sk]
|
||||
--------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------------------PhysicalProject
|
||||
------------------------------------------hashJoin[LEFT_OUTER_JOIN] hashCondition=((catalog_sales.cs_promo_sk = promotion.p_promo_sk)) otherCondition=()
|
||||
--------------------------------------------PhysicalProject
|
||||
----------------------------------------------PhysicalOlapScan[promotion]
|
||||
------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------------PhysicalProject
|
||||
----------------------------------------PhysicalOlapScan[item]
|
||||
----------------------------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_bill_cdemo_sk = customer_demographics.cd_demo_sk)) otherCondition=() build RFs:RF3 cd_demo_sk->[cs_bill_cdemo_sk]
|
||||
------------------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_bill_hdemo_sk = household_demographics.hd_demo_sk)) otherCondition=() build RFs:RF2 hd_demo_sk->[cs_bill_hdemo_sk]
|
||||
----------------------------------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_ship_date_sk = d3.d_date_sk) and (catalog_sales.cs_sold_date_sk = d1.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[cs_ship_date_sk];RF1 d_date_sk->[cs_sold_date_sk]
|
||||
------------------------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------------------------------PhysicalProject
|
||||
----------------------------------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1 RF2 RF3 RF4
|
||||
------------------------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------------------------------NestedLoopJoin[INNER_JOIN](d3.d_date > days_add(d_date, INTERVAL 5 DAY))
|
||||
----------------------------------------------------------PhysicalProject
|
||||
------------------------------------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------------------------------------PhysicalProject
|
||||
--------------------------------------------------------------filter((d1.d_year = 1998))
|
||||
----------------------------------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF7
|
||||
----------------------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------------------------------PhysicalProject
|
||||
--------------------------------------------------------filter((household_demographics.hd_buy_potential = '1001-5000'))
|
||||
----------------------------------------------------------PhysicalOlapScan[household_demographics]
|
||||
------------------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------------------------PhysicalProject
|
||||
----------------------------------------------------filter((customer_demographics.cd_marital_status = 'S'))
|
||||
------------------------------------------------------PhysicalOlapScan[customer_demographics]
|
||||
--------------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------------------PhysicalProject
|
||||
------------------------------------------------PhysicalOlapScan[promotion]
|
||||
--------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------------------PhysicalProject
|
||||
------------------------------------------PhysicalOlapScan[item]
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[date_dim]
|
||||
|
||||
@ -44,18 +44,19 @@ PhysicalCteAnchor ( cteId=CTEId#0 )
|
||||
----------------PhysicalProject
|
||||
------------------filter((t_w_firstyear.sale_type = 'w') and (t_w_firstyear.year = 1999) and (t_w_firstyear.year_total > 0.00))
|
||||
--------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
--------------hashJoin[INNER_JOIN] hashCondition=((t_s_firstyear.customer_id = t_w_secyear.customer_id)) otherCondition=()
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((t_s_secyear.customer_id = t_s_firstyear.customer_id)) otherCondition=()
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((t_s_firstyear.customer_id = t_w_secyear.customer_id)) otherCondition=()
|
||||
------------------hashJoin[INNER_JOIN] hashCondition=((t_s_secyear.customer_id = t_s_firstyear.customer_id)) otherCondition=()
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------PhysicalProject
|
||||
------------------------filter((t_s_firstyear.sale_type = 's') and (t_s_firstyear.year = 1999) and (t_s_firstyear.year_total > 0.00))
|
||||
--------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------PhysicalProject
|
||||
------------------------filter((t_s_secyear.sale_type = 's') and (t_s_secyear.year = 2000))
|
||||
--------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------filter((t_s_firstyear.sale_type = 's') and (t_s_firstyear.year = 1999) and (t_s_firstyear.year_total > 0.00))
|
||||
----------------------filter((t_w_secyear.sale_type = 'w') and (t_w_secyear.year = 2000))
|
||||
------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------filter((t_s_secyear.sale_type = 's') and (t_s_secyear.year = 2000))
|
||||
------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
----------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------PhysicalProject
|
||||
--------------------filter((t_w_secyear.sale_type = 'w') and (t_w_secyear.year = 2000))
|
||||
----------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
|
||||
|
||||
@ -11,13 +11,14 @@ PhysicalResultSink
|
||||
----------------PhysicalDistribute[DistributionSpecExecutionAny]
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF1 i_item_sk->[ss_item_sk]
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[ss_sold_date_sk]
|
||||
------------------------PhysicalProject
|
||||
--------------------------filter(ss_customer_sk IS NULL)
|
||||
----------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[ss_sold_date_sk]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------------filter(ss_customer_sk IS NULL)
|
||||
------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------PhysicalOlapScan[item]
|
||||
@ -27,25 +28,27 @@ PhysicalResultSink
|
||||
----------------------PhysicalProject
|
||||
------------------------PhysicalOlapScan[item] apply RFs: RF3
|
||||
----------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF2 d_date_sk->[ws_sold_date_sk]
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter(ws_promo_sk IS NULL)
|
||||
--------------------------------PhysicalOlapScan[web_sales] apply RFs: RF2
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF2 d_date_sk->[ws_sold_date_sk]
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter(ws_promo_sk IS NULL)
|
||||
----------------------------------PhysicalOlapScan[web_sales] apply RFs: RF2
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------PhysicalProject
|
||||
------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF5 i_item_sk->[cs_item_sk]
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF4 d_date_sk->[cs_sold_date_sk]
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter(cs_bill_customer_sk IS NULL)
|
||||
------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF4 RF5
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF4 d_date_sk->[cs_sold_date_sk]
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter(cs_bill_customer_sk IS NULL)
|
||||
--------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF4 RF5
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[date_dim]
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------PhysicalProject
|
||||
------------------------PhysicalOlapScan[item]
|
||||
|
||||
@ -33,59 +33,60 @@ PhysicalResultSink
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[item] apply RFs: RF13
|
||||
------------hashJoin[INNER_JOIN] hashCondition=((sr_items.item_id = wr_items.item_id)) otherCondition=() build RFs:RF8 item_id->[i_item_id]
|
||||
--------------PhysicalProject
|
||||
----------------hashAgg[GLOBAL]
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------hashAgg[LOCAL]
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF7 i_item_sk->[sr_item_sk]
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_returned_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF6 d_date_sk->[sr_returned_date_sk]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[store_returns] apply RFs: RF6 RF7
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------PhysicalProject
|
||||
--------------hashJoin[INNER_JOIN] hashCondition=((sr_items.item_id = wr_items.item_id)) otherCondition=() build RFs:RF8 item_id->[i_item_id]
|
||||
----------------PhysicalProject
|
||||
------------------hashAgg[GLOBAL]
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------hashAgg[LOCAL]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF7 i_item_sk->[sr_item_sk]
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_returned_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF6 d_date_sk->[sr_returned_date_sk]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((date_dim.d_date = date_dim.d_date)) otherCondition=() build RFs:RF5 d_date->[d_date]
|
||||
------------------------------------PhysicalProject
|
||||
--------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF5
|
||||
------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalOlapScan[store_returns] apply RFs: RF6 RF7
|
||||
--------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((date_dim.d_date = date_dim.d_date)) otherCondition=() build RFs:RF5 d_date->[d_date]
|
||||
--------------------------------------PhysicalProject
|
||||
----------------------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((date_dim.d_week_seq = date_dim.d_week_seq)) otherCondition=() build RFs:RF4 d_week_seq->[d_week_seq]
|
||||
------------------------------------------PhysicalProject
|
||||
--------------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF4
|
||||
------------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF5
|
||||
--------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------------PhysicalProject
|
||||
------------------------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((date_dim.d_week_seq = date_dim.d_week_seq)) otherCondition=() build RFs:RF4 d_week_seq->[d_week_seq]
|
||||
--------------------------------------------PhysicalProject
|
||||
----------------------------------------------filter(d_date IN ('2001-07-13', '2001-09-10', '2001-11-16'))
|
||||
------------------------------------------------PhysicalOlapScan[date_dim]
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[item] apply RFs: RF8
|
||||
--------------PhysicalProject
|
||||
----------------hashAgg[GLOBAL]
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------hashAgg[LOCAL]
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((web_returns.wr_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF3 i_item_sk->[wr_item_sk]
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((web_returns.wr_returned_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF2 d_date_sk->[wr_returned_date_sk]
|
||||
----------------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF4
|
||||
--------------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------------------PhysicalProject
|
||||
------------------------------------------------filter(d_date IN ('2001-07-13', '2001-09-10', '2001-11-16'))
|
||||
--------------------------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[web_returns] apply RFs: RF2 RF3
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------PhysicalOlapScan[item] apply RFs: RF8
|
||||
----------------PhysicalProject
|
||||
------------------hashAgg[GLOBAL]
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------hashAgg[LOCAL]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((web_returns.wr_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF3 i_item_sk->[wr_item_sk]
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((web_returns.wr_returned_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF2 d_date_sk->[wr_returned_date_sk]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((date_dim.d_date = date_dim.d_date)) otherCondition=() build RFs:RF1 d_date->[d_date]
|
||||
------------------------------------PhysicalProject
|
||||
--------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF1
|
||||
------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalOlapScan[web_returns] apply RFs: RF2 RF3
|
||||
--------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((date_dim.d_date = date_dim.d_date)) otherCondition=() build RFs:RF1 d_date->[d_date]
|
||||
--------------------------------------PhysicalProject
|
||||
----------------------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((date_dim.d_week_seq = date_dim.d_week_seq)) otherCondition=() build RFs:RF0 d_week_seq->[d_week_seq]
|
||||
------------------------------------------PhysicalProject
|
||||
--------------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF0
|
||||
------------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF1
|
||||
--------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------------PhysicalProject
|
||||
------------------------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((date_dim.d_week_seq = date_dim.d_week_seq)) otherCondition=() build RFs:RF0 d_week_seq->[d_week_seq]
|
||||
--------------------------------------------PhysicalProject
|
||||
----------------------------------------------filter(d_date IN ('2001-07-13', '2001-09-10', '2001-11-16'))
|
||||
------------------------------------------------PhysicalOlapScan[date_dim]
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[item]
|
||||
----------------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF0
|
||||
--------------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------------------PhysicalProject
|
||||
------------------------------------------------filter(d_date IN ('2001-07-13', '2001-09-10', '2001-11-16'))
|
||||
--------------------------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[item]
|
||||
|
||||
|
||||
@ -11,11 +11,12 @@ PhysicalResultSink
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_item_sk = store_sales.ss_item_sk) and (store_returns.sr_ticket_number = store_sales.ss_ticket_number)) otherCondition=() build RFs:RF1 sr_item_sk->[ss_item_sk];RF2 sr_ticket_number->[ss_ticket_number]
|
||||
------------------PhysicalProject
|
||||
--------------------PhysicalOlapScan[store_sales] apply RFs: RF1 RF2
|
||||
------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_reason_sk = reason.r_reason_sk)) otherCondition=() build RFs:RF0 r_reason_sk->[sr_reason_sk]
|
||||
--------------------PhysicalProject
|
||||
----------------------PhysicalOlapScan[store_returns] apply RFs: RF0
|
||||
--------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_reason_sk = reason.r_reason_sk)) otherCondition=() build RFs:RF0 r_reason_sk->[sr_reason_sk]
|
||||
----------------------PhysicalProject
|
||||
------------------------filter((reason.r_reason_desc = 'reason 58'))
|
||||
--------------------------PhysicalOlapScan[reason]
|
||||
------------------------PhysicalOlapScan[store_returns] apply RFs: RF0
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------filter((reason.r_reason_desc = 'reason 58'))
|
||||
----------------------------PhysicalOlapScan[reason]
|
||||
|
||||
|
||||
@ -13,26 +13,27 @@ PhysicalResultSink
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------PhysicalProject
|
||||
------------------------PhysicalOlapScan[web_sales] apply RFs: RF4
|
||||
--------------------hashJoin[RIGHT_ANTI_JOIN] hashCondition=((ws1.ws_order_number = wr1.wr_order_number)) otherCondition=() build RFs:RF3 ws_order_number->[wr_order_number]
|
||||
----------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------PhysicalProject
|
||||
--------------------------PhysicalOlapScan[web_returns] apply RFs: RF3
|
||||
----------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_web_site_sk = web_site.web_site_sk)) otherCondition=() build RFs:RF2 web_site_sk->[ws_web_site_sk]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ws_ship_date_sk]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_ship_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF0 ca_address_sk->[ws_ship_addr_sk]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[web_sales] apply RFs: RF0 RF1 RF2
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[RIGHT_ANTI_JOIN] hashCondition=((ws1.ws_order_number = wr1.wr_order_number)) otherCondition=() build RFs:RF3 ws_order_number->[wr_order_number]
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[web_returns] apply RFs: RF3
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_web_site_sk = web_site.web_site_sk)) otherCondition=() build RFs:RF2 web_site_sk->[ws_web_site_sk]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ws_ship_date_sk]
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_ship_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF0 ca_address_sk->[ws_ship_addr_sk]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------PhysicalOlapScan[web_sales] apply RFs: RF0 RF1 RF2
|
||||
--------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------filter((customer_address.ca_state = 'OK'))
|
||||
--------------------------------------PhysicalOlapScan[customer_address]
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------filter((customer_address.ca_state = 'OK'))
|
||||
------------------------------------PhysicalOlapScan[customer_address]
|
||||
----------------------------------filter((date_dim.d_date <= '2002-06-30') and (date_dim.d_date >= '2002-05-01'))
|
||||
------------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((date_dim.d_date <= '2002-06-30') and (date_dim.d_date >= '2002-05-01'))
|
||||
----------------------------------PhysicalOlapScan[date_dim]
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter((web_site.web_company_name = 'pri'))
|
||||
--------------------------------PhysicalOlapScan[web_site]
|
||||
--------------------------------filter((web_site.web_company_name = 'pri'))
|
||||
----------------------------------PhysicalOlapScan[web_site]
|
||||
|
||||
|
||||
@ -28,26 +28,27 @@ PhysicalCteAnchor ( cteId=CTEId#0 )
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[web_returns] apply RFs: RF6
|
||||
----------------------hashJoin[RIGHT_SEMI_JOIN] hashCondition=((ws1.ws_order_number = ws_wh.ws_order_number)) otherCondition=() build RFs:RF7 ws_order_number->[ws_order_number,ws_order_number]
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_web_site_sk = web_site.web_site_sk)) otherCondition=() build RFs:RF3 web_site_sk->[ws_web_site_sk]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF2 d_date_sk->[ws_ship_date_sk]
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_ship_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF1 ca_address_sk->[ws_ship_addr_sk]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------PhysicalOlapScan[web_sales] apply RFs: RF1 RF2 RF3
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[RIGHT_SEMI_JOIN] hashCondition=((ws1.ws_order_number = ws_wh.ws_order_number)) otherCondition=() build RFs:RF7 ws_order_number->[ws_order_number,ws_order_number]
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_web_site_sk = web_site.web_site_sk)) otherCondition=() build RFs:RF3 web_site_sk->[ws_web_site_sk]
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF2 d_date_sk->[ws_ship_date_sk]
|
||||
--------------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_ship_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF1 ca_address_sk->[ws_ship_addr_sk]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------PhysicalOlapScan[web_sales] apply RFs: RF1 RF2 RF3
|
||||
----------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------------PhysicalProject
|
||||
--------------------------------------filter((customer_address.ca_state = 'VA'))
|
||||
----------------------------------------PhysicalOlapScan[customer_address]
|
||||
--------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------filter((customer_address.ca_state = 'VA'))
|
||||
--------------------------------------PhysicalOlapScan[customer_address]
|
||||
------------------------------------filter((date_dim.d_date <= '2001-05-31') and (date_dim.d_date >= '2001-04-01'))
|
||||
--------------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------filter((date_dim.d_date <= '2001-05-31') and (date_dim.d_date >= '2001-04-01'))
|
||||
------------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((web_site.web_company_name = 'pri'))
|
||||
----------------------------------PhysicalOlapScan[web_site]
|
||||
----------------------------------filter((web_site.web_company_name = 'pri'))
|
||||
------------------------------------PhysicalOlapScan[web_site]
|
||||
|
||||
|
||||
@ -11,17 +11,18 @@ PhysicalResultSink
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_warehouse_sk = warehouse.w_warehouse_sk)) otherCondition=() build RFs:RF3 w_warehouse_sk->[cs_warehouse_sk]
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_ship_mode_sk = ship_mode.sm_ship_mode_sk)) otherCondition=() build RFs:RF2 sm_ship_mode_sk->[cs_ship_mode_sk]
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_call_center_sk = call_center.cc_call_center_sk)) otherCondition=() build RFs:RF1 cc_call_center_sk->[cs_call_center_sk]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[cs_ship_date_sk]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1 RF2 RF3
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_call_center_sk = call_center.cc_call_center_sk)) otherCondition=() build RFs:RF1 cc_call_center_sk->[cs_call_center_sk]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[cs_ship_date_sk]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1 RF2 RF3
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((date_dim.d_month_seq <= 1205) and (date_dim.d_month_seq >= 1194))
|
||||
----------------------------------PhysicalOlapScan[date_dim]
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter((date_dim.d_month_seq <= 1205) and (date_dim.d_month_seq >= 1194))
|
||||
--------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[call_center]
|
||||
------------------------------PhysicalOlapScan[call_center]
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------PhysicalOlapScan[ship_mode]
|
||||
|
||||
@ -10,28 +10,29 @@ PhysicalResultSink
|
||||
--------------hashAgg[LOCAL]
|
||||
----------------PhysicalProject
|
||||
------------------hashJoin[LEFT_ANTI_JOIN] hashCondition=((cs1.cs_order_number = cr1.cr_order_number)) otherCondition=()
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((cs1.cs_call_center_sk = call_center.cc_call_center_sk)) otherCondition=() build RFs:RF3 cc_call_center_sk->[cs_call_center_sk]
|
||||
----------------------hashJoin[RIGHT_SEMI_JOIN] hashCondition=((cs1.cs_order_number = cs2.cs_order_number)) otherCondition=(( not (cs_warehouse_sk = cs_warehouse_sk))) build RFs:RF2 cs_order_number->[cs_order_number]
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF2
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((cs1.cs_ship_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF1 ca_address_sk->[cs_ship_addr_sk]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((cs1.cs_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[cs_ship_date_sk]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1 RF3
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((cs1.cs_call_center_sk = call_center.cc_call_center_sk)) otherCondition=() build RFs:RF3 cc_call_center_sk->[cs_call_center_sk]
|
||||
------------------------hashJoin[RIGHT_SEMI_JOIN] hashCondition=((cs1.cs_order_number = cs2.cs_order_number)) otherCondition=(( not (cs_warehouse_sk = cs_warehouse_sk))) build RFs:RF2 cs_order_number->[cs_order_number]
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF2
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((cs1.cs_ship_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF1 ca_address_sk->[cs_ship_addr_sk]
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((cs1.cs_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[cs_ship_date_sk]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1 RF3
|
||||
--------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------filter((date_dim.d_date <= '2002-05-31') and (date_dim.d_date >= '2002-04-01'))
|
||||
--------------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------filter((date_dim.d_date <= '2002-05-31') and (date_dim.d_date >= '2002-04-01'))
|
||||
------------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((customer_address.ca_state = 'WV'))
|
||||
----------------------------------PhysicalOlapScan[customer_address]
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------filter(cc_county IN ('Barrow County', 'Daviess County', 'Luce County', 'Richland County', 'Ziebach County'))
|
||||
----------------------------PhysicalOlapScan[call_center]
|
||||
----------------------------------filter((customer_address.ca_state = 'WV'))
|
||||
------------------------------------PhysicalOlapScan[customer_address]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter(cc_county IN ('Barrow County', 'Daviess County', 'Luce County', 'Richland County', 'Ziebach County'))
|
||||
------------------------------PhysicalOlapScan[call_center]
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------PhysicalProject
|
||||
------------------------PhysicalOlapScan[catalog_returns]
|
||||
|
||||
@ -23,20 +23,21 @@ PhysicalCteAnchor ( cteId=CTEId#1 )
|
||||
--------PhysicalQuickSort[LOCAL_SORT]
|
||||
----------PhysicalProject
|
||||
------------hashJoin[INNER_JOIN] hashCondition=((date_dim.d_week_seq = d_week_seq2)) otherCondition=() build RFs:RF2 d_week_seq->[d_week_seq]
|
||||
--------------hashJoin[INNER_JOIN] hashCondition=((expr_cast(d_week_seq1 as BIGINT) = expr_(d_week_seq2 - 53))) otherCondition=()
|
||||
----------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((date_dim.d_week_seq = d_week_seq1)) otherCondition=() build RFs:RF1 d_week_seq->[d_week_seq]
|
||||
----------------------PhysicalDistribute[DistributionSpecExecutionAny]
|
||||
------------------------PhysicalProject
|
||||
--------------------------PhysicalCteConsumer ( cteId=CTEId#1 ) apply RFs: RF1
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------filter((date_dim.d_year = 1998))
|
||||
----------------------------PhysicalOlapScan[date_dim]
|
||||
----------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------PhysicalProject
|
||||
--------------------PhysicalCteConsumer ( cteId=CTEId#1 ) apply RFs: RF2
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((expr_cast(d_week_seq1 as BIGINT) = expr_(d_week_seq2 - 53))) otherCondition=()
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((date_dim.d_week_seq = d_week_seq1)) otherCondition=() build RFs:RF1 d_week_seq->[d_week_seq]
|
||||
------------------------PhysicalDistribute[DistributionSpecExecutionAny]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalCteConsumer ( cteId=CTEId#1 ) apply RFs: RF1
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter((date_dim.d_year = 1998))
|
||||
------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------PhysicalCteConsumer ( cteId=CTEId#1 ) apply RFs: RF2
|
||||
--------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------PhysicalProject
|
||||
------------------filter((date_dim.d_year = 1999))
|
||||
|
||||
@ -57,36 +57,38 @@ PhysicalCteAnchor ( cteId=CTEId#0 )
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((catalog_sales.cs_item_sk = frequent_ss_items.item_sk)) otherCondition=()
|
||||
----------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF3 d_date_sk->[cs_sold_date_sk]
|
||||
--------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((catalog_sales.cs_bill_customer_sk = best_ss_customer.c_customer_sk)) otherCondition=()
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF3 d_date_sk->[cs_sold_date_sk]
|
||||
----------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((catalog_sales.cs_bill_customer_sk = best_ss_customer.c_customer_sk)) otherCondition=()
|
||||
------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF3
|
||||
------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------PhysicalCteConsumer ( cteId=CTEId#2 )
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF3
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalCteConsumer ( cteId=CTEId#2 )
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter((date_dim.d_moy = 5) and (date_dim.d_year = 2000))
|
||||
--------------------------------PhysicalOlapScan[date_dim]
|
||||
--------------------------------filter((date_dim.d_moy = 5) and (date_dim.d_year = 2000))
|
||||
----------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------PhysicalProject
|
||||
--------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((web_sales.ws_item_sk = frequent_ss_items.item_sk)) otherCondition=()
|
||||
----------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF4 d_date_sk->[ws_sold_date_sk]
|
||||
--------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((web_sales.ws_bill_customer_sk = best_ss_customer.c_customer_sk)) otherCondition=()
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF4 d_date_sk->[ws_sold_date_sk]
|
||||
----------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((web_sales.ws_bill_customer_sk = best_ss_customer.c_customer_sk)) otherCondition=()
|
||||
------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------PhysicalOlapScan[web_sales] apply RFs: RF4
|
||||
------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------PhysicalCteConsumer ( cteId=CTEId#2 )
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[web_sales] apply RFs: RF4
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalCteConsumer ( cteId=CTEId#2 )
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter((date_dim.d_moy = 5) and (date_dim.d_year = 2000))
|
||||
--------------------------------PhysicalOlapScan[date_dim]
|
||||
--------------------------------filter((date_dim.d_moy = 5) and (date_dim.d_year = 2000))
|
||||
----------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------PhysicalProject
|
||||
--------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
|
||||
@ -9,40 +9,41 @@ PhysicalResultSink
|
||||
------------hashAgg[LOCAL]
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((store.s_store_sk = store_sales.ss_store_sk)) otherCondition=()
|
||||
------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = store_sales.ss_item_sk)) otherCondition=()
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = d3.d_date_sk)) otherCondition=() build RFs:RF7 d_date_sk->[cs_sold_date_sk]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_returned_date_sk = d2.d_date_sk)) otherCondition=() build RFs:RF6 d_date_sk->[sr_returned_date_sk]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((d1.d_date_sk = store_sales.ss_sold_date_sk)) otherCondition=() build RFs:RF5 d_date_sk->[ss_sold_date_sk]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_customer_sk = catalog_sales.cs_bill_customer_sk) and (store_returns.sr_item_sk = catalog_sales.cs_item_sk)) otherCondition=() build RFs:RF3 cs_bill_customer_sk->[ss_customer_sk,sr_customer_sk];RF4 cs_item_sk->[ss_item_sk,sr_item_sk]
|
||||
------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------------PhysicalProject
|
||||
----------------------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_customer_sk = store_returns.sr_customer_sk) and (store_sales.ss_item_sk = store_returns.sr_item_sk) and (store_sales.ss_ticket_number = store_returns.sr_ticket_number)) otherCondition=()
|
||||
------------------------------------------PhysicalProject
|
||||
--------------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF3 RF4 RF5
|
||||
------------------------------------------PhysicalProject
|
||||
--------------------------------------------PhysicalOlapScan[store_returns] apply RFs: RF3 RF4 RF6
|
||||
------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------------PhysicalProject
|
||||
----------------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF7
|
||||
--------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------filter((d1.d_moy = 4) and (d1.d_year = 2000))
|
||||
--------------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((d2.d_moy <= 10) and (d2.d_moy >= 4) and (d2.d_year = 2000))
|
||||
----------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter((d3.d_moy <= 10) and (d3.d_moy >= 4) and (d3.d_year = 2000))
|
||||
------------------------------PhysicalOlapScan[date_dim]
|
||||
--------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = store_sales.ss_item_sk)) otherCondition=()
|
||||
----------------------PhysicalProject
|
||||
------------------------PhysicalOlapScan[item]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = d3.d_date_sk)) otherCondition=() build RFs:RF7 d_date_sk->[cs_sold_date_sk]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_returned_date_sk = d2.d_date_sk)) otherCondition=() build RFs:RF6 d_date_sk->[sr_returned_date_sk]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------hashJoin[INNER_JOIN] hashCondition=((d1.d_date_sk = store_sales.ss_sold_date_sk)) otherCondition=() build RFs:RF5 d_date_sk->[ss_sold_date_sk]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_customer_sk = catalog_sales.cs_bill_customer_sk) and (store_returns.sr_item_sk = catalog_sales.cs_item_sk)) otherCondition=() build RFs:RF3 cs_bill_customer_sk->[ss_customer_sk,sr_customer_sk];RF4 cs_item_sk->[ss_item_sk,sr_item_sk]
|
||||
--------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------------------PhysicalProject
|
||||
------------------------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_customer_sk = store_returns.sr_customer_sk) and (store_sales.ss_item_sk = store_returns.sr_item_sk) and (store_sales.ss_ticket_number = store_returns.sr_ticket_number)) otherCondition=()
|
||||
--------------------------------------------PhysicalProject
|
||||
----------------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF3 RF4 RF5
|
||||
--------------------------------------------PhysicalProject
|
||||
----------------------------------------------PhysicalOlapScan[store_returns] apply RFs: RF3 RF4 RF6
|
||||
--------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------------------PhysicalProject
|
||||
------------------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF7
|
||||
----------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------------PhysicalProject
|
||||
--------------------------------------filter((d1.d_moy = 4) and (d1.d_year = 2000))
|
||||
----------------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------filter((d2.d_moy <= 10) and (d2.d_moy >= 4) and (d2.d_year = 2000))
|
||||
------------------------------------PhysicalOlapScan[date_dim]
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter((d3.d_moy <= 10) and (d3.d_moy >= 4) and (d3.d_year = 2000))
|
||||
--------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------PhysicalOlapScan[item]
|
||||
------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------PhysicalProject
|
||||
----------------------PhysicalOlapScan[store]
|
||||
|
||||
@ -9,39 +9,41 @@ PhysicalResultSink
|
||||
------------hashAgg[LOCAL]
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((store.s_store_sk = store_sales.ss_store_sk)) otherCondition=()
|
||||
------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = store_sales.ss_item_sk)) otherCondition=()
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_returned_date_sk = d2.d_date_sk)) otherCondition=() build RFs:RF7 d_date_sk->[sr_returned_date_sk]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = d3.d_date_sk)) otherCondition=() build RFs:RF6 d_date_sk->[cs_sold_date_sk]
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = store_sales.ss_item_sk)) otherCondition=()
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_returned_date_sk = d2.d_date_sk)) otherCondition=() build RFs:RF7 d_date_sk->[sr_returned_date_sk]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((d1.d_date_sk = store_sales.ss_sold_date_sk)) otherCondition=() build RFs:RF5 d_date_sk->[ss_sold_date_sk]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = d3.d_date_sk)) otherCondition=() build RFs:RF6 d_date_sk->[cs_sold_date_sk]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_customer_sk = catalog_sales.cs_bill_customer_sk) and (store_returns.sr_item_sk = catalog_sales.cs_item_sk)) otherCondition=() build RFs:RF3 cs_bill_customer_sk->[ss_customer_sk,sr_customer_sk];RF4 cs_item_sk->[ss_item_sk,sr_item_sk]
|
||||
----------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------------PhysicalProject
|
||||
--------------------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_customer_sk = store_returns.sr_customer_sk) and (store_sales.ss_item_sk = store_returns.sr_item_sk) and (store_sales.ss_ticket_number = store_returns.sr_ticket_number)) otherCondition=()
|
||||
--------------------------------hashJoin[INNER_JOIN] hashCondition=((d1.d_date_sk = store_sales.ss_sold_date_sk)) otherCondition=() build RFs:RF5 d_date_sk->[ss_sold_date_sk]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_customer_sk = catalog_sales.cs_bill_customer_sk) and (store_returns.sr_item_sk = catalog_sales.cs_item_sk)) otherCondition=() build RFs:RF3 cs_bill_customer_sk->[ss_customer_sk,sr_customer_sk];RF4 cs_item_sk->[ss_item_sk,sr_item_sk]
|
||||
--------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------------------PhysicalProject
|
||||
------------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF3 RF4 RF5
|
||||
------------------------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_customer_sk = store_returns.sr_customer_sk) and (store_sales.ss_item_sk = store_returns.sr_item_sk) and (store_sales.ss_ticket_number = store_returns.sr_ticket_number)) otherCondition=()
|
||||
--------------------------------------------PhysicalProject
|
||||
----------------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF3 RF4 RF5
|
||||
--------------------------------------------PhysicalProject
|
||||
----------------------------------------------PhysicalOlapScan[store_returns] apply RFs: RF3 RF4 RF7
|
||||
--------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------------------PhysicalProject
|
||||
------------------------------------------PhysicalOlapScan[store_returns] apply RFs: RF3 RF4 RF7
|
||||
----------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF6
|
||||
----------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------------PhysicalProject
|
||||
--------------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF6
|
||||
--------------------------------------filter((d1.d_moy = 4) and (d1.d_year = 1999))
|
||||
----------------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------filter((d1.d_moy = 4) and (d1.d_year = 1999))
|
||||
----------------------------------filter(d_year IN (1999, 2000, 2001))
|
||||
------------------------------------PhysicalOlapScan[date_dim]
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter(d_year IN (1999, 2000, 2001))
|
||||
------------------------------filter((d2.d_moy <= 7) and (d2.d_moy >= 4) and (d2.d_year = 1999))
|
||||
--------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter((d2.d_moy <= 7) and (d2.d_moy >= 4) and (d2.d_year = 1999))
|
||||
------------------------------PhysicalOlapScan[date_dim]
|
||||
--------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------PhysicalProject
|
||||
------------------------PhysicalOlapScan[item]
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------PhysicalOlapScan[item]
|
||||
------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------PhysicalProject
|
||||
----------------------PhysicalOlapScan[store]
|
||||
|
||||
@ -25,21 +25,22 @@ PhysicalCteAnchor ( cteId=CTEId#0 )
|
||||
--------PhysicalTopN[LOCAL_SORT]
|
||||
----------PhysicalProject
|
||||
------------hashJoin[INNER_JOIN] hashCondition=((customer_address.ca_address_sk = customer.c_current_addr_sk)) otherCondition=() build RFs:RF3 ca_address_sk->[c_current_addr_sk]
|
||||
--------------hashJoin[INNER_JOIN] hashCondition=((ctr1.ctr_state = ctr2.ctr_state)) otherCondition=((cast(ctr_total_return as DOUBLE) > cast((avg(cast(ctr_total_return as DECIMALV3(38, 4))) * 1.2) as DOUBLE)))
|
||||
----------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((ctr1.ctr_customer_sk = customer.c_customer_sk)) otherCondition=() build RFs:RF2 c_customer_sk->[ctr_customer_sk]
|
||||
----------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------PhysicalCteConsumer ( cteId=CTEId#0 ) apply RFs: RF2
|
||||
----------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------PhysicalProject
|
||||
--------------------------PhysicalOlapScan[customer] apply RFs: RF3
|
||||
----------------hashAgg[GLOBAL]
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((ctr1.ctr_state = ctr2.ctr_state)) otherCondition=((cast(ctr_total_return as DOUBLE) > cast((avg(cast(ctr_total_return as DECIMALV3(38, 4))) * 1.2) as DOUBLE)))
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------hashAgg[LOCAL]
|
||||
----------------------PhysicalDistribute[DistributionSpecExecutionAny]
|
||||
------------------------PhysicalProject
|
||||
--------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((ctr1.ctr_customer_sk = customer.c_customer_sk)) otherCondition=() build RFs:RF2 c_customer_sk->[ctr_customer_sk]
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------PhysicalCteConsumer ( cteId=CTEId#0 ) apply RFs: RF2
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[customer] apply RFs: RF3
|
||||
------------------hashAgg[GLOBAL]
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------hashAgg[LOCAL]
|
||||
------------------------PhysicalDistribute[DistributionSpecExecutionAny]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
--------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------PhysicalProject
|
||||
------------------filter((customer_address.ca_state = 'IN'))
|
||||
|
||||
@ -11,18 +11,19 @@ PhysicalResultSink
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_warehouse_sk = warehouse.w_warehouse_sk)) otherCondition=()
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[LEFT_OUTER_JOIN] hashCondition=((catalog_sales.cs_item_sk = catalog_returns.cr_item_sk) and (catalog_sales.cs_order_number = catalog_returns.cr_order_number)) otherCondition=()
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[cs_sold_date_sk]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = catalog_sales.cs_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[cs_item_sk]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[cs_sold_date_sk]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = catalog_sales.cs_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[cs_item_sk]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((item.i_current_price <= 1.49) and (item.i_current_price >= 0.99))
|
||||
----------------------------------PhysicalOlapScan[item]
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter((item.i_current_price <= 1.49) and (item.i_current_price >= 0.99))
|
||||
--------------------------------PhysicalOlapScan[item]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter((date_dim.d_date <= '2001-05-02') and (date_dim.d_date >= '2001-03-03'))
|
||||
------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------------filter((date_dim.d_date <= '2001-05-02') and (date_dim.d_date >= '2001-03-03'))
|
||||
--------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------PhysicalProject
|
||||
------------------------PhysicalOlapScan[catalog_returns]
|
||||
------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
|
||||
@ -9,13 +9,14 @@ PhysicalResultSink
|
||||
------------hashAgg[LOCAL]
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((dt.d_date_sk = store_sales.ss_sold_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ss_sold_date_sk]
|
||||
------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[ss_item_sk]
|
||||
--------------------PhysicalProject
|
||||
----------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1
|
||||
--------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[ss_item_sk]
|
||||
----------------------PhysicalProject
|
||||
------------------------filter((item.i_manager_id = 1))
|
||||
--------------------------PhysicalOlapScan[item]
|
||||
------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------filter((item.i_manager_id = 1))
|
||||
----------------------------PhysicalOlapScan[item]
|
||||
------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------PhysicalProject
|
||||
----------------------filter((dt.d_moy = 11) and (dt.d_year = 2002))
|
||||
|
||||
@ -11,17 +11,18 @@ PhysicalResultSink
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_warehouse_sk = warehouse.w_warehouse_sk)) otherCondition=()
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_ship_mode_sk = ship_mode.sm_ship_mode_sk)) otherCondition=()
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ws_ship_date_sk]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_web_site_sk = web_site.web_site_sk)) otherCondition=()
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[web_sales] apply RFs: RF1
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ws_ship_date_sk]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_web_site_sk = web_site.web_site_sk)) otherCondition=()
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[web_sales] apply RFs: RF1
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[web_site]
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[web_site]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter((date_dim.d_month_seq <= 1205) and (date_dim.d_month_seq >= 1194))
|
||||
------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------------filter((date_dim.d_month_seq <= 1205) and (date_dim.d_month_seq >= 1194))
|
||||
--------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------PhysicalOlapScan[ship_mode]
|
||||
|
||||
@ -12,17 +12,18 @@ PhysicalCteAnchor ( cteId=CTEId#0 )
|
||||
------------------PhysicalDistribute[DistributionSpecExecutionAny]
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((date_dim.d_date_sk = catalog_sales.cs_sold_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[cs_sold_date_sk]
|
||||
------------------------hashJoin[LEFT_OUTER_JOIN] hashCondition=((catalog_sales.cs_item_sk = catalog_returns.cr_item_sk) and (catalog_sales.cs_order_number = catalog_returns.cr_order_number)) otherCondition=()
|
||||
--------------------------PhysicalProject
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = catalog_sales.cs_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[cs_item_sk]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[LEFT_OUTER_JOIN] hashCondition=((catalog_sales.cs_item_sk = catalog_returns.cr_item_sk) and (catalog_sales.cs_order_number = catalog_returns.cr_order_number)) otherCondition=()
|
||||
----------------------------PhysicalProject
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = catalog_sales.cs_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[cs_item_sk]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------filter((item.i_category = 'Home'))
|
||||
------------------------------------PhysicalOlapScan[item]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[catalog_returns]
|
||||
----------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1
|
||||
--------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------filter((item.i_category = 'Home'))
|
||||
--------------------------------------PhysicalOlapScan[item]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[catalog_returns]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter(d_year IN (1998, 1999))
|
||||
@ -30,17 +31,18 @@ PhysicalCteAnchor ( cteId=CTEId#0 )
|
||||
------------------PhysicalDistribute[DistributionSpecExecutionAny]
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((date_dim.d_date_sk = store_sales.ss_sold_date_sk)) otherCondition=() build RFs:RF3 d_date_sk->[ss_sold_date_sk]
|
||||
------------------------hashJoin[LEFT_OUTER_JOIN] hashCondition=((store_sales.ss_item_sk = store_returns.sr_item_sk) and (store_sales.ss_ticket_number = store_returns.sr_ticket_number)) otherCondition=()
|
||||
--------------------------PhysicalProject
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = store_sales.ss_item_sk)) otherCondition=() build RFs:RF2 i_item_sk->[ss_item_sk]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[store_sales] apply RFs: RF2 RF3
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[LEFT_OUTER_JOIN] hashCondition=((store_sales.ss_item_sk = store_returns.sr_item_sk) and (store_sales.ss_ticket_number = store_returns.sr_ticket_number)) otherCondition=()
|
||||
----------------------------PhysicalProject
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = store_sales.ss_item_sk)) otherCondition=() build RFs:RF2 i_item_sk->[ss_item_sk]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------filter((item.i_category = 'Home'))
|
||||
------------------------------------PhysicalOlapScan[item]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[store_returns]
|
||||
----------------------------------PhysicalOlapScan[store_sales] apply RFs: RF2 RF3
|
||||
--------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------filter((item.i_category = 'Home'))
|
||||
--------------------------------------PhysicalOlapScan[item]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[store_returns]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter(d_year IN (1998, 1999))
|
||||
@ -48,17 +50,18 @@ PhysicalCteAnchor ( cteId=CTEId#0 )
|
||||
------------------PhysicalDistribute[DistributionSpecExecutionAny]
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((date_dim.d_date_sk = web_sales.ws_sold_date_sk)) otherCondition=() build RFs:RF5 d_date_sk->[ws_sold_date_sk]
|
||||
------------------------hashJoin[LEFT_OUTER_JOIN] hashCondition=((web_sales.ws_item_sk = web_returns.wr_item_sk) and (web_sales.ws_order_number = web_returns.wr_order_number)) otherCondition=()
|
||||
--------------------------PhysicalProject
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = web_sales.ws_item_sk)) otherCondition=() build RFs:RF4 i_item_sk->[ws_item_sk]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[web_sales] apply RFs: RF4 RF5
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[LEFT_OUTER_JOIN] hashCondition=((web_sales.ws_item_sk = web_returns.wr_item_sk) and (web_sales.ws_order_number = web_returns.wr_order_number)) otherCondition=()
|
||||
----------------------------PhysicalProject
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = web_sales.ws_item_sk)) otherCondition=() build RFs:RF4 i_item_sk->[ws_item_sk]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------filter((item.i_category = 'Home'))
|
||||
------------------------------------PhysicalOlapScan[item]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[web_returns]
|
||||
----------------------------------PhysicalOlapScan[web_sales] apply RFs: RF4 RF5
|
||||
--------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------filter((item.i_category = 'Home'))
|
||||
--------------------------------------PhysicalOlapScan[item]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[web_returns]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter(d_year IN (1998, 1999))
|
||||
|
||||
@ -26,21 +26,22 @@ PhysicalCteAnchor ( cteId=CTEId#0 )
|
||||
----------PhysicalProject
|
||||
------------hashJoin[INNER_JOIN] hashCondition=((customer_address.ca_address_sk = customer.c_current_addr_sk)) otherCondition=() build RFs:RF3 ca_address_sk->[c_current_addr_sk]
|
||||
--------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((ctr1.ctr_state = ctr2.ctr_state)) otherCondition=((cast(ctr_total_return as DOUBLE) > cast((avg(cast(ctr_total_return as DECIMALV3(38, 4))) * 1.2) as DOUBLE)))
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((ctr1.ctr_customer_sk = customer.c_customer_sk)) otherCondition=() build RFs:RF2 c_customer_sk->[ctr_customer_sk]
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------PhysicalCteConsumer ( cteId=CTEId#0 ) apply RFs: RF2
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[customer] apply RFs: RF3
|
||||
------------------hashAgg[GLOBAL]
|
||||
----------------PhysicalProject
|
||||
------------------hashJoin[INNER_JOIN] hashCondition=((ctr1.ctr_state = ctr2.ctr_state)) otherCondition=((cast(ctr_total_return as DOUBLE) > cast((avg(cast(ctr_total_return as DECIMALV3(38, 4))) * 1.2) as DOUBLE)))
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------hashAgg[LOCAL]
|
||||
------------------------PhysicalDistribute[DistributionSpecExecutionAny]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((ctr1.ctr_customer_sk = customer.c_customer_sk)) otherCondition=() build RFs:RF2 c_customer_sk->[ctr_customer_sk]
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------PhysicalCteConsumer ( cteId=CTEId#0 ) apply RFs: RF2
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[customer] apply RFs: RF3
|
||||
--------------------hashAgg[GLOBAL]
|
||||
----------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------hashAgg[LOCAL]
|
||||
--------------------------PhysicalDistribute[DistributionSpecExecutionAny]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
--------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------PhysicalProject
|
||||
------------------filter((customer_address.ca_state = 'CA'))
|
||||
|
||||
@ -10,28 +10,29 @@ PhysicalResultSink
|
||||
--------------hashAgg[LOCAL]
|
||||
----------------PhysicalProject
|
||||
------------------hashJoin[LEFT_ANTI_JOIN] hashCondition=((ws1.ws_order_number = wr1.wr_order_number)) otherCondition=()
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_web_site_sk = web_site.web_site_sk)) otherCondition=() build RFs:RF3 web_site_sk->[ws_web_site_sk]
|
||||
----------------------hashJoin[RIGHT_SEMI_JOIN] hashCondition=((ws1.ws_order_number = ws2.ws_order_number)) otherCondition=(( not (ws_warehouse_sk = ws_warehouse_sk))) build RFs:RF2 ws_order_number->[ws_order_number]
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[web_sales] apply RFs: RF2
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_ship_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF1 ca_address_sk->[ws_ship_addr_sk]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[ws_ship_date_sk]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[web_sales] apply RFs: RF0 RF1 RF3
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_web_site_sk = web_site.web_site_sk)) otherCondition=() build RFs:RF3 web_site_sk->[ws_web_site_sk]
|
||||
------------------------hashJoin[RIGHT_SEMI_JOIN] hashCondition=((ws1.ws_order_number = ws2.ws_order_number)) otherCondition=(( not (ws_warehouse_sk = ws_warehouse_sk))) build RFs:RF2 ws_order_number->[ws_order_number]
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[web_sales] apply RFs: RF2
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_ship_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF1 ca_address_sk->[ws_ship_addr_sk]
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[ws_ship_date_sk]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------PhysicalOlapScan[web_sales] apply RFs: RF0 RF1 RF3
|
||||
--------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------filter((date_dim.d_date <= '2000-04-01') and (date_dim.d_date >= '2000-02-01'))
|
||||
--------------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------filter((date_dim.d_date <= '2000-04-01') and (date_dim.d_date >= '2000-02-01'))
|
||||
------------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((customer_address.ca_state = 'OK'))
|
||||
----------------------------------PhysicalOlapScan[customer_address]
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------filter((web_site.web_company_name = 'pri'))
|
||||
----------------------------PhysicalOlapScan[web_site]
|
||||
----------------------------------filter((customer_address.ca_state = 'OK'))
|
||||
------------------------------------PhysicalOlapScan[customer_address]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter((web_site.web_company_name = 'pri'))
|
||||
------------------------------PhysicalOlapScan[web_site]
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------PhysicalProject
|
||||
------------------------PhysicalOlapScan[web_returns]
|
||||
|
||||
@ -23,31 +23,32 @@ PhysicalCteAnchor ( cteId=CTEId#0 )
|
||||
----------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------PhysicalProject
|
||||
--------------------------PhysicalCteConsumer ( cteId=CTEId#0 ) apply RFs: RF6
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_web_site_sk = web_site.web_site_sk)) otherCondition=() build RFs:RF5 web_site_sk->[ws_web_site_sk]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_ship_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF4 ca_address_sk->[ws_ship_addr_sk]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF3 d_date_sk->[ws_ship_date_sk]
|
||||
----------------------------hashJoin[RIGHT_SEMI_JOIN] hashCondition=((ws1.ws_order_number = web_returns.wr_order_number)) otherCondition=() build RFs:RF2 ws_order_number->[wr_order_number];RF7 ws_order_number->[ws_order_number,ws_order_number]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------hashJoin[INNER_JOIN] hashCondition=((web_returns.wr_order_number = ws_wh.ws_order_number)) otherCondition=()
|
||||
----------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------------PhysicalProject
|
||||
--------------------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
----------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------------PhysicalProject
|
||||
--------------------------------------PhysicalOlapScan[web_returns] apply RFs: RF2
|
||||
------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_web_site_sk = web_site.web_site_sk)) otherCondition=() build RFs:RF5 web_site_sk->[ws_web_site_sk]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_ship_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF4 ca_address_sk->[ws_ship_addr_sk]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF3 d_date_sk->[ws_ship_date_sk]
|
||||
------------------------------hashJoin[RIGHT_SEMI_JOIN] hashCondition=((ws1.ws_order_number = web_returns.wr_order_number)) otherCondition=() build RFs:RF2 ws_order_number->[wr_order_number];RF7 ws_order_number->[ws_order_number,ws_order_number]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------PhysicalOlapScan[web_sales] apply RFs: RF3 RF4 RF5
|
||||
----------------------------------hashJoin[INNER_JOIN] hashCondition=((web_returns.wr_order_number = ws_wh.ws_order_number)) otherCondition=()
|
||||
------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------------PhysicalProject
|
||||
----------------------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------------PhysicalProject
|
||||
----------------------------------------PhysicalOlapScan[web_returns] apply RFs: RF2
|
||||
--------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------PhysicalOlapScan[web_sales] apply RFs: RF3 RF4 RF5
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------filter((date_dim.d_date <= '1999-04-02') and (date_dim.d_date >= '1999-02-01'))
|
||||
------------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((date_dim.d_date <= '1999-04-02') and (date_dim.d_date >= '1999-02-01'))
|
||||
----------------------------------PhysicalOlapScan[date_dim]
|
||||
--------------------------------filter((customer_address.ca_state = 'NC'))
|
||||
----------------------------------PhysicalOlapScan[customer_address]
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter((customer_address.ca_state = 'NC'))
|
||||
--------------------------------PhysicalOlapScan[customer_address]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter((web_site.web_company_name = 'pri'))
|
||||
------------------------------PhysicalOlapScan[web_site]
|
||||
------------------------------filter((web_site.web_company_name = 'pri'))
|
||||
--------------------------------PhysicalOlapScan[web_site]
|
||||
|
||||
|
||||
@ -11,17 +11,18 @@ PhysicalResultSink
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_warehouse_sk = warehouse.w_warehouse_sk)) otherCondition=()
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_ship_mode_sk = ship_mode.sm_ship_mode_sk)) otherCondition=()
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[cs_ship_date_sk]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_call_center_sk = call_center.cc_call_center_sk)) otherCondition=()
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF1
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[cs_ship_date_sk]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_call_center_sk = call_center.cc_call_center_sk)) otherCondition=()
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF1
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[call_center]
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[call_center]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter((date_dim.d_month_seq <= 1235) and (date_dim.d_month_seq >= 1224))
|
||||
------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------------filter((date_dim.d_month_seq <= 1235) and (date_dim.d_month_seq >= 1224))
|
||||
--------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------PhysicalOlapScan[ship_mode]
|
||||
|
||||
@ -10,28 +10,29 @@ PhysicalResultSink
|
||||
--------------hashAgg[LOCAL]
|
||||
----------------PhysicalProject
|
||||
------------------hashJoin[LEFT_ANTI_JOIN] hashCondition=((cs1.cs_order_number = cr1.cr_order_number)) otherCondition=()
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((cs1.cs_call_center_sk = call_center.cc_call_center_sk)) otherCondition=() build RFs:RF3 cc_call_center_sk->[cs_call_center_sk]
|
||||
----------------------hashJoin[RIGHT_SEMI_JOIN] hashCondition=((cs1.cs_order_number = cs2.cs_order_number)) otherCondition=(( not (cs_warehouse_sk = cs_warehouse_sk))) build RFs:RF2 cs_order_number->[cs_order_number]
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF2
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((cs1.cs_ship_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF1 ca_address_sk->[cs_ship_addr_sk]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((cs1.cs_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[cs_ship_date_sk]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1 RF3
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((cs1.cs_call_center_sk = call_center.cc_call_center_sk)) otherCondition=() build RFs:RF3 cc_call_center_sk->[cs_call_center_sk]
|
||||
------------------------hashJoin[RIGHT_SEMI_JOIN] hashCondition=((cs1.cs_order_number = cs2.cs_order_number)) otherCondition=(( not (cs_warehouse_sk = cs_warehouse_sk))) build RFs:RF2 cs_order_number->[cs_order_number]
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF2
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((cs1.cs_ship_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF1 ca_address_sk->[cs_ship_addr_sk]
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((cs1.cs_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[cs_ship_date_sk]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1 RF3
|
||||
--------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------filter((date_dim.d_date <= '2002-05-31') and (date_dim.d_date >= '2002-04-01'))
|
||||
--------------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------filter((date_dim.d_date <= '2002-05-31') and (date_dim.d_date >= '2002-04-01'))
|
||||
------------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((customer_address.ca_state = 'WV'))
|
||||
----------------------------------PhysicalOlapScan[customer_address]
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------filter(cc_county IN ('Barrow County', 'Daviess County', 'Luce County', 'Richland County', 'Ziebach County'))
|
||||
----------------------------PhysicalOlapScan[call_center]
|
||||
----------------------------------filter((customer_address.ca_state = 'WV'))
|
||||
------------------------------------PhysicalOlapScan[customer_address]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter(cc_county IN ('Barrow County', 'Daviess County', 'Luce County', 'Richland County', 'Ziebach County'))
|
||||
------------------------------PhysicalOlapScan[call_center]
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------PhysicalProject
|
||||
------------------------PhysicalOlapScan[catalog_returns]
|
||||
|
||||
@ -23,20 +23,21 @@ PhysicalCteAnchor ( cteId=CTEId#1 )
|
||||
--------PhysicalQuickSort[LOCAL_SORT]
|
||||
----------PhysicalProject
|
||||
------------hashJoin[INNER_JOIN] hashCondition=((date_dim.d_week_seq = d_week_seq2)) otherCondition=() build RFs:RF2 d_week_seq->[d_week_seq]
|
||||
--------------hashJoin[INNER_JOIN] hashCondition=((expr_cast(d_week_seq1 as BIGINT) = expr_(d_week_seq2 - 53))) otherCondition=()
|
||||
----------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((date_dim.d_week_seq = d_week_seq1)) otherCondition=() build RFs:RF1 d_week_seq->[d_week_seq]
|
||||
----------------------PhysicalDistribute[DistributionSpecExecutionAny]
|
||||
------------------------PhysicalProject
|
||||
--------------------------PhysicalCteConsumer ( cteId=CTEId#1 ) apply RFs: RF1
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------filter((date_dim.d_year = 1998))
|
||||
----------------------------PhysicalOlapScan[date_dim]
|
||||
----------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------PhysicalProject
|
||||
--------------------PhysicalCteConsumer ( cteId=CTEId#1 ) apply RFs: RF2
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((expr_cast(d_week_seq1 as BIGINT) = expr_(d_week_seq2 - 53))) otherCondition=()
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((date_dim.d_week_seq = d_week_seq1)) otherCondition=() build RFs:RF1 d_week_seq->[d_week_seq]
|
||||
------------------------PhysicalDistribute[DistributionSpecExecutionAny]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalCteConsumer ( cteId=CTEId#1 ) apply RFs: RF1
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter((date_dim.d_year = 1998))
|
||||
------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------PhysicalCteConsumer ( cteId=CTEId#1 ) apply RFs: RF2
|
||||
--------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------PhysicalProject
|
||||
------------------filter((date_dim.d_year = 1999))
|
||||
|
||||
@ -57,36 +57,38 @@ PhysicalCteAnchor ( cteId=CTEId#0 )
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((catalog_sales.cs_item_sk = frequent_ss_items.item_sk)) otherCondition=()
|
||||
----------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF3 d_date_sk->[cs_sold_date_sk]
|
||||
--------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((catalog_sales.cs_bill_customer_sk = best_ss_customer.c_customer_sk)) otherCondition=()
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF3 d_date_sk->[cs_sold_date_sk]
|
||||
----------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((catalog_sales.cs_bill_customer_sk = best_ss_customer.c_customer_sk)) otherCondition=()
|
||||
------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF3
|
||||
------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------PhysicalCteConsumer ( cteId=CTEId#2 )
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF3
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalCteConsumer ( cteId=CTEId#2 )
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter((date_dim.d_moy = 5) and (date_dim.d_year = 2000))
|
||||
--------------------------------PhysicalOlapScan[date_dim]
|
||||
--------------------------------filter((date_dim.d_moy = 5) and (date_dim.d_year = 2000))
|
||||
----------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------PhysicalProject
|
||||
--------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((web_sales.ws_item_sk = frequent_ss_items.item_sk)) otherCondition=()
|
||||
----------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF4 d_date_sk->[ws_sold_date_sk]
|
||||
--------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((web_sales.ws_bill_customer_sk = best_ss_customer.c_customer_sk)) otherCondition=()
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF4 d_date_sk->[ws_sold_date_sk]
|
||||
----------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((web_sales.ws_bill_customer_sk = best_ss_customer.c_customer_sk)) otherCondition=()
|
||||
------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------PhysicalOlapScan[web_sales] apply RFs: RF4
|
||||
------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------PhysicalCteConsumer ( cteId=CTEId#2 )
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[web_sales] apply RFs: RF4
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalCteConsumer ( cteId=CTEId#2 )
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter((date_dim.d_moy = 5) and (date_dim.d_year = 2000))
|
||||
--------------------------------PhysicalOlapScan[date_dim]
|
||||
--------------------------------filter((date_dim.d_moy = 5) and (date_dim.d_year = 2000))
|
||||
----------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------PhysicalProject
|
||||
--------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
|
||||
@ -9,40 +9,41 @@ PhysicalResultSink
|
||||
------------hashAgg[LOCAL]
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((store.s_store_sk = store_sales.ss_store_sk)) otherCondition=() build RFs:RF9 s_store_sk->[ss_store_sk]
|
||||
------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = store_sales.ss_item_sk)) otherCondition=() build RFs:RF8 i_item_sk->[ss_item_sk,sr_item_sk]
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = d3.d_date_sk)) otherCondition=() build RFs:RF7 d_date_sk->[cs_sold_date_sk]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_returned_date_sk = d2.d_date_sk)) otherCondition=() build RFs:RF6 d_date_sk->[sr_returned_date_sk]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((d1.d_date_sk = store_sales.ss_sold_date_sk)) otherCondition=() build RFs:RF5 d_date_sk->[ss_sold_date_sk]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_customer_sk = catalog_sales.cs_bill_customer_sk) and (store_returns.sr_item_sk = catalog_sales.cs_item_sk)) otherCondition=() build RFs:RF3 cs_bill_customer_sk->[ss_customer_sk,sr_customer_sk];RF4 cs_item_sk->[ss_item_sk,sr_item_sk]
|
||||
------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------------PhysicalProject
|
||||
----------------------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_customer_sk = store_returns.sr_customer_sk) and (store_sales.ss_item_sk = store_returns.sr_item_sk) and (store_sales.ss_ticket_number = store_returns.sr_ticket_number)) otherCondition=() build RFs:RF0 sr_customer_sk->[ss_customer_sk];RF1 sr_item_sk->[ss_item_sk];RF2 sr_ticket_number->[ss_ticket_number]
|
||||
------------------------------------------PhysicalProject
|
||||
--------------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2 RF3 RF4 RF5 RF8 RF9
|
||||
------------------------------------------PhysicalProject
|
||||
--------------------------------------------PhysicalOlapScan[store_returns] apply RFs: RF3 RF4 RF6 RF8
|
||||
------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------------PhysicalProject
|
||||
----------------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF7
|
||||
--------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------filter((d1.d_moy = 4) and (d1.d_year = 2000))
|
||||
--------------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((d2.d_moy <= 10) and (d2.d_moy >= 4) and (d2.d_year = 2000))
|
||||
----------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter((d3.d_moy <= 10) and (d3.d_moy >= 4) and (d3.d_year = 2000))
|
||||
------------------------------PhysicalOlapScan[date_dim]
|
||||
--------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = store_sales.ss_item_sk)) otherCondition=() build RFs:RF8 i_item_sk->[ss_item_sk,sr_item_sk]
|
||||
----------------------PhysicalProject
|
||||
------------------------PhysicalOlapScan[item]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = d3.d_date_sk)) otherCondition=() build RFs:RF7 d_date_sk->[cs_sold_date_sk]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_returned_date_sk = d2.d_date_sk)) otherCondition=() build RFs:RF6 d_date_sk->[sr_returned_date_sk]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------hashJoin[INNER_JOIN] hashCondition=((d1.d_date_sk = store_sales.ss_sold_date_sk)) otherCondition=() build RFs:RF5 d_date_sk->[ss_sold_date_sk]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_customer_sk = catalog_sales.cs_bill_customer_sk) and (store_returns.sr_item_sk = catalog_sales.cs_item_sk)) otherCondition=() build RFs:RF3 cs_bill_customer_sk->[ss_customer_sk,sr_customer_sk];RF4 cs_item_sk->[ss_item_sk,sr_item_sk]
|
||||
--------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------------------PhysicalProject
|
||||
------------------------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_customer_sk = store_returns.sr_customer_sk) and (store_sales.ss_item_sk = store_returns.sr_item_sk) and (store_sales.ss_ticket_number = store_returns.sr_ticket_number)) otherCondition=() build RFs:RF0 sr_customer_sk->[ss_customer_sk];RF1 sr_item_sk->[ss_item_sk];RF2 sr_ticket_number->[ss_ticket_number]
|
||||
--------------------------------------------PhysicalProject
|
||||
----------------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2 RF3 RF4 RF5 RF8 RF9
|
||||
--------------------------------------------PhysicalProject
|
||||
----------------------------------------------PhysicalOlapScan[store_returns] apply RFs: RF3 RF4 RF6 RF8
|
||||
--------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------------------PhysicalProject
|
||||
------------------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF7
|
||||
----------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------------PhysicalProject
|
||||
--------------------------------------filter((d1.d_moy = 4) and (d1.d_year = 2000))
|
||||
----------------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------filter((d2.d_moy <= 10) and (d2.d_moy >= 4) and (d2.d_year = 2000))
|
||||
------------------------------------PhysicalOlapScan[date_dim]
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter((d3.d_moy <= 10) and (d3.d_moy >= 4) and (d3.d_year = 2000))
|
||||
--------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------PhysicalOlapScan[item]
|
||||
------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------PhysicalProject
|
||||
----------------------PhysicalOlapScan[store]
|
||||
|
||||
@ -9,39 +9,41 @@ PhysicalResultSink
|
||||
------------hashAgg[LOCAL]
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((store.s_store_sk = store_sales.ss_store_sk)) otherCondition=() build RFs:RF9 s_store_sk->[ss_store_sk]
|
||||
------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = store_sales.ss_item_sk)) otherCondition=() build RFs:RF8 i_item_sk->[ss_item_sk,sr_item_sk]
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_returned_date_sk = d2.d_date_sk)) otherCondition=() build RFs:RF7 d_date_sk->[sr_returned_date_sk]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = d3.d_date_sk)) otherCondition=() build RFs:RF6 d_date_sk->[cs_sold_date_sk]
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = store_sales.ss_item_sk)) otherCondition=() build RFs:RF8 i_item_sk->[ss_item_sk,sr_item_sk]
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_returned_date_sk = d2.d_date_sk)) otherCondition=() build RFs:RF7 d_date_sk->[sr_returned_date_sk]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((d1.d_date_sk = store_sales.ss_sold_date_sk)) otherCondition=() build RFs:RF5 d_date_sk->[ss_sold_date_sk]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = d3.d_date_sk)) otherCondition=() build RFs:RF6 d_date_sk->[cs_sold_date_sk]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_customer_sk = catalog_sales.cs_bill_customer_sk) and (store_returns.sr_item_sk = catalog_sales.cs_item_sk)) otherCondition=() build RFs:RF3 cs_bill_customer_sk->[ss_customer_sk,sr_customer_sk];RF4 cs_item_sk->[ss_item_sk,sr_item_sk]
|
||||
----------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------------PhysicalProject
|
||||
--------------------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_customer_sk = store_returns.sr_customer_sk) and (store_sales.ss_item_sk = store_returns.sr_item_sk) and (store_sales.ss_ticket_number = store_returns.sr_ticket_number)) otherCondition=() build RFs:RF0 sr_customer_sk->[ss_customer_sk];RF1 sr_item_sk->[ss_item_sk];RF2 sr_ticket_number->[ss_ticket_number]
|
||||
--------------------------------hashJoin[INNER_JOIN] hashCondition=((d1.d_date_sk = store_sales.ss_sold_date_sk)) otherCondition=() build RFs:RF5 d_date_sk->[ss_sold_date_sk]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_customer_sk = catalog_sales.cs_bill_customer_sk) and (store_returns.sr_item_sk = catalog_sales.cs_item_sk)) otherCondition=() build RFs:RF3 cs_bill_customer_sk->[ss_customer_sk,sr_customer_sk];RF4 cs_item_sk->[ss_item_sk,sr_item_sk]
|
||||
--------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------------------PhysicalProject
|
||||
------------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2 RF3 RF4 RF5 RF8 RF9
|
||||
------------------------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_customer_sk = store_returns.sr_customer_sk) and (store_sales.ss_item_sk = store_returns.sr_item_sk) and (store_sales.ss_ticket_number = store_returns.sr_ticket_number)) otherCondition=() build RFs:RF0 sr_customer_sk->[ss_customer_sk];RF1 sr_item_sk->[ss_item_sk];RF2 sr_ticket_number->[ss_ticket_number]
|
||||
--------------------------------------------PhysicalProject
|
||||
----------------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2 RF3 RF4 RF5 RF8 RF9
|
||||
--------------------------------------------PhysicalProject
|
||||
----------------------------------------------PhysicalOlapScan[store_returns] apply RFs: RF3 RF4 RF7 RF8
|
||||
--------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------------------PhysicalProject
|
||||
------------------------------------------PhysicalOlapScan[store_returns] apply RFs: RF3 RF4 RF7 RF8
|
||||
----------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF6
|
||||
----------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------------PhysicalProject
|
||||
--------------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF6
|
||||
--------------------------------------filter((d1.d_moy = 4) and (d1.d_year = 1999))
|
||||
----------------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------filter((d1.d_moy = 4) and (d1.d_year = 1999))
|
||||
----------------------------------filter(d_year IN (1999, 2000, 2001))
|
||||
------------------------------------PhysicalOlapScan[date_dim]
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter(d_year IN (1999, 2000, 2001))
|
||||
------------------------------filter((d2.d_moy <= 7) and (d2.d_moy >= 4) and (d2.d_year = 1999))
|
||||
--------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter((d2.d_moy <= 7) and (d2.d_moy >= 4) and (d2.d_year = 1999))
|
||||
------------------------------PhysicalOlapScan[date_dim]
|
||||
--------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------PhysicalProject
|
||||
------------------------PhysicalOlapScan[item]
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------PhysicalOlapScan[item]
|
||||
------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------PhysicalProject
|
||||
----------------------PhysicalOlapScan[store]
|
||||
|
||||
@ -25,21 +25,22 @@ PhysicalCteAnchor ( cteId=CTEId#0 )
|
||||
--------PhysicalTopN[LOCAL_SORT]
|
||||
----------PhysicalProject
|
||||
------------hashJoin[INNER_JOIN] hashCondition=((customer_address.ca_address_sk = customer.c_current_addr_sk)) otherCondition=() build RFs:RF3 ca_address_sk->[c_current_addr_sk]
|
||||
--------------hashJoin[INNER_JOIN] hashCondition=((ctr1.ctr_state = ctr2.ctr_state)) otherCondition=((cast(ctr_total_return as DOUBLE) > cast((avg(cast(ctr_total_return as DECIMALV3(38, 4))) * 1.2) as DOUBLE)))
|
||||
----------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((ctr1.ctr_customer_sk = customer.c_customer_sk)) otherCondition=() build RFs:RF2 c_customer_sk->[ctr_customer_sk]
|
||||
----------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------PhysicalCteConsumer ( cteId=CTEId#0 ) apply RFs: RF2
|
||||
----------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------PhysicalProject
|
||||
--------------------------PhysicalOlapScan[customer] apply RFs: RF3
|
||||
----------------hashAgg[GLOBAL]
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((ctr1.ctr_state = ctr2.ctr_state)) otherCondition=((cast(ctr_total_return as DOUBLE) > cast((avg(cast(ctr_total_return as DECIMALV3(38, 4))) * 1.2) as DOUBLE)))
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------hashAgg[LOCAL]
|
||||
----------------------PhysicalDistribute[DistributionSpecExecutionAny]
|
||||
------------------------PhysicalProject
|
||||
--------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((ctr1.ctr_customer_sk = customer.c_customer_sk)) otherCondition=() build RFs:RF2 c_customer_sk->[ctr_customer_sk]
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------PhysicalCteConsumer ( cteId=CTEId#0 ) apply RFs: RF2
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[customer] apply RFs: RF3
|
||||
------------------hashAgg[GLOBAL]
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------hashAgg[LOCAL]
|
||||
------------------------PhysicalDistribute[DistributionSpecExecutionAny]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
--------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------PhysicalProject
|
||||
------------------filter((customer_address.ca_state = 'IN'))
|
||||
|
||||
@ -11,18 +11,19 @@ PhysicalResultSink
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_warehouse_sk = warehouse.w_warehouse_sk)) otherCondition=() build RFs:RF2 w_warehouse_sk->[cs_warehouse_sk]
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[LEFT_OUTER_JOIN] hashCondition=((catalog_sales.cs_item_sk = catalog_returns.cr_item_sk) and (catalog_sales.cs_order_number = catalog_returns.cr_order_number)) otherCondition=()
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[cs_sold_date_sk]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = catalog_sales.cs_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[cs_item_sk]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1 RF2
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[cs_sold_date_sk]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = catalog_sales.cs_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[cs_item_sk]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1 RF2
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((item.i_current_price <= 1.49) and (item.i_current_price >= 0.99))
|
||||
----------------------------------PhysicalOlapScan[item]
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter((item.i_current_price <= 1.49) and (item.i_current_price >= 0.99))
|
||||
--------------------------------PhysicalOlapScan[item]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter((date_dim.d_date <= '2001-05-02') and (date_dim.d_date >= '2001-03-03'))
|
||||
------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------------filter((date_dim.d_date <= '2001-05-02') and (date_dim.d_date >= '2001-03-03'))
|
||||
--------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------PhysicalProject
|
||||
------------------------PhysicalOlapScan[catalog_returns]
|
||||
------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
|
||||
@ -9,13 +9,14 @@ PhysicalResultSink
|
||||
------------hashAgg[LOCAL]
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((dt.d_date_sk = store_sales.ss_sold_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ss_sold_date_sk]
|
||||
------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[ss_item_sk]
|
||||
--------------------PhysicalProject
|
||||
----------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1
|
||||
--------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[ss_item_sk]
|
||||
----------------------PhysicalProject
|
||||
------------------------filter((item.i_manager_id = 1))
|
||||
--------------------------PhysicalOlapScan[item]
|
||||
------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------filter((item.i_manager_id = 1))
|
||||
----------------------------PhysicalOlapScan[item]
|
||||
------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------PhysicalProject
|
||||
----------------------filter((dt.d_moy = 11) and (dt.d_year = 2002))
|
||||
|
||||
@ -11,17 +11,18 @@ PhysicalResultSink
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_warehouse_sk = warehouse.w_warehouse_sk)) otherCondition=() build RFs:RF3 w_warehouse_sk->[ws_warehouse_sk]
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_ship_mode_sk = ship_mode.sm_ship_mode_sk)) otherCondition=() build RFs:RF2 sm_ship_mode_sk->[ws_ship_mode_sk]
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ws_ship_date_sk]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_web_site_sk = web_site.web_site_sk)) otherCondition=() build RFs:RF0 web_site_sk->[ws_web_site_sk]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[web_sales] apply RFs: RF0 RF1 RF2 RF3
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ws_ship_date_sk]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_web_site_sk = web_site.web_site_sk)) otherCondition=() build RFs:RF0 web_site_sk->[ws_web_site_sk]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[web_sales] apply RFs: RF0 RF1 RF2 RF3
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[web_site]
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[web_site]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter((date_dim.d_month_seq <= 1205) and (date_dim.d_month_seq >= 1194))
|
||||
------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------------filter((date_dim.d_month_seq <= 1205) and (date_dim.d_month_seq >= 1194))
|
||||
--------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------PhysicalOlapScan[ship_mode]
|
||||
|
||||
@ -12,17 +12,18 @@ PhysicalCteAnchor ( cteId=CTEId#0 )
|
||||
------------------PhysicalDistribute[DistributionSpecExecutionAny]
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((date_dim.d_date_sk = catalog_sales.cs_sold_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[cs_sold_date_sk]
|
||||
------------------------hashJoin[LEFT_OUTER_JOIN] hashCondition=((catalog_sales.cs_item_sk = catalog_returns.cr_item_sk) and (catalog_sales.cs_order_number = catalog_returns.cr_order_number)) otherCondition=()
|
||||
--------------------------PhysicalProject
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = catalog_sales.cs_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[cs_item_sk]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[LEFT_OUTER_JOIN] hashCondition=((catalog_sales.cs_item_sk = catalog_returns.cr_item_sk) and (catalog_sales.cs_order_number = catalog_returns.cr_order_number)) otherCondition=()
|
||||
----------------------------PhysicalProject
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = catalog_sales.cs_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[cs_item_sk]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------filter((item.i_category = 'Home'))
|
||||
------------------------------------PhysicalOlapScan[item]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[catalog_returns]
|
||||
----------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1
|
||||
--------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------filter((item.i_category = 'Home'))
|
||||
--------------------------------------PhysicalOlapScan[item]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[catalog_returns]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter(d_year IN (1998, 1999))
|
||||
@ -30,17 +31,18 @@ PhysicalCteAnchor ( cteId=CTEId#0 )
|
||||
------------------PhysicalDistribute[DistributionSpecExecutionAny]
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((date_dim.d_date_sk = store_sales.ss_sold_date_sk)) otherCondition=() build RFs:RF3 d_date_sk->[ss_sold_date_sk]
|
||||
------------------------hashJoin[LEFT_OUTER_JOIN] hashCondition=((store_sales.ss_item_sk = store_returns.sr_item_sk) and (store_sales.ss_ticket_number = store_returns.sr_ticket_number)) otherCondition=()
|
||||
--------------------------PhysicalProject
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = store_sales.ss_item_sk)) otherCondition=() build RFs:RF2 i_item_sk->[ss_item_sk]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[store_sales] apply RFs: RF2 RF3
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[LEFT_OUTER_JOIN] hashCondition=((store_sales.ss_item_sk = store_returns.sr_item_sk) and (store_sales.ss_ticket_number = store_returns.sr_ticket_number)) otherCondition=()
|
||||
----------------------------PhysicalProject
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = store_sales.ss_item_sk)) otherCondition=() build RFs:RF2 i_item_sk->[ss_item_sk]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------filter((item.i_category = 'Home'))
|
||||
------------------------------------PhysicalOlapScan[item]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[store_returns]
|
||||
----------------------------------PhysicalOlapScan[store_sales] apply RFs: RF2 RF3
|
||||
--------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------filter((item.i_category = 'Home'))
|
||||
--------------------------------------PhysicalOlapScan[item]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[store_returns]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter(d_year IN (1998, 1999))
|
||||
@ -48,17 +50,18 @@ PhysicalCteAnchor ( cteId=CTEId#0 )
|
||||
------------------PhysicalDistribute[DistributionSpecExecutionAny]
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((date_dim.d_date_sk = web_sales.ws_sold_date_sk)) otherCondition=() build RFs:RF5 d_date_sk->[ws_sold_date_sk]
|
||||
------------------------hashJoin[LEFT_OUTER_JOIN] hashCondition=((web_sales.ws_item_sk = web_returns.wr_item_sk) and (web_sales.ws_order_number = web_returns.wr_order_number)) otherCondition=()
|
||||
--------------------------PhysicalProject
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = web_sales.ws_item_sk)) otherCondition=() build RFs:RF4 i_item_sk->[ws_item_sk]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[web_sales] apply RFs: RF4 RF5
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[LEFT_OUTER_JOIN] hashCondition=((web_sales.ws_item_sk = web_returns.wr_item_sk) and (web_sales.ws_order_number = web_returns.wr_order_number)) otherCondition=()
|
||||
----------------------------PhysicalProject
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = web_sales.ws_item_sk)) otherCondition=() build RFs:RF4 i_item_sk->[ws_item_sk]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------filter((item.i_category = 'Home'))
|
||||
------------------------------------PhysicalOlapScan[item]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[web_returns]
|
||||
----------------------------------PhysicalOlapScan[web_sales] apply RFs: RF4 RF5
|
||||
--------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------filter((item.i_category = 'Home'))
|
||||
--------------------------------------PhysicalOlapScan[item]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[web_returns]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter(d_year IN (1998, 1999))
|
||||
|
||||
@ -26,21 +26,22 @@ PhysicalCteAnchor ( cteId=CTEId#0 )
|
||||
----------PhysicalProject
|
||||
------------hashJoin[INNER_JOIN] hashCondition=((customer_address.ca_address_sk = customer.c_current_addr_sk)) otherCondition=() build RFs:RF3 ca_address_sk->[c_current_addr_sk]
|
||||
--------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((ctr1.ctr_state = ctr2.ctr_state)) otherCondition=((cast(ctr_total_return as DOUBLE) > cast((avg(cast(ctr_total_return as DECIMALV3(38, 4))) * 1.2) as DOUBLE)))
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((ctr1.ctr_customer_sk = customer.c_customer_sk)) otherCondition=() build RFs:RF2 c_customer_sk->[ctr_customer_sk]
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------PhysicalCteConsumer ( cteId=CTEId#0 ) apply RFs: RF2
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[customer] apply RFs: RF3
|
||||
------------------hashAgg[GLOBAL]
|
||||
----------------PhysicalProject
|
||||
------------------hashJoin[INNER_JOIN] hashCondition=((ctr1.ctr_state = ctr2.ctr_state)) otherCondition=((cast(ctr_total_return as DOUBLE) > cast((avg(cast(ctr_total_return as DECIMALV3(38, 4))) * 1.2) as DOUBLE)))
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------hashAgg[LOCAL]
|
||||
------------------------PhysicalDistribute[DistributionSpecExecutionAny]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((ctr1.ctr_customer_sk = customer.c_customer_sk)) otherCondition=() build RFs:RF2 c_customer_sk->[ctr_customer_sk]
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------PhysicalCteConsumer ( cteId=CTEId#0 ) apply RFs: RF2
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[customer] apply RFs: RF3
|
||||
--------------------hashAgg[GLOBAL]
|
||||
----------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------hashAgg[LOCAL]
|
||||
--------------------------PhysicalDistribute[DistributionSpecExecutionAny]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
--------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------PhysicalProject
|
||||
------------------filter((customer_address.ca_state = 'CA'))
|
||||
|
||||
@ -10,28 +10,29 @@ PhysicalResultSink
|
||||
--------------hashAgg[LOCAL]
|
||||
----------------PhysicalProject
|
||||
------------------hashJoin[LEFT_ANTI_JOIN] hashCondition=((ws1.ws_order_number = wr1.wr_order_number)) otherCondition=()
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_web_site_sk = web_site.web_site_sk)) otherCondition=() build RFs:RF3 web_site_sk->[ws_web_site_sk]
|
||||
----------------------hashJoin[RIGHT_SEMI_JOIN] hashCondition=((ws1.ws_order_number = ws2.ws_order_number)) otherCondition=(( not (ws_warehouse_sk = ws_warehouse_sk))) build RFs:RF2 ws_order_number->[ws_order_number]
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[web_sales] apply RFs: RF2
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_ship_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF1 ca_address_sk->[ws_ship_addr_sk]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[ws_ship_date_sk]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[web_sales] apply RFs: RF0 RF1 RF3
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_web_site_sk = web_site.web_site_sk)) otherCondition=() build RFs:RF3 web_site_sk->[ws_web_site_sk]
|
||||
------------------------hashJoin[RIGHT_SEMI_JOIN] hashCondition=((ws1.ws_order_number = ws2.ws_order_number)) otherCondition=(( not (ws_warehouse_sk = ws_warehouse_sk))) build RFs:RF2 ws_order_number->[ws_order_number]
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[web_sales] apply RFs: RF2
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_ship_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF1 ca_address_sk->[ws_ship_addr_sk]
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[ws_ship_date_sk]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------PhysicalOlapScan[web_sales] apply RFs: RF0 RF1 RF3
|
||||
--------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------filter((date_dim.d_date <= '2000-04-01') and (date_dim.d_date >= '2000-02-01'))
|
||||
--------------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------filter((date_dim.d_date <= '2000-04-01') and (date_dim.d_date >= '2000-02-01'))
|
||||
------------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((customer_address.ca_state = 'OK'))
|
||||
----------------------------------PhysicalOlapScan[customer_address]
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------filter((web_site.web_company_name = 'pri'))
|
||||
----------------------------PhysicalOlapScan[web_site]
|
||||
----------------------------------filter((customer_address.ca_state = 'OK'))
|
||||
------------------------------------PhysicalOlapScan[customer_address]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter((web_site.web_company_name = 'pri'))
|
||||
------------------------------PhysicalOlapScan[web_site]
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------PhysicalProject
|
||||
------------------------PhysicalOlapScan[web_returns]
|
||||
|
||||
@ -23,31 +23,32 @@ PhysicalCteAnchor ( cteId=CTEId#0 )
|
||||
----------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------PhysicalProject
|
||||
--------------------------PhysicalCteConsumer ( cteId=CTEId#0 ) apply RFs: RF12 RF13
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_web_site_sk = web_site.web_site_sk)) otherCondition=() build RFs:RF10 web_site_sk->[ws_web_site_sk];RF11 web_site_sk->[ws_web_site_sk]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_ship_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF8 ca_address_sk->[ws_ship_addr_sk];RF9 ca_address_sk->[ws_ship_addr_sk]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF6 d_date_sk->[ws_ship_date_sk];RF7 d_date_sk->[ws_ship_date_sk]
|
||||
----------------------------hashJoin[RIGHT_SEMI_JOIN] hashCondition=((ws1.ws_order_number = web_returns.wr_order_number)) otherCondition=() build RFs:RF4 ws_order_number->[wr_order_number];RF5 ws_order_number->[wr_order_number];RF14 ws_order_number->[ws_order_number,ws_order_number];RF15 ws_order_number->[ws_order_number,ws_order_number]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------hashJoin[INNER_JOIN] hashCondition=((web_returns.wr_order_number = ws_wh.ws_order_number)) otherCondition=() build RFs:RF2 wr_order_number->[ws_order_number];RF3 wr_order_number->[ws_order_number]
|
||||
----------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------------PhysicalProject
|
||||
--------------------------------------PhysicalCteConsumer ( cteId=CTEId#0 ) apply RFs: RF2 RF3
|
||||
----------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------------PhysicalProject
|
||||
--------------------------------------PhysicalOlapScan[web_returns] apply RFs: RF4 RF5
|
||||
------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_web_site_sk = web_site.web_site_sk)) otherCondition=() build RFs:RF10 web_site_sk->[ws_web_site_sk];RF11 web_site_sk->[ws_web_site_sk]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_ship_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF8 ca_address_sk->[ws_ship_addr_sk];RF9 ca_address_sk->[ws_ship_addr_sk]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF6 d_date_sk->[ws_ship_date_sk];RF7 d_date_sk->[ws_ship_date_sk]
|
||||
------------------------------hashJoin[RIGHT_SEMI_JOIN] hashCondition=((ws1.ws_order_number = web_returns.wr_order_number)) otherCondition=() build RFs:RF4 ws_order_number->[wr_order_number];RF5 ws_order_number->[wr_order_number];RF14 ws_order_number->[ws_order_number,ws_order_number];RF15 ws_order_number->[ws_order_number,ws_order_number]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------PhysicalOlapScan[web_sales] apply RFs: RF6 RF7 RF8 RF9 RF10 RF11
|
||||
----------------------------------hashJoin[INNER_JOIN] hashCondition=((web_returns.wr_order_number = ws_wh.ws_order_number)) otherCondition=() build RFs:RF2 wr_order_number->[ws_order_number];RF3 wr_order_number->[ws_order_number]
|
||||
------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------------PhysicalProject
|
||||
----------------------------------------PhysicalCteConsumer ( cteId=CTEId#0 ) apply RFs: RF2 RF3
|
||||
------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------------PhysicalProject
|
||||
----------------------------------------PhysicalOlapScan[web_returns] apply RFs: RF4 RF5
|
||||
--------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------PhysicalOlapScan[web_sales] apply RFs: RF6 RF7 RF8 RF9 RF10 RF11
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------filter((date_dim.d_date <= '1999-04-02') and (date_dim.d_date >= '1999-02-01'))
|
||||
------------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((date_dim.d_date <= '1999-04-02') and (date_dim.d_date >= '1999-02-01'))
|
||||
----------------------------------PhysicalOlapScan[date_dim]
|
||||
--------------------------------filter((customer_address.ca_state = 'NC'))
|
||||
----------------------------------PhysicalOlapScan[customer_address]
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter((customer_address.ca_state = 'NC'))
|
||||
--------------------------------PhysicalOlapScan[customer_address]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter((web_site.web_company_name = 'pri'))
|
||||
------------------------------PhysicalOlapScan[web_site]
|
||||
------------------------------filter((web_site.web_company_name = 'pri'))
|
||||
--------------------------------PhysicalOlapScan[web_site]
|
||||
|
||||
|
||||
@ -11,17 +11,18 @@ PhysicalResultSink
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_warehouse_sk = warehouse.w_warehouse_sk)) otherCondition=() build RFs:RF3 w_warehouse_sk->[cs_warehouse_sk]
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_ship_mode_sk = ship_mode.sm_ship_mode_sk)) otherCondition=() build RFs:RF2 sm_ship_mode_sk->[cs_ship_mode_sk]
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[cs_ship_date_sk]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_call_center_sk = call_center.cc_call_center_sk)) otherCondition=() build RFs:RF0 cc_call_center_sk->[cs_call_center_sk]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1 RF2 RF3
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[cs_ship_date_sk]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_call_center_sk = call_center.cc_call_center_sk)) otherCondition=() build RFs:RF0 cc_call_center_sk->[cs_call_center_sk]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1 RF2 RF3
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[call_center]
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[call_center]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter((date_dim.d_month_seq <= 1235) and (date_dim.d_month_seq >= 1224))
|
||||
------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------------filter((date_dim.d_month_seq <= 1235) and (date_dim.d_month_seq >= 1224))
|
||||
--------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------PhysicalOlapScan[ship_mode]
|
||||
|
||||
@ -24,20 +24,21 @@ PhysicalCteAnchor ( cteId=CTEId#0 )
|
||||
----------------PhysicalProject
|
||||
------------------PhysicalOlapScan[customer]
|
||||
--------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((ctr1.ctr_store_sk = ctr2.ctr_store_sk)) otherCondition=((cast(ctr_total_return as DOUBLE) > cast((avg(cast(ctr_total_return as DECIMALV3(38, 4))) * 1.2) as DOUBLE)))
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((store.s_store_sk = ctr1.ctr_store_sk)) otherCondition=() build RFs:RF1 s_store_sk->[ctr_store_sk]
|
||||
----------------------PhysicalDistribute[DistributionSpecExecutionAny]
|
||||
------------------------PhysicalCteConsumer ( cteId=CTEId#0 ) apply RFs: RF1
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------filter((store.s_state = 'SD'))
|
||||
----------------------------PhysicalOlapScan[store]
|
||||
------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------hashAgg[GLOBAL]
|
||||
----------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------hashAgg[LOCAL]
|
||||
--------------------------PhysicalDistribute[DistributionSpecExecutionAny]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
----------------PhysicalProject
|
||||
------------------hashJoin[INNER_JOIN] hashCondition=((ctr1.ctr_store_sk = ctr2.ctr_store_sk)) otherCondition=((cast(ctr_total_return as DOUBLE) > cast((avg(cast(ctr_total_return as DECIMALV3(38, 4))) * 1.2) as DOUBLE)))
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((store.s_store_sk = ctr1.ctr_store_sk)) otherCondition=() build RFs:RF1 s_store_sk->[ctr_store_sk]
|
||||
------------------------PhysicalDistribute[DistributionSpecExecutionAny]
|
||||
--------------------------PhysicalCteConsumer ( cteId=CTEId#0 ) apply RFs: RF1
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter((store.s_state = 'SD'))
|
||||
------------------------------PhysicalOlapScan[store]
|
||||
--------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------hashAgg[GLOBAL]
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------hashAgg[LOCAL]
|
||||
----------------------------PhysicalDistribute[DistributionSpecExecutionAny]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
|
||||
|
||||
@ -44,18 +44,19 @@ PhysicalCteAnchor ( cteId=CTEId#0 )
|
||||
----------------PhysicalProject
|
||||
------------------filter((t_w_firstyear.dyear = 2001) and (t_w_firstyear.sale_type = 'w') and (t_w_firstyear.year_total > 0.00))
|
||||
--------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
--------------hashJoin[INNER_JOIN] hashCondition=((t_s_secyear.customer_id = t_s_firstyear.customer_id)) otherCondition=()
|
||||
----------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------PhysicalProject
|
||||
--------------------filter((t_s_secyear.dyear = 2002) and (t_s_secyear.sale_type = 's'))
|
||||
----------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((t_s_firstyear.customer_id = t_w_secyear.customer_id)) otherCondition=()
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((t_s_secyear.customer_id = t_s_firstyear.customer_id)) otherCondition=()
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------filter((t_w_secyear.dyear = 2002) and (t_w_secyear.sale_type = 'w'))
|
||||
------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------filter((t_s_firstyear.dyear = 2001) and (t_s_firstyear.sale_type = 's') and (t_s_firstyear.year_total > 0.00))
|
||||
----------------------filter((t_s_secyear.dyear = 2002) and (t_s_secyear.sale_type = 's'))
|
||||
------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
------------------hashJoin[INNER_JOIN] hashCondition=((t_s_firstyear.customer_id = t_w_secyear.customer_id)) otherCondition=()
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------PhysicalProject
|
||||
------------------------filter((t_w_secyear.dyear = 2002) and (t_w_secyear.sale_type = 'w'))
|
||||
--------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------PhysicalProject
|
||||
------------------------filter((t_s_firstyear.dyear = 2001) and (t_s_firstyear.sale_type = 's') and (t_s_firstyear.year_total > 0.00))
|
||||
--------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
|
||||
|
||||
@ -10,13 +10,14 @@ PhysicalResultSink
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_bill_customer_sk = customer.c_customer_sk)) otherCondition=(((ca_state IN ('CA', 'GA', 'WA') OR substring(ca_zip, 1, 5) IN ('80348', '81792', '83405', '85392', '85460', '85669', '86197', '86475', '88274')) OR (catalog_sales.cs_sales_price > 500.00)))
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[cs_sold_date_sk]
|
||||
----------------------PhysicalProject
|
||||
------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF1
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[cs_sold_date_sk]
|
||||
------------------------PhysicalProject
|
||||
--------------------------filter((date_dim.d_qoy = 1) and (date_dim.d_year = 2001))
|
||||
----------------------------PhysicalOlapScan[date_dim]
|
||||
--------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF1
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter((date_dim.d_qoy = 1) and (date_dim.d_year = 2001))
|
||||
------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((customer.c_current_addr_sk = customer_address.ca_address_sk)) otherCondition=()
|
||||
|
||||
@ -13,26 +13,27 @@ PhysicalResultSink
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------PhysicalProject
|
||||
------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF4
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((cs1.cs_call_center_sk = call_center.cc_call_center_sk)) otherCondition=() build RFs:RF3 cc_call_center_sk->[cs_call_center_sk]
|
||||
----------------------hashJoin[RIGHT_ANTI_JOIN] hashCondition=((cs1.cs_order_number = cr1.cr_order_number)) otherCondition=() build RFs:RF2 cs_order_number->[cr_order_number]
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[catalog_returns] apply RFs: RF2
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((cs1.cs_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[cs_ship_date_sk]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((cs1.cs_ship_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF0 ca_address_sk->[cs_ship_addr_sk]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1 RF3
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((cs1.cs_call_center_sk = call_center.cc_call_center_sk)) otherCondition=() build RFs:RF3 cc_call_center_sk->[cs_call_center_sk]
|
||||
------------------------hashJoin[RIGHT_ANTI_JOIN] hashCondition=((cs1.cs_order_number = cr1.cr_order_number)) otherCondition=() build RFs:RF2 cs_order_number->[cr_order_number]
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[catalog_returns] apply RFs: RF2
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((cs1.cs_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[cs_ship_date_sk]
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((cs1.cs_ship_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF0 ca_address_sk->[cs_ship_addr_sk]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1 RF3
|
||||
--------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------filter((customer_address.ca_state = 'WV'))
|
||||
--------------------------------------PhysicalOlapScan[customer_address]
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------filter((customer_address.ca_state = 'WV'))
|
||||
------------------------------------PhysicalOlapScan[customer_address]
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((date_dim.d_date <= '2002-05-31') and (date_dim.d_date >= '2002-04-01'))
|
||||
----------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------filter(cc_county IN ('Barrow County', 'Daviess County', 'Luce County', 'Richland County', 'Ziebach County'))
|
||||
----------------------------PhysicalOlapScan[call_center]
|
||||
----------------------------------filter((date_dim.d_date <= '2002-05-31') and (date_dim.d_date >= '2002-04-01'))
|
||||
------------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter(cc_county IN ('Barrow County', 'Daviess County', 'Luce County', 'Richland County', 'Ziebach County'))
|
||||
------------------------------PhysicalOlapScan[call_center]
|
||||
|
||||
|
||||
@ -12,12 +12,13 @@ PhysicalResultSink
|
||||
------------------hashJoin[INNER_JOIN] hashCondition=((inventory.inv_warehouse_sk = warehouse.w_warehouse_sk)) otherCondition=()
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((inventory.inv_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[inv_date_sk]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = inventory.inv_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[inv_item_sk]
|
||||
--------------------------PhysicalOlapScan[inventory] apply RFs: RF0 RF1
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter((item.i_current_price <= 1.49) and (item.i_current_price >= 0.99))
|
||||
--------------------------------PhysicalOlapScan[item]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = inventory.inv_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[inv_item_sk]
|
||||
----------------------------PhysicalOlapScan[inventory] apply RFs: RF0 RF1
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((item.i_current_price <= 1.49) and (item.i_current_price >= 0.99))
|
||||
----------------------------------PhysicalOlapScan[item]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter((date_dim.d_date <= '2002-03-29') and (date_dim.d_date >= '2002-01-28'))
|
||||
|
||||
@ -10,25 +10,26 @@ PhysicalResultSink
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_item_sk = item.i_item_sk)) otherCondition=()
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_promo_sk = promotion.p_promo_sk)) otherCondition=() build RFs:RF2 p_promo_sk->[cs_promo_sk]
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[cs_sold_date_sk]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_bill_cdemo_sk = customer_demographics.cd_demo_sk)) otherCondition=() build RFs:RF0 cd_demo_sk->[cs_bill_cdemo_sk]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1 RF2
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------filter((customer_demographics.cd_education_status = 'Unknown') and (customer_demographics.cd_gender = 'M') and (customer_demographics.cd_marital_status = 'S'))
|
||||
------------------------------------PhysicalOlapScan[customer_demographics]
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter((date_dim.d_year = 2001))
|
||||
--------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_promo_sk = promotion.p_promo_sk)) otherCondition=() build RFs:RF2 p_promo_sk->[cs_promo_sk]
|
||||
------------------------PhysicalProject
|
||||
--------------------------filter(((promotion.p_channel_email = 'N') OR (promotion.p_channel_event = 'N')))
|
||||
----------------------------PhysicalOlapScan[promotion]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[cs_sold_date_sk]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_bill_cdemo_sk = customer_demographics.cd_demo_sk)) otherCondition=() build RFs:RF0 cd_demo_sk->[cs_bill_cdemo_sk]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1 RF2
|
||||
--------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------filter((customer_demographics.cd_education_status = 'Unknown') and (customer_demographics.cd_gender = 'M') and (customer_demographics.cd_marital_status = 'S'))
|
||||
--------------------------------------PhysicalOlapScan[customer_demographics]
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((date_dim.d_year = 2001))
|
||||
----------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter(((promotion.p_channel_email = 'N') OR (promotion.p_channel_event = 'N')))
|
||||
------------------------------PhysicalOlapScan[promotion]
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------PhysicalOlapScan[item]
|
||||
|
||||
@ -14,31 +14,34 @@ PhysicalResultSink
|
||||
----------------------PhysicalProject
|
||||
------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF7 RF8 RF9
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((store.s_store_sk = store_sales.ss_store_sk)) otherCondition=()
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = store_sales.ss_item_sk)) otherCondition=()
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_customer_sk = store_returns.sr_customer_sk) and (store_sales.ss_item_sk = store_returns.sr_item_sk) and (store_sales.ss_ticket_number = store_returns.sr_ticket_number)) otherCondition=() build RFs:RF2 sr_customer_sk->[ss_customer_sk];RF3 sr_item_sk->[ss_item_sk];RF4 sr_ticket_number->[ss_ticket_number]
|
||||
----------------------------------hashJoin[INNER_JOIN] hashCondition=((d1.d_date_sk = store_sales.ss_sold_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ss_sold_date_sk]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((store.s_store_sk = store_sales.ss_store_sk)) otherCondition=()
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = store_sales.ss_item_sk)) otherCondition=()
|
||||
------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_customer_sk = store_returns.sr_customer_sk) and (store_sales.ss_item_sk = store_returns.sr_item_sk) and (store_sales.ss_ticket_number = store_returns.sr_ticket_number)) otherCondition=() build RFs:RF2 sr_customer_sk->[ss_customer_sk];RF3 sr_item_sk->[ss_item_sk];RF4 sr_ticket_number->[ss_ticket_number]
|
||||
------------------------------------PhysicalProject
|
||||
--------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF1 RF2 RF3 RF4
|
||||
------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------------PhysicalProject
|
||||
----------------------------------------filter((d1.d_moy = 4) and (d1.d_year = 1999))
|
||||
------------------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_returned_date_sk = d2.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[sr_returned_date_sk]
|
||||
--------------------------------------hashJoin[INNER_JOIN] hashCondition=((d1.d_date_sk = store_sales.ss_sold_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ss_sold_date_sk]
|
||||
----------------------------------------PhysicalProject
|
||||
------------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF1 RF2 RF3 RF4
|
||||
----------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------------------PhysicalProject
|
||||
--------------------------------------------filter((d1.d_moy = 4) and (d1.d_year = 1999))
|
||||
----------------------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------------------PhysicalProject
|
||||
--------------------------------------PhysicalOlapScan[store_returns] apply RFs: RF0
|
||||
------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------------PhysicalProject
|
||||
----------------------------------------filter((d2.d_moy <= 7) and (d2.d_moy >= 4) and (d2.d_year = 1999))
|
||||
------------------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_returned_date_sk = d2.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[sr_returned_date_sk]
|
||||
----------------------------------------PhysicalProject
|
||||
------------------------------------------PhysicalOlapScan[store_returns] apply RFs: RF0
|
||||
----------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------------------PhysicalProject
|
||||
--------------------------------------------filter((d2.d_moy <= 7) and (d2.d_moy >= 4) and (d2.d_year = 1999))
|
||||
----------------------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------PhysicalOlapScan[item]
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[item]
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[store]
|
||||
--------------------------------PhysicalOlapScan[store]
|
||||
------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------PhysicalProject
|
||||
----------------------filter(d_year IN (1999, 2000, 2001))
|
||||
|
||||
@ -56,29 +56,31 @@ PhysicalCteAnchor ( cteId=CTEId#0 )
|
||||
----------------PhysicalProject
|
||||
------------------filter((t_w_firstyear.dyear = 1999) and (t_w_firstyear.sale_type = 'w') and (t_w_firstyear.year_total > 0.000000))
|
||||
--------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
--------------hashJoin[INNER_JOIN] hashCondition=((t_s_firstyear.customer_id = t_w_secyear.customer_id)) otherCondition=()
|
||||
----------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((t_s_firstyear.customer_id = t_w_secyear.customer_id)) otherCondition=()
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------filter((t_w_secyear.dyear = 2000) and (t_w_secyear.sale_type = 'w'))
|
||||
------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
------------------PhysicalProject
|
||||
--------------------filter((t_w_secyear.dyear = 2000) and (t_w_secyear.sale_type = 'w'))
|
||||
----------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
----------------PhysicalProject
|
||||
------------------hashJoin[INNER_JOIN] hashCondition=((t_s_firstyear.customer_id = t_c_firstyear.customer_id)) otherCondition=((if((year_total > 0.000000), (cast(year_total as DECIMALV3(38, 16)) / year_total), NULL) > if((year_total > 0.000000), (cast(year_total as DECIMALV3(38, 16)) / year_total), NULL)))
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------PhysicalProject
|
||||
------------------------filter((t_c_firstyear.dyear = 1999) and (t_c_firstyear.sale_type = 'c') and (t_c_firstyear.year_total > 0.000000))
|
||||
--------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((t_s_firstyear.customer_id = t_c_secyear.customer_id)) otherCondition=()
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((t_s_secyear.customer_id = t_s_firstyear.customer_id)) otherCondition=()
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter((t_s_firstyear.dyear = 1999) and (t_s_firstyear.sale_type = 's') and (t_s_firstyear.year_total > 0.000000))
|
||||
------------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter((t_s_secyear.dyear = 2000) and (t_s_secyear.sale_type = 's'))
|
||||
------------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((t_s_firstyear.customer_id = t_c_firstyear.customer_id)) otherCondition=((if((year_total > 0.000000), (cast(year_total as DECIMALV3(38, 16)) / year_total), NULL) > if((year_total > 0.000000), (cast(year_total as DECIMALV3(38, 16)) / year_total), NULL)))
|
||||
----------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------PhysicalProject
|
||||
--------------------------filter((t_c_secyear.dyear = 2000) and (t_c_secyear.sale_type = 'c'))
|
||||
--------------------------filter((t_c_firstyear.dyear = 1999) and (t_c_firstyear.sale_type = 'c') and (t_c_firstyear.year_total > 0.000000))
|
||||
----------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((t_s_firstyear.customer_id = t_c_secyear.customer_id)) otherCondition=()
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((t_s_secyear.customer_id = t_s_firstyear.customer_id)) otherCondition=()
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((t_s_firstyear.dyear = 1999) and (t_s_firstyear.sale_type = 's') and (t_s_firstyear.year_total > 0.000000))
|
||||
----------------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((t_s_secyear.dyear = 2000) and (t_s_secyear.sale_type = 's'))
|
||||
----------------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter((t_c_secyear.dyear = 2000) and (t_c_secyear.sale_type = 'c'))
|
||||
--------------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
|
||||
|
||||
@ -13,18 +13,19 @@ PhysicalResultSink
|
||||
--------------------hashJoin[RIGHT_OUTER_JOIN] hashCondition=((catalog_sales.cs_item_sk = catalog_returns.cr_item_sk) and (catalog_sales.cs_order_number = catalog_returns.cr_order_number)) otherCondition=() build RFs:RF2 cs_order_number->[cr_order_number];RF3 cs_item_sk->[cr_item_sk]
|
||||
----------------------PhysicalProject
|
||||
------------------------PhysicalOlapScan[catalog_returns] apply RFs: RF2 RF3
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[cs_sold_date_sk]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = catalog_sales.cs_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[cs_item_sk]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[cs_sold_date_sk]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = catalog_sales.cs_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[cs_item_sk]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((item.i_current_price <= 1.49) and (item.i_current_price >= 0.99))
|
||||
----------------------------------PhysicalOlapScan[item]
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter((item.i_current_price <= 1.49) and (item.i_current_price >= 0.99))
|
||||
--------------------------------PhysicalOlapScan[item]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter((date_dim.d_date <= '2001-05-02') and (date_dim.d_date >= '2001-03-03'))
|
||||
------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------------filter((date_dim.d_date <= '2001-05-02') and (date_dim.d_date >= '2001-03-03'))
|
||||
--------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------PhysicalProject
|
||||
----------------------PhysicalOlapScan[warehouse]
|
||||
|
||||
@ -9,13 +9,14 @@ PhysicalResultSink
|
||||
------------hashAgg[LOCAL]
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((dt.d_date_sk = store_sales.ss_sold_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ss_sold_date_sk]
|
||||
------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[ss_item_sk]
|
||||
--------------------PhysicalProject
|
||||
----------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1
|
||||
--------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[ss_item_sk]
|
||||
----------------------PhysicalProject
|
||||
------------------------filter((item.i_manager_id = 1))
|
||||
--------------------------PhysicalOlapScan[item]
|
||||
------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------filter((item.i_manager_id = 1))
|
||||
----------------------------PhysicalOlapScan[item]
|
||||
------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------PhysicalProject
|
||||
----------------------filter((dt.d_moy = 11) and (dt.d_year = 2002))
|
||||
|
||||
@ -39,34 +39,35 @@ PhysicalResultSink
|
||||
------------------------------------------------------filter((store_sales.ss_store_sk = 146) and ss_addr_sk IS NULL)
|
||||
--------------------------------------------------------PhysicalOlapScan[store_sales]
|
||||
------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------hashJoin[INNER_JOIN] hashCondition=((i2.i_item_sk = descending.item_sk)) otherCondition=() build RFs:RF0 item_sk->[i_item_sk]
|
||||
----------------PhysicalProject
|
||||
------------------PhysicalOlapScan[item] apply RFs: RF0
|
||||
----------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((i2.i_item_sk = descending.item_sk)) otherCondition=() build RFs:RF0 item_sk->[i_item_sk]
|
||||
------------------PhysicalProject
|
||||
--------------------filter((rnk < 11))
|
||||
----------------------PhysicalWindow
|
||||
------------------------PhysicalQuickSort[MERGE_SORT]
|
||||
--------------------------PhysicalDistribute[DistributionSpecGather]
|
||||
----------------------------PhysicalQuickSort[LOCAL_SORT]
|
||||
------------------------------PhysicalPartitionTopN
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------NestedLoopJoin[INNER_JOIN](cast(rank_col as DOUBLE) > cast((0.9 * rank_col) as DOUBLE))
|
||||
------------------------------------PhysicalProject
|
||||
--------------------------------------hashAgg[GLOBAL]
|
||||
----------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------------------hashAgg[LOCAL]
|
||||
--------------------PhysicalOlapScan[item] apply RFs: RF0
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------filter((rnk < 11))
|
||||
------------------------PhysicalWindow
|
||||
--------------------------PhysicalQuickSort[MERGE_SORT]
|
||||
----------------------------PhysicalDistribute[DistributionSpecGather]
|
||||
------------------------------PhysicalQuickSort[LOCAL_SORT]
|
||||
--------------------------------PhysicalPartitionTopN
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------NestedLoopJoin[INNER_JOIN](cast(rank_col as DOUBLE) > cast((0.9 * rank_col) as DOUBLE))
|
||||
--------------------------------------PhysicalProject
|
||||
----------------------------------------hashAgg[GLOBAL]
|
||||
------------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------------------hashAgg[LOCAL]
|
||||
----------------------------------------------PhysicalProject
|
||||
------------------------------------------------filter((ss1.ss_store_sk = 146))
|
||||
--------------------------------------------------PhysicalOlapScan[store_sales]
|
||||
--------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------------PhysicalAssertNumRows
|
||||
------------------------------------------PhysicalDistribute[DistributionSpecGather]
|
||||
--------------------------------------------PhysicalProject
|
||||
----------------------------------------------filter((ss1.ss_store_sk = 146))
|
||||
------------------------------------------------PhysicalOlapScan[store_sales]
|
||||
------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------------PhysicalAssertNumRows
|
||||
----------------------------------------PhysicalDistribute[DistributionSpecGather]
|
||||
------------------------------------------PhysicalProject
|
||||
--------------------------------------------hashAgg[GLOBAL]
|
||||
----------------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------------------------hashAgg[LOCAL]
|
||||
--------------------------------------------------PhysicalProject
|
||||
----------------------------------------------------filter((store_sales.ss_store_sk = 146) and ss_addr_sk IS NULL)
|
||||
------------------------------------------------------PhysicalOlapScan[store_sales]
|
||||
----------------------------------------------hashAgg[GLOBAL]
|
||||
------------------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------------------------hashAgg[LOCAL]
|
||||
----------------------------------------------------PhysicalProject
|
||||
------------------------------------------------------filter((store_sales.ss_store_sk = 146) and ss_addr_sk IS NULL)
|
||||
--------------------------------------------------------PhysicalOlapScan[store_sales]
|
||||
|
||||
|
||||
@ -35,11 +35,12 @@ PhysicalResultSink
|
||||
------------------------PhysicalProject
|
||||
--------------------------PhysicalOlapScan[customer_address]
|
||||
------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------hashJoin[INNER_JOIN] hashCondition=((customer.c_current_addr_sk = current_addr.ca_address_sk)) otherCondition=()
|
||||
----------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------PhysicalProject
|
||||
--------------------PhysicalOlapScan[customer]
|
||||
----------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------PhysicalProject
|
||||
--------------------PhysicalOlapScan[customer_address]
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((customer.c_current_addr_sk = current_addr.ca_address_sk)) otherCondition=()
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------PhysicalOlapScan[customer]
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------PhysicalOlapScan[customer_address]
|
||||
|
||||
|
||||
@ -11,14 +11,15 @@ PhysicalResultSink
|
||||
----------------PhysicalProject
|
||||
------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_addr_sk = customer_address.ca_address_sk)) otherCondition=((((ca_state IN ('IA', 'MD', 'MN') AND ((store_sales.ss_net_profit >= 0.00) AND (store_sales.ss_net_profit <= 2000.00))) OR (ca_state IN ('IL', 'TX', 'VA') AND ((store_sales.ss_net_profit >= 150.00) AND (store_sales.ss_net_profit <= 3000.00)))) OR (ca_state IN ('IN', 'MI', 'WI') AND ((store_sales.ss_net_profit >= 50.00) AND (store_sales.ss_net_profit <= 25000.00))))) build RFs:RF1 ca_address_sk->[ss_addr_sk]
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((customer_demographics.cd_demo_sk = store_sales.ss_cdemo_sk)) otherCondition=((((((customer_demographics.cd_marital_status = 'U') AND (customer_demographics.cd_education_status = 'Primary')) AND ((store_sales.ss_sales_price >= 100.00) AND (store_sales.ss_sales_price <= 150.00))) OR (((customer_demographics.cd_marital_status = 'W') AND (customer_demographics.cd_education_status = 'College')) AND ((store_sales.ss_sales_price >= 50.00) AND (store_sales.ss_sales_price <= 100.00)))) OR (((customer_demographics.cd_marital_status = 'D') AND (customer_demographics.cd_education_status = '2 yr Degree')) AND ((store_sales.ss_sales_price >= 150.00) AND (store_sales.ss_sales_price <= 200.00))))) build RFs:RF0 cd_demo_sk->[ss_cdemo_sk]
|
||||
------------------------PhysicalProject
|
||||
--------------------------filter((store_sales.ss_net_profit <= 25000.00) and (store_sales.ss_net_profit >= 0.00) and (store_sales.ss_sales_price <= 200.00) and (store_sales.ss_sales_price >= 50.00))
|
||||
----------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((customer_demographics.cd_demo_sk = store_sales.ss_cdemo_sk)) otherCondition=((((((customer_demographics.cd_marital_status = 'U') AND (customer_demographics.cd_education_status = 'Primary')) AND ((store_sales.ss_sales_price >= 100.00) AND (store_sales.ss_sales_price <= 150.00))) OR (((customer_demographics.cd_marital_status = 'W') AND (customer_demographics.cd_education_status = 'College')) AND ((store_sales.ss_sales_price >= 50.00) AND (store_sales.ss_sales_price <= 100.00)))) OR (((customer_demographics.cd_marital_status = 'D') AND (customer_demographics.cd_education_status = '2 yr Degree')) AND ((store_sales.ss_sales_price >= 150.00) AND (store_sales.ss_sales_price <= 200.00))))) build RFs:RF0 cd_demo_sk->[ss_cdemo_sk]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter(((((customer_demographics.cd_marital_status = 'U') AND (customer_demographics.cd_education_status = 'Primary')) OR ((customer_demographics.cd_marital_status = 'W') AND (customer_demographics.cd_education_status = 'College'))) OR ((customer_demographics.cd_marital_status = 'D') AND (customer_demographics.cd_education_status = '2 yr Degree'))))
|
||||
------------------------------PhysicalOlapScan[customer_demographics]
|
||||
----------------------------filter((store_sales.ss_net_profit <= 25000.00) and (store_sales.ss_net_profit >= 0.00) and (store_sales.ss_sales_price <= 200.00) and (store_sales.ss_sales_price >= 50.00))
|
||||
------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter(((((customer_demographics.cd_marital_status = 'U') AND (customer_demographics.cd_education_status = 'Primary')) OR ((customer_demographics.cd_marital_status = 'W') AND (customer_demographics.cd_education_status = 'College'))) OR ((customer_demographics.cd_marital_status = 'D') AND (customer_demographics.cd_education_status = '2 yr Degree'))))
|
||||
--------------------------------PhysicalOlapScan[customer_demographics]
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------PhysicalProject
|
||||
------------------------filter((customer_address.ca_country = 'United States') and ca_state IN ('IA', 'IL', 'IN', 'MD', 'MI', 'MN', 'TX', 'VA', 'WI'))
|
||||
|
||||
@ -35,63 +35,64 @@ PhysicalResultSink
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[item] apply RFs: RF13
|
||||
------------hashJoin[INNER_JOIN] hashCondition=((ss_items.item_id = ws_items.item_id)) otherCondition=((cast(ss_item_rev as DOUBLE) <= cast((1.1 * ws_item_rev) as DOUBLE)) and (cast(ss_item_rev as DOUBLE) >= cast((0.9 * ws_item_rev) as DOUBLE)) and (cast(ws_item_rev as DOUBLE) <= cast((1.1 * ss_item_rev) as DOUBLE)) and (cast(ws_item_rev as DOUBLE) >= cast((0.9 * ss_item_rev) as DOUBLE))) build RFs:RF8 item_id->[i_item_id]
|
||||
--------------PhysicalProject
|
||||
----------------hashAgg[GLOBAL]
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------hashAgg[LOCAL]
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF7 i_item_sk->[ss_item_sk]
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF6 d_date_sk->[ss_sold_date_sk]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[store_sales] apply RFs: RF6 RF7
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------PhysicalProject
|
||||
--------------hashJoin[INNER_JOIN] hashCondition=((ss_items.item_id = ws_items.item_id)) otherCondition=((cast(ss_item_rev as DOUBLE) <= cast((1.1 * ws_item_rev) as DOUBLE)) and (cast(ss_item_rev as DOUBLE) >= cast((0.9 * ws_item_rev) as DOUBLE)) and (cast(ws_item_rev as DOUBLE) <= cast((1.1 * ss_item_rev) as DOUBLE)) and (cast(ws_item_rev as DOUBLE) >= cast((0.9 * ss_item_rev) as DOUBLE))) build RFs:RF8 item_id->[i_item_id]
|
||||
----------------PhysicalProject
|
||||
------------------hashAgg[GLOBAL]
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------hashAgg[LOCAL]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF7 i_item_sk->[ss_item_sk]
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF6 d_date_sk->[ss_sold_date_sk]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((date_dim.d_date = date_dim.d_date)) otherCondition=() build RFs:RF5 d_date->[d_date]
|
||||
------------------------------------PhysicalProject
|
||||
--------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF5
|
||||
------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalOlapScan[store_sales] apply RFs: RF6 RF7
|
||||
--------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((date_dim.d_date = date_dim.d_date)) otherCondition=() build RFs:RF5 d_date->[d_date]
|
||||
--------------------------------------PhysicalProject
|
||||
----------------------------------------hashJoin[INNER_JOIN] hashCondition=((date_dim.d_week_seq = date_dim.d_week_seq)) otherCondition=() build RFs:RF4 d_week_seq->[d_week_seq]
|
||||
------------------------------------------PhysicalProject
|
||||
--------------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF4
|
||||
------------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------------------PhysicalAssertNumRows
|
||||
----------------------------------------------PhysicalDistribute[DistributionSpecGather]
|
||||
------------------------------------------------PhysicalProject
|
||||
--------------------------------------------------filter((date_dim.d_date = '2001-03-24'))
|
||||
----------------------------------------------------PhysicalOlapScan[date_dim]
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[item] apply RFs: RF8
|
||||
--------------PhysicalProject
|
||||
----------------hashAgg[GLOBAL]
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------hashAgg[LOCAL]
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_item_sk = item.i_item_sk)) otherCondition=()
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF2 d_date_sk->[ws_sold_date_sk]
|
||||
----------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF5
|
||||
--------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------------PhysicalProject
|
||||
------------------------------------------hashJoin[INNER_JOIN] hashCondition=((date_dim.d_week_seq = date_dim.d_week_seq)) otherCondition=() build RFs:RF4 d_week_seq->[d_week_seq]
|
||||
--------------------------------------------PhysicalProject
|
||||
----------------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF4
|
||||
--------------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------------------PhysicalAssertNumRows
|
||||
------------------------------------------------PhysicalDistribute[DistributionSpecGather]
|
||||
--------------------------------------------------PhysicalProject
|
||||
----------------------------------------------------filter((date_dim.d_date = '2001-03-24'))
|
||||
------------------------------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[web_sales] apply RFs: RF2
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------PhysicalOlapScan[item] apply RFs: RF8
|
||||
----------------PhysicalProject
|
||||
------------------hashAgg[GLOBAL]
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------hashAgg[LOCAL]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_item_sk = item.i_item_sk)) otherCondition=()
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF2 d_date_sk->[ws_sold_date_sk]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((date_dim.d_date = date_dim.d_date)) otherCondition=() build RFs:RF1 d_date->[d_date]
|
||||
------------------------------------PhysicalProject
|
||||
--------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF1
|
||||
------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalOlapScan[web_sales] apply RFs: RF2
|
||||
--------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((date_dim.d_date = date_dim.d_date)) otherCondition=() build RFs:RF1 d_date->[d_date]
|
||||
--------------------------------------PhysicalProject
|
||||
----------------------------------------hashJoin[INNER_JOIN] hashCondition=((date_dim.d_week_seq = date_dim.d_week_seq)) otherCondition=() build RFs:RF0 d_week_seq->[d_week_seq]
|
||||
------------------------------------------PhysicalProject
|
||||
--------------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF0
|
||||
------------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------------------PhysicalAssertNumRows
|
||||
----------------------------------------------PhysicalDistribute[DistributionSpecGather]
|
||||
------------------------------------------------PhysicalProject
|
||||
--------------------------------------------------filter((date_dim.d_date = '2001-03-24'))
|
||||
----------------------------------------------------PhysicalOlapScan[date_dim]
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[item]
|
||||
----------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF1
|
||||
--------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------------PhysicalProject
|
||||
------------------------------------------hashJoin[INNER_JOIN] hashCondition=((date_dim.d_week_seq = date_dim.d_week_seq)) otherCondition=() build RFs:RF0 d_week_seq->[d_week_seq]
|
||||
--------------------------------------------PhysicalProject
|
||||
----------------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF0
|
||||
--------------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------------------PhysicalAssertNumRows
|
||||
------------------------------------------------PhysicalDistribute[DistributionSpecGather]
|
||||
--------------------------------------------------PhysicalProject
|
||||
----------------------------------------------------filter((date_dim.d_date = '2001-03-24'))
|
||||
------------------------------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[item]
|
||||
|
||||
|
||||
@ -11,17 +11,18 @@ PhysicalResultSink
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_warehouse_sk = warehouse.w_warehouse_sk)) otherCondition=()
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_ship_mode_sk = ship_mode.sm_ship_mode_sk)) otherCondition=()
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_web_site_sk = web_site.web_site_sk)) otherCondition=()
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[ws_ship_date_sk]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[web_sales] apply RFs: RF0
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_web_site_sk = web_site.web_site_sk)) otherCondition=()
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[ws_ship_date_sk]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[web_sales] apply RFs: RF0
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((date_dim.d_month_seq <= 1205) and (date_dim.d_month_seq >= 1194))
|
||||
----------------------------------PhysicalOlapScan[date_dim]
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter((date_dim.d_month_seq <= 1205) and (date_dim.d_month_seq >= 1194))
|
||||
--------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[web_site]
|
||||
------------------------------PhysicalOlapScan[web_site]
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------PhysicalOlapScan[ship_mode]
|
||||
|
||||
@ -10,25 +10,26 @@ PhysicalResultSink
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_item_sk = item.i_item_sk)) otherCondition=()
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_promo_sk = promotion.p_promo_sk)) otherCondition=() build RFs:RF2 p_promo_sk->[ss_promo_sk]
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ss_sold_date_sk]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_cdemo_sk = customer_demographics.cd_demo_sk)) otherCondition=() build RFs:RF0 cd_demo_sk->[ss_cdemo_sk]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------filter((customer_demographics.cd_education_status = 'College') and (customer_demographics.cd_gender = 'F') and (customer_demographics.cd_marital_status = 'W'))
|
||||
------------------------------------PhysicalOlapScan[customer_demographics]
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter((date_dim.d_year = 2001))
|
||||
--------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_promo_sk = promotion.p_promo_sk)) otherCondition=() build RFs:RF2 p_promo_sk->[ss_promo_sk]
|
||||
------------------------PhysicalProject
|
||||
--------------------------filter(((promotion.p_channel_email = 'N') OR (promotion.p_channel_event = 'N')))
|
||||
----------------------------PhysicalOlapScan[promotion]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ss_sold_date_sk]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_cdemo_sk = customer_demographics.cd_demo_sk)) otherCondition=() build RFs:RF0 cd_demo_sk->[ss_cdemo_sk]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2
|
||||
--------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------filter((customer_demographics.cd_education_status = 'College') and (customer_demographics.cd_gender = 'F') and (customer_demographics.cd_marital_status = 'W'))
|
||||
--------------------------------------PhysicalOlapScan[customer_demographics]
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((date_dim.d_year = 2001))
|
||||
----------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter(((promotion.p_channel_email = 'N') OR (promotion.p_channel_event = 'N')))
|
||||
------------------------------PhysicalOlapScan[promotion]
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------PhysicalOlapScan[item]
|
||||
|
||||
@ -44,18 +44,19 @@ PhysicalCteAnchor ( cteId=CTEId#0 )
|
||||
----------------PhysicalProject
|
||||
------------------filter((t_w_firstyear.sale_type = 'w') and (t_w_firstyear.year = 1999) and (t_w_firstyear.year_total > 0.0))
|
||||
--------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
--------------hashJoin[INNER_JOIN] hashCondition=((t_s_firstyear.customer_id = t_w_secyear.customer_id)) otherCondition=()
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((t_s_secyear.customer_id = t_s_firstyear.customer_id)) otherCondition=()
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((t_s_firstyear.customer_id = t_w_secyear.customer_id)) otherCondition=()
|
||||
------------------hashJoin[INNER_JOIN] hashCondition=((t_s_secyear.customer_id = t_s_firstyear.customer_id)) otherCondition=()
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------PhysicalProject
|
||||
------------------------filter((t_s_firstyear.sale_type = 's') and (t_s_firstyear.year = 1999) and (t_s_firstyear.year_total > 0.0))
|
||||
--------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------PhysicalProject
|
||||
------------------------filter((t_s_secyear.sale_type = 's') and (t_s_secyear.year = 2000))
|
||||
--------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------filter((t_s_firstyear.sale_type = 's') and (t_s_firstyear.year = 1999) and (t_s_firstyear.year_total > 0.0))
|
||||
----------------------filter((t_w_secyear.sale_type = 'w') and (t_w_secyear.year = 2000))
|
||||
------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------filter((t_s_secyear.sale_type = 's') and (t_s_secyear.year = 2000))
|
||||
------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
----------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------PhysicalProject
|
||||
--------------------filter((t_w_secyear.sale_type = 'w') and (t_w_secyear.year = 2000))
|
||||
----------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
|
||||
|
||||
@ -14,37 +14,40 @@ PhysicalResultSink
|
||||
----------------------PhysicalProject
|
||||
------------------------PhysicalOlapScan[item] apply RFs: RF1
|
||||
----------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 ss_sold_date_sk->[d_date_sk]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[date_dim] apply RFs: RF0
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 ss_sold_date_sk->[d_date_sk]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter(ss_hdemo_sk IS NULL)
|
||||
--------------------------------PhysicalOlapScan[store_sales]
|
||||
------------------------------PhysicalOlapScan[date_dim] apply RFs: RF0
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter(ss_hdemo_sk IS NULL)
|
||||
----------------------------------PhysicalOlapScan[store_sales]
|
||||
----------------PhysicalDistribute[DistributionSpecExecutionAny]
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF3 ws_item_sk->[i_item_sk]
|
||||
----------------------PhysicalProject
|
||||
------------------------PhysicalOlapScan[item] apply RFs: RF3
|
||||
----------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF2 ws_sold_date_sk->[d_date_sk]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[date_dim] apply RFs: RF2
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF2 ws_sold_date_sk->[d_date_sk]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter(ws_bill_addr_sk IS NULL)
|
||||
--------------------------------PhysicalOlapScan[web_sales]
|
||||
------------------------------PhysicalOlapScan[date_dim] apply RFs: RF2
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter(ws_bill_addr_sk IS NULL)
|
||||
----------------------------------PhysicalOlapScan[web_sales]
|
||||
----------------PhysicalDistribute[DistributionSpecExecutionAny]
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF5 cs_item_sk->[i_item_sk]
|
||||
----------------------PhysicalProject
|
||||
------------------------PhysicalOlapScan[item] apply RFs: RF5
|
||||
----------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF4 cs_sold_date_sk->[d_date_sk]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[date_dim] apply RFs: RF4
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF4 cs_sold_date_sk->[d_date_sk]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter(cs_warehouse_sk IS NULL)
|
||||
--------------------------------PhysicalOlapScan[catalog_sales]
|
||||
------------------------------PhysicalOlapScan[date_dim] apply RFs: RF4
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter(cs_warehouse_sk IS NULL)
|
||||
----------------------------------PhysicalOlapScan[catalog_sales]
|
||||
|
||||
|
||||
@ -32,58 +32,59 @@ PhysicalResultSink
|
||||
------------------------------------------PhysicalProject
|
||||
--------------------------------------------filter(d_date IN ('2001-06-06', '2001-09-02', '2001-11-11'))
|
||||
----------------------------------------------PhysicalOlapScan[date_dim]
|
||||
------------hashJoin[INNER_JOIN] hashCondition=((sr_items.item_id = wr_items.item_id)) otherCondition=() build RFs:RF8 item_id->[i_item_id]
|
||||
--------------PhysicalProject
|
||||
----------------hashAgg[GLOBAL]
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------hashAgg[LOCAL]
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF7 i_item_sk->[sr_item_sk]
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_returned_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF6 d_date_sk->[sr_returned_date_sk]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[store_returns] apply RFs: RF6 RF7
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------PhysicalProject
|
||||
--------------hashJoin[INNER_JOIN] hashCondition=((sr_items.item_id = wr_items.item_id)) otherCondition=() build RFs:RF8 item_id->[i_item_id]
|
||||
----------------PhysicalProject
|
||||
------------------hashAgg[GLOBAL]
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------hashAgg[LOCAL]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF7 i_item_sk->[sr_item_sk]
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_returned_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF6 d_date_sk->[sr_returned_date_sk]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((date_dim.d_date = date_dim.d_date)) otherCondition=() build RFs:RF5 d_date->[d_date]
|
||||
------------------------------------PhysicalProject
|
||||
--------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF5
|
||||
------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalOlapScan[store_returns] apply RFs: RF6 RF7
|
||||
--------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((date_dim.d_date = date_dim.d_date)) otherCondition=() build RFs:RF5 d_date->[d_date]
|
||||
--------------------------------------PhysicalProject
|
||||
----------------------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((date_dim.d_week_seq = date_dim.d_week_seq)) otherCondition=() build RFs:RF4 d_week_seq->[d_week_seq]
|
||||
------------------------------------------PhysicalProject
|
||||
--------------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF4
|
||||
------------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF5
|
||||
--------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------------PhysicalProject
|
||||
------------------------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((date_dim.d_week_seq = date_dim.d_week_seq)) otherCondition=() build RFs:RF4 d_week_seq->[d_week_seq]
|
||||
--------------------------------------------PhysicalProject
|
||||
----------------------------------------------filter(d_date IN ('2001-06-06', '2001-09-02', '2001-11-11'))
|
||||
------------------------------------------------PhysicalOlapScan[date_dim]
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF4
|
||||
--------------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------------------PhysicalProject
|
||||
------------------------------------------------filter(d_date IN ('2001-06-06', '2001-09-02', '2001-11-11'))
|
||||
--------------------------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[item] apply RFs: RF8
|
||||
----------------PhysicalProject
|
||||
------------------hashAgg[GLOBAL]
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------hashAgg[LOCAL]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((web_returns.wr_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF3 wr_item_sk->[i_item_sk]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[item] apply RFs: RF8
|
||||
--------------PhysicalProject
|
||||
----------------hashAgg[GLOBAL]
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------hashAgg[LOCAL]
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((web_returns.wr_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF3 wr_item_sk->[i_item_sk]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[item] apply RFs: RF3
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((web_returns.wr_returned_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF2 d_date_sk->[wr_returned_date_sk]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[web_returns] apply RFs: RF2
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalOlapScan[item] apply RFs: RF3
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((web_returns.wr_returned_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF2 d_date_sk->[wr_returned_date_sk]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((date_dim.d_date = date_dim.d_date)) otherCondition=() build RFs:RF1 d_date->[d_date]
|
||||
------------------------------------PhysicalProject
|
||||
--------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF1
|
||||
------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalOlapScan[web_returns] apply RFs: RF2
|
||||
--------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((date_dim.d_date = date_dim.d_date)) otherCondition=() build RFs:RF1 d_date->[d_date]
|
||||
--------------------------------------PhysicalProject
|
||||
----------------------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((date_dim.d_week_seq = date_dim.d_week_seq)) otherCondition=() build RFs:RF0 d_week_seq->[d_week_seq]
|
||||
------------------------------------------PhysicalProject
|
||||
--------------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF0
|
||||
------------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF1
|
||||
--------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------------PhysicalProject
|
||||
------------------------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((date_dim.d_week_seq = date_dim.d_week_seq)) otherCondition=() build RFs:RF0 d_week_seq->[d_week_seq]
|
||||
--------------------------------------------PhysicalProject
|
||||
----------------------------------------------filter(d_date IN ('2001-06-06', '2001-09-02', '2001-11-11'))
|
||||
------------------------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF0
|
||||
--------------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------------------PhysicalProject
|
||||
------------------------------------------------filter(d_date IN ('2001-06-06', '2001-09-02', '2001-11-11'))
|
||||
--------------------------------------------------PhysicalOlapScan[date_dim]
|
||||
|
||||
|
||||
@ -11,11 +11,12 @@ PhysicalResultSink
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_item_sk = store_sales.ss_item_sk) and (store_returns.sr_ticket_number = store_sales.ss_ticket_number)) otherCondition=() build RFs:RF1 sr_item_sk->[ss_item_sk];RF2 sr_ticket_number->[ss_ticket_number]
|
||||
------------------PhysicalProject
|
||||
--------------------PhysicalOlapScan[store_sales] apply RFs: RF1 RF2
|
||||
------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_reason_sk = reason.r_reason_sk)) otherCondition=() build RFs:RF0 r_reason_sk->[sr_reason_sk]
|
||||
--------------------PhysicalProject
|
||||
----------------------PhysicalOlapScan[store_returns] apply RFs: RF0
|
||||
--------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_reason_sk = reason.r_reason_sk)) otherCondition=() build RFs:RF0 r_reason_sk->[sr_reason_sk]
|
||||
----------------------PhysicalProject
|
||||
------------------------filter((reason.r_reason_desc = 'duplicate purchase'))
|
||||
--------------------------PhysicalOlapScan[reason]
|
||||
------------------------PhysicalOlapScan[store_returns] apply RFs: RF0
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------filter((reason.r_reason_desc = 'duplicate purchase'))
|
||||
----------------------------PhysicalOlapScan[reason]
|
||||
|
||||
|
||||
@ -13,26 +13,27 @@ PhysicalResultSink
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------PhysicalProject
|
||||
------------------------PhysicalOlapScan[web_sales] apply RFs: RF4
|
||||
--------------------hashJoin[RIGHT_ANTI_JOIN] hashCondition=((ws1.ws_order_number = wr1.wr_order_number)) otherCondition=() build RFs:RF3 ws_order_number->[wr_order_number]
|
||||
----------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------PhysicalProject
|
||||
--------------------------PhysicalOlapScan[web_returns] apply RFs: RF3
|
||||
----------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_web_site_sk = web_site.web_site_sk)) otherCondition=() build RFs:RF2 web_site_sk->[ws_web_site_sk]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ws_ship_date_sk]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_ship_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF0 ca_address_sk->[ws_ship_addr_sk]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[web_sales] apply RFs: RF0 RF1 RF2
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[RIGHT_ANTI_JOIN] hashCondition=((ws1.ws_order_number = wr1.wr_order_number)) otherCondition=() build RFs:RF3 ws_order_number->[wr_order_number]
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[web_returns] apply RFs: RF3
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_web_site_sk = web_site.web_site_sk)) otherCondition=() build RFs:RF2 web_site_sk->[ws_web_site_sk]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ws_ship_date_sk]
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_ship_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF0 ca_address_sk->[ws_ship_addr_sk]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------PhysicalOlapScan[web_sales] apply RFs: RF0 RF1 RF2
|
||||
--------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------filter((customer_address.ca_state = 'OK'))
|
||||
--------------------------------------PhysicalOlapScan[customer_address]
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------filter((customer_address.ca_state = 'OK'))
|
||||
------------------------------------PhysicalOlapScan[customer_address]
|
||||
----------------------------------filter((date_dim.d_date <= '2000-04-01') and (date_dim.d_date >= '2000-02-01'))
|
||||
------------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((date_dim.d_date <= '2000-04-01') and (date_dim.d_date >= '2000-02-01'))
|
||||
----------------------------------PhysicalOlapScan[date_dim]
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter((web_site.web_company_name = 'pri'))
|
||||
--------------------------------PhysicalOlapScan[web_site]
|
||||
--------------------------------filter((web_site.web_company_name = 'pri'))
|
||||
----------------------------------PhysicalOlapScan[web_site]
|
||||
|
||||
|
||||
@ -28,26 +28,27 @@ PhysicalCteAnchor ( cteId=CTEId#0 )
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[web_returns] apply RFs: RF6
|
||||
----------------------hashJoin[RIGHT_SEMI_JOIN] hashCondition=((ws1.ws_order_number = ws_wh.ws_order_number)) otherCondition=() build RFs:RF7 ws_order_number->[ws_order_number,ws_order_number]
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_web_site_sk = web_site.web_site_sk)) otherCondition=() build RFs:RF3 web_site_sk->[ws_web_site_sk]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF2 d_date_sk->[ws_ship_date_sk]
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_ship_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF1 ca_address_sk->[ws_ship_addr_sk]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------PhysicalOlapScan[web_sales] apply RFs: RF1 RF2 RF3
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[RIGHT_SEMI_JOIN] hashCondition=((ws1.ws_order_number = ws_wh.ws_order_number)) otherCondition=() build RFs:RF7 ws_order_number->[ws_order_number,ws_order_number]
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_web_site_sk = web_site.web_site_sk)) otherCondition=() build RFs:RF3 web_site_sk->[ws_web_site_sk]
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF2 d_date_sk->[ws_ship_date_sk]
|
||||
--------------------------------hashJoin[INNER_JOIN] hashCondition=((ws1.ws_ship_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF1 ca_address_sk->[ws_ship_addr_sk]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------PhysicalOlapScan[web_sales] apply RFs: RF1 RF2 RF3
|
||||
----------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------------PhysicalProject
|
||||
--------------------------------------filter((customer_address.ca_state = 'NC'))
|
||||
----------------------------------------PhysicalOlapScan[customer_address]
|
||||
--------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------filter((customer_address.ca_state = 'NC'))
|
||||
--------------------------------------PhysicalOlapScan[customer_address]
|
||||
------------------------------------filter((date_dim.d_date <= '1999-04-02') and (date_dim.d_date >= '1999-02-01'))
|
||||
--------------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------filter((date_dim.d_date <= '1999-04-02') and (date_dim.d_date >= '1999-02-01'))
|
||||
------------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((web_site.web_company_name = 'pri'))
|
||||
----------------------------------PhysicalOlapScan[web_site]
|
||||
----------------------------------filter((web_site.web_company_name = 'pri'))
|
||||
------------------------------------PhysicalOlapScan[web_site]
|
||||
|
||||
|
||||
@ -11,17 +11,18 @@ PhysicalResultSink
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_warehouse_sk = warehouse.w_warehouse_sk)) otherCondition=()
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_ship_mode_sk = ship_mode.sm_ship_mode_sk)) otherCondition=()
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_call_center_sk = call_center.cc_call_center_sk)) otherCondition=()
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[cs_ship_date_sk]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_call_center_sk = call_center.cc_call_center_sk)) otherCondition=()
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[cs_ship_date_sk]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((date_dim.d_month_seq <= 1235) and (date_dim.d_month_seq >= 1224))
|
||||
----------------------------------PhysicalOlapScan[date_dim]
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter((date_dim.d_month_seq <= 1235) and (date_dim.d_month_seq >= 1224))
|
||||
--------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[call_center]
|
||||
------------------------------PhysicalOlapScan[call_center]
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------PhysicalOlapScan[ship_mode]
|
||||
|
||||
@ -24,20 +24,21 @@ PhysicalCteAnchor ( cteId=CTEId#0 )
|
||||
----------------PhysicalProject
|
||||
------------------PhysicalOlapScan[customer]
|
||||
--------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((ctr1.ctr_store_sk = ctr2.ctr_store_sk)) otherCondition=((cast(ctr_total_return as DOUBLE) > cast((avg(cast(ctr_total_return as DECIMALV3(38, 4))) * 1.2) as DOUBLE)))
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((store.s_store_sk = ctr1.ctr_store_sk)) otherCondition=() build RFs:RF1 s_store_sk->[ctr_store_sk]
|
||||
----------------------PhysicalDistribute[DistributionSpecExecutionAny]
|
||||
------------------------PhysicalCteConsumer ( cteId=CTEId#0 ) apply RFs: RF1
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------filter((store.s_state = 'SD'))
|
||||
----------------------------PhysicalOlapScan[store]
|
||||
------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------hashAgg[GLOBAL]
|
||||
----------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------hashAgg[LOCAL]
|
||||
--------------------------PhysicalDistribute[DistributionSpecExecutionAny]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
----------------PhysicalProject
|
||||
------------------hashJoin[INNER_JOIN] hashCondition=((ctr1.ctr_store_sk = ctr2.ctr_store_sk)) otherCondition=((cast(ctr_total_return as DOUBLE) > cast((avg(cast(ctr_total_return as DECIMALV3(38, 4))) * 1.2) as DOUBLE)))
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((store.s_store_sk = ctr1.ctr_store_sk)) otherCondition=() build RFs:RF1 s_store_sk->[ctr_store_sk]
|
||||
------------------------PhysicalDistribute[DistributionSpecExecutionAny]
|
||||
--------------------------PhysicalCteConsumer ( cteId=CTEId#0 ) apply RFs: RF1
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter((store.s_state = 'SD'))
|
||||
------------------------------PhysicalOlapScan[store]
|
||||
--------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------hashAgg[GLOBAL]
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------hashAgg[LOCAL]
|
||||
----------------------------PhysicalDistribute[DistributionSpecExecutionAny]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
|
||||
|
||||
@ -44,18 +44,19 @@ PhysicalCteAnchor ( cteId=CTEId#0 )
|
||||
----------------PhysicalProject
|
||||
------------------filter((t_w_firstyear.dyear = 2001) and (t_w_firstyear.sale_type = 'w') and (t_w_firstyear.year_total > 0.00))
|
||||
--------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
--------------hashJoin[INNER_JOIN] hashCondition=((t_s_secyear.customer_id = t_s_firstyear.customer_id)) otherCondition=()
|
||||
----------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------PhysicalProject
|
||||
--------------------filter((t_s_secyear.dyear = 2002) and (t_s_secyear.sale_type = 's'))
|
||||
----------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((t_s_firstyear.customer_id = t_w_secyear.customer_id)) otherCondition=()
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((t_s_secyear.customer_id = t_s_firstyear.customer_id)) otherCondition=()
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------filter((t_w_secyear.dyear = 2002) and (t_w_secyear.sale_type = 'w'))
|
||||
------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------filter((t_s_firstyear.dyear = 2001) and (t_s_firstyear.sale_type = 's') and (t_s_firstyear.year_total > 0.00))
|
||||
----------------------filter((t_s_secyear.dyear = 2002) and (t_s_secyear.sale_type = 's'))
|
||||
------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
------------------hashJoin[INNER_JOIN] hashCondition=((t_s_firstyear.customer_id = t_w_secyear.customer_id)) otherCondition=()
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------PhysicalProject
|
||||
------------------------filter((t_w_secyear.dyear = 2002) and (t_w_secyear.sale_type = 'w'))
|
||||
--------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------PhysicalProject
|
||||
------------------------filter((t_s_firstyear.dyear = 2001) and (t_s_firstyear.sale_type = 's') and (t_s_firstyear.year_total > 0.00))
|
||||
--------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
|
||||
|
||||
@ -10,13 +10,14 @@ PhysicalResultSink
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_bill_customer_sk = customer.c_customer_sk)) otherCondition=(((ca_state IN ('CA', 'GA', 'WA') OR substring(ca_zip, 1, 5) IN ('80348', '81792', '83405', '85392', '85460', '85669', '86197', '86475', '88274')) OR (catalog_sales.cs_sales_price > 500.00))) build RFs:RF2 c_customer_sk->[cs_bill_customer_sk]
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[cs_sold_date_sk]
|
||||
----------------------PhysicalProject
|
||||
------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF1 RF2
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[cs_sold_date_sk]
|
||||
------------------------PhysicalProject
|
||||
--------------------------filter((date_dim.d_qoy = 1) and (date_dim.d_year = 2001))
|
||||
----------------------------PhysicalOlapScan[date_dim]
|
||||
--------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF1 RF2
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter((date_dim.d_qoy = 1) and (date_dim.d_year = 2001))
|
||||
------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((customer.c_current_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF0 ca_address_sk->[c_current_addr_sk]
|
||||
|
||||
@ -13,26 +13,27 @@ PhysicalResultSink
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------PhysicalProject
|
||||
------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF4
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((cs1.cs_call_center_sk = call_center.cc_call_center_sk)) otherCondition=() build RFs:RF3 cc_call_center_sk->[cs_call_center_sk]
|
||||
----------------------hashJoin[RIGHT_ANTI_JOIN] hashCondition=((cs1.cs_order_number = cr1.cr_order_number)) otherCondition=() build RFs:RF2 cs_order_number->[cr_order_number]
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[catalog_returns] apply RFs: RF2
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((cs1.cs_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[cs_ship_date_sk]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((cs1.cs_ship_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF0 ca_address_sk->[cs_ship_addr_sk]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1 RF3
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((cs1.cs_call_center_sk = call_center.cc_call_center_sk)) otherCondition=() build RFs:RF3 cc_call_center_sk->[cs_call_center_sk]
|
||||
------------------------hashJoin[RIGHT_ANTI_JOIN] hashCondition=((cs1.cs_order_number = cr1.cr_order_number)) otherCondition=() build RFs:RF2 cs_order_number->[cr_order_number]
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[catalog_returns] apply RFs: RF2
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((cs1.cs_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[cs_ship_date_sk]
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((cs1.cs_ship_addr_sk = customer_address.ca_address_sk)) otherCondition=() build RFs:RF0 ca_address_sk->[cs_ship_addr_sk]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1 RF3
|
||||
--------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------filter((customer_address.ca_state = 'WV'))
|
||||
--------------------------------------PhysicalOlapScan[customer_address]
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------filter((customer_address.ca_state = 'WV'))
|
||||
------------------------------------PhysicalOlapScan[customer_address]
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((date_dim.d_date <= '2002-05-31') and (date_dim.d_date >= '2002-04-01'))
|
||||
----------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------filter(cc_county IN ('Barrow County', 'Daviess County', 'Luce County', 'Richland County', 'Ziebach County'))
|
||||
----------------------------PhysicalOlapScan[call_center]
|
||||
----------------------------------filter((date_dim.d_date <= '2002-05-31') and (date_dim.d_date >= '2002-04-01'))
|
||||
------------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter(cc_county IN ('Barrow County', 'Daviess County', 'Luce County', 'Richland County', 'Ziebach County'))
|
||||
------------------------------PhysicalOlapScan[call_center]
|
||||
|
||||
|
||||
@ -12,12 +12,13 @@ PhysicalResultSink
|
||||
------------------hashJoin[INNER_JOIN] hashCondition=((inventory.inv_warehouse_sk = warehouse.w_warehouse_sk)) otherCondition=() build RFs:RF2 w_warehouse_sk->[inv_warehouse_sk]
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((inventory.inv_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[inv_date_sk]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = inventory.inv_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[inv_item_sk]
|
||||
--------------------------PhysicalOlapScan[inventory] apply RFs: RF0 RF1 RF2
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter((item.i_current_price <= 1.49) and (item.i_current_price >= 0.99))
|
||||
--------------------------------PhysicalOlapScan[item]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = inventory.inv_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[inv_item_sk]
|
||||
----------------------------PhysicalOlapScan[inventory] apply RFs: RF0 RF1 RF2
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((item.i_current_price <= 1.49) and (item.i_current_price >= 0.99))
|
||||
----------------------------------PhysicalOlapScan[item]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter((date_dim.d_date <= '2002-03-29') and (date_dim.d_date >= '2002-01-28'))
|
||||
|
||||
@ -10,25 +10,26 @@ PhysicalResultSink
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF3 i_item_sk->[cs_item_sk]
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_promo_sk = promotion.p_promo_sk)) otherCondition=() build RFs:RF2 p_promo_sk->[cs_promo_sk]
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[cs_sold_date_sk]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_bill_cdemo_sk = customer_demographics.cd_demo_sk)) otherCondition=() build RFs:RF0 cd_demo_sk->[cs_bill_cdemo_sk]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1 RF2 RF3
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------filter((customer_demographics.cd_education_status = 'Unknown') and (customer_demographics.cd_gender = 'M') and (customer_demographics.cd_marital_status = 'S'))
|
||||
------------------------------------PhysicalOlapScan[customer_demographics]
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter((date_dim.d_year = 2001))
|
||||
--------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_promo_sk = promotion.p_promo_sk)) otherCondition=() build RFs:RF2 p_promo_sk->[cs_promo_sk]
|
||||
------------------------PhysicalProject
|
||||
--------------------------filter(((promotion.p_channel_email = 'N') OR (promotion.p_channel_event = 'N')))
|
||||
----------------------------PhysicalOlapScan[promotion]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[cs_sold_date_sk]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_bill_cdemo_sk = customer_demographics.cd_demo_sk)) otherCondition=() build RFs:RF0 cd_demo_sk->[cs_bill_cdemo_sk]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1 RF2 RF3
|
||||
--------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------filter((customer_demographics.cd_education_status = 'Unknown') and (customer_demographics.cd_gender = 'M') and (customer_demographics.cd_marital_status = 'S'))
|
||||
--------------------------------------PhysicalOlapScan[customer_demographics]
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((date_dim.d_year = 2001))
|
||||
----------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter(((promotion.p_channel_email = 'N') OR (promotion.p_channel_event = 'N')))
|
||||
------------------------------PhysicalOlapScan[promotion]
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------PhysicalOlapScan[item]
|
||||
|
||||
@ -14,31 +14,34 @@ PhysicalResultSink
|
||||
----------------------PhysicalProject
|
||||
------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF7 RF8 RF9
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((store.s_store_sk = store_sales.ss_store_sk)) otherCondition=() build RFs:RF6 s_store_sk->[ss_store_sk]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = store_sales.ss_item_sk)) otherCondition=() build RFs:RF5 i_item_sk->[ss_item_sk,sr_item_sk]
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_customer_sk = store_returns.sr_customer_sk) and (store_sales.ss_item_sk = store_returns.sr_item_sk) and (store_sales.ss_ticket_number = store_returns.sr_ticket_number)) otherCondition=() build RFs:RF2 sr_customer_sk->[ss_customer_sk];RF3 sr_item_sk->[ss_item_sk];RF4 sr_ticket_number->[ss_ticket_number]
|
||||
----------------------------------hashJoin[INNER_JOIN] hashCondition=((d1.d_date_sk = store_sales.ss_sold_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ss_sold_date_sk]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((store.s_store_sk = store_sales.ss_store_sk)) otherCondition=() build RFs:RF6 s_store_sk->[ss_store_sk]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = store_sales.ss_item_sk)) otherCondition=() build RFs:RF5 i_item_sk->[ss_item_sk,sr_item_sk]
|
||||
------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_customer_sk = store_returns.sr_customer_sk) and (store_sales.ss_item_sk = store_returns.sr_item_sk) and (store_sales.ss_ticket_number = store_returns.sr_ticket_number)) otherCondition=() build RFs:RF2 sr_customer_sk->[ss_customer_sk];RF3 sr_item_sk->[ss_item_sk];RF4 sr_ticket_number->[ss_ticket_number]
|
||||
------------------------------------PhysicalProject
|
||||
--------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF1 RF2 RF3 RF4 RF5 RF6
|
||||
------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------------PhysicalProject
|
||||
----------------------------------------filter((d1.d_moy = 4) and (d1.d_year = 1999))
|
||||
------------------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_returned_date_sk = d2.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[sr_returned_date_sk]
|
||||
--------------------------------------hashJoin[INNER_JOIN] hashCondition=((d1.d_date_sk = store_sales.ss_sold_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ss_sold_date_sk]
|
||||
----------------------------------------PhysicalProject
|
||||
------------------------------------------PhysicalOlapScan[store_sales] apply RFs: RF1 RF2 RF3 RF4 RF5 RF6
|
||||
----------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------------------PhysicalProject
|
||||
--------------------------------------------filter((d1.d_moy = 4) and (d1.d_year = 1999))
|
||||
----------------------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------------------PhysicalProject
|
||||
--------------------------------------PhysicalOlapScan[store_returns] apply RFs: RF0 RF5
|
||||
------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------------PhysicalProject
|
||||
----------------------------------------filter((d2.d_moy <= 7) and (d2.d_moy >= 4) and (d2.d_year = 1999))
|
||||
------------------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_returned_date_sk = d2.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[sr_returned_date_sk]
|
||||
----------------------------------------PhysicalProject
|
||||
------------------------------------------PhysicalOlapScan[store_returns] apply RFs: RF0 RF5
|
||||
----------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------------------PhysicalProject
|
||||
--------------------------------------------filter((d2.d_moy <= 7) and (d2.d_moy >= 4) and (d2.d_year = 1999))
|
||||
----------------------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------PhysicalOlapScan[item]
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[item]
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[store]
|
||||
--------------------------------PhysicalOlapScan[store]
|
||||
------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------PhysicalProject
|
||||
----------------------filter(d_year IN (1999, 2000, 2001))
|
||||
|
||||
@ -56,29 +56,31 @@ PhysicalCteAnchor ( cteId=CTEId#0 )
|
||||
----------------PhysicalProject
|
||||
------------------filter((t_w_firstyear.dyear = 1999) and (t_w_firstyear.sale_type = 'w') and (t_w_firstyear.year_total > 0.000000))
|
||||
--------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
--------------hashJoin[INNER_JOIN] hashCondition=((t_s_firstyear.customer_id = t_w_secyear.customer_id)) otherCondition=()
|
||||
----------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((t_s_firstyear.customer_id = t_w_secyear.customer_id)) otherCondition=()
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------filter((t_w_secyear.dyear = 2000) and (t_w_secyear.sale_type = 'w'))
|
||||
------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
------------------PhysicalProject
|
||||
--------------------filter((t_w_secyear.dyear = 2000) and (t_w_secyear.sale_type = 'w'))
|
||||
----------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
----------------PhysicalProject
|
||||
------------------hashJoin[INNER_JOIN] hashCondition=((t_s_firstyear.customer_id = t_c_firstyear.customer_id)) otherCondition=((if((year_total > 0.000000), (cast(year_total as DECIMALV3(38, 16)) / year_total), NULL) > if((year_total > 0.000000), (cast(year_total as DECIMALV3(38, 16)) / year_total), NULL)))
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------PhysicalProject
|
||||
------------------------filter((t_c_firstyear.dyear = 1999) and (t_c_firstyear.sale_type = 'c') and (t_c_firstyear.year_total > 0.000000))
|
||||
--------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((t_s_firstyear.customer_id = t_c_secyear.customer_id)) otherCondition=()
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((t_s_secyear.customer_id = t_s_firstyear.customer_id)) otherCondition=()
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter((t_s_firstyear.dyear = 1999) and (t_s_firstyear.sale_type = 's') and (t_s_firstyear.year_total > 0.000000))
|
||||
------------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter((t_s_secyear.dyear = 2000) and (t_s_secyear.sale_type = 's'))
|
||||
------------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((t_s_firstyear.customer_id = t_c_firstyear.customer_id)) otherCondition=((if((year_total > 0.000000), (cast(year_total as DECIMALV3(38, 16)) / year_total), NULL) > if((year_total > 0.000000), (cast(year_total as DECIMALV3(38, 16)) / year_total), NULL)))
|
||||
----------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------PhysicalProject
|
||||
--------------------------filter((t_c_secyear.dyear = 2000) and (t_c_secyear.sale_type = 'c'))
|
||||
--------------------------filter((t_c_firstyear.dyear = 1999) and (t_c_firstyear.sale_type = 'c') and (t_c_firstyear.year_total > 0.000000))
|
||||
----------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((t_s_firstyear.customer_id = t_c_secyear.customer_id)) otherCondition=()
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((t_s_secyear.customer_id = t_s_firstyear.customer_id)) otherCondition=()
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((t_s_firstyear.dyear = 1999) and (t_s_firstyear.sale_type = 's') and (t_s_firstyear.year_total > 0.000000))
|
||||
----------------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((t_s_secyear.dyear = 2000) and (t_s_secyear.sale_type = 's'))
|
||||
----------------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter((t_c_secyear.dyear = 2000) and (t_c_secyear.sale_type = 'c'))
|
||||
--------------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
|
||||
|
||||
@ -13,18 +13,19 @@ PhysicalResultSink
|
||||
--------------------hashJoin[RIGHT_OUTER_JOIN] hashCondition=((catalog_sales.cs_item_sk = catalog_returns.cr_item_sk) and (catalog_sales.cs_order_number = catalog_returns.cr_order_number)) otherCondition=() build RFs:RF2 cs_order_number->[cr_order_number];RF3 cs_item_sk->[cr_item_sk]
|
||||
----------------------PhysicalProject
|
||||
------------------------PhysicalOlapScan[catalog_returns] apply RFs: RF2 RF3
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[cs_sold_date_sk]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = catalog_sales.cs_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[cs_item_sk]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1 RF4
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[cs_sold_date_sk]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((item.i_item_sk = catalog_sales.cs_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[cs_item_sk]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[catalog_sales] apply RFs: RF0 RF1 RF4
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((item.i_current_price <= 1.49) and (item.i_current_price >= 0.99))
|
||||
----------------------------------PhysicalOlapScan[item]
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter((item.i_current_price <= 1.49) and (item.i_current_price >= 0.99))
|
||||
--------------------------------PhysicalOlapScan[item]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter((date_dim.d_date <= '2001-05-02') and (date_dim.d_date >= '2001-03-03'))
|
||||
------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------------filter((date_dim.d_date <= '2001-05-02') and (date_dim.d_date >= '2001-03-03'))
|
||||
--------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------PhysicalProject
|
||||
----------------------PhysicalOlapScan[warehouse]
|
||||
|
||||
@ -9,13 +9,14 @@ PhysicalResultSink
|
||||
------------hashAgg[LOCAL]
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((dt.d_date_sk = store_sales.ss_sold_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ss_sold_date_sk]
|
||||
------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[ss_item_sk]
|
||||
--------------------PhysicalProject
|
||||
----------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1
|
||||
--------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF0 i_item_sk->[ss_item_sk]
|
||||
----------------------PhysicalProject
|
||||
------------------------filter((item.i_manager_id = 1))
|
||||
--------------------------PhysicalOlapScan[item]
|
||||
------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------filter((item.i_manager_id = 1))
|
||||
----------------------------PhysicalOlapScan[item]
|
||||
------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------PhysicalProject
|
||||
----------------------filter((dt.d_moy = 11) and (dt.d_year = 2002))
|
||||
|
||||
@ -39,34 +39,35 @@ PhysicalResultSink
|
||||
------------------------------------------------------filter((store_sales.ss_store_sk = 146) and ss_addr_sk IS NULL)
|
||||
--------------------------------------------------------PhysicalOlapScan[store_sales]
|
||||
------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------hashJoin[INNER_JOIN] hashCondition=((i2.i_item_sk = descending.item_sk)) otherCondition=() build RFs:RF0 item_sk->[i_item_sk]
|
||||
----------------PhysicalProject
|
||||
------------------PhysicalOlapScan[item] apply RFs: RF0
|
||||
----------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((i2.i_item_sk = descending.item_sk)) otherCondition=() build RFs:RF0 item_sk->[i_item_sk]
|
||||
------------------PhysicalProject
|
||||
--------------------filter((rnk < 11))
|
||||
----------------------PhysicalWindow
|
||||
------------------------PhysicalQuickSort[MERGE_SORT]
|
||||
--------------------------PhysicalDistribute[DistributionSpecGather]
|
||||
----------------------------PhysicalQuickSort[LOCAL_SORT]
|
||||
------------------------------PhysicalPartitionTopN
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------NestedLoopJoin[INNER_JOIN](cast(rank_col as DOUBLE) > cast((0.9 * rank_col) as DOUBLE))
|
||||
------------------------------------PhysicalProject
|
||||
--------------------------------------hashAgg[GLOBAL]
|
||||
----------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------------------hashAgg[LOCAL]
|
||||
--------------------PhysicalOlapScan[item] apply RFs: RF0
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------filter((rnk < 11))
|
||||
------------------------PhysicalWindow
|
||||
--------------------------PhysicalQuickSort[MERGE_SORT]
|
||||
----------------------------PhysicalDistribute[DistributionSpecGather]
|
||||
------------------------------PhysicalQuickSort[LOCAL_SORT]
|
||||
--------------------------------PhysicalPartitionTopN
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------NestedLoopJoin[INNER_JOIN](cast(rank_col as DOUBLE) > cast((0.9 * rank_col) as DOUBLE))
|
||||
--------------------------------------PhysicalProject
|
||||
----------------------------------------hashAgg[GLOBAL]
|
||||
------------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------------------hashAgg[LOCAL]
|
||||
----------------------------------------------PhysicalProject
|
||||
------------------------------------------------filter((ss1.ss_store_sk = 146))
|
||||
--------------------------------------------------PhysicalOlapScan[store_sales]
|
||||
--------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------------PhysicalAssertNumRows
|
||||
------------------------------------------PhysicalDistribute[DistributionSpecGather]
|
||||
--------------------------------------------PhysicalProject
|
||||
----------------------------------------------filter((ss1.ss_store_sk = 146))
|
||||
------------------------------------------------PhysicalOlapScan[store_sales]
|
||||
------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------------PhysicalAssertNumRows
|
||||
----------------------------------------PhysicalDistribute[DistributionSpecGather]
|
||||
------------------------------------------PhysicalProject
|
||||
--------------------------------------------hashAgg[GLOBAL]
|
||||
----------------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------------------------hashAgg[LOCAL]
|
||||
--------------------------------------------------PhysicalProject
|
||||
----------------------------------------------------filter((store_sales.ss_store_sk = 146) and ss_addr_sk IS NULL)
|
||||
------------------------------------------------------PhysicalOlapScan[store_sales]
|
||||
----------------------------------------------hashAgg[GLOBAL]
|
||||
------------------------------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------------------------------hashAgg[LOCAL]
|
||||
----------------------------------------------------PhysicalProject
|
||||
------------------------------------------------------filter((store_sales.ss_store_sk = 146) and ss_addr_sk IS NULL)
|
||||
--------------------------------------------------------PhysicalOlapScan[store_sales]
|
||||
|
||||
|
||||
@ -35,11 +35,12 @@ PhysicalResultSink
|
||||
------------------------PhysicalProject
|
||||
--------------------------PhysicalOlapScan[customer_address]
|
||||
------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------hashJoin[INNER_JOIN] hashCondition=((customer.c_current_addr_sk = current_addr.ca_address_sk)) otherCondition=() build RFs:RF0 ca_address_sk->[c_current_addr_sk]
|
||||
----------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------PhysicalProject
|
||||
--------------------PhysicalOlapScan[customer] apply RFs: RF0
|
||||
----------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------PhysicalProject
|
||||
--------------------PhysicalOlapScan[customer_address]
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((customer.c_current_addr_sk = current_addr.ca_address_sk)) otherCondition=() build RFs:RF0 ca_address_sk->[c_current_addr_sk]
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------PhysicalOlapScan[customer] apply RFs: RF0
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------PhysicalOlapScan[customer_address]
|
||||
|
||||
|
||||
@ -11,14 +11,15 @@ PhysicalResultSink
|
||||
----------------PhysicalProject
|
||||
------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_addr_sk = customer_address.ca_address_sk)) otherCondition=((((ca_state IN ('IA', 'MD', 'MN') AND ((store_sales.ss_net_profit >= 0.00) AND (store_sales.ss_net_profit <= 2000.00))) OR (ca_state IN ('IL', 'TX', 'VA') AND ((store_sales.ss_net_profit >= 150.00) AND (store_sales.ss_net_profit <= 3000.00)))) OR (ca_state IN ('IN', 'MI', 'WI') AND ((store_sales.ss_net_profit >= 50.00) AND (store_sales.ss_net_profit <= 25000.00))))) build RFs:RF1 ca_address_sk->[ss_addr_sk]
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((customer_demographics.cd_demo_sk = store_sales.ss_cdemo_sk)) otherCondition=((((((customer_demographics.cd_marital_status = 'U') AND (customer_demographics.cd_education_status = 'Primary')) AND ((store_sales.ss_sales_price >= 100.00) AND (store_sales.ss_sales_price <= 150.00))) OR (((customer_demographics.cd_marital_status = 'W') AND (customer_demographics.cd_education_status = 'College')) AND ((store_sales.ss_sales_price >= 50.00) AND (store_sales.ss_sales_price <= 100.00)))) OR (((customer_demographics.cd_marital_status = 'D') AND (customer_demographics.cd_education_status = '2 yr Degree')) AND ((store_sales.ss_sales_price >= 150.00) AND (store_sales.ss_sales_price <= 200.00))))) build RFs:RF0 cd_demo_sk->[ss_cdemo_sk]
|
||||
------------------------PhysicalProject
|
||||
--------------------------filter((store_sales.ss_net_profit <= 25000.00) and (store_sales.ss_net_profit >= 0.00) and (store_sales.ss_sales_price <= 200.00) and (store_sales.ss_sales_price >= 50.00))
|
||||
----------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2 RF3
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((customer_demographics.cd_demo_sk = store_sales.ss_cdemo_sk)) otherCondition=((((((customer_demographics.cd_marital_status = 'U') AND (customer_demographics.cd_education_status = 'Primary')) AND ((store_sales.ss_sales_price >= 100.00) AND (store_sales.ss_sales_price <= 150.00))) OR (((customer_demographics.cd_marital_status = 'W') AND (customer_demographics.cd_education_status = 'College')) AND ((store_sales.ss_sales_price >= 50.00) AND (store_sales.ss_sales_price <= 100.00)))) OR (((customer_demographics.cd_marital_status = 'D') AND (customer_demographics.cd_education_status = '2 yr Degree')) AND ((store_sales.ss_sales_price >= 150.00) AND (store_sales.ss_sales_price <= 200.00))))) build RFs:RF0 cd_demo_sk->[ss_cdemo_sk]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter(((((customer_demographics.cd_marital_status = 'U') AND (customer_demographics.cd_education_status = 'Primary')) OR ((customer_demographics.cd_marital_status = 'W') AND (customer_demographics.cd_education_status = 'College'))) OR ((customer_demographics.cd_marital_status = 'D') AND (customer_demographics.cd_education_status = '2 yr Degree'))))
|
||||
------------------------------PhysicalOlapScan[customer_demographics]
|
||||
----------------------------filter((store_sales.ss_net_profit <= 25000.00) and (store_sales.ss_net_profit >= 0.00) and (store_sales.ss_sales_price <= 200.00) and (store_sales.ss_sales_price >= 50.00))
|
||||
------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2 RF3
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter(((((customer_demographics.cd_marital_status = 'U') AND (customer_demographics.cd_education_status = 'Primary')) OR ((customer_demographics.cd_marital_status = 'W') AND (customer_demographics.cd_education_status = 'College'))) OR ((customer_demographics.cd_marital_status = 'D') AND (customer_demographics.cd_education_status = '2 yr Degree'))))
|
||||
--------------------------------PhysicalOlapScan[customer_demographics]
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------PhysicalProject
|
||||
------------------------filter((customer_address.ca_country = 'United States') and ca_state IN ('IA', 'IL', 'IN', 'MD', 'MI', 'MN', 'TX', 'VA', 'WI'))
|
||||
|
||||
@ -35,63 +35,64 @@ PhysicalResultSink
|
||||
------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[item] apply RFs: RF13
|
||||
------------hashJoin[INNER_JOIN] hashCondition=((ss_items.item_id = ws_items.item_id)) otherCondition=((cast(ss_item_rev as DOUBLE) <= cast((1.1 * ws_item_rev) as DOUBLE)) and (cast(ss_item_rev as DOUBLE) >= cast((0.9 * ws_item_rev) as DOUBLE)) and (cast(ws_item_rev as DOUBLE) <= cast((1.1 * ss_item_rev) as DOUBLE)) and (cast(ws_item_rev as DOUBLE) >= cast((0.9 * ss_item_rev) as DOUBLE))) build RFs:RF8 item_id->[i_item_id]
|
||||
--------------PhysicalProject
|
||||
----------------hashAgg[GLOBAL]
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------hashAgg[LOCAL]
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF7 i_item_sk->[ss_item_sk]
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF6 d_date_sk->[ss_sold_date_sk]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[store_sales] apply RFs: RF6 RF7
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------PhysicalProject
|
||||
--------------hashJoin[INNER_JOIN] hashCondition=((ss_items.item_id = ws_items.item_id)) otherCondition=((cast(ss_item_rev as DOUBLE) <= cast((1.1 * ws_item_rev) as DOUBLE)) and (cast(ss_item_rev as DOUBLE) >= cast((0.9 * ws_item_rev) as DOUBLE)) and (cast(ws_item_rev as DOUBLE) <= cast((1.1 * ss_item_rev) as DOUBLE)) and (cast(ws_item_rev as DOUBLE) >= cast((0.9 * ss_item_rev) as DOUBLE))) build RFs:RF8 item_id->[i_item_id]
|
||||
----------------PhysicalProject
|
||||
------------------hashAgg[GLOBAL]
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------hashAgg[LOCAL]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF7 i_item_sk->[ss_item_sk]
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF6 d_date_sk->[ss_sold_date_sk]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((date_dim.d_date = date_dim.d_date)) otherCondition=() build RFs:RF5 d_date->[d_date]
|
||||
------------------------------------PhysicalProject
|
||||
--------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF5
|
||||
------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalOlapScan[store_sales] apply RFs: RF6 RF7
|
||||
--------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((date_dim.d_date = date_dim.d_date)) otherCondition=() build RFs:RF5 d_date->[d_date]
|
||||
--------------------------------------PhysicalProject
|
||||
----------------------------------------hashJoin[INNER_JOIN] hashCondition=((date_dim.d_week_seq = date_dim.d_week_seq)) otherCondition=() build RFs:RF4 d_week_seq->[d_week_seq]
|
||||
------------------------------------------PhysicalProject
|
||||
--------------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF4
|
||||
------------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------------------PhysicalAssertNumRows
|
||||
----------------------------------------------PhysicalDistribute[DistributionSpecGather]
|
||||
------------------------------------------------PhysicalProject
|
||||
--------------------------------------------------filter((date_dim.d_date = '2001-03-24'))
|
||||
----------------------------------------------------PhysicalOlapScan[date_dim]
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[item] apply RFs: RF8
|
||||
--------------PhysicalProject
|
||||
----------------hashAgg[GLOBAL]
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------hashAgg[LOCAL]
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF3 i_item_sk->[ws_item_sk]
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF2 d_date_sk->[ws_sold_date_sk]
|
||||
----------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF5
|
||||
--------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------------PhysicalProject
|
||||
------------------------------------------hashJoin[INNER_JOIN] hashCondition=((date_dim.d_week_seq = date_dim.d_week_seq)) otherCondition=() build RFs:RF4 d_week_seq->[d_week_seq]
|
||||
--------------------------------------------PhysicalProject
|
||||
----------------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF4
|
||||
--------------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------------------PhysicalAssertNumRows
|
||||
------------------------------------------------PhysicalDistribute[DistributionSpecGather]
|
||||
--------------------------------------------------PhysicalProject
|
||||
----------------------------------------------------filter((date_dim.d_date = '2001-03-24'))
|
||||
------------------------------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[web_sales] apply RFs: RF2 RF3
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------PhysicalOlapScan[item] apply RFs: RF8
|
||||
----------------PhysicalProject
|
||||
------------------hashAgg[GLOBAL]
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------hashAgg[LOCAL]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF3 i_item_sk->[ws_item_sk]
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF2 d_date_sk->[ws_sold_date_sk]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((date_dim.d_date = date_dim.d_date)) otherCondition=() build RFs:RF1 d_date->[d_date]
|
||||
------------------------------------PhysicalProject
|
||||
--------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF1
|
||||
------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalOlapScan[web_sales] apply RFs: RF2 RF3
|
||||
--------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((date_dim.d_date = date_dim.d_date)) otherCondition=() build RFs:RF1 d_date->[d_date]
|
||||
--------------------------------------PhysicalProject
|
||||
----------------------------------------hashJoin[INNER_JOIN] hashCondition=((date_dim.d_week_seq = date_dim.d_week_seq)) otherCondition=() build RFs:RF0 d_week_seq->[d_week_seq]
|
||||
------------------------------------------PhysicalProject
|
||||
--------------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF0
|
||||
------------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------------------PhysicalAssertNumRows
|
||||
----------------------------------------------PhysicalDistribute[DistributionSpecGather]
|
||||
------------------------------------------------PhysicalProject
|
||||
--------------------------------------------------filter((date_dim.d_date = '2001-03-24'))
|
||||
----------------------------------------------------PhysicalOlapScan[date_dim]
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[item]
|
||||
----------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF1
|
||||
--------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------------PhysicalProject
|
||||
------------------------------------------hashJoin[INNER_JOIN] hashCondition=((date_dim.d_week_seq = date_dim.d_week_seq)) otherCondition=() build RFs:RF0 d_week_seq->[d_week_seq]
|
||||
--------------------------------------------PhysicalProject
|
||||
----------------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF0
|
||||
--------------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------------------PhysicalAssertNumRows
|
||||
------------------------------------------------PhysicalDistribute[DistributionSpecGather]
|
||||
--------------------------------------------------PhysicalProject
|
||||
----------------------------------------------------filter((date_dim.d_date = '2001-03-24'))
|
||||
------------------------------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[item]
|
||||
|
||||
|
||||
@ -11,17 +11,18 @@ PhysicalResultSink
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_warehouse_sk = warehouse.w_warehouse_sk)) otherCondition=() build RFs:RF3 w_warehouse_sk->[ws_warehouse_sk]
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_ship_mode_sk = ship_mode.sm_ship_mode_sk)) otherCondition=() build RFs:RF2 sm_ship_mode_sk->[ws_ship_mode_sk]
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_web_site_sk = web_site.web_site_sk)) otherCondition=() build RFs:RF1 web_site_sk->[ws_web_site_sk]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[ws_ship_date_sk]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[web_sales] apply RFs: RF0 RF1 RF2 RF3
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_web_site_sk = web_site.web_site_sk)) otherCondition=() build RFs:RF1 web_site_sk->[ws_web_site_sk]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_ship_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 d_date_sk->[ws_ship_date_sk]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[web_sales] apply RFs: RF0 RF1 RF2 RF3
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((date_dim.d_month_seq <= 1205) and (date_dim.d_month_seq >= 1194))
|
||||
----------------------------------PhysicalOlapScan[date_dim]
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter((date_dim.d_month_seq <= 1205) and (date_dim.d_month_seq >= 1194))
|
||||
--------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[web_site]
|
||||
------------------------------PhysicalOlapScan[web_site]
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------PhysicalOlapScan[ship_mode]
|
||||
|
||||
@ -10,25 +10,26 @@ PhysicalResultSink
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF3 i_item_sk->[ss_item_sk]
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_promo_sk = promotion.p_promo_sk)) otherCondition=() build RFs:RF2 p_promo_sk->[ss_promo_sk]
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ss_sold_date_sk]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_cdemo_sk = customer_demographics.cd_demo_sk)) otherCondition=() build RFs:RF0 cd_demo_sk->[ss_cdemo_sk]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2 RF3
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------filter((customer_demographics.cd_education_status = 'College') and (customer_demographics.cd_gender = 'F') and (customer_demographics.cd_marital_status = 'W'))
|
||||
------------------------------------PhysicalOlapScan[customer_demographics]
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter((date_dim.d_year = 2001))
|
||||
--------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------PhysicalProject
|
||||
----------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_promo_sk = promotion.p_promo_sk)) otherCondition=() build RFs:RF2 p_promo_sk->[ss_promo_sk]
|
||||
------------------------PhysicalProject
|
||||
--------------------------filter(((promotion.p_channel_email = 'N') OR (promotion.p_channel_event = 'N')))
|
||||
----------------------------PhysicalOlapScan[promotion]
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF1 d_date_sk->[ss_sold_date_sk]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_cdemo_sk = customer_demographics.cd_demo_sk)) otherCondition=() build RFs:RF0 cd_demo_sk->[ss_cdemo_sk]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------PhysicalOlapScan[store_sales] apply RFs: RF0 RF1 RF2 RF3
|
||||
--------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------filter((customer_demographics.cd_education_status = 'College') and (customer_demographics.cd_gender = 'F') and (customer_demographics.cd_marital_status = 'W'))
|
||||
--------------------------------------PhysicalOlapScan[customer_demographics]
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter((date_dim.d_year = 2001))
|
||||
----------------------------------PhysicalOlapScan[date_dim]
|
||||
------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------filter(((promotion.p_channel_email = 'N') OR (promotion.p_channel_event = 'N')))
|
||||
------------------------------PhysicalOlapScan[promotion]
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------PhysicalOlapScan[item]
|
||||
|
||||
@ -44,18 +44,19 @@ PhysicalCteAnchor ( cteId=CTEId#0 )
|
||||
----------------PhysicalProject
|
||||
------------------filter((t_w_firstyear.sale_type = 'w') and (t_w_firstyear.year = 1999) and (t_w_firstyear.year_total > 0.0))
|
||||
--------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
--------------hashJoin[INNER_JOIN] hashCondition=((t_s_firstyear.customer_id = t_w_secyear.customer_id)) otherCondition=()
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((t_s_secyear.customer_id = t_s_firstyear.customer_id)) otherCondition=()
|
||||
--------------PhysicalProject
|
||||
----------------hashJoin[INNER_JOIN] hashCondition=((t_s_firstyear.customer_id = t_w_secyear.customer_id)) otherCondition=()
|
||||
------------------hashJoin[INNER_JOIN] hashCondition=((t_s_secyear.customer_id = t_s_firstyear.customer_id)) otherCondition=()
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------PhysicalProject
|
||||
------------------------filter((t_s_firstyear.sale_type = 's') and (t_s_firstyear.year = 1999) and (t_s_firstyear.year_total > 0.0))
|
||||
--------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------PhysicalProject
|
||||
------------------------filter((t_s_secyear.sale_type = 's') and (t_s_secyear.year = 2000))
|
||||
--------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------filter((t_s_firstyear.sale_type = 's') and (t_s_firstyear.year = 1999) and (t_s_firstyear.year_total > 0.0))
|
||||
----------------------filter((t_w_secyear.sale_type = 'w') and (t_w_secyear.year = 2000))
|
||||
------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------PhysicalProject
|
||||
----------------------filter((t_s_secyear.sale_type = 's') and (t_s_secyear.year = 2000))
|
||||
------------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
----------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------PhysicalProject
|
||||
--------------------filter((t_w_secyear.sale_type = 'w') and (t_w_secyear.year = 2000))
|
||||
----------------------PhysicalCteConsumer ( cteId=CTEId#0 )
|
||||
|
||||
|
||||
@ -14,37 +14,40 @@ PhysicalResultSink
|
||||
----------------------PhysicalProject
|
||||
------------------------PhysicalOlapScan[item] apply RFs: RF1
|
||||
----------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 ss_sold_date_sk->[d_date_sk]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[date_dim] apply RFs: RF0
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((store_sales.ss_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF0 ss_sold_date_sk->[d_date_sk]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter(ss_hdemo_sk IS NULL)
|
||||
--------------------------------PhysicalOlapScan[store_sales]
|
||||
------------------------------PhysicalOlapScan[date_dim] apply RFs: RF0
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter(ss_hdemo_sk IS NULL)
|
||||
----------------------------------PhysicalOlapScan[store_sales]
|
||||
----------------PhysicalDistribute[DistributionSpecExecutionAny]
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF3 ws_item_sk->[i_item_sk]
|
||||
----------------------PhysicalProject
|
||||
------------------------PhysicalOlapScan[item] apply RFs: RF3
|
||||
----------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF2 ws_sold_date_sk->[d_date_sk]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[date_dim] apply RFs: RF2
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((web_sales.ws_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF2 ws_sold_date_sk->[d_date_sk]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter(ws_bill_addr_sk IS NULL)
|
||||
--------------------------------PhysicalOlapScan[web_sales]
|
||||
------------------------------PhysicalOlapScan[date_dim] apply RFs: RF2
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter(ws_bill_addr_sk IS NULL)
|
||||
----------------------------------PhysicalOlapScan[web_sales]
|
||||
----------------PhysicalDistribute[DistributionSpecExecutionAny]
|
||||
------------------PhysicalProject
|
||||
--------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF5 cs_item_sk->[i_item_sk]
|
||||
----------------------PhysicalProject
|
||||
------------------------PhysicalOlapScan[item] apply RFs: RF5
|
||||
----------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF4 cs_sold_date_sk->[d_date_sk]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[date_dim] apply RFs: RF4
|
||||
--------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((catalog_sales.cs_sold_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF4 cs_sold_date_sk->[d_date_sk]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------filter(cs_warehouse_sk IS NULL)
|
||||
--------------------------------PhysicalOlapScan[catalog_sales]
|
||||
------------------------------PhysicalOlapScan[date_dim] apply RFs: RF4
|
||||
----------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------filter(cs_warehouse_sk IS NULL)
|
||||
----------------------------------PhysicalOlapScan[catalog_sales]
|
||||
|
||||
|
||||
@ -32,58 +32,59 @@ PhysicalResultSink
|
||||
------------------------------------------PhysicalProject
|
||||
--------------------------------------------filter(d_date IN ('2001-06-06', '2001-09-02', '2001-11-11'))
|
||||
----------------------------------------------PhysicalOlapScan[date_dim]
|
||||
------------hashJoin[INNER_JOIN] hashCondition=((sr_items.item_id = wr_items.item_id)) otherCondition=() build RFs:RF8 item_id->[i_item_id]
|
||||
--------------PhysicalProject
|
||||
----------------hashAgg[GLOBAL]
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------hashAgg[LOCAL]
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF7 i_item_sk->[sr_item_sk]
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_returned_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF6 d_date_sk->[sr_returned_date_sk]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[store_returns] apply RFs: RF6 RF7
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------PhysicalProject
|
||||
--------------hashJoin[INNER_JOIN] hashCondition=((sr_items.item_id = wr_items.item_id)) otherCondition=() build RFs:RF8 item_id->[i_item_id]
|
||||
----------------PhysicalProject
|
||||
------------------hashAgg[GLOBAL]
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------hashAgg[LOCAL]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF7 i_item_sk->[sr_item_sk]
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((store_returns.sr_returned_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF6 d_date_sk->[sr_returned_date_sk]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((date_dim.d_date = date_dim.d_date)) otherCondition=() build RFs:RF5 d_date->[d_date]
|
||||
------------------------------------PhysicalProject
|
||||
--------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF5
|
||||
------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalOlapScan[store_returns] apply RFs: RF6 RF7
|
||||
--------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((date_dim.d_date = date_dim.d_date)) otherCondition=() build RFs:RF5 d_date->[d_date]
|
||||
--------------------------------------PhysicalProject
|
||||
----------------------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((date_dim.d_week_seq = date_dim.d_week_seq)) otherCondition=() build RFs:RF4 d_week_seq->[d_week_seq]
|
||||
------------------------------------------PhysicalProject
|
||||
--------------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF4
|
||||
------------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF5
|
||||
--------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------------PhysicalProject
|
||||
------------------------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((date_dim.d_week_seq = date_dim.d_week_seq)) otherCondition=() build RFs:RF4 d_week_seq->[d_week_seq]
|
||||
--------------------------------------------PhysicalProject
|
||||
----------------------------------------------filter(d_date IN ('2001-06-06', '2001-09-02', '2001-11-11'))
|
||||
------------------------------------------------PhysicalOlapScan[date_dim]
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF4
|
||||
--------------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------------------PhysicalProject
|
||||
------------------------------------------------filter(d_date IN ('2001-06-06', '2001-09-02', '2001-11-11'))
|
||||
--------------------------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[item] apply RFs: RF8
|
||||
----------------PhysicalProject
|
||||
------------------hashAgg[GLOBAL]
|
||||
--------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------hashAgg[LOCAL]
|
||||
------------------------PhysicalProject
|
||||
--------------------------hashJoin[INNER_JOIN] hashCondition=((web_returns.wr_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF3 wr_item_sk->[i_item_sk]
|
||||
----------------------------PhysicalProject
|
||||
------------------------------PhysicalOlapScan[item] apply RFs: RF8
|
||||
--------------PhysicalProject
|
||||
----------------hashAgg[GLOBAL]
|
||||
------------------PhysicalDistribute[DistributionSpecHash]
|
||||
--------------------hashAgg[LOCAL]
|
||||
----------------------PhysicalProject
|
||||
------------------------hashJoin[INNER_JOIN] hashCondition=((web_returns.wr_item_sk = item.i_item_sk)) otherCondition=() build RFs:RF3 wr_item_sk->[i_item_sk]
|
||||
--------------------------PhysicalProject
|
||||
----------------------------PhysicalOlapScan[item] apply RFs: RF3
|
||||
--------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
----------------------------hashJoin[INNER_JOIN] hashCondition=((web_returns.wr_returned_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF2 d_date_sk->[wr_returned_date_sk]
|
||||
------------------------------PhysicalProject
|
||||
--------------------------------PhysicalOlapScan[web_returns] apply RFs: RF2
|
||||
------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
------------------------------PhysicalOlapScan[item] apply RFs: RF3
|
||||
----------------------------PhysicalDistribute[DistributionSpecHash]
|
||||
------------------------------hashJoin[INNER_JOIN] hashCondition=((web_returns.wr_returned_date_sk = date_dim.d_date_sk)) otherCondition=() build RFs:RF2 d_date_sk->[wr_returned_date_sk]
|
||||
--------------------------------PhysicalProject
|
||||
----------------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((date_dim.d_date = date_dim.d_date)) otherCondition=() build RFs:RF1 d_date->[d_date]
|
||||
------------------------------------PhysicalProject
|
||||
--------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF1
|
||||
------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalOlapScan[web_returns] apply RFs: RF2
|
||||
--------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------PhysicalProject
|
||||
------------------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((date_dim.d_date = date_dim.d_date)) otherCondition=() build RFs:RF1 d_date->[d_date]
|
||||
--------------------------------------PhysicalProject
|
||||
----------------------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((date_dim.d_week_seq = date_dim.d_week_seq)) otherCondition=() build RFs:RF0 d_week_seq->[d_week_seq]
|
||||
------------------------------------------PhysicalProject
|
||||
--------------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF0
|
||||
------------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF1
|
||||
--------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------------PhysicalProject
|
||||
------------------------------------------hashJoin[LEFT_SEMI_JOIN] hashCondition=((date_dim.d_week_seq = date_dim.d_week_seq)) otherCondition=() build RFs:RF0 d_week_seq->[d_week_seq]
|
||||
--------------------------------------------PhysicalProject
|
||||
----------------------------------------------filter(d_date IN ('2001-06-06', '2001-09-02', '2001-11-11'))
|
||||
------------------------------------------------PhysicalOlapScan[date_dim]
|
||||
----------------------------------------------PhysicalOlapScan[date_dim] apply RFs: RF0
|
||||
--------------------------------------------PhysicalDistribute[DistributionSpecReplicated]
|
||||
----------------------------------------------PhysicalProject
|
||||
------------------------------------------------filter(d_date IN ('2001-06-06', '2001-09-02', '2001-11-11'))
|
||||
--------------------------------------------------PhysicalOlapScan[date_dim]
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user