use by-name instead of partition number