divide streaming_switch into slop_streaming and partition_streaming