You got it backwards.
Petticoat Junction was created upon the success of Paul Henning's previous rural/urban-themed sitcom The Beverly Hillbillies (19621971). The success of Petticoat Junction led to a spin-off, Green Acres (19651971).
Yeah, I Googled it and realized my mistake.