-
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
Cannot convert SQL question with Snippet to Model #20963
Comments
Hey, |
@flamber I forgot what's the solution we want for this? Is it that
But based on the workaround you described
I assume it's 1. As the end result of the workaround is like allowing creating a model with static snippets. |
* Add repro for #20963 * Fix cannot convert question with snippets to models
* Add repro for #20963 * Fix cannot convert question with snippets to models
I am getting this error when I am not using snippets. Is there another thread on that issue somewhere? |
@amorrissey-veho If you aren't using snippets, then you are likely using other variables. Please use the forum for questions and troubleshooting: https://discourse.metabase.com/ |
Describe the bug
Cannot convert SQL question with Snippet to Model
Workaround - remove the snippets, save the question, then convert to Model, then edit the query definition and add the snippets.
To Reproduce
'test'
and add it to the editor, so the query is something like this:select {{snippet: String 'test'}}
Variables in models aren't supported yet
, and says that snippets are allowedInformation about your Metabase Installation:
Tested 0.42.0 thru 0.42.2
The text was updated successfully, but these errors were encountered: