There are two functions in the stack that effectively generate a denormalized catalog of matches. The matches between a reference and source catalog are "joined' into a single "match" catalog, putting a ref_ or src_ prefix on the field names for the reference and source fields, respectively. However, when the schema for the match catalog is created, it does not propagate any aliases that may be set, which will then break any code looking for a field by its alias name (often happens with aliases set for backwards compatibility). This ticket is to update the following functions to include the aliases from the individual catalogs in the schema for the matched catalog:
I will leave it for a future tickets whether these two very similar functions should be consolidated into one.