Yes, it assumes that if there is any content in that expression, partition writer is created and normal writer if empty. That's also why it goes via factory so that I can actually see what ${partitionPath} is.