Chapter 5, Controlling the Flow of Data
Pop quiz – deciding between a Number range step and a Switch/Case step
Q1 |
3 The answer is 3, as both 1 and 2 solve the situation. You can use a Number range step that maps the number of people that speak the language to the number of interpreters. Then you can Switch/Case based on the number of interpreters. This would be option 1. Alternatively, you can use just a Switch/Case step based not on the number of interpreters but on the number of people. This would be option 2. |
Pop quiz – understanding the difference between copying and distributing
Q1 |
3 In the second transformation the rows are copied, so all the unassigned rows reach the dummy step. In the first transformation, the rows are distributed, half of the rows arrive at the filter step. When you do the preview, you see only the unassigned tasks for this half; you don't see the unassigned tasks that went to the other stream. Option 3 may be true depending in the data and... |