Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-24512

Exclude calcite in packaging Hive

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3.8
    • 2.3.8
    • None
    • Reviewed

    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

      Attachments

        Issue Links

          Activity

            People

              viirya L. C. Hsieh
              viirya L. C. Hsieh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m