You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Dong Li (JIRA)" <ji...@apache.org> on 2016/11/18 01:53:58 UTC
[jira] [Assigned] (KYLIN-2207) Ineffective null check in
ExtendCubeToHybridCLI#createFromCube()
[ https://issues.apache.org/jira/browse/KYLIN-2207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dong Li reassigned KYLIN-2207:
------------------------------
Assignee: Dong Li
> 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
> Assignee: Dong Li
> 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)