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

Fix typos in HiveAlgorithmsUtil calculations

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-1
    • Logical Optimizer
    • None

    Description

      HIVE-10343 have made the costs changeable by hiveconf settings; however there was a method in which there was already a local variable named cpuCost....bottom line is the cost of n-way joins calculated by this method is computed as the product of the number of rows...

      https://github.com/apache/hive/blob/9c907769a63a6b23c91fdf0b3f3d0aa6387035dc/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/cost/HiveAlgorithmsUtil.java#L83

      Attachments

        1. HIVE-20598.01.patch
          7 kB
          Zoltan Haindrich

        Activity

          People

            kgyrtkirk Zoltan Haindrich
            kgyrtkirk Zoltan Haindrich
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: