-
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
Frontend crashes when using a custom column on a nested query #18814
Comments
Regression since 0.40.0 - works on 0.39.5 |
Is there a way to workaround this without downgrading to 0.39.5 (which makes me uncomfortable going from 0.41). We have a couple visualizations that are experiencing this issue. Is there a planned version for a fix? Thanks! |
Not currently. I would suggest you do a native sql question instead of downgrading which could cause very unexpected consequences |
Given this is a frontend issue (since the query does actually return data), will a native query still work? |
@spectorar Yes, since the problem comes from the Notebooks handling of the field references, which doesn't exist in SQL. |
The error thrown by the front-end, because our Next step: teach |
Describe the bug
When building a nested query with a custom column, the frontend crashes when doing a "group by" by this column on the second stage of the question
Logs
No logs on the backend, the frontend crashes with
react-dom.production.min.js:209 TypeError: a.mbql is not a function
react-dom.production.min.js:50 Uncaught Error: Minified React error #188; visit https://reactjs.org/docs/error-decoder.html?invariant=188 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
To Reproduce
Expected behavior
It should show the result, in fact the preview works correctly, but when you click in visualize it won't work
Screenshots
Information about your Metabase Installation:
Severity
How severe an issue is this bug to you? Is this annoying, blocking some users, blocking an upgrade or blocking your usage of Metabase entirely?
Note: the more honest and specific you are here the more we will take you seriously.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: