Skip to content

CreateStreamingTableAutoCdc Binary Logical Command

CreateStreamingTableAutoCdc is a BinaryCommand (Spark SQL) and CreatePipelineDataset logical operator.

CreateStreamingTableAutoCdc represents CREATE STREAMING TABLE...FLOW AUTO CDC (Spark SQL) SQL statement in Spark Declarative Pipelines framework for Auto CDC Flows.

CreateStreamingTableAutoCdc is handled by SqlGraphRegistrationContext.

Creating Instance

CreateStreamingTableAutoCdc takes the following to be created:

  • Target Streaming Table's Name (LogicalPlan)
  • User-specified columns of the target streaming table
  • Column-based partitioning of the target streaming table
  • Table Specification
  • ifNotExists flag
  • Change Events Source (LogicalPlan)
  • Key Columns
  • DELETE source row condition
  • Order expression for CDC events for out-of-order arrivals
  • Source columns to include (optional)
  • Source columns to exclude (optional)
  • SCD type of the target table
  • trackHistoryColumns (optional)
  • trackHistoryExceptColumns (optional)

CreateStreamingTableAutoCdc is created when:

  • SparkSqlAstBuilder (Spark SQL) is requested to parse CREATE STREAMING TABLE...FLOW AUTO CDC SQL statement