Universally unique identifier (uuid) (unstable)

Supported in: Batch, Streaming

Returns a column of uuids. This is not deterministic and will not produce the same result on repeated builds. This is not the preferred way to build an id column and users should look into sha256 or others that are deterministic.

Expression categories: String

Declared arguments

This function does not take any arguments.

Output type: String

Examples

Example 1: Base case

Description: Generate a column of UUID values (V4). Argument values:

Output: 5c5622fe-e30e-4491-99b6-6213be506dec