mirror of https://github.com/apache/superset.git
[hotfix] SqlaTable has no attribute column_cls
This commit is contained in:
parent
7d25d171e2
commit
62e3fe2345
|
@ -1775,8 +1775,8 @@ class Superset(BaseSupersetView):
|
|||
for column_name, config in data.get('columns').items():
|
||||
is_dim = config.get('is_dim', False)
|
||||
SqlaTable = ConnectorRegistry.sources['table']
|
||||
TableColumn = SqlaTable.column_cls
|
||||
SqlMetric = SqlaTable.metric_cls
|
||||
TableColumn = SqlaTable.column_class
|
||||
SqlMetric = SqlaTable.metric_class
|
||||
col = TableColumn(
|
||||
column_name=column_name,
|
||||
filterable=is_dim,
|
||||
|
|
Loading…
Reference in New Issue