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

Update Superset documentation and configuration to work with current images #455

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ class CeleryConfig(object):
AUTH_TYPE = AUTH_OID
OIDC_CLIENT_SECRETS = curr + '/docker/pythonpath_dev/client_secret.json'
OIDC_ID_TOKEN_COOKIE_SECURE = False
OIDC_REQUIRE_VERIFIED_EMAIL = False
OIDC_OPENID_REALM = get_env_variable('OIDC_OPENID_REALM')
OIDC_INTROSPECTION_AUTH_METHOD = 'client_secret_post'
CUSTOM_SECURITY_MANAGER = OIDCSecurityManager
Expand Down
3 changes: 2 additions & 1 deletion dev-resources/superset_demo/superset/requirements-local.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
itsdangerous==2.0.1
flask-oidc
flask_openid
flask_openid
psycopg2-binary
12 changes: 9 additions & 3 deletions doc/superset.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,11 @@ docker run -v "$(pwd)"/dev-resources:/dev-resources \
-it \
--rm \
yetanalytics/datasim:latest \
generate post \
-i /dev-resources/input/simple.json \
-E http://host.docker.internal:8080/xapi \
-U my_key \
-P my_secret \
generate post

-P my_secret
```

### Log In to Superset
Expand Down Expand Up @@ -90,6 +89,13 @@ Explore SQL LRS in SQL Lab:

![SQL lab](images/superset/6_sql_explorer.png)

``` sql
SELECT payload->'actor'->>'name' as actor_name,
COUNT(DISTINCT id)
FROM xapi_statement
GROUP BY payload->'actor'->>'name'
```

Create a chart:

![Create chart](images/superset/7_create_chart.png)
Expand Down