The Parting Glass is a very old Scottish folksong dating from the early 17th century, and is also known as Goodnight and Joy Be Wi' Ye A'. Although the tune was first published in Scotland, there is a possibility that it's Irish in origin.