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

[BUG] test_cast_timestamp_to_date fails with TZ=Asia/Hebron #10170

Closed
andygrove opened this issue Jan 9, 2024 · 3 comments · Fixed by #10171
Closed

[BUG] test_cast_timestamp_to_date fails with TZ=Asia/Hebron #10170

andygrove opened this issue Jan 9, 2024 · 3 comments · Fixed by #10171
Assignees
Labels
bug Something isn't working

Comments

@andygrove
Copy link
Contributor

Describe the bug

FAILED ../../src/main/python/cast_test.py::test_cast_timestamp_to_date[DATAGEN_SEED_OVERRIDE=1704816489] - pyspark.sql.utils.IllegalArgumentException: Part of the plan is not columnar class org.apache.spark.sql.execution.ProjectExec

Steps/Code to reproduce bug

export TZ=Asia/Hebron
./integration_tests/run_pyspark_from_build.sh -k test_cast_timestamp_to_date

Expected behavior

Environment details (please complete the following information)
CI and local workstation. Spark 3.1.1

Additional context

@andygrove andygrove added bug Something isn't working ? - Needs Triage Need team to review and classify labels Jan 9, 2024
@andygrove
Copy link
Contributor Author

andygrove commented Jan 9, 2024

Reverting #10100 resolved this for me locally, although I wonder if this PR is the cause or whether it is a combination of recently merged PRs that caused this.

@NVnavkumar

@NVnavkumar NVnavkumar self-assigned this Jan 9, 2024
@NVnavkumar
Copy link
Collaborator

NVnavkumar commented Jan 9, 2024

This timezone actually uses DST, so the test should be skipped in this scenario, will investigate.

@NVnavkumar
Copy link
Collaborator

I see the issue, will post a PR in a bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants