From 336a1064d63a3952ffd8ed69b65d6c3d1f8af3d9 Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Mon, 26 Mar 2018 09:44:37 -0700 Subject: [PATCH] CRUD hints around SQL expressions (#4645) * CRUD hints around SQL expressions * Addressing comment --- superset/connectors/sqla/views.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/superset/connectors/sqla/views.py b/superset/connectors/sqla/views.py index 8398cbcbd..b66747503 100644 --- a/superset/connectors/sqla/views.py +++ b/superset/connectors/sqla/views.py @@ -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 ' + 'underlying backend. Example: `substr(name, 1, 1)`', True), 'python_date_format': utils.markdown(Markup( 'The pattern of timestamp format, use ' '