dongjoon-hyun commented on a change in pull request #35123:
URL: https://github.com/apache/spark/pull/35123#discussion_r780003871



##########
File path: python/pyspark/resource/profile.py
##########
@@ -155,12 +155,9 @@ def require(
                 )
         else:
             if self._java_resource_profile_builder is not None:
-                if (
-                    resourceRequest._java_executor_resource_requests is not 
None  # type: ignore[attr-defined]
-                ):
-                    self._java_resource_profile_builder.require(
-                        resourceRequest._java_executor_resource_requests  # 
type: ignore[attr-defined]
-                    )
+                r = resourceRequest._java_executor_resource_requests  # type: 
ignore[attr-defined]

Review comment:
       Yes, it looks like that.




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to