-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
Conversation
Codecov Report
@@ 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
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
superset/connectors/sqla/views.py
Outdated
@@ -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 ' |
There was a problem hiding this comment.
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.
* CRUD hints around SQL expressions * Addressing comment
* CRUD hints around SQL expressions * Addressing comment
No description provided.