Uploaded image for project: 'Tajo (Retired)'
  1. Tajo (Retired)
  2. TAJO-974

Eliminate unexpected case condition in SubQuery

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.9.0
    • distributed query plan
    • None

    Description

      Please take a loot at the below code. In SubQuery::calculateShuffleOutputNum() method, if-condition will be passed through the unexpected case if the plan is neither group by and join. In current implementation, distinct group-by operator can cause this case. Actually, the below code is messy. We need to directly handle distinct group by and clean up the below code.

      "SubQuery::calculateShuffleOutputNum()"
      } else {
              LOG.info("============>>>>> Unexpected Case! <<<<<================");
              long volume = getInputVolume(subQuery.masterPlan, subQuery.context, subQuery.block);
      

      Attachments

        Activity

          People

            hjkim Hyoungjun Kim
            hyunsik Hyunsik Choi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: