pan3793 commented on code in PR #57810:
URL: https://github.com/apache/spark/pull/57810#discussion_r3726214482


##########
python/pyspark/taskcontext.py:
##########
@@ -278,7 +277,7 @@ def cpus(self) -> int:
 
     def cpuAmount(self) -> float:

Review Comment:
   Consulted the AI, and Python also has a built-in type `decimal.Decimal` that 
is similar to Java's `BigDecimal`, I think I made a wrong decision to use 
`float` here ...



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