set partition number in corpus table