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/02/08 09:56:42 UTC

[jira] [Closed] (CALCITE-570) ReduceExpressionsRule throws "duplicate key" exception

     [ https://issues.apache.org/jira/browse/CALCITE-570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julian Hyde closed CALCITE-570.
-------------------------------

Closing now that 1.0.0-incubating has been released.

> ReduceExpressionsRule throws "duplicate key" exception
> ------------------------------------------------------
>
>                 Key: CALCITE-570
>                 URL: https://issues.apache.org/jira/browse/CALCITE-570
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Laljo John Pullokkaran
>            Assignee: Julian Hyde
>             Fix For: 1.0.0-incubating
>
>
> Hive's unit test that reproduces the problem: smb_mapjoin_25
> Stack Trace:
> java.lang.IllegalArgumentException: duplicate key: $1
> 	at com.google.common.base.Preconditions.checkArgument(Preconditions.java:119)
> 	at com.google.common.collect.RegularImmutableMap.<init>(RegularImmutableMap.java:67)
> 	at com.google.common.collect.ImmutableMap$Builder.fromEntryList(ImmutableMap.java:249)
> 	at com.google.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:235)
> 	at org.apache.calcite.rel.rules.ReduceExpressionsRule.predicateConstants(ReduceExpressionsRule.java:451)
> 	at org.apache.calcite.rel.rules.ReduceExpressionsRule.reduceExpressions(ReduceExpressionsRule.java:337)
> 	at org.apache.calcite.rel.rules.ReduceExpressionsRule$3.onMatch(ReduceExpressionsRule.java:223)



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