Use partitioned table names for the queries
Similar to !196 (merged), we need to change the table names for the other partitioned table too.
Edited by Marius Bobin
Similar to !196 (merged), we need to change the table names for the other partitioned table too.