Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

to_datetime() throws a warning about UDFs #2197

Open
ChuckConnell opened this issue Sep 3, 2021 · 0 comments
Open

to_datetime() throws a warning about UDFs #2197

ChuckConnell opened this issue Sep 3, 2021 · 0 comments

Comments

@ChuckConnell
Copy link

The first time I call to_datetime() in a Databricks notebook, it throws the warning: In Python 3.6+ and Spark 3.0+, it is preferred to specify type hints for pandas UDF instead of specifying pandas UDF type, which will be deprecated in the future releases. See SPARK-28264 for more details.

But this may be an incorrect warning, since to_datetime() does not seem to relate to SPARK-28264.

The warning does not happen when the same code is run again in the same notebook session.

This issue is partly addressed in #2044, but is not really answered there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant