You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Beam JIRA Bot (Jira)" <ji...@apache.org> on 2020/09/08 17:08:02 UTC
[jira] [Updated] (BEAM-8030) Make VarIntCoder overflow behavior
consistent
[ https://issues.apache.org/jira/browse/BEAM-8030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Beam JIRA Bot updated BEAM-8030:
--------------------------------
Labels: stale-P2 (was: )
> 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
> Priority: P2
> Labels: stale-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)