if(plan != null && plan.getPartitionedSourceNodes().stream().anyMatch(TableScanNode.class::isInstance)) | if(plan.isPresent() && plan.get().getPartitionedSourceNodes().stream().anyMatch(TableScanNode.class::isInstance)) | plan.getPartitionedSourceNodes().stream() | plan | presto | 43405512a959f67452b20dbe5095dac054b9122f | com.facebook.presto.execution.QueryStateMachine | | | | | | Uses | True |