@Test public void testLatestByMissingKeyValuesIndexedFiltered() throws Exception { TestMatchFunctionFactory.clear(); assertQuery("a\tb\tk\n" + "54.55175324785665\tHYRX\t1970-02-02T07:00:00.000000Z\n", "select * from x latest by b where b in ('XYZ', 'HYRX') and a > 30 and test_match()", "create table x as " + "(" + "select" + " rnd_double(0)*100 a," + " rnd_symbol(5,4,4,1) b," + " timestamp_sequence(0, 10000000000) k" + " from" + " long_sequence(300)" + "), index(b) timestamp(k) partition by DAY", "k", "insert into x select * from (" + "select" + " 88.1," + " 'XYZ'," + " to_timestamp('1971', 'yyyy') t" + " from long_sequence(1)" + ") timestamp(t)", "a\tb\tk\n" + "54.55175324785665\tHYRX\t1970-02-02T07:00:00.000000Z\n" + "88.10000000000001\tXYZ\t1971-01-01T00:00:00.000000Z\n", true, true, true ); 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; }