presto-main/src/main/java/io/prestosql/sql/relational/SqlToRowExpressionTranslator.java/ChangeTypeVisitor/visitInputReference
class ChangeTypeVisitor:            @Override
            public RowExpression visitInputReference(InputReferenceExpression reference, Void context)
            {
                return field(reference.getField(), targetType);
            }