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

Fix issue with "to_date" failing to process dates later than year 2262 #12227

Merged
merged 11 commits into from
Sep 6, 2024

Commits on Aug 28, 2024

  1. Fix to_date: Support date values greater than year 2262

    Due to using nanoseconds as an intermediate state, the values for dates processed via "to_date" cannot be later than the year 2262. The Arrow datatype for Date32 and Date64 supports much larger values.
    
    The statements in some areas in the code that the usage of nanoseconds is imposed by Arrow is simply wrong. The Date32 type stores the number of days since epoch. The Date64 type stores the milliseconds (NOT nanoseconds) since epoch. Both Date32 and Date64 can therefore massively exceed the year 2262.
    See: https://arrow.apache.org/docs/cpp/api/datatype.html
    MartinKolbAtWork committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    6dcaf91 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2024

  1. Configuration menu
    Copy the full SHA
    caaa044 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e1abab0 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2024

  1. Configuration menu
    Copy the full SHA
    88d7a15 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1128d0e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9300c9a View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2024

  1. Configuration menu
    Copy the full SHA
    55fd280 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2024

  1. Configuration menu
    Copy the full SHA
    d013965 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2024

  1. Configuration menu
    Copy the full SHA
    26c1d8f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aaedb25 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2024

  1. Configuration menu
    Copy the full SHA
    e78d750 View commit details
    Browse the repository at this point in the history