Skip to main content

Reformat

SQL Gem

Transforms one or more column names or values by using expressions and/or functions. It's useful when we need to extract only the required columns or make changes column-wise.

Parameters

ParameterDescriptionRequired
ModelInput Source on which changes are requiredTrue
Target columnOutput column nameFalse
ExpressionExpression to compute target columnRequired if a Target column is present
info

If no columns are selected, then all columns are passed through to the output

Example

Example usage of Reformat