public static String formatExpression(final Expression expression) {
    return formatExpression(expression, FormatOptions.of(s -> false));
  }
@Test
  public void shouldFormatStruct() {
    final SqlStruct struct = SqlStruct.builder()
        .field("field1", SqlTypes.INTEGER)
        .field("field2", SqlTypes.STRING)
        .build();

    assertThat(
        ExpressionFormatter.formatExpression(new Type(struct)),
        equalTo("STRUCT<field1 INTEGER, field2 STRING>"));
  }