You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Hari Sankar Sivarama Subramaniyan (JIRA)" <ji...@apache.org> on 2016/02/04 23:36:39 UTC

[jira] [Created] (HIVE-13005) CBO: Calcite Operator To Hive Operator (Calcite Return Path): RexNode convert(ExprNodeConstantDesc literal) decimal support bug

Hari Sankar Sivarama Subramaniyan created HIVE-13005:
--------------------------------------------------------

             Summary: CBO: Calcite Operator To Hive Operator (Calcite Return Path): RexNode convert(ExprNodeConstantDesc literal)  decimal support bug
                 Key: HIVE-13005
                 URL: https://issues.apache.org/jira/browse/HIVE-13005
             Project: Hive
          Issue Type: Sub-task
            Reporter: Hari Sankar Sivarama Subramaniyan


HIVE-8064 seems to have introduced this code in RexNodeConverter::convert(), but the parameters look like they  are wrongly passed :

{code}
        RelDataType relType = cluster.getTypeFactory().createSqlType(SqlTypeName.DECIMAL,
            bd.scale(), unscaled.toString().length());
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)