Skip to content

Support for dates older than Sep 21, 1677 #2536

@iarizex

Description

@iarizex

Problem Description

When I have dates older than Sep 21, 1677 in my dataset and try to process them as datetime, SDV complains with an error such as:

InvalidDataError: The provided data does not match the metadata:
Invalid values found for datetime column 'dateOfBirth': [15550217, 16560130].

Expected behavior

I would like SDV to support dates older than Sep 21, 1677.

Additional context

I know that SDV is ultimately trying to read datetime using a 64-bit format, being Sep 21, 1677 the earliest time that can be represented in 64-bit format. But it would be nice to be able to handle older dates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions