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

Investigate the case where fragments == null in SeqScanExec

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.11.0
    • Component/s: None
    • Labels:
      None

      Description

      See the following part in SeqScanExec. Intuitively, we don't need to make and execute Task if fragments is null. But, the current code requires null check. We need to investigate its essential cause, and we should remove this case if possible.

      SeqScanExec.java
          if (fragments != null) {
            if (fragments.length > 1) {
              this.scanner = new MergeScanner(context.getConf(), plan.getPhysicalSchema(), meta,
                  FragmentConvertor.convert(context.getConf(), fragments), projected
              );
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: