Examples of allowsSelectNotInGroupBy()


Examples of mondrian.spi.Dialect.allowsSelectNotInGroupBy()

        assertQuerySqlOrNot(tc, queryCubeA, sqlPatterns, false, false, true);
    }

    private boolean dialectAllowsSelectNotInGroupBy() {
        final Dialect dialect = getTestContext().getDialect();
        return dialect.allowsSelectNotInGroupBy();
    }
}

// End SelectNotInGroupByTest.java
View Full Code Here

Examples of mondrian.spi.Dialect.allowsSelectNotInGroupBy()

            + dialect.quoteIdentifier("the_month")
            + " from "
            + dialect.quoteIdentifier("time_by_day")
            + " group by "
            + dialect.quoteIdentifier("time_id");
        if (dialect.allowsSelectNotInGroupBy()) {
            final ResultSet resultSet =
                getConnection().createStatement().executeQuery(sql);
            assertTrue(resultSet.next());
            resultSet.close();
        } else {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.