use of org.apache.flink.python.api.functions.util.StringTupleDeserializerMap in project flink by apache.
the class PythonPlanBinder method createCsvSink.
@SuppressWarnings("unchecked")
private void createCsvSink(PythonOperationInfo info) throws IOException {
DataSet parent = (DataSet) sets.get(info.parentID);
parent.map(new StringTupleDeserializerMap()).setParallelism(getParallelism(info)).name("CsvSinkPreStep").writeAsCsv(info.path, info.lineDelimiter, info.fieldDelimiter, info.writeMode).setParallelism(getParallelism(info)).name("CsvSink");
}
Aggregations