[ https://issues.apache.org/jira/browse/IMPALA-7160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jim Apple resolved IMPALA-7160. ------------------------------- Resolution: Duplicate > The resulting type of decimal mod is computed incorrectly > --------------------------------------------------------- > > Key: IMPALA-7160 > URL: https://issues.apache.org/jira/browse/IMPALA-7160 > Project: IMPALA > Issue Type: Task > Components: Frontend > Affects Versions: Impala 3.0 > Reporter: Taras Bobrovytsky > Priority: Major > > The following two expressions should return the same type, but they do not. > This returns a decimal(4,1): > {code}mod(9.9, 3){code} > This one returns a decimal(2,1): > {code}9.9 % 3{code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)