john-bodley commented on a change in pull request #9366: deprecate groupby
controls in query_obj
URL:
https://github.com/apache/incubator-superset/pull/9366#discussion_r407583873
##########
File path: superset/connectors/druid/models.py
##########
@@ -1188,7 +1189,12 @@ def run_query( # druid
)
# the dimensions list with dimensionSpecs expanded
- dimensions = self.get_dimensions(groupby, columns_dict)
+
+ if IS_SIP_38:
Review comment:
This could be condensed to,
```python
dimensions = self.get_dimensions(columns if IS_SIP_38 else groupby,
columns_dict)
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]