presto-main/src/main/java/io/prestosql/sql/planner/Partitioning.java/Partitioning/getColumns
class Partitioning:    public Set<Symbol> getColumns()
    {
        return arguments.stream()
                .filter(ArgumentBinding::isVariable)
                .map(ArgumentBinding::getColumn)
                .collect(toImmutableSet());
    }