use of io.confluent.ksql.execution.testutil.TestExpressions.SCHEMA in project ksql by confluentinc.
the class SqlToJavaVisitorTest method init.
@Before
public void init() {
final AtomicInteger funCounter = new AtomicInteger();
final AtomicInteger structCounter = new AtomicInteger();
ksqlConfig = new KsqlConfig(Collections.emptyMap());
sqlToJavaVisitor = new SqlToJavaVisitor(SCHEMA, functionRegistry, ref -> ref.text().replace(".", "_"), name -> name.text() + "_" + funCounter.getAndIncrement(), struct -> "schema" + structCounter.getAndIncrement(), ksqlConfig);
}
Aggregations