@Test
    void globalMaxGroupsIsCarriedOver() {
        URIBuilder builder = new URIBuilder();
        builder.setPath("search/");
        builder.setParameter("yql", "select foo from bar where baz contains 'cox' " +
                "| all(group(a) each(output(count())))");
        Query query = new Query(builder.toString());
        query.properties().set("grouping.globalMaxGroups", -1);
        execution.search(query);
        assertEquals(1, query.getSelect().getGrouping().size());
        assertEquals(-1L, query.getSelect().getGrouping().get(0).globalMaxGroups().getAsLong());
    }
Smoke test for first generation YQL+ integration.
container-search/src/test/java/com/yahoo/search/yql/MinimalQueryInserterTestCase.java