Skip to content

fix: make the type transformer consistent with scalar units #107

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

Merged
merged 1 commit into from
Aug 30, 2023

Conversation

mnorbury
Copy link
Collaborator

No description provided.

@@ -41,7 +41,7 @@ private static ArrowType transformArrowType(String name, Class<?> type)
return InetType.INSTANCE;
}
case "java.time.LocalDateTime" -> {
return new ArrowType.Timestamp(TimeUnit.MICROSECOND, null);
return Timestamp.dt;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The scalar base unit was changed to milliseconds, this has to be consistent.

@mnorbury mnorbury added the automerge Add to automerge PRs once requirements are met label Aug 29, 2023
@mnorbury mnorbury requested a review from erezrokah August 29, 2023 13:34
@kodiakhq kodiakhq bot merged commit 0428c7d into main Aug 30, 2023
@kodiakhq kodiakhq bot deleted the fix/use-same-vector-as-timestamp-type branch August 30, 2023 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Add to automerge PRs once requirements are met
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants