I solve error when use import
org.apache.flink.api.java.io.TextOutputFormat.TextFormatter;
very thanks
--
View this message in context:
http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/want-write-Specified-field-from-dataset-to-output-file-tp1223p1226.html
Sent from the
-Xlint:unchecked for details.
1 error1 warning
--
View this message in context:
http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/want-write-Specified-field-from-dataset-to-output-file-tp1223p1225.html
Sent from the Apache Flink User Mailing List archive. mailing list archive at
;,
new TextFormatter>() {
public String format (Customer3 value) {
return value.getField(2).toString();
}
});
On Tue, May 12, 2015 at 9:20 AM, hagersaleh wrote:
> I want write Specified field from dataset to output file
> I want write field 2 to ou
I want write Specified field from dataset to output file
I want write field 2 to output file
example
DataSet
customers=env.readCsvFile("/home/hadoop/Desktop/Dataset/customer.csv")
.fieldDelimiter('|')
.includeFields(11000