-
Notifications
You must be signed in to change notification settings - Fork 120
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
validate column: PostgreSQL exception with --wildcard-include-timestamp and old timestamps #1390
Comments
My first thought was that we could change the expression used from:
to:
That allows the SQL statement to finish successfully. But unfortunately it has the effect of changing the result from a Python |
I think we ultimately have to override this expression with the BIGINT version. The natural solution to issue 1391 is to cast the output of any SUM aggregations to string which would then deal with the side effect of this proposed solution. It's a shame that Python Decimal is being coerced to float by Ibis/Pandas. |
I've started adding tests across supported engines and we have a problem with Teradata and SQL Server too.
SQL Server:
|
SQL Server research:
|
PostgreSQL test table (note the old date used):
Test command:
PostgreSQL test:
The number of seconds between 1901 and the Unix epoch overflows a 32 bit integer.
The same would be true of dates far beyond the Unix epoch, for example 9999-12-31, which is sometimes used in applications as a placeholder for an open ended date range.
The text was updated successfully, but these errors were encountered: