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

PlannerUtil::getRelationLineage ignores PartitionedTableScanNode

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8.0
    • Component/s: Planner/Optimizer
    • Labels:
      None

      Description

      Currently, PlannerUtil::getRelationLineage ignores PartitionedTableScanNode. As a result, PlannerUtil::getRelationLineage can return empty relations. It results in wrong estimation of relation size. Finally, in the case where a broadcast join between a partitioned table and a small table, this problem causes the bug to choose the larger table instead of smaller one to be loaded on hash table.

      This patch fixes this bug, refactors inner-join related methods, and added more comments on them.

        Attachments

        1. TAJO-609.patch
          19 kB
          Hyunsik Choi

          Activity

            People

            • Assignee:
              hyunsik Hyunsik Choi
              Reporter:
              hyunsik Hyunsik Choi
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: