michaelli916 commented on a change in pull request #13459:
URL: https://github.com/apache/flink/pull/13459#discussion_r619798653



##########
File path: docs/content.zh/docs/connectors/table/filesystem.md
##########
@@ -173,35 +161,36 @@ The file sink supports file compactions, which allows 
applications to have small
         <td><h5>auto-compaction</h5></td>
         <td style="word-wrap: break-word;">false</td>
         <td>Boolean</td>
-        <td>Whether to enable automatic compaction in streaming sink or not. 
The data will be written to temporary files. After the checkpoint is completed, 
the temporary files generated by a checkpoint will be compacted. The temporary 
files are invisible before compaction.</td>
+        <td> 在流式 sink 
中是否开启自动合并功能。数据首先会被写入到临时文件,在检查点完成后,该检查点产生的临时文件会被合并。这些临时文件在合并前不可见.</td>
     </tr>
     <tr>
         <td><h5>compaction.file-size</h5></td>
         <td style="word-wrap: break-word;">(none)</td>
         <td>MemorySize</td>
-        <td>The compaction target file size, the default value is the rolling 
file size.</td>
+        <td> 合并目标文件大小,默认值是滚动文件大小.</td>
     </tr>
   </tbody>
 </table>
 
-If enabled, file compaction will merge multiple small files into larger files 
based on the target file size.
-When running file compaction in production, please be aware that:
-- Only files in a single checkpoint are compacted, that is, at least the same 
number of files as the number of checkpoints is generated.
-- The file before merging is invisible, so the visibility of the file may be: 
checkpoint interval + compaction time.
-- If the compaction takes too long, it will backpressure the job and extend 
the time period of checkpoint.
+启用该参数后,文件压缩功能会根据设定的目标文件大小,合并多个小文件到大文件。

Review comment:
       好的,我再检查下,统一修改为“合并”。




-- 
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to