Package io.trino.sql.planner.optimizations
package io.trino.sql.planner.optimizations
-
ClassDescriptionThis rule looks at the amount of data read and processed by the query to determine the value of partition count used for remote partitioned exchanges.Identify the mapping from the lookup symbols used at the top of the index plan to the actual symbols produced by the IndexSource.Converts cardinality-insensitive aggregations (max, min, "distinct") over partition keys into simple metadata queriesRe-maps symbol references that are just aliases of each other (e.g., due to projections like
$0 := $1)