.withHook(Hook.PROGRAM, handler(false))
.runs();
}
private OptiqAssert.AssertQuery checkQuery(int i) {
final Query query = Query.of(i);
String sql = query.sql(-1, new Random(0));
switch (i) {
case 58:
if (Bug.upgrade("new TPC-DS generator")) {
// Work around bug: Support '<DATE> = <character literal>'.
sql = sql.replace(" = '", " = DATE '");