[
https://issues.apache.org/jira/browse/FLINK-3321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15184860#comment-15184860
]
Greg Hogan commented on FLINK-3321:
-----------------------------------
That commit ID is correctly noted for FLINK-3309.
This ticket is implemented in d7aa989ee1c72d7830c612554b89673bf38cf447
> TupleSerializerBase.getLength should know the length when all fields know it
> ----------------------------------------------------------------------------
>
> Key: FLINK-3321
> URL: https://issues.apache.org/jira/browse/FLINK-3321
> Project: Flink
> Issue Type: Improvement
> Components: Java API
> Reporter: Gabor Gevay
> Assignee: Chesnay Schepler
> Priority: Minor
> Labels: starter
>
> TupleSerializerBase.getLength currently always returns -1, but it could
> actually know the length, when all the field serializers know their lengths
> (since no null can appear anywhere in Tuples, nor can a subclass of Tuple
> with additional fields appear).
> (The serializer knowing the exact size has various performance benefits, for
> example see FixedLengthRecordSorter, or
> CompactingHashTable.getInitialTableSize.)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)