0 / 0

Column Generator stage (DataStage)

Last updated: Mar 12, 2025
Column Generator stage in DataStage

The Column Generator stage adds columns to incoming data and generates mock data for these columns for each data row processed. The new data set is then output.

The Column Generator stage is a development and debug stage. It can have a single input link and a single output link.

When you double-click the Column Generator stage, the properties panel opens. The properties panel has three tabs:

  • Stage. This is always present and is used to specify general information about the stage.
  • Input. This is where you specify details about the input link.
  • Output. This is where you specify details about the generated data being output from the stage.

Note: the Row Generator stage in DataStage stage also allows you to generate complete sets of mock data.

Input tab

The Columns section specifies the column definitions of incoming data. The Advanced section allows you to change the default buffering settings for the input link.

Output tab

The Columns section specifies the column definitions of incoming data. Click Edit at the bottom of the Columns section to specify mapping information. Mapping specifies the relationship between the processed data being produced by the Column Generator stage and the Output columns. The Advanced section allows you to change the default buffering settings for the output link.