Robert Metzger created FLINK-18696:
--------------------------------------

             Summary: Java 14 Records are not recognized as POJOs
                 Key: FLINK-18696
                 URL: https://issues.apache.org/jira/browse/FLINK-18696
             Project: Flink
          Issue Type: Improvement
          Components: API / Type Serialization System
            Reporter: Robert Metzger


Having a record (https://openjdk.java.net/jeps/359) such as:
{code}
public record Simple(int id, String name) { }
{code}

Leads to this log message: "class de.robertmetzger.TableApiSql$Simple does not 
contain a setter for field id"

I believe the PojoSerializer should be able to use records.



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

Reply via email to