[
https://issues.apache.org/jira/browse/BEAM-8030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17124284#comment-17124284
]
Brian Hulette commented on BEAM-8030:
-------------------------------------
I'd still like to take a look at this.
> Make VarIntCoder overflow behavior consistent
> ---------------------------------------------
>
> Key: BEAM-8030
> URL: https://issues.apache.org/jira/browse/BEAM-8030
> Project: Beam
> Issue Type: Improvement
> Components: sdk-py-core
> Reporter: Brian Hulette
> Assignee: Brian Hulette
> Priority: P2
>
> The fast version of OutputStream.write_var_int_64 (and thus
> VarIntCoder.encode) throws OverflowError for ints larger than 64 bits, but
> the slow version does not. We should make them both throw an error.
> We may also want to add a write_var_int_32 that uses the same format, but
> will throw an error for ints larger than 32 bits, for use in RowCoder.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)