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

Ensure dask-deltatable can write datetimes with different resolution #39

Merged
merged 1 commit into from
Jul 12, 2023

Conversation

j-bennet
Copy link
Collaborator

@j-bennet j-bennet commented Jul 10, 2023

Make sure users can write datetimes with different resolution. Note: the resolution is not preserved by deltalake.

Also updated docstring for to_deltalake (pretty much copied from https://github.com/delta-io/delta-rs/blob/e5dd8e2167b94e6856aa531d878584397d5bea69/python/deltalake/writer.py#L142-L342).

Closes #38.

cc @fjetter

@codecov-commenter
Copy link

codecov-commenter commented Jul 10, 2023

Codecov Report

Merging #39 (43f38ad) into main (fa03f1e) will increase coverage by 0.60%.
The diff coverage is 86.66%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##             main      #39      +/-   ##
==========================================
+ Coverage   73.28%   73.89%   +0.60%     
==========================================
  Files           4        4              
  Lines         307      318      +11     
==========================================
+ Hits          225      235      +10     
- Misses         82       83       +1     
Impacted Files Coverage Δ
dask_deltatable/write.py 63.85% <71.42%> (+0.10%) ⬆️
dask_deltatable/_schema.py 63.41% <100.00%> (+2.54%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@jrbourbeau jrbourbeau mentioned this pull request Jul 11, 2023
@fjetter fjetter merged commit d897cb1 into dask-contrib:main Jul 12, 2023
13 checks passed
@j-bennet j-bennet deleted the j-bennet/write-datetimes branch July 12, 2023 15:27
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.

Handle timestamps other than datetime64[us]
3 participants