Rename some columns.

Parameters:

Parameters:
This action renames one or more columns from an input table.
It offers two configuration modes:
This allows dynamic bulk renaming, often driven by metadata or external control tables.
This action helps standardize column naming conventions or prepare datasets for joins, exports, or downstream compatibility.
Use the "Change case" option for compatibility with case-insensitive systems (e.g., SAS, SQL, or text file generators).
For instance, if column names in a weekly incoming file vary between A/B and a/b, this option avoids errors by forcing consistent casing.
C1 to B1:
Before: C1
After: B1
Given a column named C1, follow these instructions:
Change case: lowercase
Prefix: Prefix_
Suffix: _Suffix
As a result, the column names have been changed to lowercase and have the '_prefix' and '_suffix' added
Resulting name: prefix_c1_suffix

You can dynamically rename columns by connecting a second input pin to the Column Rename action. This input should be a table with two columns:
Column 1: Original column names (before)
Column 2: Target column names (after)
The action will match and rename columns from the first input accordingly.
Example
Let’s say the input data contains a column named C1 and we want to rename it to B1 using a metadata table.
Input Table:
| C1 |
|---|
| va1 |
Metadata Table (Second Input):
| before | after |
|---|---|
| C1 | B1 |
After processing, the output will contain:
| B1 |
|---|
| va1 |
Visual Example:

Note:
Use this approach when working with dynamic schemas or external metadata files (e.g., output from GetMetaData).
