[
https://issues.apache.org/jira/browse/BEAM-4613?focusedWorklogId=114432&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-114432
]
ASF GitHub Bot logged work on BEAM-4613:
----------------------------------------
Author: ASF GitHub Bot
Created on: 21/Jun/18 19:32
Start Date: 21/Jun/18 19:32
Worklog Time Spent: 10m
Work Description: reuvenlax opened a new pull request #5723: [BEAM-4613]
Use ByteBuddy to generate a coder class for a specific Schema.
URL: https://github.com/apache/beam/pull/5723
Previously, RowCoder had to iterate over the schema to determine how
encode/decode Row objects. This PR adds functionality to dynamically generate a
Coder class per schema that hard codes the proper encoding strategy. Simple
microbenchmarks (not included in this PR) show that this new strategy is 30-40%
faster for moderate schemas, and the difference is expected to be larger for
complex schemas.
In addition, this PR allows RowCoder to bypass the validation steps when
building a Row, as it's assumed that these steps were performed before encoding
the Row.
R:@ huygaa11
----------------------------------------------------------------
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: 114432)
Time Spent: 10m
Remaining Estimate: 0h
> Improve performance of SchemaCoder
> ----------------------------------
>
> Key: BEAM-4613
> URL: https://issues.apache.org/jira/browse/BEAM-4613
> Project: Beam
> Issue Type: Sub-task
> Components: sdk-java-core
> Reporter: Reuven Lax
> Assignee: Kenneth Knowles
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)