GitHub user Lazycatsu created a discussion: Using Redis to save some custom
data.
What I have. A have a lot of datasets, where I use, for example, one table. I
want to rename this table in one place and it have to be changed everywhere.
My proposal:
1) Use table name as macros. Something like that:
```
{% var_tab = get_table_name("my_table") %}
SELECT my_column
FROM {{ var_tab }}
```
2) add macro function get_table_name(tab) in superset_config.py
3) for the purpose not create everytime connection to db and use fastest
working - use Redis (now it used for cache) and just add my fixed keys
The problem is - how can I get existing client of Redis ??
GitHub link: https://github.com/apache/superset/discussions/36674
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]