presto-main/src/main/java/io/prestosql/sql/analyzer/Analysis.java/Analysis/getTypeWithCoercions
class Analysis:    public Type getTypeWithCoercions(Expression expression)
    {
        NodeRef<Expression> key = NodeRef.of(expression);
        checkArgument(types.containsKey(key), "Expression not analyzed: %s", expression);
        if (coercions.containsKey(key)) {
            return coercions.get(key);
        }
        return types.get(key);
    }