public class ParallelEdgeFixer extends Transform
SharedWorkOptimizer in case this fixer could patch them up.
+--------------------+ +--------------------+
| | | |
| [...] [...] | | [...] [...] |
| | | | | | | |
| +-----+ +-----+ | | +-----+ +-----+ |
| |RS_1 | |RS_2 | | | |RS_1 | |RS_2 | |
| +-----+ +-----+ | | +-----+ +-----+ |
| | | | | | | |
+---- | ------ | ----+ +---- | ------ | ----+
| | | |
| | | +--- | ---+
| | | | +-----+ |
| | $gt; | | |RS_T | |
| | | | +-----+ |
| | | +--- | ---+
| | | |
+---- | ------ | ----+ +---- | ------ | ----+
| +-----+ +-----+ | | +-----+ +-----+ |
| |OP_1 | |OP_2 | | | |OP_1 | |OP_2 | |
| +-----+ +-----+ | | +-----+ +-----+ |
| | | | | | | |
| [...] [...] | | [...] [...] |
| | | |
+--------------------+ +--------------------+| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
ParallelEdgeFixer() |
| Modifier and Type | Method and Description |
|---|---|
static Optional<Set<String>> |
colMappingInverseKeys(ReduceSinkOperator rs) |
boolean |
isParallelEdgeSupported(org.apache.calcite.util.Pair<Operator<?>,Operator<?>> pair) |
ParseContext |
transform(ParseContext pctx)
All transformation steps implement this interface.
|
beginPerfLogging, endPerfLogging, endPerfLoggingpublic ParseContext transform(ParseContext pctx) throws SemanticException
Transformtransform in class Transformpctx - input parse contextSemanticExceptionpublic boolean isParallelEdgeSupported(org.apache.calcite.util.Pair<Operator<?>,Operator<?>> pair)
public static Optional<Set<String>> colMappingInverseKeys(ReduceSinkOperator rs)
Copyright © 2022 The Apache Software Foundation. All rights reserved.