This is an automated email from the ASF dual-hosted git repository.
beto pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
The following commit(s) were added to refs/heads/master by this push:
new 2731a01 fix metadata cache bug (#6458)
2731a01 is described below
commit 2731a010ca9ea819f37d23f33dcbd9b635bbe618
Author: Junda Yang <[email protected]>
AuthorDate: Wed Nov 28 15:15:28 2018 -0800
fix metadata cache bug (#6458)
---
superset/models/core.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/superset/models/core.py b/superset/models/core.py
index d7c71d2..712de78 100644
--- a/superset/models/core.py
+++ b/superset/models/core.py
@@ -911,7 +911,7 @@ class Database(Model, AuditMixinNullable, ImportMixin):
return tables
@cache_util.memoized_func(
- key=lambda *args, **kwargs: 'db:{{}}:schema:{}:table_list'.format(
+ key=lambda *args, **kwargs: 'db:{{}}:schema:{}:view_list'.format(
kwargs.get('schema')),
attribute_in_key='id')
def all_view_names_in_schema(self, schema, cache=False,