pyspark.resource.
TaskResourceRequests
A set of task resource requests. This is used in conjunction with the pyspark.resource.ResourceProfileBuilder to programmatically specify the resources needed for an RDD that will be applied at the stage level.
pyspark.resource.ResourceProfileBuilder
New in version 3.1.0.
Notes
This API is evolving.
Methods
cpus(amount)
cpus
resource(resourceName, amount)
resource
Attributes
requests