You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2020/10/23 04:35:49 UTC

[GitHub] [incubator-doris] ccoffline commented on issue #4772: [Bug] UNION ALL query return wrong empty set

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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org