Class BeamZetaSqlUnnestRule
java.lang.Object
org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.plan.RelOptRule
org.apache.beam.sdk.extensions.sql.zetasql.unnest.BeamZetaSqlUnnestRule
public class BeamZetaSqlUnnestRule
extends org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.plan.RelOptRule
A
ConverterRule
to replace Correlate
ZetaSqlUnnest
with BeamZetaSqlUnnestRel
.
This class is a copy of BeamUnnestRule
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class 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.RelOptRule.ConverterRelOptRuleOperand
-
Field Summary
FieldsFields inherited from class org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.plan.RelOptRule
description, operands, relBuilderFactory
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onMatch
(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.plan.RelOptRuleCall call) Methods inherited from class org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.plan.RelOptRule
any, convert, convert, convertList, convertOperand, convertOperand, equals, equals, getOperand, getOperands, getOutConvention, getOutTrait, hashCode, matches, none, operand, operand, operand, operand, operand, operandJ, operandJ, some, toString, unordered
-
Field Details
-
INSTANCE
-
-
Method Details
-
onMatch
public void onMatch(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.plan.RelOptRuleCall call) - Specified by:
onMatch
in classorg.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.plan.RelOptRule
-