跳转至

Nullify empty string(将空字符串转换为空值(Nullify empty string))

Supported in: Batch, Faster, Streaming

Convert empty strings to null.

Expression categories: String

Declared arguments

  • Expression: no description
    Expression\

Output type: String

Examples

Example 1: Base case

Argument values:

  • Expression: empty string

Output: null


Example 2: Base case

Argument values:

  • Expression: hello world

Output: hello world


Example 3: Null case

Argument values:

  • Expression: null

Output: null



中文翻译


将空字符串转换为空值(Nullify empty string)

支持:批处理(Batch)、快速处理(Faster)、流处理(Streaming)

将空字符串转换为空值(null)。

表达式类别: 字符串(String)

声明的参数

  • 表达式(Expression): 无描述
    表达式\

输出类型: String

示例

示例 1:基本情况

参数值:

  • 表达式: 空字符串

输出: null


示例 2:基本情况

参数值:

  • 表达式: hello world

输出: hello world


示例 3:空值情况

参数值:

  • 表达式: null

输出: null