Timo Walther created FLINK-14903:
------------------------------------

             Summary: 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


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)

Reply via email to