You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Robert Metzger (JIRA)" <ji...@apache.org> on 2019/02/28 15:10:00 UTC

[jira] [Closed] (FLINK-650) Give user functions access to TypeSerializers for their input types?

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

Robert Metzger closed FLINK-650.
--------------------------------
    Resolution: Won't Fix

> Give user functions access to TypeSerializers for their input types?
> --------------------------------------------------------------------
>
>                 Key: FLINK-650
>                 URL: https://issues.apache.org/jira/browse/FLINK-650
>             Project: Flink
>          Issue Type: Improvement
>          Components: API / Type Serialization System
>            Reporter: GitHub Import
>            Priority: Minor
>              Labels: github-import
>
> When dealing with mutable objects, users might find it convenient to have access to a `TypeSerializer` to create copies or even de/serialize their objects within a UDF call.
> Since the new Java API needs to figure out how to do that anyways, we could provide UDFs with a serializer and make it available to the user through a method like 
> ```java
> private TypeSerializer<MyUdfInputType> getInputTypeSerializer()
> ```
> What do you think?
> ---------------- Imported from GitHub ----------------
> Url: https://github.com/stratosphere/stratosphere/issues/650
> Created by: [fhueske|https://github.com/fhueske]
> Labels: enhancement, java api, question, user satisfaction, 
> Created at: Wed Apr 02 09:35:32 CEST 2014
> State: open



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)