Creating a temporary copy of a table with partitions
CREATE TEMPORARY TABLE myTable
    SELECT * from source.myTable
        LIMIT 0;           -- Add this


Still creates the temp table, but puts no rows in it.