Optional<String> preComputedTable = getPreComputedTable(project, timePredicate, timeColumn, Optional.empty(), dimension, Optional.empty(), missingPreComputedTables, dimension.isPresent(), timezone); String collection = retentionAction.get().collection(); Optional<String> preComputedTable = getPreComputedTable(project, timePredicate, timeColumn, Optional.of(collection), dimension, retentionAction.get().filter(), missingPreComputedTables, dimension.isPresent(), timezone);