presto-main/src/main/java/io/prestosql/sql/analyzer/Analysis.java/Analysis/getOutputDescriptor
class Analysis:    public RelationType getOutputDescriptor(Node node)
    {
        return getScope(node).getRelationType();
    }