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

TaskImpl potentially may miss some TableDesc if they are duplicated.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 0.13.0
    • Component/s: None
    • Labels:
      None

      Description

      See TaskImpl::updateDescsForScanNodes. A plan part can include duplicated canonical names if derived subqueries are included in the plan part.

      private void updateDescsForScanNodes(NodeType nodeType) {
          assert nodeType == NodeType.SCAN || nodeType == NodeType.PARTITIONS_SCAN || nodeType == NodeType.INDEX_SCAN;
          LogicalNode[] scanNodes = PlannerUtil.findAllNodes(plan, nodeType);
          if (scanNodes != null) {
            for (LogicalNode node : scanNodes) {
              ScanNode scanNode = (ScanNode) node;
              descs.put(scanNode.getCanonicalName(), scanNode.getTableDesc());
            }
          }
        }
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: