Where is the input column name information in a dataframe transformation?

You have to write funcols to return a NamedTuple and work with the names inside funcols. It all happens inside funcols and not in the destination.