It is. This isn't something the partitioners should be responsible for. It should be up to the Dataset implementation how to serialize and deserialize partition keys. This just has to be around as long as valueFromString is... which is hopefully going away in 0.15.0 now?