wuchunfu commented on a change in pull request #1025:
URL:
https://github.com/apache/incubator-seatunnel/pull/1025#discussion_r783095944
##########
File path: config/flink.batch.conf.template
##########
@@ -26,9 +26,10 @@ env {
source {
# This is a example input plugin **only for test and demonstrate the feature
input plugin**
- FileSource{
- file.path = "hdfs://localhost:9000/output/text"
- source_format = "text"
+ FileSource {
+ path = "/opt/data.txt"
+ format.type = "text"
+ schema = "text"
Review comment:
It seems unnecessary to write `schema = "text"` if `format.type` is
`text`
```java
case "text":
TextRowInputFormat textInputFormat = new
TextRowInputFormat(filePath);
inputFormat = textInputFormat;
break;
```
--
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]