Package io.trino.sql.planner.optimizations
package io.trino.sql.planner.optimizations
-
ClassDescriptionThis optimizer is responsible for changing the partition count of hash partitioned fragments at runtime.This optimizer is needed for adaptive optimization in FTE.This 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)