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

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

Reply via email to