You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2018/04/25 00:05:00 UTC
[jira] [Created] (KUDU-2416) Incorrect fallthrough in Java
PartialRow.setMin for DECIMAL times
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)