ported spark relational, nested, mixed workflows from 0.1 branch