custom_partitions

Can you please add scaladoc for this function and `timeFromPathHour`.