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

WIP: Handle timestamp conversions from nanosecond to microseconds on write #1287

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

rtyler
Copy link
Member

@rtyler rtyler commented Apr 14, 2023

This is a work in progress

rtyler added 3 commits April 13, 2023 20:19
This test currently fails because the RecordBatchWriter doesn't like the
difference between Timestamps:

---- writer::record_batch::tests::test_write_batch_with_timestamps stdout ----
thread 'writer::record_batch::tests::test_write_batch_with_timestamps' panicked at 'called `Result::unwrap()` on an `Err` value: InvalidArgumentError("column types must match schema types, expected Timestamp(Microsecond, None) but found Timestamp(Nanosecond, None) at column index 1")', rust/src/writer/record_batch.rs:507:101
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
@github-actions github-actions bot added binding/rust Issues for the Rust crate rust labels Apr 14, 2023
@rtyler rtyler added this to the Correct timestamp handling milestone Oct 26, 2023
@ion-elgreco
Copy link
Collaborator

@rtyler can we close this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binding/rust Issues for the Rust crate rust
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants