mirror of
https://github.com/apache/superset.git
synced 2026-05-10 10:25:51 +00:00
This commit is contained in:
committed by
Michael S. Molina
parent
1d403dab98
commit
c216b3efdf
@@ -285,11 +285,10 @@ class QueryContextProcessor:
|
||||
datasource = self._qc_datasource
|
||||
labels = tuple(
|
||||
label
|
||||
for label in {
|
||||
for label in [
|
||||
*get_base_axis_labels(query_object.columns),
|
||||
*[col for col in query_object.columns or [] if isinstance(col, str)],
|
||||
query_object.granularity,
|
||||
}
|
||||
]
|
||||
if datasource
|
||||
# Query datasource didn't support `get_column`
|
||||
and hasattr(datasource, "get_column")
|
||||
|
||||
Reference in New Issue
Block a user