HyukjinKwon commented on PR #39499: URL: https://github.com/apache/spark/pull/39499#issuecomment-1379677495
Yeah .. so technically it should only take `int`s as that's what the method wants. There are a lot of cases like that in PySpark (e.g., `DataFrameReader.jdbc`), and a lot of discussions happened. The take is: type desired signature, and do not type the signature supported by casting (and keep it as a legacy behaviour). Here I fixed Spark Connect's `range` to match with the legacy behaviour of the regular PySpark's `range`. -- 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]
