viirya commented on a change in pull request #28569:
URL: https://github.com/apache/spark/pull/28569#discussion_r426952356
##########
File path: python/pyspark/resource/requests.py
##########
@@ -167,3 +166,89 @@ def requests(self):
return result
else:
return self._executor_resources
+
+
+class TaskResourceRequest(object):
+ """
+ .. note:: Evolving
+
+ A task resource request. This is used in conjuntion with the
+ :class:`pyspark.resource.ResourceProfile` to programmatically specify the
resources
+ needed for an RDD that will be applied at the stage level. The amount is
specified
+ as a Double to allow for saying you want more then 1 task per resource.
Valid values
Review comment:
typo: more then -> more than
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]