You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Robert Metzger (Jira)" <ji...@apache.org> on 2020/07/23 18:33:00 UTC
[jira] [Created] (FLINK-18696) Java 14 Records are not recognized
as POJOs
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)