You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by GitBox <gi...@apache.org> on 2022/12/20 02:23:23 UTC

[GitHub] [drill] weijunlu commented on issue #2693: Order by expression failed to execute in mysql plugin

weijunlu commented on issue #2693:
URL: https://github.com/apache/drill/issues/2693#issuecomment-1358751539

   @vvysotskyi @cgivre.  If MySQL disables only_full_group_by, the sql can be executed.
   
   Jupiter (mysql.test)> select
   2..........semicolon> extract(year from o_orderdate) as o_year
   3..........semicolon> from orders
   4..........semicolon> group by o_year
   5..........semicolon> order by o_year;
   +--------+
   | o_year |
   +--------+
   | 1992   |
   | 1993   |
   | 1994   |
   | 1995   |
   | 1996   |
   | 1997   |
   | 1998   |
   +--------+
   7 rows selected (4.079 seconds)


-- 
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: dev-unsubscribe@drill.apache.org

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