Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

REPEAT_STRING - AWS Glue DataBrew

REPEAT_STRING

Repeats the strings in the source column or custom input value a specified number of times, and returns the result in a new column.

Parameters
  • sourceColumn – The name of an existing column.

  • value – A character string to evaluate.

  • count – The number of times to repeat the string.

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

Note

You can specify either sourceColumn or value, but not both.

Examples

{ "RecipeAction": { "Operation": "REPEAT_STRING", "Parameters": { "count": 3, "sourceColumn": "last_name", "targetColumn": "last_name_repeat_string" } } }

{ "RecipeAction": { "Operation": "REPEAT_STRING", "Parameters": { "count": 80, "value": "*", "targetColumn": "80_stars" } } }
PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.