-
Notifications
You must be signed in to change notification settings - Fork 92
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
current week returns result, but "past month" returns nothing #164
Comments
also
|
@slvrtrn could you take a look? it seems like you have a pr, but not sure if it is related. |
@taylorchu, I will have a look once I am back (next week). |
@taylorchu, I checked it with 1.1.6, and it seems to be working as expected. Note that there is an option to include the current month in the result set, and it generates two different queries based on that: Without "include this month" (May will be excluded):
With "include this month" (May will be included):
^ see the difference in the upper bound
vs
My dataset was defined like the following:
if the issue is still reproducible on your end using 1.1.6, even with "include this month" enabled, can you please share the minimal dataset that can help me investigate this issue? |
yes. this is still reproduced in 1.1.6. My timestamp column is
|
@taylorchu, after some investigation, it turned out this is due to the issue related to ClickHouse itself: ClickHouse/ClickHouse#50353 There is a workaround available, I will check if it's possible to squeeze it into the |
@taylorchu, there is a PR that fixes this odd behavior on the CH server side: ClickHouse/ClickHouse#50280. |
Thanks! it seems like a critical bug. |
After updating to 23.5, "quarter" and "year" still do not work, but the others do. |
Actually that is because I did not include "current quarter and year". This is now fixed. |
Describe the bug
current week returns result, but "past 1 month" returns nothing.
it seems the result is inconsistent across timestamp filter.
Steps to reproduce
Expected behaviour
filtering by time works.
Error log
Configuration
Environment
ClickHouse server
The text was updated successfully, but these errors were encountered: