You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "Purush0th (via GitHub)" <gi...@apache.org> on 2024/01/08 07:40:39 UTC

Re: [I] The second page of drill-to-detail with MSSQL data source errors"requires an order_by when using an OFFSET or a non-simple LIMIT clause" [superset]

Purush0th commented on issue #24072:
URL: https://github.com/apache/superset/issues/24072#issuecomment-1880508287

   @umoers Can this merged? 
   
   > order by 1 is sorting by the 1st column.
   > 
   > I have changed _def _get_drill_detail_ in /opt/superset/lib/python3.11/site-packages/superset/common/query_actions.py as follows:
   > 
   > query_obj.columns = qry_obj_cols **query_obj.orderby = [(query_obj.columns[0], True)] <---- insert** return _get_full(query_context, query_obj, force_cached)
   
   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org