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

MOVE_TO_INDEX

Moves a column to a position specified by a number.

Parameters
  • sourceColumn – The name of an existing column.

  • targetIndex – The new position for the column. Positions start with 0—so, for example, 1 refers to the second column, 2 refers to the third column, and so on.

Example

{ "RecipeAction": { "Operation": "MOVE_TO_INDEX", "Parameters": { "sourceColumn": "nationality", "targetIndex": "5" } } }