You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2015/07/24 11:15:04 UTC
[jira] [Resolved] (CALCITE-814) RexBuilder reverses precision and
scale of DECIMAL literal
[ https://issues.apache.org/jira/browse/CALCITE-814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Hyde resolved CALCITE-814.
---------------------------------
Resolution: Fixed
Fix Version/s: (was: next)
1.4.0-incubating
Fixed in http://git-wip-us.apache.org/repos/asf/incubator-calcite/commit/67ea045c.
> RexBuilder reverses precision and scale of DECIMAL literal
> ----------------------------------------------------------
>
> Key: CALCITE-814
> URL: https://issues.apache.org/jira/browse/CALCITE-814
> Project: Calcite
> Issue Type: Bug
> Reporter: Pengcheng Xiong
> Assignee: Julian Hyde
> Fix For: 1.4.0-incubating
>
>
> RexBuilder L850
> {code}
> typeFactory.createSqlType(
> SqlTypeName.DECIMAL, scale, precision);
> {code}
> However, the createSqlType is accepting
> {code}
> RelDataType createSqlType(
> SqlTypeName typeName,
> int precision,
> int scale);
> {code}
> Need to swap the precision and scale
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)