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

CRUD hints around SQL expressions #4645

Merged
merged 2 commits into from Mar 26, 2018
Merged

Conversation

mistercrunch
Copy link
Member

No description provided.

@codecov-io
Copy link

codecov-io commented Mar 19, 2018

Codecov Report

Merging #4645 into master will increase coverage by 0.14%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4645      +/-   ##
==========================================
+ Coverage   71.23%   71.37%   +0.14%     
==========================================
  Files         190      190              
  Lines       14884    14918      +34     
  Branches     1099     1102       +3     
==========================================
+ Hits        10602    10648      +46     
+ Misses       4279     4267      -12     
  Partials        3        3
Impacted Files Coverage Δ
superset/connectors/sqla/views.py 71.56% <ø> (ø) ⬆️
superset/connectors/druid/models.py 76.35% <0%> (+0.03%) ⬆️
superset/utils.py 87.96% <0%> (+0.13%) ⬆️
...set/assets/javascripts/explore/stores/controls.jsx 37.77% <0%> (+0.18%) ⬆️
superset/viz.py 79.62% <0%> (+1.15%) ⬆️
...sets/javascripts/SqlLab/components/QuerySearch.jsx 69.15% <0%> (+1.76%) ⬆️
superset/assets/javascripts/modules/utils.js 48.2% <0%> (+3.58%) ⬆️

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 5c98f56...ecf1b04. Read the comment docs.

Copy link
Member

@betodealmeida betodealmeida left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@@ -57,8 +57,8 @@ class TableColumnInlineView(CompactCRUDMixin, SupersetModelView): # noqa
'expression-defined columns in some cases. In most case '
'users should not need to alter this.'),
'expression': utils.markdown(
'a valid SQL expression as supported by the underlying backend. '
'Example: `substr(name, 1, 1)`', True),
'a valid, non-aggregating SQL expression as supported by the '
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: use stars around "non-aggregating", for consistency with the other chance below.

@mistercrunch mistercrunch merged commit 336a106 into apache:master Mar 26, 2018
@mistercrunch mistercrunch deleted the hint_agg branch March 26, 2018 16:44
michellethomas pushed a commit to michellethomas/panoramix that referenced this pull request May 24, 2018
* CRUD hints around SQL expressions

* Addressing comment
wenchma pushed a commit to wenchma/incubator-superset that referenced this pull request Nov 16, 2018
* CRUD hints around SQL expressions

* Addressing comment
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.25.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.25.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants