presto-main/src/main/java/io/prestosql/sql/planner/iterative/rule/PushRemoteExchangeThroughAssignUniqueId.java/PushRemoteExchangeThroughAssignUniqueId/removeSymbol
class PushRemoteExchangeThroughAssignUniqueId:    private static List<Symbol> removeSymbol(List<Symbol> symbols, Symbol symbolToRemove)
    {
        return symbols.stream()
                .filter(symbol -> !symbolToRemove.equals(symbol))
                .collect(toImmutableList());
    }