healchow commented on code in PR #6275:
URL: https://github.com/apache/inlong/pull/6275#discussion_r1004218952
##########
inlong-manager/manager-dao/src/main/resources/mappers/StreamSinkEntityMapper.xml:
##########
@@ -350,6 +350,13 @@
</if>
</where>
</select>
+ <select id="selectAllStreamSinks"
resultType="org.apache.inlong.manager.dao.entity.StreamSinkEntity">
+ select
+ <include refid="Base_Column_List"/>
+ from stream_sink
+ where is_deleted = 0
+ group by inlong_cluster_name, sort_task_name, sort_consumer_group,
sink_type, data_node_name
Review Comment:
The result size for this SQL may be so large, suggest using a pagination
query, or adding some filter parameters to reduce the result size.
--
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]