Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The <em>split pattern</em> is in the Cascading User Guide at: <a href="http://docs.cascading.org/cascading/2.1/userguide/htmlsingle/#N21362" rel="nofollow">http://docs.cascading.org/cascading/2.1/userguide/htmlsingle/#N21362</a></p> <p>Another (simpler) example is included in "Cascading for the Impatient", parts 5 &amp; 6:</p> <ul> <li><a href="https://github.com/Cascading/Impatient/wiki/Part-5" rel="nofollow">https://github.com/Cascading/Impatient/wiki/Part-5</a></li> <li><a href="https://github.com/Cascading/Impatient/wiki/Part-6" rel="nofollow">https://github.com/Cascading/Impatient/wiki/Part-6</a></li> </ul> <p>One point about the code shown above is that it seem to be missing the variable definitions for <code>report1Pipe</code> and <code>report2Pipe</code>. To use a <em>split pattern</em>, each branch requires a name and the names need to be different. </p> <p>The exception gets thrown because there are two branches which have both inherited the same name from earlier in the pipe assembly. So, for example, those <code>flowDef.addSink(..)</code> calls are ambiguous to the flow planner.</p> <p>So in "Impatient" part 5, look at how the "D", "DF", and "TF" branches get named within operations.</p> <p>It may seem a bit counter-intuitive for Cascading to require this naming, but it becomes quite important in large, complex workflows when you're attaching <em>failure traps</em>, <em>debug</em>, etc., to specific branches.</p> <p>Alternatively, the Cascalog DSL in Clojure is much more declarative, so this gets handled by the language directly -- branches are subqueries, and the traps, etc., get handled within the closure of a subquery.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload