[jira] [Commented] (FLINK-32380) Support Java records

2023-11-12 Thread xuyang (Jira)


[ 
https://issues.apache.org/jira/browse/FLINK-32380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17785396#comment-17785396
 ] 

xuyang commented on FLINK-32380:


[~gyfora] Thanks for your quick reply! I'll try it.

> Support Java records
> 
>
> Key: FLINK-32380
> URL: https://issues.apache.org/jira/browse/FLINK-32380
> Project: Flink
>  Issue Type: Improvement
>  Components: API / Type Serialization System
>Reporter: Chesnay Schepler
>Assignee: Gyula Fora
>Priority: Major
>  Labels: pull-request-available
> Fix For: 1.19.0
>
> Attachments: image-2023-11-13-10-19-06-035.png
>
>
> Reportedly Java records are not supported, because they are neither detected 
> by our Pojo serializer nor supported by Kryo 2.x



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (FLINK-32380) Support Java records

2023-11-12 Thread Gyula Fora (Jira)


[ 
https://issues.apache.org/jira/browse/FLINK-32380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17785361#comment-17785361
 ] 

Gyula Fora commented on FLINK-32380:


Technically speaking we exclude these using the compiler plugin, but 
unfortunately IntelliJ doesn't respect this:
[https://youtrack.jetbrains.com/issue/IDEA-87868]

you could check 
[https://stackoverflow.com/questions/14792798/how-to-make-intellijidea-ignore-work-in-progress-class-files]
 on how to exclude individual classes. 

Or simply bump the java version for development

> Support Java records
> 
>
> Key: FLINK-32380
> URL: https://issues.apache.org/jira/browse/FLINK-32380
> Project: Flink
>  Issue Type: Improvement
>  Components: API / Type Serialization System
>Reporter: Chesnay Schepler
>Assignee: Gyula Fora
>Priority: Major
>  Labels: pull-request-available
> Fix For: 1.19.0
>
> Attachments: image-2023-11-13-10-19-06-035.png
>
>
> Reportedly Java records are not supported, because they are neither detected 
> by our Pojo serializer nor supported by Kryo 2.x



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (FLINK-32380) Support Java records

2023-11-12 Thread xuyang (Jira)


[ 
https://issues.apache.org/jira/browse/FLINK-32380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17785353#comment-17785353
 ] 

xuyang commented on FLINK-32380:


Hi, [~gyfora] Sorry for this noise. When I rebased master that contains this pr 
and re-run tests, the idea failed to build with missing class 
`PojoToRecordVerifier.PojoAfterUpgrade`. I still use jdk8, and I think that is 
the root cause. Is any way I can work around it in addition to upgrading jdk?  
!image-2023-11-13-10-19-06-035.png|width=1031,height=613!

> Support Java records
> 
>
> Key: FLINK-32380
> URL: https://issues.apache.org/jira/browse/FLINK-32380
> Project: Flink
>  Issue Type: Improvement
>  Components: API / Type Serialization System
>Reporter: Chesnay Schepler
>Assignee: Gyula Fora
>Priority: Major
>  Labels: pull-request-available
> Fix For: 1.19.0
>
>
> Reportedly Java records are not supported, because they are neither detected 
> by our Pojo serializer nor supported by Kryo 2.x



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (FLINK-32380) Support Java records

2023-11-09 Thread Gyula Fora (Jira)


[ 
https://issues.apache.org/jira/browse/FLINK-32380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17784706#comment-17784706
 ] 

Gyula Fora commented on FLINK-32380:


Merged to master  ba752b9e8b3fa0fbbe67d6d1bd70cccbc74e6ca0

> Support Java records
> 
>
> Key: FLINK-32380
> URL: https://issues.apache.org/jira/browse/FLINK-32380
> Project: Flink
>  Issue Type: Improvement
>  Components: API / Type Serialization System
>Reporter: Chesnay Schepler
>Assignee: Gyula Fora
>Priority: Major
>  Labels: pull-request-available
>
> Reportedly Java records are not supported, because they are neither detected 
> by our Pojo serializer nor supported by Kryo 2.x



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (FLINK-32380) Support Java records

2023-06-28 Thread Chesnay Schepler (Jira)


[ 
https://issues.apache.org/jira/browse/FLINK-32380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17738030#comment-17738030
 ] 

Chesnay Schepler commented on FLINK-32380:
--

Moved out of FLINK-15736 because it doesn't prevent Flink from running on Java 
17.

> Support Java records
> 
>
> Key: FLINK-32380
> URL: https://issues.apache.org/jira/browse/FLINK-32380
> Project: Flink
>  Issue Type: Improvement
>  Components: API / Type Serialization System
>Reporter: Chesnay Schepler
>Priority: Major
>
> Reportedly Java records are not supported, because they are neither detected 
> by our Pojo serializer nor supported by Kryo 2.x



--
This message was sent by Atlassian Jira
(v8.20.10#820010)