jingz-db commented on code in PR #50349:
URL: https://github.com/apache/spark/pull/50349#discussion_r2008379997


##########
python/pyspark/sql/pandas/types.py:
##########
@@ -1424,6 +1424,12 @@ def _to_numpy_type(type: DataType) -> 
Optional["np.dtype"]:
         return np.dtype("float32")
     elif type == DoubleType():
         return np.dtype("float64")
+    elif type == TimestampType():

Review Comment:
   I am confused by the PR title, if this change is inside the base pyspark 
type, why it only impacts timestamp type when "multiple state data" is 
involved? Why it works fine if there is only single state data?



-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to