PE-1511 - Switch to using a TEMPORARY sample table.