[#3156] "Column ambiguously defined" when emulating derived column lists with duplicate column names