bogao007 commented on code in PR #50349: URL: https://github.com/apache/spark/pull/50349#discussion_r2011040740
########## 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: background: we are using Pandas to convert a spark type data to Arrow record batch https://github.com/apache/spark/blob/b2290444e9c1430c18efb5c8de1dce264034dd4d/python/pyspark/sql/streaming/stateful_processor_api_client.py#L443-L453 -- 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