Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
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 );