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

error importing timestamp #18

Open
diramazioni opened this issue Oct 21, 2023 · 0 comments
Open

error importing timestamp #18

diramazioni opened this issue Oct 21, 2023 · 0 comments

Comments

@diramazioni
Copy link

H,, I'm trying to load some tables that has timestamp expressed in milliseconds, this results in an error:

psycopg.errors.DatetimeFieldOverflow: date/time field value out of range: "1692352800000"
HINT:  Perhaps you need a different "datestyle" setting.
CONTEXT:  COPY Device, line 1, column timestamp: "1692352800000"

How can I recover this? I don't mind to /1000 but I don't know how to do it, and if this would eventually solve the issue.

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

No branches or pull requests

1 participant