vernedeng commented on code in PR #10246:
URL: https://github.com/apache/inlong/pull/10246#discussion_r1607842567
##########
inlong-manager/manager-dao/src/main/resources/mappers/StreamSourceEntityMapper.xml:
##########
@@ -120,6 +120,19 @@
</if>
</where>
</select>
+ <select id="selectDataAddTaskCount" resultType="java.lang.Integer">
+ select count(1)
+ from stream_source
+ <where>
+ <if test="groupId != null and groupId != ''">
+ and inlong_group_id = #{groupId, jdbcType=VARCHAR}
Review Comment:
Is there any case that we need to count tasks only by stream Id?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]