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 toTime()'s epoch starts at 1970-01-*02* #2596
Comments
It is implementation, however quite unexpected. |
Why do you expect it should use another day? From documentation:
1970-01-02 is definitely 'certain fixed date', isn't it? :) 1970-01-01 has a special meaning in clickhouse. It's 'out of the range' date, printed as '0000-00-00'. toTime is supposed to be able to compare / group times in >=2 different days. Why are you interested in absolute values of that? |
We use |
However, the function name |
It looks like this toTime() leads to wrong result
Clues:
Version info
The text was updated successfully, but these errors were encountered: