You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@doris.apache.org by GitBox <gi...@apache.org> on 2019/05/29 14:18:26 UTC

[GitHub] [incubator-doris] imay commented on issue #1221: Use multi condition cost much more time to return?

imay commented on issue #1221: Use multi condition cost much more time to return?
URL: https://github.com/apache/incubator-doris/issues/1221#issuecomment-496956701
 
 
   It is bad for Doris to handle OR predicate. For your query, Doris would read all data and do OR operation. It is bad when event_day is a partition column or index column, which can be used to avoid too much scan.
   
   And you can rewrite your query to `event_day` in ("20190526", "20190926"), which should be better

----------------------------------------------------------------
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


With regards,
Apache Git Services

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