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

remove warning filter for datetime.datetime.utcfromtimestamp #1349

Open
kevinjqliu opened this issue Nov 20, 2024 · 0 comments
Open

remove warning filter for datetime.datetime.utcfromtimestamp #1349

kevinjqliu opened this issue Nov 20, 2024 · 0 comments

Comments

@kevinjqliu
Copy link
Contributor

Apache Iceberg version

None

Please describe the bug 🐞

datetime.datetime.utcfromtimestamp is deprecated starting from 3.12
https://docs.python.org/3.12/library/datetime.html#datetime.datetime.utcfromtimestamp

Pyspark still use datetime.datetime.utcfromtimestamp, which was recently changed apache/spark@8e02a64#diff-bb02965370d515ec7add7967bc949c18c88ffc7346cceaebefb84907dfdce903L437 and will be available in version 4.0

Need to keep the warning filter until pyspark 4.0

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