[ 
https://issues.apache.org/jira/browse/FLINK-9264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konstantin Knauf updated FLINK-9264:
------------------------------------
    Issue Type: Improvement  (was: Task)

As part of https://issues.apache.org/jira/browse/FLINK-22029 the "Task" Issue 
Type is removed. I move this ticket to "Improvement". If you think "New 
Feature", "Technical Debt" or "Bug" is more appropriate, please change the 
ticket accordingly.

> Add method Writer[A]#contramap[B](f: B => A): Writer[B]
> -------------------------------------------------------
>
>                 Key: FLINK-9264
>                 URL: https://issues.apache.org/jira/browse/FLINK-9264
>             Project: Flink
>          Issue Type: Improvement
>          Components: FileSystems
>    Affects Versions: 1.5.0
>            Reporter: Josh Lemer
>            Assignee: vinoyang
>            Priority: Minor
>              Labels: stale-assigned, stale-minor
>
> Similar to https://issues.apache.org/jira/browse/FLINK-9221, it would be very 
> handy to have a `Add method Writer[A]#contramap[B](f: B => A): Writer[B]` 
> method, which would allow reuse of existing writers, with a "formatting" 
> function placed infront of it. For example:
> val stringWriter = new StringWriter[String]()
> val intWriter: Writer[Int] = stringWriter.contraMap[Int](_.toString) 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to