(+) Implement renaming tables in Codegen

(/=) Fix schema for selections when pushing them down