remove a lot of unused code

bye bye!
partitionName was never set is isPresent() was always false. Do you think it is a bug that it wasn't set?