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

L. C. Hsieh updated HIVE-24512:
-------------------------------
    Description: 
The issue is similar to HIVE-23593. In 2.3.8 RC, ql already has a shaded 
calcite, but we see such error:

Caused by: java.lang.NoSuchMethodError: 
org.apache.calcite.rel.RelCollationImpl.<init>(Lorg/apache/hive/com/google/common/collect/ImmutableList;)V
        at 
org.apache.hadoop.hive.ql.optimizer.calcite.HiveRelCollation.<init>(HiveRelCollation.java:29)
        at 
org.apache.hadoop.hive.ql.optimizer.calcite.RelOptHiveTable.getCollationList(RelOptHiveTable.java:181)
        at 
org.apache.calcite.rel.metadata.RelMdCollation.table(RelMdCollation.java:175)

We find in 2.3.8 binary distribution, there are calcite jars:

calcite-core-1.10.0.jar
calcite-druid-1.10.0.jar
calcite-linq4j-1.10.0.jar



> Exclude calcite in packaging Hive
> ---------------------------------
>
>                 Key: HIVE-24512
>                 URL: https://issues.apache.org/jira/browse/HIVE-24512
>             Project: Hive
>          Issue Type: Bug
>            Reporter: L. C. Hsieh
>            Priority: Major
>
> The issue is similar to HIVE-23593. In 2.3.8 RC, ql already has a shaded 
> calcite, but we see such error:
> Caused by: java.lang.NoSuchMethodError: 
> org.apache.calcite.rel.RelCollationImpl.<init>(Lorg/apache/hive/com/google/common/collect/ImmutableList;)V
>       at 
> org.apache.hadoop.hive.ql.optimizer.calcite.HiveRelCollation.<init>(HiveRelCollation.java:29)
>       at 
> org.apache.hadoop.hive.ql.optimizer.calcite.RelOptHiveTable.getCollationList(RelOptHiveTable.java:181)
>       at 
> org.apache.calcite.rel.metadata.RelMdCollation.table(RelMdCollation.java:175)
> We find in 2.3.8 binary distribution, there are calcite jars:
> calcite-core-1.10.0.jar
> calcite-druid-1.10.0.jar
> calcite-linq4j-1.10.0.jar



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to