presto-main/src/main/java/io/prestosql/metadata/Metadata.java/Metadata/getCommonPartitioning
class Metadata:    Optional<PartitioningHandle> getCommonPartitioning(Session session, PartitioningHandle left, PartitioningHandle right);