Github user JasonMWhite commented on a diff in the pull request: https://github.com/apache/spark/pull/17200#discussion_r104856801 --- Diff: python/pyspark/sql/types.py --- @@ -189,7 +189,7 @@ def toInternal(self, dt): if dt is not None: seconds = (calendar.timegm(dt.utctimetuple()) if dt.tzinfo --- End diff -- https://github.com/bartdag/py4j/blob/master/py4j-python/src/py4j/protocol.py#L271-L275 Py4J automatically serializes any Python integer larger than 2 ^ 31 as `LONG_TYPE`, otherwise it's `INTEGER_TYPE`. Python longs are always serialized as `LONG_TYPE`. I suspect my issue with Python 3 is that there is no more `long`, it's all just `int`. This may require a fix on the Scala side to accept either an int or a long to the appropriate constructor.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org