use of io.confluent.ksql.parser.tree.Row in project ksql by confluentinc.
the class ExpressionFormatterTest method shouldFormatRow.
@Test
public void shouldFormatRow() {
final String result = ExpressionFormatter.formatExpression(new Row(Arrays.asList(new LongLiteral("1"), new QualifiedNameReference(QualifiedName.of(Arrays.asList("a", "b"))))));
assertThat(result, equalTo("ROW (1, a.b)"));
}
Aggregations