Class BeamSqlRelUtils

java.lang.Object
org.apache.beam.sdk.extensions.sql.impl.rel.BeamSqlRelUtils

public class BeamSqlRelUtils extends Object
Utilities for BeamRelNode.
  • Field Details

  • Constructor Details

    • BeamSqlRelUtils

      public BeamSqlRelUtils()
  • Method Details

    • toPCollection

      public static PCollection<Row> toPCollection(Pipeline pipeline, BeamRelNode node)
    • toPCollection

      public static PCollection<Row> toPCollection(Pipeline pipeline, BeamRelNode node, @Nullable PTransform<PCollection<Row>,? extends POutput> errorTransformer)
    • getBeamRelInput

      public static BeamRelNode getBeamRelInput(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.RelNode input)
    • getInput

      public static org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.RelNode getInput(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.RelNode input)
    • getNodeStats

      public static NodeStats getNodeStats(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.RelNode input, BeamRelMetadataQuery mq)
    • getErrorRowSchema

      public static Schema getErrorRowSchema(Schema upstreamSchema)
    • explainLazily

      public static Object explainLazily(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.RelNode node)
      A lazy explain via Object.toString() for logging purposes.