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/12/31 08:14:19 UTC

[GitHub] [incubator-doris] hwwxg edited a comment on issue #5184: 同一个表应该天然支持cocolate join

hwwxg edited a comment on issue #5184:
URL: https://github.com/apache/incubator-doris/issues/5184#issuecomment-752882882


   我发现和是不是同一个表没关系,而是只要条件中带了函数,就会报"colocate: false, reason: Node type not match",比如
   select count() from (select user_id from t_event where event_name = 'AppOpen' group by user_id having count() > 3) t1 where user_id in (select user_id from t_tag where tag_1 ='male') 
   select count() from (select user_id from t_event where event_name = 'AppOpen' ) t1 where user_id in (select distinct(user_id) from t_tag where tag_1 ='male') 
   
   如果没带函数,就可以走cocolate join,如
   select count() from (select user_id from t_event where event_name = 'AppOpen' ) t1 where user_id in (select user_id from t_tag where tag_1 ='male') 


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