HyukjinKwon commented on code in PR #37560:
URL: https://github.com/apache/spark/pull/37560#discussion_r949718516


##########
python/pyspark/sql/types.py:
##########
@@ -2256,11 +2256,33 @@ def convert(self, obj: datetime.timedelta, 
gateway_client: GatewayClient) -> Jav
         )
 
 
+class NumpyScalarConverter:
+    @property

Review Comment:
   Shall we just a new variable and add a method in `pyspark.sql.utils`? Since 
this happens in the driver side only, I think we can just cache it in the 
module level.



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