This expression, almost certainly alluding to your concept of pie as a thing sweet and appealing, and sky as while in the air, over and above a single’s reach, was popularized within a Earth War I song normally attributed to Joe Hill (1927): The image is visible trough the https://www.youtube.com/watch?v=snr3is5MTiU