Empty table

Supported in: Batch, Streaming

Creates an empty table with the given schema and read mode.

Transform categories: Other

Declared arguments

  • Schema: A schema to be used for the output contract.
    Type<Struct>
  • optional Read mode: The read mode of the empty dataset.
    Enum<INCREMENTAL, SNAPSHOT, STREAM, UNKNOWN>

Examples

Example 1: Base case

Argument values:

  • Schema: Struct<flight_code, flight_number, airline>
  • Read mode: null

Inputs:

Output:

flight_codeflight_numberairline