When running Classic Query Engine (CQE), a partitioned table is
materialized under some conditions.
In order to reduce the size of the temporary table and reduce the run time
involved for the query, any selection in the query that can be used during
the creation of the temporary table to eliminate rows is processed to decrease
the size of the temporary table and reduce processing time during materialization
cases.
Note: When the partitioned table is materialized, the size of the
temporary table cannot exceed 4 294 967 288 rows. Pushdown of selection processing
is performed to limit the number of rows in the temporary table. If the number
of rows exceeds 4 294 967 288, a resource limit error is issued
and the query ends.