Skip to main content

BulkColumnRename

Spark Gem

Use the BulkColumnRename Gem to rename multiple columns in your Dataset in a systematic way.

Parameters

ParameterDescription
Columns to renameSelect one or more columns to rename from the dropdown.
MethodChoose to add a prefix, add a suffix, or use a custom expression to change column names.

Based on the method you select, you will see an option to enter the prefix, suffix, or expression of your choice.

Examples

Add a prefix

One example is to add the prefix meta_ to tag columns that contain metadata.

Add prefix to multiple columns

Use a custom expression

You can accomplish the same or more complex changes using a custom expression like concat('meta_', column_name).