Ted Yu created KYLIN-2207: ----------------------------- Summary: Ineffective null check in ExtendCubeToHybridCLI#createFromCube() Key: KYLIN-2207 URL: https://issues.apache.org/jira/browse/KYLIN-2207 Project: Kylin Issue Type: Bug Reporter: Ted Yu Priority: Minor
{code} if (partitionDateStr != null && partitionDate != currentSeg.getDateRangeEnd()) { logger.error("PartitionDate must be end date of one segment."); return; } if (currentSeg != null && partitionDateStr == null) {code} The null check in the second if statement is ineffective - currentSeg has been de-referenced already. -- This message was sent by Atlassian JIRA (v6.3.4#6332)