villebro opened a new issue #4970: Templating using parameters in SQL Lab broken URL: https://github.com/apache/incubator-superset/issues/4970 Make sure these boxes are checked before submitting your issue - thank you! - [x] I have checked the superset logs for python stacktraces and included it here as text if any - [x] I have reproduced the issue with at least the latest released version of superset - [x] I have checked the issue tracker for the same issue and I haven't found one similar ### Superset version master ### Expected results When creating a new datasource via SQL Lab that relies on template parameters, the query should work in a chart similarly to how it works in the preview. ### Actual results The template parameters are not persisted in the database, nor does the rendered query work. ### Steps to reproduce 1. create a datasource that is reliant on a template parameter, e.g. `select * from {{ tbl }}`, with parameters `{"tbl": "tables"}`. 2. Click `Run Query` to verify that the query works. 3. Click `Visualize` and proceed to the chart by pressing `Visualize` again. 4. Get an error.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
