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

Specify ts resolution explicitly in test_processing_chain #7744

Merged
merged 1 commit into from
Apr 5, 2023
Merged

Specify ts resolution explicitly in test_processing_chain #7744

merged 1 commit into from
Apr 5, 2023

Conversation

phofl
Copy link
Collaborator

@phofl phofl commented Apr 4, 2023

Closes #xxxx

  • Tests added / passed
  • Passes pre-commit run --all-files

With pandas 2.0 the resolution is inferred based on the resolution of the np.datetime scalar. This results in s resolution, but pyarrow loses said resolution when roundtripping (apache/arrow#33321). Sensible fix here is to specify ns resolution.

@phofl phofl requested a review from fjetter as a code owner April 4, 2023 10:09
@GPUtester
Copy link
Collaborator

Can one of the admins verify this patch?

Admins can comment ok to test to allow this one PR to run or add to allowlist to allow all future PRs from the same author to run.

@github-actions
Copy link
Contributor

github-actions bot commented Apr 4, 2023

Unit Test Results

See test report for an extended history of previous test failures. This is useful for diagnosing flaky tests.

       26 files  ±0         26 suites  ±0   14h 5m 18s ⏱️ - 41m 0s
  3 546 tests ±0    3 434 ✔️  -   1     106 💤 ±0    5 ±  0  1 🔥 +1 
44 859 runs  +1  42 609 ✔️ +11  2 234 💤  - 1  15  - 10  1 🔥 +1 

For more details on these failures and errors, see this check.

Results for commit a0a7164. ± Comparison against base commit dac5923.

@jrbourbeau
Copy link
Member

add to allowlist

@phofl
Copy link
Collaborator Author

phofl commented Apr 4, 2023

Outstanding failure is related to join

@jrbourbeau jrbourbeau changed the title TST: Specify ts resolution explicitly in test_processing_chain Specify ts resolution explicitly in test_processing_chain Apr 5, 2023
Copy link
Member

@jrbourbeau jrbourbeau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @phofl! #7747 should take care of the merge-related failures

@jrbourbeau jrbourbeau merged commit b8dfda1 into dask:main Apr 5, 2023
@phofl phofl deleted the tst_datetime_reso_fix branch April 5, 2023 15:12
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

Successfully merging this pull request may close these issues.

4 participants