-
Notifications
You must be signed in to change notification settings - Fork 759
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
Datetime type attempt to multiply with overflow
from chrono
#4874
Comments
MySQL:
|
DateTime64 should be used, https://github.com/datafuselabs/databend/blob/2f6447a45fc893725c2436bbecc6bf6d0e25406f/docs/doc/30-reference/10-data-types/20-data-type-time-date-types.md And it's better to throw errors rather than panic. |
Right, this issue prefer an error not panic with all time type. |
We need to check the maximum number before applying
|
Need Min and Max bound checking. |
Note: |
if we use nano second as the deep precision, the range for |
We should have a union ranges that covers |
Summary
Server error log:
The text was updated successfully, but these errors were encountered: