Nullify empty string

Supported in: Batch, Streaming

Convert empty strings to null.

Expression categories: String

Declared arguments

  • Expression - no description
    Expression<String>

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