You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Timo Walther (Jira)" <ji...@apache.org> on 2019/11/26 10:36:00 UTC
[jira] [Closed] (FLINK-14903) Relax structured types constraints
[ https://issues.apache.org/jira/browse/FLINK-14903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timo Walther closed FLINK-14903.
--------------------------------
Fix Version/s: 1.10.0
Resolution: Fixed
Fixed in 1.10.0: 81b5d17d2a8f3d33bbef4149a57c12bc78859f1f
> 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
> Fix For: 1.10.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)