remove mapPartitionsToDoubleWithContext.