use of io.confluent.ksql.function.FunctionRegistry in project ksql by confluentinc.
the class SqlToJavaVisitorTest method init.
@Before
public void init() {
metaStore = MetaStoreFixture.getNewMetaStore();
functionRegistry = new FunctionRegistry();
schema = SchemaBuilder.struct().field("TEST1.COL0", SchemaBuilder.INT64_SCHEMA).field("TEST1.COL1", SchemaBuilder.STRING_SCHEMA).field("TEST1.COL2", SchemaBuilder.STRING_SCHEMA).field("TEST1.COL3", SchemaBuilder.FLOAT64_SCHEMA);
codeGenRunner = new CodeGenRunner(schema, functionRegistry);
}
Aggregations