Padding transformation

A transformation type of Padding will transform data from the incoming file by adding padding to strings. You can use this transformation if the incoming string is shorter than the desired length. Set the desired length and padding character for the output string. The padding character is added to the beginning of strings.

To configure a padding transformation:

  1. Locate the data model attribute you want transformed and click its Transform link. The Transform dialog is displayed, and it shows the source fields (source) and schema attributes (target).
  2. An image of the Transform link

  3. Use the Transformation type list to select Padding.
  4. An image of the Transfomration type drop-down list

  5. In the Desired string length field, enter the value that represents the minimum number of characters for strings. In the Padding character field, enter the character to use as padding so strings have the minimum number of characters. Only one character is allowed as the padding character.
  6. An image of the original value and new value fields

  7. Optionally, test the transformation by entering a value in the Sample input field. The transformed value will display in the Output field.
  8. An image of the fields used for testing the transformation

  9. Click Apply.

Learn more

Creating ingest jobs

Concatenation transformation

Date transformation

Lookup/static transformation

URL transformation

Hash transformation

Prefix-Suffix transformation

Substring transformation

Trim transformation

RegEx Advanced transformation

transform, transformation, padding, padding transformation, ingest job