ABSOLUTE - Amazon Glue DataBrew
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

ABSOLUTE

Returns the absolute value of the input number in a new column. Absolute value is how far the number is from zero, regardless of whether it is positive or negative

Parameters
  • sourceColumn – The name of an existing column.

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

Example

{ "RecipeAction": { "Operation": "ABSOLUTE", "Parameters": { "sourceColumn": "freezingTemps", "targetColumn": "absValueOfFreezingTemps" } } }