You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Grant Henke (JIRA)" <ji...@apache.org> on 2018/04/25 20:57:00 UTC

[jira] [Resolved] (KUDU-2416) Incorrect fallthrough in Java PartialRow.setMin for DECIMAL times

     [ https://issues.apache.org/jira/browse/KUDU-2416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Grant Henke resolved KUDU-2416.
-------------------------------
    Resolution: Fixed

> Incorrect fallthrough in Java PartialRow.setMin for DECIMAL times
> -----------------------------------------------------------------
>
>                 Key: KUDU-2416
>                 URL: https://issues.apache.org/jira/browse/KUDU-2416
>             Project: Kudu
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.7.0
>            Reporter: Todd Lipcon
>            Assignee: Grant Henke
>            Priority: Critical
>             Fix For: 1.6.1, 1.8.0, 1.7.1
>
>
> There's a missing 'break' statement in the following code:
> {code:java}
>       case DECIMAL:
>         ColumnTypeAttributes typeAttributes = column.getTypeAttributes();
>         addDecimal(index,
>             DecimalUtil.minValue(typeAttributes.getPrecision(), typeAttributes.getScale()));
>       case STRING:
>         addStringUtf8(index, AsyncKuduClient.EMPTY_ARRAY);
>         break;
> {code}
> which I think could cause incorrect results for range partition pruning on decimal columns.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)