@Test public void testLatestByMissingKeyValueFiltered() throws Exception { TestMatchFunctionFactory.clear(); assertQuery(null, "select * from x latest by b where b in ('XYZ') and a < 60 and test_match()", "create table x as " + "(" + "select" + " rnd_double(0)*100 a," + " rnd_symbol(5,4,4,1) b," + " timestamp_sequence(0, 100000000000) k" + " from" + " long_sequence(20)" + ") timestamp(k) partition by DAY", "k", "insert into x select * from (" + "select" + " rnd_double(0)*100," + " 'XYZ'," + " to_timestamp('1971', 'yyyy') t" + " from long_sequence(3)" + ") timestamp(t)", "a\tb\tk\n" + "56.594291398612405\tXYZ\t1971-01-01T00:00:00.000000Z\n"); Assert.assertTrue(TestMatchFunctionFactory.assertAPI()); }
@Override public void clear() { whereClauseParser.clear(); }
SqlCodeGenerator implements Mutable { @Override public void clear() { whereClauseParser.clear(); } }
SqlCodeGenerator implements Mutable { @Override public void clear() { whereClauseParser.clear(); } SqlCodeGenerator(
            CairoEngine engine,
            CairoConfiguration configuration,
            FunctionParser functionParser
    ); }
SqlCodeGenerator implements Mutable { @Override public void clear() { whereClauseParser.clear(); } SqlCodeGenerator(
            CairoEngine engine,
            CairoConfiguration configuration,
            FunctionParser functionParser
    ); @Override void clear(); @NotNull Function compileFilter(ExpressionNode expr, RecordMetadata metadata, SqlExecutionContext executionContext); }
SqlCodeGenerator implements Mutable { @Override public void clear() { whereClauseParser.clear(); } SqlCodeGenerator(
            CairoEngine engine,
            CairoConfiguration configuration,
            FunctionParser functionParser
    ); @Override void clear(); @NotNull Function compileFilter(ExpressionNode expr, RecordMetadata metadata, SqlExecutionContext executionContext); static final int GKK_VANILLA_INT; static final int GKK_HOUR_INT; }