跳转至

Create null value(创建空值(null value))

Supported in: Batch, Faster, Streaming

Returns a null value of the given type.

Expression categories: Data preparation

Declared arguments

  • Type: The type of the null value to create.
    Type\

Type variable bounds: T accepts AnyType

Output type: T

Examples

Example 1: Base case

Argument values:

  • Type: Array\

Output: null


Example 2: Base case

Argument values:

  • Type: Map\

Output: null


Example 3: Base case

Argument values:

  • Type: String

Output: null


Example 4: Base case

Argument values:

  • Type: Struct\>

Output: null



中文翻译


创建空值(null value)

支持模式:批量(Batch)、快速(Faster)、流式(Streaming)

返回指定类型的空值。

表达式类别: 数据准备(Data preparation)

声明的参数

  • 类型(Type): 要创建的空值类型。
    类型\

类型变量约束: T 接受任意类型(AnyType)

输出类型: T

示例

示例 1:基础案例

参数值:

  • 类型: 数组\<字符串>(Array\

输出: null


示例 2:基础案例

参数值:

  • 类型: 映射\<字符串, 字符串>(Map\

输出: null


示例 3:基础案例

参数值:

  • 类型: 字符串(String)

输出: null


示例 4:基础案例

参数值:

  • 类型: 结构体\<字符串:string, 数组:数组\<字符串>>(Struct\>)

输出: null