Cast to text

Cast to Text

Description

Converts a value to the text type.

Category

Transformation

Supported Field Types

  • int
  • float
  • boolean

Output Field Type

  • text

Arguments

None

Pseudo-code (Python)

def func(val):
    """
        val: original field value
    """
    if val:
        return str(val)
    else:
        return None