&& PartitionName.isPartition(
clusterService.state().metaData().aliases().get(planNode.tableName()).keysIt().next(),
planNode.tableName())
) {
logger.debug("Deleting orphaned partitions with alias: {}", planNode.tableName());
deleteIndexAction.execute(new DeleteIndexRequest(planNode.tableName()), new ActionListener<DeleteIndexResponse>() {
@Override
public void onResponse(DeleteIndexResponse response) {
if (!response.isAcknowledged()) {
warnNotAcknowledged("deleting orphaned alias");
}