bryanck commented on a change in pull request #12674: URL: https://github.com/apache/superset/pull/12674#discussion_r563179826
########## File path: superset/charts/commands/data.py ########## @@ -82,6 +82,10 @@ def set_query_context(self, form_data: Dict[str, Any]) -> QueryContext: except ValidationError as error: raise error + for query in self._query_context.queries: + if query.row_limit and query.metrics and not query.orderby: + query.orderby = [(query.metrics[0], False)] Review comment: If no one else has a problem with this, you can go ahead and close it and we'll patch it on our side. ---------------------------------------------------------------- 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: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org