presto-main/src/main/java/io/prestosql/sql/planner/SymbolsExtractor.java/SymbolsExtractor/extractOutputSymbols
class SymbolsExtractor:    public static Set<Symbol> extractOutputSymbols(PlanNode planNode)
    {
        return extractOutputSymbols(planNode, noLookup());
    }