Write Range Map stage (DataStage)

The Write Range Map stage takes an input data set produced by sampling and sorting a data set and writes it to a file in a form usable by the range partitioning method. The range partitioning method uses the sampled and sorted data set to determine partition boundaries.

The Write Range Map stage is a development and debug stage. The stage can have a single input link. It can only run in sequential mode.

A typical use for the Write Range Map stage would be in a job which used the Sample stage to sample a data set, the Sort stage to sort it and the Write Range Map stage to write the range map which can then be used with the range partitioning method to write the original data set to a file set.

When you double-click the Write Range Map stage, the properties panel opens. The properties panel has two tabs:

  • Stage. This is always present and is used to specify general information about the stage.
  • Input. This is present when you are writing a range map. This is where you specify details about the file being written to.