Todd Lipcon created KUDU-2416:
---------------------------------

             Summary: 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


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