public class BeamZetaSqlUncollectRule
extends org.apache.beam.vendor.calcite.v1_20_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.
Modifier and Type | Field and Description |
---|---|
static BeamZetaSqlUncollectRule |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rel.RelNode |
convert(org.apache.beam.vendor.calcite.v1_20_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