kgabryje commented on a change in pull request #15019:
URL: https://github.com/apache/superset/pull/15019#discussion_r647383053
##########
File path: docs/src/pages/docs/installation/sql_templating.mdx
##########
@@ -87,3 +87,144 @@ FEATURE_FLAGS = {
The available validators and names can be found in
[sql_validators](https://github.com/apache/superset/tree/master/superset/sql_validators).
+
+### Available Macros
+
+In this section, we'll walkthrough the pre-defined Jinja macros in Superset.
+
+**Current Username**
+
+The `{{ current_username() }}` macro returns the username of the currently
logged in user.
+
+**Current User ID**
+
+The `{{ current_uer_id()}}` macro returns the user_id of the currently logged
in user.
Review comment:
```suggestion
The `{{ current_user_id() }}` macro returns the user_id of the currently
logged in user.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]