Empty table(空表(Empty table))¶
Supported in: Batch, Faster, 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\ - optional Read mode: The read mode of the empty dataset.
Enum\
Examples¶
Example 1: Base case¶
Argument values:
- Schema: Struct\
- Read mode: null
Inputs:
Output:
| flight_code | flight_number | airline |
|---|---|---|
中文翻译¶
空表(Empty table)¶
支持模式:批处理(Batch)、快速(Faster)、流式(Streaming)
根据指定的模式(schema)和读取模式(read mode)创建一个空表。
转换类别:其他
声明参数¶
- 模式(Schema): 用于输出合约的模式。
类型:Struct - 可选 读取模式(Read mode): 空数据集的读取模式。
枚举:INCREMENTAL、SNAPSHOT、STREAM、UNKNOWN
示例¶
示例 1:基础情况¶
参数值:
- 模式: Struct\
- 读取模式: null
输入:
输出:
| flight_code | flight_number | airline |
|---|---|---|