Write Range Map stage

The Write Range Map stage is a Development/Debug stage.

It allows you to write data to a range map. The stage can have a single input link. It can only run in sequential mode.

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. .

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.
Shows a job where a range map is created by sampling and sorting data from a data set

The Write Range Map stage editor has two pages:

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