public class BeamZetaSqlUncollectRule
extends org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.convert.ConverterRule
ConverterRule
to replace ZetaSqlUnnest
with BeamZetaSqlUncollectRel
.
This class is a copy of BeamUncollectRel
except that it works on ZetaSqlUnnest
instead of Calcite Uncollect.
Details of why unwrapping structs breaks ZetaSQL UNNEST syntax is in https://issues.apache.org/jira/browse/BEAM-10896.
org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.convert.ConverterRule.Config
org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.plan.RelRule.Done, org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.plan.RelRule.MatchHandler<R extends org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.plan.RelOptRule>, org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.plan.RelRule.OperandBuilder, org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.plan.RelRule.OperandDetailBuilder<R extends org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.RelNode>, org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.plan.RelRule.OperandTransform
Modifier and Type | Field and Description |
---|---|
static BeamZetaSqlUncollectRule |
INSTANCE |
out
Modifier and Type | Method and Description |
---|---|
org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.RelNode |
convert(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.RelNode rel) |
getInTrait, getOutConvention, getOutTrait, getTraitDef, isGuaranteed, onMatch
any, convert, convert, convertList, convertOperand, convertOperand, equals, equals, getOperand, getOperands, hashCode, matches, none, operand, operand, operand, operand, operand, operandJ, operandJ, some, toString, unordered
public static final BeamZetaSqlUncollectRule INSTANCE