presto-main/src/main/java/io/prestosql/sql/planner/plan/JoinNode.java/JoinNode/isCrossJoin
class JoinNode:    public boolean isCrossJoin()
    {
        return criteria.isEmpty() && !filter.isPresent() && type == INNER;
    }