You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2021/08/16 10:46:38 UTC
[GitHub] [dolphinscheduler] ruanwenjun commented on a change in pull request #5985: [SOC 2021][Improvement][Dao] SQL optimization - join
ruanwenjun commented on a change in pull request #5985:
URL: https://github.com/apache/dolphinscheduler/pull/5985#discussion_r689427242
##########
File path: dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/WorkFlowLineageMapper.xml
##########
@@ -42,7 +42,7 @@
ptr.process_definition_version
where pd.project_code = #{projectCode}
<if test="ids != null and ids.size()>0">
- and pd.id in
+ and pd.id exists
Review comment:
Does this SQL faster?
--
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.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org