Skip to content
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

Fix templating in sqla datasource [has migration] #4971

Merged
merged 3 commits into from
May 10, 2018
Merged

Fix templating in sqla datasource [has migration] #4971

merged 3 commits into from
May 10, 2018

Conversation

villebro
Copy link
Member

@villebro villebro commented May 9, 2018

Template parameters entered in SQL Lab were not persisted in the database. A new column template_params is added to the tables table and is passed on to the template_kwargs prior to rendering. Fixes #4970

Template parameters entered in SQL Lab were not persisted
in the database. A new column template_params is added to the
tables table, and is passed on to the template_kwargs prior
to rendering.
@mistercrunch
Copy link
Member

LGTM apart from the build issues.

@codecov-io
Copy link

Codecov Report

Merging #4971 into master will increase coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4971      +/-   ##
==========================================
+ Coverage   77.03%   77.05%   +0.02%     
==========================================
  Files          44       44              
  Lines        8595     8603       +8     
==========================================
+ Hits         6621     6629       +8     
  Misses       1974     1974
Impacted Files Coverage Δ
superset/connectors/sqla/views.py 70.47% <ø> (ø) ⬆️
superset/connectors/sqla/models.py 76.42% <100%> (+0.09%) ⬆️
superset/models/helpers.py 87.76% <100%> (+0.26%) ⬆️
superset/views/core.py 74.66% <100%> (+0.03%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 918399d...0839026. Read the comment docs.

@mistercrunch mistercrunch changed the title Fix templating in sqla datasource Fix templating in sqla datasource [has migration] May 10, 2018
@mistercrunch mistercrunch merged commit af4dd59 into apache:master May 10, 2018
michellethomas pushed a commit to michellethomas/panoramix that referenced this pull request May 24, 2018
Fix templating in sqla datasource [has migration]
timifasubaa pushed a commit to timifasubaa/incubator-superset that referenced this pull request May 31, 2018
Fix templating in sqla datasource [has migration]
wenchma pushed a commit to wenchma/incubator-superset that referenced this pull request Nov 16, 2018
Fix templating in sqla datasource [has migration]
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.26.0 labels Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.26.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Templating using parameters in SQL Lab broken
3 participants