Integrating PartitionDescriptor into the UDF class (the getPartitionDescriptor method is not implemented yet into the UDF class but the structures and class PartitionDescriptors are complete and compile)