RocMarshal commented on a change in pull request #18480:
URL: https://github.com/apache/flink/pull/18480#discussion_r804688133
##########
File path: docs/content.zh/docs/connectors/datastream/formats/hadoop.md
##########
@@ -57,20 +55,13 @@ a `hadoop-client` dependency such as:
## Using Hadoop InputFormats
-To use Hadoop `InputFormats` with Flink the format must first be wrapped
-using either `readHadoopFile` or `createHadoopInput` of the
-`HadoopInputs` utility class.
-The former is used for input formats derived
-from `FileInputFormat` while the latter has to be used for general purpose
-input formats.
-The resulting `InputFormat` can be used to create a data source by using
-`ExecutionEnvironmen#createInput`.
+要在 Flink 中使用 Hadoop `InputFormats`,必须首先使用 `HadoopInputs` 工具类的 `readHadoopFile`
或 `createHadoopInput` 包装 Input Format。
Review comment:
```suggestion
在 Flink 中使用 Hadoop `InputFormats`,必须首先使用 `HadoopInputs` 工具类的
`readHadoopFile` 或 `createHadoopInput` 包装 Input Format。
```
```suggestion
要在 Flink 中使用 Hadoop `InputFormats`,必须首先使用 `HadoopInputs` 工具类的
`readHadoopFile` 或 `createHadoopInput` 包装 Input Format。
```
--
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]