@Test public void testDynamicTimestamp() throws Exception { TestMatchFunctionFactory.clear(); final String expected = "a\tb\tk\n" + "21.583224269349387\tYSBE\t1970-01-07T22:40:00.000000Z\n"; assertQuery(expected, "select * from (x timestamp(k)) where k = '1970-01-07'", "create table x as " + "(" + "select" + " rnd_double(0)*100 a," + " rnd_str(4,4,1) b," + " timestamp_sequence(0, 100000000000) k" + " from" + " long_sequence(20)" + ")", "k", true, true, true ); }
@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; }