xuzifu666 commented on code in PR #4893:
URL: https://github.com/apache/paimon/pull/4893#discussion_r1926440703
##########
docs/content/flink/procedures.md:
##########
@@ -388,6 +388,31 @@ All available procedures are listed below.
</td>
<td>CALL sys.reset_consumer(`table` => 'default.T', consumer_id =>
'myid', next_snapshot_id => cast(10 as bigint))</td>
</tr>
+ <tr>
+ <td>clear_consumers</td>
+ <td>
+ -- Use named argument<br/>
+ CALL [catalog.]sys.clear_consumers(`table` => 'identifier',
including_consumers => 'includingConsumers', excluding_consumers =>
'excludingConsumers') <br/><br/>
Review Comment:
@chenxinwei Hi, sorry for late. the demand of clear multiple consumers is
OK, and just curious about why we not extend reset_consumer procedure directly?
reset_consumer without snapshot-id can delete consumer, we can pass a snapshot
string which separate by ',' also can clear multiple consumer which not bring a
new procedure for users.
--
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]