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

feat: support microseconds DateTime64(6) fields via Vector sink #44

Draft
wants to merge 1 commit into
base: release
Choose a base branch
from

Conversation

bryanlandia
Copy link

@bryanlandia bryanlandia commented Aug 31, 2024

incomplete PR as of now

Use rfc3339 with date_time_best_effort
the Vector change is non-breaking... you can still store into plain DateTime if you don't want to change the columns to DateTime64

If you want to take this feature, let me know how you want to handle the migration part ( updating time columns to DateTime64(6) ) and I can help implement; i.e., single migration as 0014? The tricky part is that you have to duplicate, insert from old to new, and drop the old tables to modify a column used as a key (time being the main ordering key in the tables).

I've done that on an installation with 1.2B rows in _tracking but it's not a straightforward operation.

Re: #42

use rfc3339 with date_time_best_effort
non-breaking... can still store into plain DateTime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

1 participant