ccoffline commented on issue #4772:
URL: 
https://github.com/apache/incubator-doris/issues/4772#issuecomment-714904742


   This is most likely because Doris treats UNION clause conditions as 
conditions for the entire previous query.
   Test result on `MySQL 5.7` shows that these two queries return the same 
result.
   I haven't found any description of union queries like this in the SQL 
standard, but I think Doris should keep the same actions as `MySQL`.


----------------------------------------------------------------
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: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to