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


##########
python/pyspark/sql/types.py:
##########
@@ -1447,6 +1447,26 @@ def _from_numpy_type(nt: "np.dtype") -> 
Optional[DataType]:
     return None
 
 
+def _from_numpy_type_to_java_type(nt: "np.dtype", gateway: JavaGateway) -> 
Optional[JavaClass]:

Review Comment:
   You can actually add this as a `NumpyArrayConverter`'s class attribute



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