Dániel Gábor Vankó created IMPALA-13859:
-------------------------------------------

             Summary: Add decimal to Kudu's supported primary key types
                 Key: IMPALA-13859
                 URL: https://issues.apache.org/jira/browse/IMPALA-13859
             Project: IMPALA
          Issue Type: Bug
            Reporter: Dániel Gábor Vankó
            Assignee: Dániel Gábor Vankó


Currently in our KuduUtil class [isSupportedKeyType(type) 
function|https://github.com/apache/impala/blob/8093c3fa6b44f7f6ec699d2dd47581401f75f363/fe/src/main/java/org/apache/impala/util/KuduUtil.java#L392-L395]
 returns false if its argument is decimal type. However, Apache Kudu only 
restricts double, float and bool columns to be primary keys:

[https://kudu.apache.org/releases/1.17.0/docs/known_issues.html#_primary_keys]
{quote}Columns with {{{}DOUBLE{}}}, {{{}FLOAT{}}}, or {{BOOL}} types are not 
allowed as part of a primary key definition.
{quote}
([actually that's the case even in Kudu 
1.0.0|https://kudu.apache.org/releases/1.0.0/docs/release_notes.html#_schema_and_usage_limitations])



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to