-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
0.31.0 DATE/DATETIME filtering produces error #8932
Comments
Have updated to 0.31.0 and question builder questions using DATETIME filters are broken. Filters using DATE field work. |
DATE field filters work in Question Builder. Filters for custom sql questions seem to work as before. |
@bcbob Are you also querying BigQuery? Haven't been able to reproduce this so far with the Created At field in the Sample Dataset, which is a DATETIME field in an H2 DB. |
Confirming DATE does fail (with BigQuery):
Happy to help debug where possible. |
The problem I’m having is not identical to this. I’m querying MySQL. Question builder queries using datetime filters are no longer producing results on 0.31.0. However, dashboard date filters linked to question builder queries fail both with date and datetime types. I’m referring to long existing questions and dashboards that worked smoothly on earlier versions and now simply do not produce results. The problem I’m referring to does not produce an error. Just no results where there were results before. |
I feel like this issue might be related to #8927 |
I'm having trouble reproducing this still. I've tried both with MySQL and BigQuery DBs, with both GUI and SQL questions, both in the query builder and in dashboards, but the only issue I've reproduced is the one reported in #8927. All of my tests have been with new questions though, so I can try creating some questions in an app db with an old version and then upgrading it. Otherwise I'm stumped. Let me know if you have any ideas, @camsaul or @tlrobinson. |
We are having the same issue. The solution for us was to just take the filter out of the Dashboard altogether. Is there some way for us to grab exactly what you need to reproduce? Is there log information or something else that would help? I did try removing the question from the dashboard and re-adding the same question, and it appeared to work for a few minutes. It started failing again soon after. |
I know the problem
0.30.4
In 0.31.0 they didn't use timestamp_trunc again for I wonder which files or lines being refactored from 0.30.4 in 0.31.0? |
Hi Guys, Has anyone found a solution to this as yet? will the fix only be available in the new version? |
@lukecarazzo We just released an updated version with a bunch of bug fixes, 0.31.1, available here, which contains #8973 which we believe should fix this issue. |
Thanks so much. |
This particular date problem may be solved. But on 0.31.1 my dashboard date filters are still broken for GUI question builder questions. There is a "! There was a problem displaying this chart" error on each card on the dashboard. Clicking through to the underlying question passes through the date filter correctly and produces the correct result. |
I use the custom install metabase.jar on windows server. Do you perhaps have a link to the new version in the jar format. |
My date filters are also broken even with the latest version applied. I have the same issue as @bcbbob. If I revert back to older version. My date filters work. |
My dashboard date filters for GUI questions are broken for single date type filters. (but this of course breaks custom sql questions on the dashboard that expect a single date type variable to be passed through) |
ps: this problem can be re-created on the sample dataset. For example, create a simple GUI raw data question on the ORDERS table. Try filtering for orders on 11 Feb 2019. |
Great news that this issue is fixed and closed. |
Yay. So excited. Can't wait to test all the new functionality. I had to stay on the older version due to this issue. |
Dashboard date filters still broken for query builder questions on 0.31.2 😌 |
I've just upgraded to v0.31.0 and have found an issue when trying to run (new and existing) reports with date filters, specifically when using Before/After, Between, and On:
Before/After:
Between:
The columns being filtered are either
DATE
andDATETIME
types.The text was updated successfully, but these errors were encountered: