[
https://issues.apache.org/jira/browse/FLINK-32786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17752227#comment-17752227
]
luoyuxia commented on FLINK-32786:
----------------------------------
First try to implement for a table sink
{{{}[SupportsTruncate|https://github.com/apache/flink/blob/dfb9cb851dc1f0908ea6c3ce1230dd8ca2b48733/flink-table/flink-table-common/src/main/java/org/apache/flink/table/connector/sink/abilities/SupportsTruncate.java#L33]{}}},
We can implement a simple sink table or reuse some other sink table.
Then use truncate statement to truncate the table.
please see doc:
> Release Testing: Verify FLIP-302: Support TRUNCATE TABLE statement in batch
> mode
> --------------------------------------------------------------------------------
>
> Key: FLINK-32786
> URL: https://issues.apache.org/jira/browse/FLINK-32786
> Project: Flink
> Issue Type: Sub-task
> Components: Tests
> Affects Versions: 1.18.0
> Reporter: Qingsheng Ren
> Assignee: luoyuxia
> Priority: Major
> Fix For: 1.18.0
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)