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

Support TIMESTAMP_NS, TIMESTAMP_MS & TIMESTAMP_S types #283

Open
JelteF opened this issue Oct 14, 2024 · 0 comments
Open

Support TIMESTAMP_NS, TIMESTAMP_MS & TIMESTAMP_S types #283

JelteF opened this issue Oct 14, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@JelteF
Copy link
Collaborator

JelteF commented Oct 14, 2024

DuckDB has timestamp types with different precisions. We should support conversion from/to those types. TIMESTAMP_NS is probably the most challenging, since postgres does not have a native timestamp type with nanosecond precision. It seems better to truncate/round the nanoseconds to microseconds though than to not support them at all.

Related to #228, which tracks adding TIMESTAMP WITH TIME ZONE.

@JelteF JelteF added the enhancement New feature or request label Oct 14, 2024
@JelteF JelteF added this to the 0.2.0 milestone Oct 14, 2024
@JelteF JelteF modified the milestones: 0.2.0, 0.3.0 Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant