Make LinearShardSpec require a partitionNum