Rajitha R created LENS-1447: ------------------------------- Summary: Optimization in Virtual fact Key: LENS-1447 URL: https://issues.apache.org/jira/browse/LENS-1447 Project: Apache Lens Issue Type: Improvement Components: cube Reporter: Rajitha R Assignee: Rajitha R
StorageCandiate.java : private Date getStorageTableStartDate(UpdatePeriod interval) throws LensException { if (!isStorageTblsAtUpdatePeriodLevel) { //In this case the start time and end time is at Storage Level and will be same for all update periods. return this.startTime; } return getCubeMetastoreClient().getStorageTableStartDate( getCubeMetastoreClient().getStorageTableName(fact.getSourceFactName(), storageName, interval), fact.getName()); } We're passing fact.getName to getStorageTableName, which is doing getFactTable(factTableName) internally. Instead, passing fact would be better. -- This message was sent by Atlassian JIRA (v6.4.14#64029)