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

[C++][Gandiva] Fix TO_TIMESTAMP(INTEGER) function for big integer values #32076

Closed
asfimport opened this issue Jun 2, 2022 · 1 comment
Closed

Comments

@asfimport
Copy link

When to_timestamp function gets a big value, the function returns an incorrect date due integer overflow:

  • TO_TIMESTAMP(1626255099[INT32]) -> '1969-12-14 04:54:53.816'

     

    The correct response should be:

  • TO_TIMESTAMP(1626255099[INT32]) -> '2021-07-14 09:31:39'

Reporter: Anthony Louis Gotlib Ferreira / @anthonylouisbsb
Assignee: Anthony Louis Gotlib Ferreira / @anthonylouisbsb

PRs and other links:

Note: This issue was originally created as ARROW-16738. Please see the migration documentation for further details.

@asfimport
Copy link
Author

Anthony Louis Gotlib Ferreira / @anthonylouisbsb:
Issue solved by the: #13298

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

No branches or pull requests

1 participant