sfirke commented on code in PR #27442:
URL: https://github.com/apache/superset/pull/27442#discussion_r1521969160


##########
superset/common/query_actions.py:
##########
@@ -154,6 +153,7 @@ def _get_samples(
             qry_obj_cols.append(o.get("column_name"))
         else:
             qry_obj_cols.append(o.column_name)
+    query_obj.orderby = [(query_obj.columns[0], True)]

Review Comment:
   Thanks for the feedback @michael-s-molina 🙏 !  Someone in the associated 
issue thread said this one-liner was a solution for them so I hoped it would be 
this simple but it looks like not.
   
   @zhaoyongjie gave a [high-level description of how he thinks this should be 
fixed](https://github.com/apache/superset/issues/24072#issuecomment-1859252019).
  Implementing it is outside of my current understanding unfortunately.



-- 
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-unsubscr...@superset.apache.org

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

Reply via email to