Skip to content
This repository was archived by the owner on Dec 3, 2019. It is now read-only.
This repository was archived by the owner on Dec 3, 2019. It is now read-only.

Timestamp decoder/encoder does not support infinity #247

Description

@cornerman

In postgres, there are some special date/time/timestamp values like infinity and -infinity (see https://www.postgresql.org/docs/current/static/datatype-datetime.html#DATATYPE-DATETIME-SPECIAL-TABLE). These can also show up as values in a column.

When decoding special timestamp values like infinity the decoder throws an IllegalArgumentException with "invalid format: infinity".

Can we support this?

Maybe related for having a proper counter part in the joda data types: https://sourceforge.net/p/joda-time/feature-requests/79/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions