STRING_GREATER_THAN - AWS Glue DataBrew

STRING_GREATER_THAN

Creates a new column populated with one of the following:

  • True if one string in a column (or value) is greater than another string in a different column (or value).

  • False if there is no match.

Parameters
  • sourceColumn1 – The name of an existing column.

  • sourceColumn2 – The name of an existing column.

  • value1 – A character string to evaluate.

  • value2 – A character string to evaluate.

  • targetColumn – The name of the new column to be created.

Note

You can specify only one of the following combinations:

  • Both of sourceColumnN.

  • One of sourceColumnN and one of valueN.

  • Both of valueN.

Example

{ "RecipeAction": { "Operation": "STRING_GREATER_THAN", "Parameters": { "sourceColumn1": "first_name", "sourceColumn2": "last_name", "targetColumn": "string_greater_than" } } }