KTH_LARGEST - 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).

KTH_LARGEST

Returns the kth largest number from the selected source columns in a new column.

Parameters
  • sourceColumns – A JSON-encoded string representing a list of existing columns.

  • targetColumn – A name for the newly created column.

  • value – A number representing k.

Example

{ "RecipeAction": { "Operation": "KTH_LARGEST", "Parameters": { "sourceColumns": "[\"height_cm\",\"weight_kg\",\"age\"]", "targetColumn": "KTH_LARGEST Column 1", "value": "2" } } }