arzavj commented on code in PR #45301: URL: https://github.com/apache/spark/pull/45301#discussion_r1505353843
########## python/pyspark/sql/pandas/types.py: ########## @@ -993,7 +993,7 @@ def convert_struct(value: Any) -> Any: def convert_timestamp(value: Any) -> Any: if isinstance(value, datetime.datetime) and value.tzinfo is not None: - ts = pd.Timstamp(value) + ts = pd.Timestamp(value) Review Comment: Yeah I considered adding a test for this but really what we need here is a linter in CI to catch such typos -- 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