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

Eliminate unexpected case condition in SubQuery

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.0
    • Component/s: distributed query plan
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: