[
https://issues.apache.org/jira/browse/BEAM-4453?focusedWorklogId=173125&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-173125
]
ASF GitHub Bot logged work on BEAM-4453:
----------------------------------------
Author: ASF GitHub Bot
Created on: 08/Dec/18 00:39
Start Date: 08/Dec/18 00:39
Worklog Time Spent: 10m
Work Description: reuvenlax opened a new pull request #7234: [BEAM-4453]
Stop subclassing user POJOs.
URL: https://github.com/apache/beam/pull/7234
Previously we were subclassing user POJO objects in order to create them
from a Beam Row. This can cause unexpected behavior: e.g. many equals()
implementations check that the class is the same, and and will fail if the rhs
is a subclass. In this PR we stop doing this, and instead simply generate the
code to create the POJO directly.
As a bonus, this should be a small performance boost, as we no longer use
reflection to creat e the object.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 173125)
Time Spent: 12h 40m (was: 12.5h)
> Provide automatic schema registration for POJOs
> -----------------------------------------------
>
> Key: BEAM-4453
> URL: https://issues.apache.org/jira/browse/BEAM-4453
> Project: Beam
> Issue Type: Sub-task
> Components: sdk-java-core
> Reporter: Reuven Lax
> Assignee: Reuven Lax
> Priority: Major
> Fix For: 2.6.0
>
> Time Spent: 12h 40m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)