presto-main/src/main/java/io/prestosql/sql/planner/optimizations/TableDeleteOptimizer.java/TableDeleteOptimizer/optimize
class TableDeleteOptimizer:    @Override
    public PlanNode optimize(PlanNode plan, Session session, TypeProvider types, SymbolAllocator symbolAllocator, PlanNodeIdAllocator idAllocator, WarningCollector warningCollector)
    {
        return SimplePlanRewriter.rewriteWith(new Optimizer(session, metadata, idAllocator), plan, null);
    }