cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandeep Tamhankar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-13218) Duration validation error is unclear in case of overflow.
Date Tue, 14 Feb 2017 16:33:42 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-13218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15866074#comment-15866074
] 

Sandeep Tamhankar commented on CASSANDRA-13218:
-----------------------------------------------

Where is it specified that these are supposed to be int's? I was under the impression that
since we're transmitting zigzag-encoded vint values and that format supports a 64-bit range,
these attributes are intended to have signed 64-bit range. Is there a particular reason to
restrict it?

> Duration validation error is unclear in case of overflow.
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-13218
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13218
>             Project: Cassandra
>          Issue Type: Bug
>          Components: CQL
>            Reporter: Benjamin Lerer
>            Assignee: Benjamin Lerer
>             Fix For: 3.11.x
>
>
> If a user try to insert a {{duration}} with a number of months or days that cannot fit
in an {{int}} (for example: {{9223372036854775807mo1d}}), the error message is confusing.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message