I recently learned that in Roman Catholicism, it's expected that partakers of the Eucharist will fast for at least an hour. Canon 919, §1 reads:
A person who is to receive the Most Holy Eucharist is to abstain for at least one hour before holy communion from any food and drink, except for only water and medicine.
I'd like to know how long this practice has been around. What is the origin of requiring a fast of some duration prior to the receiving of communion?
I know 1 Corinthians 11 is often referenced as a basis for this practice, but I find it insufficient in itself. Verses 33–34, for example, could be read to suggest that one should eat prior to communion. Thus I'm looking for clear evidence of this practice in the post-apostolic church.
Note that this is different from the twice-weekly fast in the early church, at least in theory. I'm not aware of evidence that indicates that those fasts were done immediately prior to taking communion.
Related: What are the reasons for the Catholic Church's law regarding the Communion fast?