Skip to content

[Bug] not handle negative values when process the accuracy range of datetime #585

Open
@IKAZUCHI-Akira

Description

@IKAZUCHI-Akira

Search before asking

  • I had searched in the issues and found no similar issues.

Version

Apache Doris: 2.1.6
Flink: 1.20
flink-doris-connector: 1.20-25.1.0-SNAPSHOT

What's Wrong?

When using Flink to read Doris' datetime type field, if the long value of the datetime is negative, an exception will occur because accuracy has not been processed.
Expection:java.time.DateTimeException: Instant exceeds minimum or maximum instant

What You Expected?

Properly handle datetime accuracy

How to Reproduce?

No response

Anything Else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions