hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shelukhin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-13005) CBO: Calcite Operator To Hive Operator (Calcite Return Path): RexNode convert(ExprNodeConstantDesc literal) decimal support bug
Date Thu, 04 Feb 2016 23:05:39 GMT

    [ https://issues.apache.org/jira/browse/HIVE-13005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15133271#comment-15133271
] 

Sergey Shelukhin commented on HIVE-13005:
-----------------------------------------

Hmm... it's surprising that anything has ever worked if this is the case.

> 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
>          Components: CBO
>            Reporter: Hari Sankar Sivarama Subramaniyan
>            Assignee: Hari Sankar Sivarama Subramaniyan
>         Attachments: HIVE-13005.1.patch
>
>
> 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)

Mime
View raw message