private Location getImporterDestination(InputDescription input) {
assert input != null;
if (isCacheEnabled(input)) {
BulkLoadImporterDescription desc = extract(input);
return computeCacheDirectory(desc.calculateCacheId(), desc.getTargetName(), desc.getTableName());
} else {
String name = normalize(input.getName());
return getEnvironment()
.getPrologueLocation(MODULE_NAME)
.append(name);