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

Grant Henke updated KUDU-2416:
------------------------------
    Fix Version/s: 1.7.1
                   1.8.0
                   1.6.1
                   1.5.1
                   1.4.1

> 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.4.1, 1.5.1, 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)

Reply via email to