etsy/cascading.jruby — Issue #11: Sink order causes composition/runtime planner mismatch
Author: mrwalker
Created: 2011-10-13 14:49:18+00:00
State: open

If you list sinks in the order in which assemblies/branches are defined, this is not an issue. However, if you list them in a different order, sometimes the cascade will pass composition-time checking but yield a runtime Planner exception. In the cases I've seen so far, it appears that a branch will inherit the fields of the tail pipe of its enclosing assembly (for some unknown reason, only at runtime).

The workaround is to list the sinks in the same order as the assemblies, but this is an annoying limitation and needs to be fixed.