Move the logic that builds relation col list into a function (#4964)
Move the logic that builds relation col list into a function (#4964)


citusdata/citus,citusdata/citus,citusdata/citus,citusdata/citus,citusdata/citus