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