zero323 commented on pull request #34374: URL: https://github.com/apache/spark/pull/34374#issuecomment-950393769
> Dumb question, since I don't know the python type hint system - does this potentially break any code? I think some of this was released in 3.2.0 (right?) so just checking if it can have any user-facing impact. It is a great question. Hints were released in 3.1.0 and been around unofficially for a while. In general type hints are used only for static validation and should have no impact on runtime, under normal conditions. Under normal conditions, because it is hard to predict how one can use annotations in practice (for example, PySpark vectorized UDFs used hints for runtime type inference, even before stubs were merged). Nevertheless, as far as I am aware, neither this, or any other type annotations change, should break user applications or any widely used 3rd party extension. -- 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]
