mirror of
https://github.com/apache/superset.git
synced 2026-04-17 23:25:05 +00:00
This commit is contained in:
@@ -282,11 +282,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