You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/11/25 08:30:00 UTC

[jira] [Updated] (FLINK-14903) Relax structured types constraints

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

ASF GitHub Bot updated FLINK-14903:
-----------------------------------
    Labels: pull-request-available  (was: )

> Relax structured types constraints
> ----------------------------------
>
>                 Key: FLINK-14903
>                 URL: https://issues.apache.org/jira/browse/FLINK-14903
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table SQL / API
>            Reporter: Timo Walther
>            Assignee: Timo Walther
>            Priority: Major
>              Labels: pull-request-available
>
> As mentioned in FLIP-65:
> In order to allow type extraction of structured types that are not registered in a catalog, we need to relax the structured type concept to "inline or anonymous structured types" that are not identified by an object identifier in a catalog but the fully qualified implementation class.
> In order to support case classes and immutable types, we relax the constraint of enforcing a default constructor by the alternative of having a constructor that fully assigns all fields (same parameter names and types). Because we are already using code generation, the implementation of creating instances even without a default constructor is relatively easy.



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